#Chronometer timeout notifications (Node-Red)

1 messages · Page 1 of 1 (latest)

steady canyon
#

Morning.

I'm trying to create some notifications that time out AND countdown but also display the time they were sent. I've tried various combinations, and I cannot figure this out. If I manage to get the notification to come through and get the timeout and chronometer to work, it shows the notification time as the end of the chronometer time. In the pictures attached, I want the bottom notification to show the "Just now" or time it was recieved but still have the countdown funtionality (then disappear with the timeout) my config is:

{
"message":"My Message",
"title":"My Title",
"data": {
"chronometer": true,
"when": "1800",
"when_relative": true,
"color": "#808588",
"sticky": "true",
"timeout": "1800",
"tag": "Unique Tag",
"importance": "high"
}
}

Or have I completely misunderstood the way this is designed?
the way i expected this to work:
Notification with the time it was received.
Countdown in notification - This is set to the same as the timeout
The notification then disappears at the end of the timeout.

Thanks.