Page 1 of 1

scene

Posted: Thursday 05 August 2021 22:25
by denismsd
Hello everyone ,
I'm new to Domoticz and I have no programming skills, I have a sonoff 4 with tasmota plugged into my house lamps. now I added a sonoff door sensor also with tasmota. I would like that when the door sensor was activated it would turn on one of the lamps. But I couldn't create a scene.
thanks

Re: scene

Posted: Friday 06 August 2021 0:00
by waltervl
You can use a Blockly for this.
If PIR is On then lamp is on
Elsif PIR Is Off then lamp is Off.

See for more instructions: https://www.domoticz.com/wiki/Blockly