Page 1 of 1

Blockly script switching on "display code" (text)

Posted: Sunday 08 January 2023 17:44
by njlammerts
I am trying to get a 3 way valve to switch under certain conditions. (I have a Solar Boiler)

condition 1: The Central Heating system must be on (Display code = central heating active)
condition 2: The return water (CV-retour) must be colder then Middle
condition 3: When CV-retour is warmer as Middle, 3-way valve must switch off

Schermafbeelding 2023-01-08 om 17.25.21.png
Schermafbeelding 2023-01-08 om 17.25.21.png (85.04 KiB) Viewed 531 times

When the CV thermostat is running in program mode, the Setpoint temperature does only change when the temperature @ x time is reached. But because of the auto learning function, the CV is starting 1-2 hours prior to the time on which is has to be the Set temperature.
When the CV starts, the Display Code is changing from "system standby" to "central heating active" and I want to use this Display Code function as a condition to switch the valve. There is a [text block] but how to get it to respond with text [system standby] or [central heating active]

Schermafbeelding 2023-01-08 om 19.32.53.png
Schermafbeelding 2023-01-08 om 19.32.53.png (25.3 KiB) Viewed 521 times
Any suggestion welcome

Schermafbeelding 2023-01-08 om 17.43.10.png
Schermafbeelding 2023-01-08 om 17.43.10.png (32.93 KiB) Viewed 531 times