ItHasU / MQTTToolbox

A simple web application to manipulate MQTT messages. (Fullstack typescript).
MIT License
1 stars 0 forks source link

Notifications #16

Open ItHasU opened 3 years ago

ItHasU commented 3 years ago

Trigger a notification when a message is received.

ItHasU commented 3 years ago

Possible solutions :

e-mail requires an smtp. It is harder to get one easy to connect to. SMS has extra costs. Messaging services can usually be used with HTTP API. Maybe some are already connected to MQTT.

ItHasU commented 3 years ago

Telegram seems to be the easier. It's easy to send a message with only one HTTP request. https://api.telegram.org/bot/sendMessage?chat_id=&text=<...>

ItHasU commented 3 years ago

Being able to send notifications is useless if we cannot trigger anything. So basically the first step is to be able to trigger events.

ItHasU commented 3 years ago

Trigger could be:

This is relatively easy to implement. Both in term of edition and of testing. This would be a good first step.