Hi,
I would like to control my TRV thermostat via the Cloud APIs.
The idea is to enable / disable the TRV and to set the target temperature.
My use case is, that whenever I go to the office, the thermostat shall be enabled and the target temperature shall be set to 20 degree. And, whenever I leave the office, the TRV shall be disabled.
With the following http request, I am able to set the position of the valve (here: to 40%). That works fine!
https://<shelly-cloud-ip>/device/thermostat/control/?pos=40&id=<my_TRV_ID>&auth_key=<my_auth_key>
I have tried to set the target value to 20 degree with the following http request, but that request does not work.
https://<shelly-cloud-ip>/device/thermostat/control/?target_t=20&id=<my_TRV_ID>&auth_key=<my_auth_key>
The response to the request is
{"isok":false,"errors":{"err_temp":"Control values missing"}}
The same error appears when using the following http request with target_t_enabled=1
https://<shelly-cloud-ip>/device/thermostat/control/?target_t_enabled=1&id=<my_TRV_ID>&auth_key=<my_auth_key>
Any idea how the http request should look like?