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

Add support for "mqtt" actions #411

Open
sumnerboy12 opened this issue Sep 22, 2022 · 4 comments
Open

Add support for "mqtt" actions #411

sumnerboy12 opened this issue Sep 22, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@sumnerboy12
Copy link

Similar to "http", allow a notification action to send an MQTT message.

MQTT is a very common protocol for home automation. Having the ability to send an MQTT message from a ntfy notification action would allow all sorts of integrations.

I will also be looking to add support for ntfy to mqttwarn. This would allow for users to send notifications to an MQTT topic and mqttwarn will automatically forward it to ntfy.

With MQTT actions and mqttwarn integration, we would have bi-directional support for MQTT based systems.

@binwiederhier
Copy link
Owner

Related: #8

@binwiederhier binwiederhier added the enhancement New feature or request label Sep 23, 2022
@jpmens
Copy link
Contributor

jpmens commented Nov 2, 2022

MQTT support in ntfy would be grand.

@sumnerboy12 I've added an enhancement issue to mqttwarn here, so if you've nothing better to do ... :-)

@zoic21
Copy link

zoic21 commented Feb 1, 2023

Hello,
I think it's can be a awesome idea. MQTT is more and more used especially by iot, place where ntfy.sh is used a lot. With mqtt (api and action) we can used ntfy.sh to send message from ESP32 (it's possible in HTTP but the library is very heavy compared to MQTT, when there is only 4mb or even 1mb it is not negligible). And with the actions from the notification, you can imagine direct control scenarios without necessarily needing a home automation solution in the middle.

One can imagine when I open my garage door the module sends an MQTT frame to ask if I also need to open the gates. If I answer yes the portal module sees the request and executes

I don't see the work that it represents, especially in go, a language that I don't know, but on the other hand I can see the opening it gives in the home automation environment.

@osering
Copy link

osering commented Jan 26, 2024

MQTT (opensource standard as well) bridge/integration would be invaluable. It'll let connect thousands of ESP8266 boards (including with TASMOTA/ESPurna/ESPeasy/ESPhome firmware and MQTT) with ntfy gateway! Most of Sonoff gear and many of the Tuya gear can be Tasmotized!
Probably united ntfy/mqtt server/broker could be crafted...
Some relevant links:
https://github.com/arendst/Tasmota
https://templates.blakadder.com/howto.html
https://www.emqx.io/
https://github.com/eclipse/mosquitto

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

No branches or pull requests

5 participants