Page 1 of 1

Blockly react on calculated values

Posted: Sunday 07 April 2024 16:22
by njlammerts
Is there a way to let the outcome of a blocky script be dependent on a calculation of measurements?

I have a 3 way valve which I want to open when the temperature of a sensor is say 20C + 5 and close on the same value - 3.
I have it now solved by edit the sensor adjustment value with +5, so the value is alway 5C off

Re: Blockly react on calculated values

Posted: Sunday 07 April 2024 20:56
by waltervl
Blockly cannot do math. You have to switch to Dzvents to do something like this.