Blockly script switching on "display code" (text)

Python and python framework

Moderator: leecollings

Post Reply
njlammerts
Posts: 149
Joined: Wednesday 12 August 2020 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Fryslan
Contact:

Blockly script switching on "display code" (text)

Post 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 408 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 398 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 408 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest