Closed nitram-rem closed 1 year ago
Hello, Here is an example of basic motion flow: https://github.com/recallfx/node-red-contrib-eufy-security/blob/master/examples/motion.json
Should look like this:
Here motion
and alarm
are simple debug nodes, that can be replaced with anything, for example switch on hubitat lights:
Debug node motion
will print lots of information like this:
Most important is to setup eufy-security
node to subscribe on these events (plus alarm event that is at the top)
Hi Marius,
thanks for your fast answer. Next question. Is it possible to cacade two switch nodes? On the first iw ill differ betwenn Alarm, Motion, Close and any other Event and on the cascaded i will differ in the motion tree between the different camera's so i can switch the light on in the correct region.
second switch:
greetings
Martin
You can cascade, the result of the switch will be same message, then you can check based on that message properties what else to do. In my case msg.payload.device.name
is Kids room
and I can wire logic based on that.
Hi, next question is it also possible to control the Eufy central using Node-red? As an example woult it be possible to switch between the securtiy modes? Like switch from at home to absend or geofencing? And if yes how should the command be formated? As i understood in the documentation this is currently not possible, right? Because after i have a proper working absences detection via fritz box it would be great to switch the guard mode of Eufy from at home to absend or something.
Hi,
i'm currently trying to create a node-red flow which receives an alarm and start a flow in Homee to switch all light on. The question is how can i analyse the incoming alarm event in a node-red function to create at the end the correct payload to sned it to the Homee. Would it be possible to provide some function examples?
greetings