Newbee: how to combine a sensor and a switch?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Henke
Posts: 2
Joined: Saturday 11 August 2018 13:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Newbee: how to combine a sensor and a switch?

Post 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.
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

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

Post 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
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Henke
Posts: 2
Joined: Saturday 11 August 2018 13:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Henke »

Thanks. I understand blockly now for a little and some things are working okay.
I will dive deeper into blockly and scripting.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest