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

[Feature] Has anyone implemented an MQTT notification plug-in? #734

Open
winnall opened this issue Dec 22, 2022 · 3 comments
Open

[Feature] Has anyone implemented an MQTT notification plug-in? #734

winnall opened this issue Dec 22, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@winnall
Copy link

winnall commented Dec 22, 2022

Is your feature request related to a problem? Please describe.
I would like to link my 3D printer into my smarthome infrastructure, in particular to control a Hue light.

Describe the solution you'd like
Any events in TSD should publish themselves in an MQTT server defined by the user.

Describe alternatives you've considered
None. I already have and use MQTT, which is a commonly used and generic solution, and I’m not interested in further diversification.

Additional context
I consciously chose to use hosting by Obico rather than self-hosting. The plug-in that should be suitable for hosting there. I could program it myself, but I’d have to learn Python first.

@winnall
Copy link
Author

winnall commented Dec 22, 2022

I’ve just realised that an MQTT notification plug-in should probably be in the same network as the MQTT server, at least in a smarthome context. Thus it is really only applicable to a self-hosted server.

For the Obico-hosted server, you’d probably want MQTT notifications to be generated by a client (in my case the Obico plug-in for OctoPrint).

@kennethjiang kennethjiang added enhancement New feature or request help wanted Extra attention is needed labels Dec 27, 2022
@kennethjiang
Copy link
Contributor

For anyone who wants to take a stab at this task, we have a in-depth tutorial for building a notification plugin at: https://obico.io/docs/tutorials/pushover-notification-plugin/

@jcgoette
Copy link

A few quick notes for future development:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants