How to handle devices with two values?
Posted: Sunday 06 March 2016 12:39
Hi there,
I came across a problem/puzzle I couldn't solve. I have a power outlet / kWh meter (monitor) that I want to create a blockly event on:
However when I look at "Show Current States" or when I get the value(s) from the Power Outlet / Monitor kWh in the log, I get the following value(s): 18.600;560.000 (=Watt;kWh)
I want the blockly compare to look at the first (18.600) of the two, but how do I make that happen? Because now the blockly doesnt work
Looking forward to your responses!
I came across a problem/puzzle I couldn't solve. I have a power outlet / kWh meter (monitor) that I want to create a blockly event on:
Code: Select all
( iF (Monitor kWh - actual) > (10) )
( DO ( SET (Dummy Switch) = (ON) ) )
( ElseiF (Monitor kWh - actual) < (10) )
( DO ( SET (Dummy Switch) = (OFF) ) )
I want the blockly compare to look at the first (18.600) of the two, but how do I make that happen? Because now the blockly doesnt work

Looking forward to your responses!
