hemphen / hass-clevertouch

CleverTouch - Home Assistant integration for Touch E3 radiators
MIT License
5 stars 0 forks source link

Energy consumption #10

Open boerti71 opened 7 months ago

boerti71 commented 7 months ago

Hi

as it is soon x-mas, maybe I can place a wish... would it be possible to add energy consumption or is the Clevertouch API not offering this values?

Thanks

hemphen commented 7 months ago

As far as I can see with my account and my devices there is no energy consumption data available in the API responses. I don't have access to my Touch E3 device so can't really tell if anything is available locally for me either. Won't be able to check until spring.

What you could try to do if you are reasonably familiar with web-tech is to inspect the API responses from using the web app and send me any findings.

There really are three ways to interact with the Touch E3-connected devices. The web API is the outer layer. There is also the "other side" of the API where the device communicates with the LVI servers. That could possibly be intercepted locally, but the format is very similar to the external API, so I doubt data is present there if not published externally. Might still be worth looking into. Again - not until spring/summer for me.

The third option is to communicate directly with the different devices over the radio protocol they use... if that's the only way to get the consumption data it will be quite difficult and involve hardware... if so, there will be better ways to get the energy consumption.