Anamico / node-red-contrib-alarm

Nodes to build your own home alarm system. Designed to work easily with (but does not require) homekit.
MIT License
24 stars 8 forks source link

Delayed alarm not showing trigger source in payload. #38

Closed macinspak closed 1 year ago

macinspak commented 2 years ago

One question - when the alarm is triggered and the delay expires, I am seeing the following payload on the AlarmTriggered node;

image

Should source be populated with something? I was expecting to see a reference to the sensor that triggered the alarm. Or is that only populated for HomeKit style integration?

Hmm, yes it should. This was an extension someone submitted, so not sure why it doesn’t work with a delay node. I might be able to find some time in the next few weeks to look into it, as it is useful, but it should have the name of the trigger node in it I believe.

Thanks for reporting it.

Originally posted by @macinspak in https://github.com/Anamico/node-red-contrib-alarm/issues/37#issuecomment-1134011864