Hi all,
I'm trying to control two POPP / Danfoss trv's via a virtual thermostat. The trv's are in the same room and instead of controlling them individually I want to use the virtual thermostat to set the set-point of the two of them in one go.
I've written a very simple script in Blockly, see attachment. The script executes when I change the Main Heating on the virtual thermostat, so that's working fine. Target Temperature is a user defined variable (float). When Main Heating and Target Temperature are written to the log they are not the same value, although the first line says set Target Temperature = Main Heating, strange. Worst of all, the trv's are not set to the Main Heating value.
I've no problem controlling the trv's individually, so the error doesnt' seem to be there. I can set read the temperature, set the set-points, and the timer are working.
Maybe I'm overlooking something. Hoping that someobody can give me some advice on how to get this working
Richard
p.s. using Domoticz v3.5877 on Raspberry
How to control two trv's via one virtual thermostat?
Moderator: leecollings
-
- Posts: 2
- Joined: Friday 04 November 2016 10:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
How to control two trv's via one virtual thermostat?
- Attachments
-
- Script.tiff (210.99 KiB) Viewed 684 times
-
- Posts: 2
- Joined: Friday 04 November 2016 10:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to control two trv's via one virtual thermostat?
Found a work-around using the Selector Switch. This at least allows me to use a couple of presets to set the setpoints of the two trv's.
I have the impressions that the levels name need to start with a letter to be interpreted as string, so i named them "Txx". If I just name that xx (integers) than the if/then statements don't work correctly.
I have the impressions that the levels name need to start with a letter to be interpreted as string, so i named them "Txx". If I just name that xx (integers) than the if/then statements don't work correctly.
- Attachments
-
- domoticz.tiff (373.4 KiB) Viewed 644 times
Who is online
Users browsing this forum: No registered users and 1 guest