Hello
Can someone tell me why this isn't works?
Thanks if you can help me.
Tuinlight wont work.
Moderator: leecollings
- Domosapiens
- Posts: 232
- Joined: Wednesday 20 August 2014 12:08
- Target OS: Windows
- Domoticz version: V3.5981
- Location: NL
- Contact:
Re: Tuinlight wont work.
I think Sunset and Sunrise is a time moment and not a time period.
Start with a simple dummy switch: IS_DARK.
IF (Time >= Sunset OR Time <= Sunrise) AND IS_DARK=Off
Do IS_DARK=On
IF (Time < Sunset OR Time > Sunrise) AND IS_DARK=On
Do IS_DARK=Off
If this works ..
You can use IS_DARK in other Blokly's.
And ... don't forget to select the type of Blockly to set on Device (on the right side)
Start with a simple dummy switch: IS_DARK.
IF (Time >= Sunset OR Time <= Sunrise) AND IS_DARK=Off
Do IS_DARK=On
IF (Time < Sunset OR Time > Sunrise) AND IS_DARK=On
Do IS_DARK=Off
If this works ..
You can use IS_DARK in other Blokly's.
And ... don't forget to select the type of Blockly to set on Device (on the right side)
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Tuinlight wont work.
Please see a working blocky with sun checking.
Hope this helps you
Hope this helps you
- Attachments
-
- Capture.JPG (44.95 KiB) Viewed 1012 times
Who is online
Users browsing this forum: No registered users and 1 guest