Thanks Waaren, that was exactly the functionality I was looking for.
Code has become a bit easier, monitoring the actual item text:
return
{
on = {
devices = {
"[DU] Pushover Alarm"
}
},
execute = function(dz, item)
if item.text > ' ' then
dz.notify("Alarm",item.text,dz.PRIORITY_HIGH ...
Search found 2 matches
- Saturday 20 July 2019 20:30
- Forum: Other questions and discussions
- Topic: Custom Message in Notifications
- Replies: 2
- Views: 671
- Friday 19 July 2019 23:54
- Forum: Other questions and discussions
- Topic: Custom Message in Notifications
- Replies: 2
- Views: 671
Custom Message in Notifications
Hi all,
I'm trying to use notifications on an alert (dummy) to send myself a Pushover message.
This alert is activated via MQTT. I'm able to trigger the alert and the set Pushover action using the sensor but am struggling with the content of the message itself. I found that $value in the 'custom ...
I'm trying to use notifications on an alert (dummy) to send myself a Pushover message.
This alert is activated via MQTT. I'm able to trigger the alert and the set Pushover action using the sensor but am struggling with the content of the message itself. I found that $value in the 'custom ...