jneilliii / OctoPrint-Tasmota

62 stars 16 forks source link

'Power off on idle' does not wait for bed to cool #199

Open rufusw opened 1 year ago

rufusw commented 1 year ago

The tooltip for 'idle target temperature' states "Power off will be delayed until all heaters reach this temperature"

I have discovered that this does not happen - the power off command is sent when the hot end reaches the target temperature without waiting for the bed to also reach the temperature.

I set the target temp to 29 degrees - as you can see the bed has not yet reached that temp.

Screenshot_34

jneilliii commented 1 year ago

thanks for your report. I'll have to investigate further. if you don't mind enabling debug logging in the plugin's settings and restarting octoprint and run through the process again and then share the file plugin_tasmota_debug.log that would be helpful.

rufusw commented 1 year ago

Log as requested:

plugin_tasmota_debug.log

jneilliii commented 1 year ago

Thanks, that helped me identify what's going on here. Basically what's happening is the bed and tool are being set off on idle but when the plugin is checking the temps to know if it's below the threshold yet or not it's actually only looking at the hot end (tool) and therefore not processing the current bed temp because of this line https://github.com/jneilliii/OctoPrint-Tasmota/blob/185e950ca0d6643ca370379da7d0ba632e114d11/octoprint_tasmota/__init__.py#L1013 This will be a minor adjustment necessary to fix this to monitor both.