Turn lights on/off with PIR activation order.
Posted: Monday 10 January 2022 14:43
Hi Guys,
Want to start getting into dzvents rather than blocky, first thing I would like to do is turn a light switch on or off depending on PIR activation order.
I have 2 pir’s, landing2 and landing3, what I would like to do is turn suite lights on if landing2 PIR triggered first then landing3, or if landing3 PIR triggered first then landing2 second turn suite lights off.
I really don’t have a clue, have read up on some dzvents on the domoticz website, back can’t see anyth8ng close to this.
Could anyone help me with the code please.
Thanks
Phil
Want to start getting into dzvents rather than blocky, first thing I would like to do is turn a light switch on or off depending on PIR activation order.
I have 2 pir’s, landing2 and landing3, what I would like to do is turn suite lights on if landing2 PIR triggered first then landing3, or if landing3 PIR triggered first then landing2 second turn suite lights off.
I really don’t have a clue, have read up on some dzvents on the domoticz website, back can’t see anyth8ng close to this.
Could anyone help me with the code please.
Thanks
Phil