Page 1 of 1

Setpoint in Blockly

Posted: Tuesday 29 May 2018 20:22
by Knibor
Hi,

I created a virtual Sensor "thermostat setpoint" with "idx 94" and name "setpoint"

Now I want to transfer the value of the setpoint to a virtual "temperature" with "idx 95" and name "setpoint"

This, because I want to import the value from "idx 95" "setpoint" into a blocky input and compare this with a measured temperature in the living room "Woonkamer Temp/Vocht" to control the Pellet stove.

Example how I want to do this.
Schermafbeelding 2018-05-28 om 23.33.53.png
Schermafbeelding 2018-05-28 om 23.33.53.png (98.22 KiB) Viewed 2310 times

Re: Setpoint in Blockly

Posted: Tuesday 29 May 2018 20:53
by Denny64
It's more easy to control the stove.

You have to make just a dummy virtual sensor and put in Thermostat Setpoint mode. Than you can blokly:

IF Woonkamer Temp/Vocht < Setpoint AND Pellet Kachel = Off
Set Pellet Kachel = ON
Else IF Woonkamer Temp/Vocht ≥ Setpoint AND Pellet Kachel = ON
Set Pellet Kachel = OFF

Re: Setpoint in Blockly

Posted: Thursday 31 May 2018 19:47
by Knibor
Hi, thanks a lot, it works now perfect