auto/manual light operation

Moderator: leecollings

Post Reply
pascalspits
Posts: 88
Joined: Tuesday 24 February 2015 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Belgium
Contact:

auto/manual light operation

Post by pascalspits »

In the kitchen I set up a Blockly script to activate (set to 10% for 100 sec) a group (all the lights in the kitchen) to be triggered by the motion sensor, when the sun is under (timer).
This works well, but how can I "overrule" this by manually pushing the switch (connected to the input of the Fibaro RGBW dimmer) ?
when I manually push the switch to turn a light on and I move around, the sensor will detect this, and switch over to the group thing ... it shouldn't
can this be done ?
RasPi2 - Aeotec Z-Stick S2 - Fibaro multisensors - Fibaro RGBW dimmers - ETH08 relais boards
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: auto/manual light operation

Post by Egregius »

Check the state of the light in your script and trigger only if light or group is off.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: auto/manual light operation

Post by pvm »

I created a virtual switch for setting all lights in manual mode. And control all lights by blockly.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest