i hope anybody could help me with my problem. I alreday searched for my problem and understand thats not possible in Blockly to set a setpoint to a UserVariable or to the stored value in a virtual device. Now i search for solution and hope anybody coould help me with this. Currently i use the following Blockly to controll my Thermostats in the kitchen and the living room: I try to describe what it does.
First it looks for 2 Virtual Devices (Stefan Home; Simone Home), that are connectet with a geofence in the domoticz AndroidApp. If any from them is on it looks for annother 2 virtual devices (Zeitschaltung; Morgens) they are just time-controlled and so i can check if its day or night and if its in the morning or weekend aso.. The next check is, if the Thermostat is already set to the wanted temperatur and if the room temperature is below a specific temperatur.
If all is true it sets the setpoint of the kitchen to 19 degree and the setpoint of the living-room to 24 degrees.
And thats where my problem is. I would like to controll the above temperatures with for example the value i set in the virtual Termostat.
Why? Sometimes my fiance likes it warmer, and sometimes colder (iam sure you know what i mean

If i could tell her to just go in her domoticz app, and change the Value in "LivingRoom" (the virtual thermostat device) everything would be fine

So please help me! Its possible in anyway to do that? Maybe with dzvent, Lua ore something like that? Currently i dont know both, but if you could give me a hint how to do that iam illing to learn

Thanks a lot in advance!
Stefan