Comments (6)
LOL, I did the same thing but went one step further and grabbed the type as well. It looks like when you change the threshold from the default (40), it saves it as a string instead of an integer. I'll have a fix published soon.
2020-05-29 12:40:56,812 - octoprint.plugins.CooldownNotification - INFO - Print Ended, Watching Heatbed Temp
2020-05-29 12:40:56,816 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp: 65.0
2020-05-29 12:40:56,817 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp Reached Threshold
2020-05-29 12:40:56,818 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp: 65.0 Type: float
2020-05-29 12:40:56,819 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp: 38 Type: str
from octoprint-cooldownnotification.
Same for me, triggers right after print end. Seems like its reading not the actual temp, but maybe a SET temp ?
from octoprint-cooldownnotification.
I set up debug logging in OctoPrint, and this is what is reported. Again, the threshold is set to 30.
2020-05-29 15:43:40,727 - octoprint.util.comm - INFO - Changing monitoring state from "Finishing" to "Operational"
2020-05-29 15:43:40,978 - octoprint.plugins.CooldownNotification - INFO - Print Ended, Watching Heatbed Temp
2020-05-29 15:43:40,988 - octoprint.plugins.CooldownNotification - DEBUG - Received Event: PrintDone
2020-05-29 15:43:40,998 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp: 80.15
2020-05-29 15:43:41,003 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp Reached Threshold
2020-05-29 15:43:41,019 - octoprint.plugins.CooldownNotification - DEBUG - Sending GCODE: M300 P143 S349
2020-05-29 15:43:41,959 - octoprint.plugins.CooldownNotification - INFO - Cooldown Notification Sent
from octoprint-cooldownnotification.
Thanks for the log info. I will take a look.
from octoprint-cooldownnotification.
I added a new debug line to confirm that the Threshold setting was set properly and read properly.
2020-05-29 17:01:48,228 - octoprint.util.comm - INFO - Changing monitoring state from "Finishing" to "Operational"
2020-05-29 17:01:48,289 - octoprint.plugins.CooldownNotification - INFO - Print Ended, Watching Heatbed Temp
2020-05-29 17:01:48,290 - octoprint.plugins.CooldownNotification - DEBUG - Received Event: PrintDone
2020-05-29 17:01:48,320 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp: 80.37
2020-05-29 17:01:48,321 - octoprint.plugins.CooldownNotification - DEBUG - Threshold: 30
2020-05-29 17:01:48,325 - octoprint.plugins.CooldownNotification - DEBUG - Heatbed Temp Reached Threshold
The code looks fine to me. I can't see where the problem is.
from octoprint-cooldownnotification.
This should be fixed in v0.1.2. I'll close this. Feel free to re-open if not fixed.
from octoprint-cooldownnotification.
Related Issues (13)
- Not Python 2.7 compatible. HOT 1
- Trigger on Tool Temp HOT 12
- Exactly what I was looking for.. HOT 1
- Great but not working with Klipper :( HOT 1
- Add execute custom command HOT 2
- [Feature Request] Print [x] or [previous] File
- [Feature Request] Add an On/Off button HOT 2
- Not working... (but may be) HOT 1
- [Feature Request] Alert when temp is reached
- [Feature Request] Add Schedule for Active Times HOT 1
- Dosnt seem to do anything on Octoprint 1.8.4 HOT 3
- Since last Octoprint Update not functional HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-cooldownnotification.