Skip to content
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

Send MQTT message on start/end for other control systems #15

Open
mkjustuk opened this issue Sep 20, 2022 · 3 comments
Open

Send MQTT message on start/end for other control systems #15

mkjustuk opened this issue Sep 20, 2022 · 3 comments

Comments

@mkjustuk
Copy link

I use HomeAssistant to control the power to my printer. Being able to send an MQTT message from this plugin to power on and power off the printer in place of the GPIOs would be fantastic.

Possibly piggy-backing on this plugin to do so?
MQTT Plugin

@chof747
Copy link
Owner

chof747 commented Oct 8, 2022

For this I would rather recommend the OctoPrint integration for home assistant. It gives you the current printer state, the nozzle temperature, printing progress and other parameters. Which you could use as triggers for a proper automation.

Hope that helps. I would rather not pack it into this plugin as also Octoprint has a specific MQTT plugin if you want to use MQTT which is much more powerful in that respect.

Closing therefore this issue

@chof747 chof747 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2022
@mkjustuk
Copy link
Author

mkjustuk commented Oct 9, 2022

Thanks for the comments.

The gap that exists is there is no planning option in the other plugins. I can switch a smart plug off using the HA integration when finished, but what's missing is being able to turn the printer smartplug on when your plugin wants to start a scheduled print.

With an MQTT option (or a hook into the HA integration) I can power up the smartplug to coincide.

@chof747
Copy link
Owner

chof747 commented Oct 13, 2022

Ah OK - understood. Let me check what is possible

@chof747 chof747 reopened this Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants