Hi There,
Currently, I have a NodeMCU setup with presents detection software installed and configured, every time it connects to my network it runs a series of events i.e, garage door opens, alarm state is checked etc. It has been working okay for the last few months but I would like to convert this automation over into Node-Red but that’s where I get stuck.
I would like to configure an automation that utilizes the presence detection device, once connected it will kick off a series of events. An example of this could be checking the alarm state to work out if it needs to be disarmed, opening a series of roller doors or turning on the lights.
I have read a bunch of posts and tried to set something up but my lack of Node-Red knowledge is hindering my progress. I’m unable to work out how to correctly pass the information from the presence detection device to check the alarm state. I’m pretty sure I need a function node to do this but my json knowledge is very limited and not sure how to proceed
So looking to the forums for some guidance on different ways others have approached this type of automation.
Thanks, Nick
Presence Detection Node
I have a sensor which tells the alarm state
I have a binary sensor which also tells the alarm state