Page 1 of 1

Blockly question

Posted: Tuesday 21 June 2016 2:40
by mentalTheo
Hi, I am new to Domticz.
Configured an RFLink USB gateway (firmware 42) in combination with Rasberry Pi (2); latest beta (3.5263).
I run the webinterface (which is looking great!) in Firefox and added two KAKU switches that are working fine in the Switches tab, so far so good. In order to play a bit with (blockly) events I created the following blockly:
blocky.PNG
blocky.PNG (36.65 KiB) Viewed 1046 times
I expected lamp 'Old' would be swithched on when 'lamp New' is switched on in combination with the EVENT=Aan message in the log.
However when lamp New is switched on nothing else is happening, no message in the log:
log.PNG
log.PNG (6.23 KiB) Viewed 1046 times
In settings the event system is enabled.
Apparently I am missing something, can someone point me in the right direction?

Re: Blockly question

Posted: Tuesday 21 June 2016 7:19
by mrf68
Hi,

Your screenprint shows "Lamp New and On"? Shouldn't the "and" be "="?

Re: Blockly question

Posted: Tuesday 21 June 2016 16:10
by jklflipper
8

Verstuurd vanaf mijn SM-G900F met Tapatalk

Re: Blockly question

Posted: Tuesday 21 June 2016 19:42
by mentalTheo
Hi mrf68,
Oh my God, wat a silly mistake, I shouldn't do these things at night and go to bed earlier!
I changed to the logical block type you indicted, now it's working.
Many Thanks!