Blockly question

Moderator: leecollings

Post Reply
mentalTheo
Posts: 4
Joined: Tuesday 21 June 2016 1:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8798
Location: The Netherlands
Contact:

Blockly question

Post 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 1045 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 1045 times
In settings the event system is enabled.
Apparently I am missing something, can someone point me in the right direction?
mrf68

Re: Blockly question

Post by mrf68 »

Hi,

Your screenprint shows "Lamp New and On"? Shouldn't the "and" be "="?
jklflipper
Posts: 6
Joined: Tuesday 22 April 2014 23:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blockly question

Post by jklflipper »

8

Verstuurd vanaf mijn SM-G900F met Tapatalk
mentalTheo
Posts: 4
Joined: Tuesday 21 June 2016 1:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8798
Location: The Netherlands
Contact:

Re: Blockly question

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest