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

MQTT support #388

Closed
dzek69 opened this issue May 11, 2021 · 4 comments
Closed

MQTT support #388

dzek69 opened this issue May 11, 2021 · 4 comments

Comments

@dzek69
Copy link

dzek69 commented May 11, 2021

📢 What is the name of the service?
MQTT

🔗 Provide some details about the service that can help with it's development.

💡 Anything else?
Nope.

@caronc
Copy link
Owner

caronc commented May 15, 2021

I love the idea; i'll see what i can do!

@caronc
Copy link
Owner

caronc commented Sep 14, 2021

I can see there is definitely a demand for this plugin. I finally think i got a basic working prototype going (or maybe not). I still have a lot of unit tests to add here, but if anyone wants to give it a try feel free. I'd love feedback.

The instructions can be found on my pull request (#443).

Note: At this time it relies on the paho-mqtt python library. I'm not of fan of using full libraries since the point of Apprise is to make it so you don't need to do this. Perhaps this will just be the first Apprise/MQTT version; eventually we can drop the dependency (we'll see...). There seems to be a lot of overhead with the MQTT protocol (handshaking, multiple supported protocols, SSL, etc). It's kind of nice to just rely on someone who's already ironed out the bugs and at the same time I'm not re-inventing a (rather complicated) wheel. This plugin will gracefully just not work if the dependency isn't installed (but spit an error letting you know why).

@caronc
Copy link
Owner

caronc commented Sep 17, 2021

I have had some success with my latest set of code and merged it. 👍

Will close this ticket now

@caronc caronc closed this as completed Sep 17, 2021
@dzek69
Copy link
Author

dzek69 commented Sep 17, 2021

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants