Hello!
First: I'm a newby to Domozicz...
Questoin here: why do BOTH if's start up?
It shutrun between 03:00 and 21:00 - and it does.
But the following if's go both active, even if the temperauter is above 21°. And I don't get it why...
Please help!
Thanks,
Boris
Both if started
Moderator: leecollings
-
- Posts: 7
- Joined: Saturday 23 December 2017 16:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Both if started
- Attachments
-
- Clipboard01.jpg (155.23 KiB) Viewed 581 times
-
- Clipboard03.jpg (159 KiB) Viewed 581 times
- jvdz
- Posts: 2333
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Both if started
Don't believe that Nested If's are supported in blockly, so you better code this in LUA/dzVents.
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- kuifje
- Posts: 36
- Joined: Wednesday 25 October 2017 16:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Heemskerk
- Contact:
Re: Both if started
This happends because blockly can not trigger An event that is passed the 00:00.
You have create one more event. 00:00 < 03:00 the other one you have to change to 21:00 < 00:00.
And the if do ( with the blue dot ) is the master and can not be put in a if do ( with the blue dot ) You have to rearange that. An if do ( without the blue dot ) also.
Good luck
Kuifje
You have create one more event. 00:00 < 03:00 the other one you have to change to 21:00 < 00:00.
And the if do ( with the blue dot ) is the master and can not be put in a if do ( with the blue dot ) You have to rearange that. An if do ( without the blue dot ) also.
Good luck
Kuifje
Who is online
Users browsing this forum: No registered users and 1 guest