Blockly event not triggered ?

Moderator: leecollings

Post Reply
ricorico94
Posts: 94
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Blockly event not triggered ?

Post by ricorico94 »

Hi,
I have a heater controlled by a zwave Dimmer from Qubino : I created a switch (lighswitch & dimmer) and when I set it to 100% it heats, and if 0 it stops completely (it's handled as a dimmer as a workaround to French heater pilot standard). I mainly control the heater through LUA script using Google Agenda.

Now, I want to only control it through Google Agenda, but I want also to be able to "click somewhere" to start heating for a predefined duration (let's say 10 minutes).
I thus created another dummy device and a lightswitch (named Minuterie_Douche (=timer..), where I set "Off Delay" at 10 minutes, and I created a bockly event so that when I set the Minuterie to ON, the blockly event should set the heater switch to 100% (and to 0% when the Minuterie goes back to OFF automatically).
Unfortunately, it's not working : when I click on the logo of the Minuterie Switch, that switches changes its status, but the blockly event does not seem to start: in the log, I can see the status change of Minuterie, but I don't see any change on my heater switch and I don't see the message I try to write in the log.
Here's a my Blockly event (restricted to switching ON the heater (through settign level at 100%) and writing to the log)
03-02-2016 12-01-24.png
03-02-2016 12-01-24.png (29.05 KiB) Viewed 2008 times
What am I doing wrong ? Why is Blockly event not starting when I push my Minuterie button ?
NB: I tried also to write the test as "different from OFF" to check if the test was the issue..

Ricorico94
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: Blockly event not triggered ?

Post by Domosapiens »

Ricorico94,
if you use IF block without ELSE,
then use the IF block without the + sign
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
ricorico94
Posts: 94
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly event not triggered ?

Post by ricorico94 »

Hi Domosapiens,
To be honest, I think I had tried with and without.. but I tested again without block ELSE, and it seems working. Maybe it was the issue. Blockly is so sensitive ?
Thanks a lot !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest