jneilliii / OctoPrint-Domoticz

3 stars 2 forks source link

[Feature request] don't turn off power if printer is printing #6

Closed calania closed 5 years ago

calania commented 5 years ago

Hello, I have been using this plugin for a while and it is working perfectly. I just have one problem. I have added the M81 command so that it turns off the printer 300 seconds after the print is complete. This normally works well except when I want to start a new print right after the other finished. Now I need to wait for your plugin to turn off the power before starting the new print otherwise it would kill the power mid print. What I would want is an option so that the plugin only turns off the power if the printer isn't printing. Hope this can be added!

jneilliii commented 5 years ago

I need to check, but I think if the warn while printing option is enabled the off command won't be triggered.

calania commented 5 years ago

It still triggers even if that option is enabled. Just saw that there was another issue post https://github.com/jneilliii/OctoPrint-Domoticz/issues/5. It looks like you added it to a beta version but never made a stable release

jneilliii commented 5 years ago

Good point. Looks like that branch is 2 versions ahead of the releases. I'll try to push that official tonight.

calania commented 5 years ago

Sounds good!