Giter Club home page Giter Club logo

Comments (6)

gmccauley avatar gmccauley commented on September 16, 2024 2

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.

Dulus0 avatar Dulus0 commented on September 16, 2024

Same for me, triggers right after print end. Seems like its reading not the actual temp, but maybe a SET temp ?

from octoprint-cooldownnotification.

AbuMaia avatar AbuMaia commented on September 16, 2024

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.

gmccauley avatar gmccauley commented on September 16, 2024

Thanks for the log info. I will take a look.

from octoprint-cooldownnotification.

AbuMaia avatar AbuMaia commented on September 16, 2024

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.

gmccauley avatar gmccauley commented on September 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.