-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idle status shows as "Operational" breaking Tasmota-MQTT functionality #38
Comments
If the plugin is not detecting a printing state from the printer than there's an issue with the connection in most cases. Most common is local only connection in the plugin settings, but a cloud connected printer. There are also some other fringe cases I've heard of like not having cache files option from cloud connected printers and a couple of others like MQTT connection limits imposed by Bambu firmware (dependent on model). To troubleshoot further, enable debug logging for the plugin in OctoPrint's plugin settings and reproduce the conditions and lets see what the logs show. Would be good to know your plugin settings too local vs cloud and model. I only have an X1C personally so troubleshooting can be difficult for me on other devices. |
I think it's actually detecting the state fine, I guess that the P1S might be reporting different states? The only states I've seen reported are "Operational" and "Printing from SD Card". I'll get some logs uploaded. |
Those jumping states are an internal state by the printer, and they all get lumped together as an idle printer, which OctoPrint will be in Operational mode. That should be enough for the Tasmota plugin to function properly. How about you enable debug logging for the Tasmota plugin and let's dig deeper there. Enable the option in the plugin's settings, restart OctoPrint and repeat the same steps. Things that effect idle timer not working are temperatures not going below threshold, not being able to set a temperature of a tool (this happened with newer Prusa machines), or timelapse rendering. |
Took me a bit to actually reproduce the issue after enabling the logging for the Tasmota plugin, but was finally able to cause it by canceling a print (it does seem to be dependent on when the print is cancelled), in this case I'm just getting failure status messages:
repeat, it hasn't changed in several hours and I haven't gotten any other status messages I have the Tasmota plugin set to Debug in logging, and I rebooted the system, however the only messages I'm seeing from the plugin are:
So I'm not sure what's going on in that plugin, maybe I'm looking in the wrong log? |
Make sure to enable debug logging directly in the Tasmota plugin settings, and it will log into it's own separate log file, plugin_tasmota_debug.log. |
Thanks for this great plugin.
Probably a feature request, any make it makes more sense to file this against Tasmota-MQTT as a feature request to choose the operating state that is looks for to trigger the Power Off option.
It appears whenever the printer is not printing and has entered the "idle" state, the reported state is "Operational", so unable to use the Power Off on Idle feature to turn off lights and fans after prints complete.
The text was updated successfully, but these errors were encountered: