# External notifications, webhooks, MQTT etc

**URL:** <https://farmos.discourse.group/t/external-notifications-webhooks-mqtt-etc/1218>\
**Category:** Development\
**Tags:** feature-request\
**Created:** [April 15, 2022, 8:44am UTC](https://farmos.discourse.group/t/external-notifications-webhooks-mqtt-etc/1218 "2022-04-15T08:44:53Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Farmer-Ed](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/farmer-ed/32/662_2.png) [@Farmer-Ed](https://farmos.discourse.group/u/Farmer-Ed)\
**Post date:** [October 6, 2022, 12:18pm UTC](https://farmos.discourse.group/t/external-notifications-webhooks-mqtt-etc/1218/21 "2022-10-06T12:18:54Z")

</div>

> [@Node-RED farmOS library](https://farmos.discourse.group/t/node-red-farmos-library/127/13):
>
> > [@Node-RED farmOS library](https://farmos.discourse.group/t/node-red-farmos-library/127/12):
> >
> > I have been working on a notifications module too (another work in progresss… maybe some day I’ll get one finished 🙃)
> 
> That is cool. Task notification is very useful.  
> Also useful to be able to snooze the notification directly. Dont know if that would be possible but still very useful. Along as marking a task done, right from the notification.
> 
> Cool that Node-Red can make use of the notification. That also makes it easier for different users to change the levels to trigger flows in Node-Red.
> 
> I wasn’t aware of ntfy. It looked nice. Been looking for something like that to use with Node-Red.  
> We use Signal. Is it hard work to add support for that? I’ve seen support for it in Node-Red.

@pat hope you don’t mind I’ll drag this conversation over here.

You can enable and disable a notification on a per log basis, don’t have a snooze option as such but those features may be part of some notification servers/apps. Marking a log ‘done’ from the notification is not currently implemented in the module but could be, I have experimented with this using Node-Red as the notification server and it works quite well as it is trivial to send a response back to farmOS through the API.

So far I’ve tested with Node-Red, ntfy and Telegram others can be added easily if they have an API based on http requests. But then again anything which can be accessed via Node-Red is also an option.

Signal as far as I can see would be possible now through Node-Red but not directly from my current module, it has a JS library though, so possibly a future plugin.

I’ve also already experimented with mix and matching the services using one as a Proxy for another.

**farmOS → Node-Red**  
Straight forward, simple to use received Event for any sort of Automation or pass on to another service. Great if you have an always on reliable connection between farmOS and Node-Red.

**farmOS → Telegram → Node-Red**  
This configuration is useful if Node-Red is not always on/available, an encrypted chat can be used to que messages until Node-Red is available. So maybe for Node-Red running on a laptop that is not always on/connected to the internet.

**farmOS → ntfy → Node-Red**  
As above, but no security unless you self host ntfy.

**farmOS → Node-Red → Any other service → Node Red → farmOS**  
Create a 2 way link between farmOS and (almost)any service you like.

Edit: Should probably also note this is a long way from completion, as I plan on redesigning it significantly to fit with the new core-notifications module and make the different communications methods plugins which can work with other modules.

---

<div class="post-metadata">

**Author:** ![pat](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/pat/32/1050_2.png) [@pat](https://farmos.discourse.group/u/pat)\
**Post date:** [October 7, 2022, 8:00am UTC](https://farmos.discourse.group/t/external-notifications-webhooks-mqtt-etc/1218/22 "2022-10-07T08:00:58Z")

</div>

> [@Farmer-Ed](#):
>
> @pat hope you don’t mind I’ll drag this conversation over here.

My thought too. I quickly made it off topic 😇

I’m looking forward to this. It’s very nice to have log notification in my workflow with the pigs among other things.

[Previous page](https://farmos.discourse.group/t/external-notifications-webhooks-mqtt-etc/1218.md?page=1)
