Hi All,
I have created a blockly where if one of us is at home after sunset, the living room lights turn on.
Also added a variable to be able to turn off the light.
When I start the variable with OFF, it does switch to ON.
But when the mobile phones disconnect (simulating leaving home) it does not go to the OFF state.
Am I missing something in the blocks?
Variable only changes once
Moderator: leecollings
-
- Posts: 2
- Joined: Saturday 05 February 2022 23:09
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
- madpatrick
- Posts: 659
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Variable only changes once
Try remove the "iemand_thuis" = On on the ElseIf line
Basicly it doesn't matter which status this is having
Basicly it doesn't matter which status this is having
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
-
- Posts: 2
- Joined: Saturday 05 February 2022 23:09
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Variable only changes once
The same result, when putting the variable manually to OFF, it switches once, then not anymore.
-
- Posts: 24
- Joined: Tuesday 27 February 2018 8:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Variable only changes once
Hi,
try it with the Green Label instead of the state On/Off.
At Logic, the Last Label with "()".
Benny
try it with the Green Label instead of the state On/Off.
At Logic, the Last Label with "()".
Benny
Who is online
Users browsing this forum: No registered users and 1 guest