A node-red module for sending and subscribing to notifications from Gotify
npm install node-red-contrib-gotify-notificationA comprehensive module for Node-RED facilitating the sending and receiving of notifications via Gotify.
In order to install the module run
```
npm install node-red-contrib-gotify-notification
- Override: Determines if the title, message, priority, and extras properties from incoming messages should be overwritten.
- Title: Specifies the notification title.
- Message: The main text of the notification.
- Priority: Sets the notification's priority level.
- Extras: Additional data for the notification, formatted as JSON.
The publish node can be integrated at any point in your workflow.
The node accepts inputs from the msg. object. Ensure override is disabled to utilize this feature.
#### Example msg Object
`json`
{
"message": "Example Message",
"title": "Example Title",
"priority": 5,
"extras": {
"my_extra_parameter": "Parameter"
}
}
After sending a notification, the node outputs the notification details as a JSON object in msg.gotify.
- Server: The target server for subscription.
This node can be placed at any suitable point in your workflow.
Upon receiving notifications, the node outputs the data as a JSON object in msg.
#### Example msg Object for a Notification
`json``
{
"id": 1,
"appid": 1,
"message": "Some message",
"title": "Some title",
"priority": 0,
"date": "2025-01-23T18:16:08.991165343Z"
}