Sunset light switch does not work
Moderator: leecollings
-
jellex87
- Posts: 30
- Joined: Tuesday 25 June 2019 13:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Sunset light switch does not work
Hi,
I’m very new to Domoticz and Blockly, so can anyone tell me why this script isn’t working?
I’m very new to Domoticz and Blockly, so can anyone tell me why this script isn’t working?
- Attachments
-
- D2600EC6-B03B-40F2-90F5-597FF66984C9.jpeg (80.16 KiB) Viewed 1783 times
-
jellex87
- Posts: 30
- Joined: Tuesday 25 June 2019 13:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Sunset light switch does not work
‘Sunset actief’ is a dummy switch that turns on at sunset.
- Treve
- Posts: 107
- Joined: Thursday 05 November 2015 10:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.11474
- Location: Rotterdam, NL
- Contact:
Re: Sunset light switch does not work
Try, if time = sunset then .......
- RFXtrx433E,
- AEON Labs ZW090 Z-Stick Gen5 EU
- Hue v2.1
- Raspberry Pi 3 Model B, Raspbian Stretch Full on USB-Stick.
- Domoticz 4.11474
Devices: KaKu, Z-Wave, Hue.
for testing:
Raspberry 4, 2GB, SSD
Domoticz 2022.1
Ikea Hub, Fyrtur curtain
- AEON Labs ZW090 Z-Stick Gen5 EU
- Hue v2.1
- Raspberry Pi 3 Model B, Raspbian Stretch Full on USB-Stick.
- Domoticz 4.11474
Devices: KaKu, Z-Wave, Hue.
for testing:
Raspberry 4, 2GB, SSD
Domoticz 2022.1
Ikea Hub, Fyrtur curtain
-
jellex87
- Posts: 30
- Joined: Tuesday 25 June 2019 13:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Sunset light switch does not work
allready tried this one, but does not work as well.
- Attachments
-
- Naamloos.jpg (25.34 KiB) Viewed 1771 times
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Sunset light switch does not work
- Time = sunset
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
jellex87
- Posts: 30
- Joined: Tuesday 25 June 2019 13:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Sunset light switch does not work
Allready tried it... does not work. Is the script good?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Sunset light switch does not work
You should also look where the AND is placed. In your first post it is in the wrong place.
If you can share the exported blockly I can test
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
jellex87
- Posts: 30
- Joined: Tuesday 25 June 2019 13:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Sunset light switch does not work
Googled for it, but can't find the way to export the Blocky. Please let me know.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Sunset light switch does not work
Press the export button, [ctrl]a, [ctrl]c, goto forum, [ctrl] v, strip garbage before <xml, strip out last line (Ok)jellex87 wrote: Friday 28 June 2019 15:46 can't find the way to export the Blocky. Please let me know.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
jellex87
- Posts: 30
- Joined: Tuesday 25 June 2019 13:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Sunset light switch does not work
Don't have that menu on Synology. I will look for an update first.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Sunset light switch does not work
You could use the time in between to split-up the Blockly.jellex87 wrote: Friday 28 June 2019 16:04 Don't have that menu on Synology. I will look for an update first.
So create a small Blockly where you only check if time > sunset and write something to the log and a second small blockly where you check the other condition and write something to the log. If they both work you can try with an AND between the two conditions.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest