Thank you very much for your help. You have done a wonderful job!
I was able to adapt your Apps to control my boiler with Hive and with Danfoss LC-13 smart valve.
I am using your app but in a different way:
I have the Danfoss LC-13 smart valve and I am contyroling the boiler with Hive. These valve are “special”, in fact, they do not report back the temperature.
To be able to use it with the official supported DHT, i created a simulated switch for each Danfoss valve, and in WebCore I established some rules:
if the simulated switch is ON then the temp for the valve is 28 Celsius and
if the simulated switch is off the temperature for valve is 15 Celsius
if any simulated switch is ON , then the Hive Controler is set to 28 Celsius and
if all simulated Switches are off Hive Controller is set to 15 Celsius
After that, I used the simulated switch for creating the simulated thermostat in your App in conjuction with a temperature sensor in the same room with the smartvalve.
I have tested for 3 days and it is working fine, I am very happy, I can control each room temperature, and it is ActionTile compatibile, I can use also with Alexa.
Can I sugest you some improvements?
The most important is to be able to select a smart valve instead of a switch (when the switch is ON to setheatpoint for valve to maximum and when the switch is off to setheatpoint for valve to maximum).
To be able to control a real thermostat as a master thermostat which is controling the boiler
To add a temperature variation for each temperature sensor (for example in one room I am using the window sensor to report the temperature, and ussualy the window temperature is less than room temperature with 2-3 celsius degrees, and it will be a nice feature to be able to set the room teperature as the window sensor temperature + 2 degrees celsius)