Hello,
Thanks for your excellent project.
I've installed it on my HA and it works great.
It is able to connect to my Tydom, and pick up my light and my shutters.
But it doesn't support my thermostat heater:
After some digging with Charles Proxy, I was able to find out the device type APIs used to read and control this thermostat.
The device type is 'sh_hvac', not sure what does the 'sh' means but fine.
The API it uses is a bit complicate, it doesn't use the /devices/data endpoint, but it use the /areas/data endpoint instead, maybe the idea is to control multiple thermostats in a room at the same time, but don't have multiple thermostat in a same room, so I can't test this case.
In this PR, I
Added functions in TydomClient to read and write to the /areas/data endpoint
Updated MessageHandler to process data return by the /areas/data endpoint
Added ShHvac class to support the sh_hvac type thermostat, allow reading data, setting target temperature, start/stop boost mode
Updated MessageHandler to process attributes of the sh_hvac type thermostat
Updated MqttClient to response for the thermostat command topic
The feature is tested ONLY on my installation.
Here is an example of the thermostat device added in HA.
I'm not a python developper, I tried to do my best, hopping the code quality is acceptable and I didn't break anything :)
Hello, Thanks for your excellent project. I've installed it on my HA and it works great. It is able to connect to my Tydom, and pick up my light and my shutters. But it doesn't support my thermostat heater:
After some digging with Charles Proxy, I was able to find out the device type APIs used to read and control this thermostat. The device type is 'sh_hvac', not sure what does the 'sh' means but fine. The API it uses is a bit complicate, it doesn't use the /devices/data endpoint, but it use the /areas/data endpoint instead, maybe the idea is to control multiple thermostats in a room at the same time, but don't have multiple thermostat in a same room, so I can't test this case.
In this PR, I
The feature is tested ONLY on my installation.
Here is an example of the thermostat device added in HA.
I'm not a python developper, I tried to do my best, hopping the code quality is acceptable and I didn't break anything :)