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

Add a "momentary/toggle" option to sensors #2

Open macinspak opened 5 years ago

macinspak commented 5 years ago

Or create different sensor types.

A "momentary" sensor is like a motion sensor. The sensor triggers and then times out.

A "Toggle" sensor is like a NC or NO sensor, it's either an open door that is left open (so it doesn't keep getting messages, but has a personal state that persists until another messages says it's now closed.

At the moment there is only a trigger for when a state changes, but not one where it remains in an alarm state (like a door left open).