I Have a timer in Hassio.
I want to use the events generated by this in node red.
i.e
Using the “Events : All” node with “Event type”: timer.finished
I am receiving an msg.payload when the Hassio timer finishes, but I can’t see how I can differ between different Hassio timers. Cant find the entity ID in the msg.
Some ideas?
Thanks!!
Br,
Bjoern
tried this: Filter Deconz Event from Switches - beginner
but the “msg.payload.id” doesn’t seems to exist for hassio timer.
The solution was easier than I thought!
Using msg.payload.entity_id in a following switch, did it!
[{"id":"7fef4a58.449f24","type":"server-events","z":"6eafc8d9.cb2998","name":"","server":"2f1b3a65.0d76f6","event_type":"timer.finished","x":620,"y":620,"wires":[["89e10899.a8c4a8"]],"icon":"font-awesome/fa-clock-o"},{"id":"89e10899.a8c4a8","type":"switch","z":"6eafc8d9.cb2998","name":"","property":"payload.entity_id","propertyType":"msg","rules":[{"t":"eq","v":"timer.test","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":850,"y":620,"wires":[[]]},{"id":"2f1b3a65.0d76f6","type":"server","z":"","name":"Home Assistant"}]