Page 1 of 1

Blockly issue with dimmer

Posted: Sunday 16 October 2016 22:47
by ricorico94
Hi,

I use zwave devices to control my heaters and each of these devices are built as dimmers (qubino ZMNHJD1).
I have 2 heaters that I'd like to control together (same room..) but I wanted to avoid creating new scene/group (and slaves don't work in Domoticz..), so I thought about using a blockly event checking if one is different from the other.

So I created a blockly event as follows, to consider DimmerA as kind of master and DimmerB always alinging on DimmerA:
If dimmerB<>Dimmer A then
Set DimmerB=Dimmer A

But it doesn't work.. Using debug features, I see that Blockly detects the difference, but the Set function does not work.. If I write something like "Set DimmerA= %dimmer value (with a fixed value), then it works, but not if I refer to the other device..
Maybe I could go through an intermediate variable, but that sounds a bit stupid.
What am I doing wrong ?

Ricorico94