Page 1 of 1

Newbee: how to combine a sensor and a switch?

Posted: Saturday 11 August 2018 13:30
by Henke
I do have domoticz setup in rpi. I'm using zwave devices. I do have a sensor which can detect movement and Lumen. I do have a powerswitch which can be on/off. In the dashboard I can click on the powerswitch to toggle on/off.
Question: How to combine the sensor and the powerswitch. How to switch the powerswtich to on, if the sensor detects movement? I'm new and I canot find out what my next steps are. Do I need a script, or can I build this combination with a master and slave? Or what?

Please.

Re: Newbee: how to combine a sensor and a switch?

Posted: Saturday 11 August 2018 13:59
by JuanUil
Hi Henke,

welcome to the club!
You could read the wiki for instance the automation part.
Further on there are lots of examples here on the forum, for instance in the lua or blocky part.
Domoticz is also about finding out yourself by searching the wiki and forum!
Enjoy!!

Jan

Re: Newbee: how to combine a sensor and a switch?

Posted: Sunday 19 August 2018 14:06
by Henke
Thanks. I understand blockly now for a little and some things are working okay.
I will dive deeper into blockly and scripting.