Rasp pi 3
Domoticz 3. 8258
I have this (i thougt) very simple script;
https://prnt.sc/g5xcuo
3 switches, all the switches work, they go on an of as planned. I use 'zononder' (sundown) as a switch because i want it to respond 30 minutes before sundown.
This means when al the criteria is met, i want to turn on my livingroom light.
It looks very simple, but it does not work. i tried it by writing a log message that does not work either
I have respond to all triggers active.
no error in the log. either.
I somebody can make in in dzvents i do not mind
but this should just work.. ??
Blockly script not runing
Moderator: leecollings
-
- Posts: 37
- Joined: Sunday 24 July 2016 21:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Blockly script not runing
Raspberry PI 3, raspbian, ZwaveMe, RFLink
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Blockly script not runing
Have you checked that the "Event active" is checked for the Blockly? (I agree, it should work).
Sent from my SM-T820 using Tapatalk
Sent from my SM-T820 using Tapatalk
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
- Domosapiens
- Posts: 232
- Joined: Wednesday 20 August 2014 12:08
- Target OS: Windows
- Domoticz version: V3.5981
- Location: NL
- Contact:
Re: Blockly script not runing
Use the IF constructor without the blue star,
in case there is no Else branch
in case there is no Else branch
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: 156
- Joined: Monday 25 May 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2020.2
- Location: Netherlands
- Contact:
Re: Blockly script not runing
Yep, that's the problem in your blocky script!Domosapiens wrote:Use the IF constructor without the blue star,
in case there is no Else branch
-
- Posts: 37
- Joined: Sunday 24 July 2016 21:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Blockly script not runing
StanHD, yes the event is active,
I will try it without the blue star.
I had this option because the script was longer with several if events (dimming the light at certain times) but did not work ether so i stripped it down. But i wil try this.
thank you.
I will try it without the blue star.
I had this option because the script was longer with several if events (dimming the light at certain times) but did not work ether so i stripped it down. But i wil try this.
thank you.
Raspberry PI 3, raspbian, ZwaveMe, RFLink
-
- Posts: 37
- Joined: Sunday 24 July 2016 21:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Blockly script not runing
This was it. Thank you guys!!
Raspberry PI 3, raspbian, ZwaveMe, RFLink
Who is online
Users browsing this forum: No registered users and 0 guests