python-overkiz-api icon indicating copy to clipboard operation
python-overkiz-api copied to clipboard

Cozytouch new API

Open adriencog opened this issue 1 month ago • 1 comments

I recently bought a new Sauter towel dryer. Once setup done, I saw it in my Cozytouch app but I was surprised to not see it in my HA integration.

In fact by inspecting app network calls, I noticed it uses a whole new API for this device (and probably others in the future).

Except for login part (it requires authentication with accessToken), this new API shares nothing in common with previous one, even though feature set is pretty much the same (I think)

I would be very happy to contribute and try to integrate this new API, but I wonder what the right approach would be, for this lib and also for HA integration.

  • Should we try to refactor everything to get a unified model ?
  • Should we simply expose new methods and new model ?
  • Should it require maybe a whole new python lib ?

I'll continue studying this new API and share some details here.

Side note: Cozytouch app does its best to present both in a single UX, but you can feel it getting Frankenstein-ish

adriencog avatar Nov 08 '25 10:11 adriencog

I am not planning to integrate the other CozyTouch endpoints in the Overkiz API package. For Home Assistant, it would be better to use https://github.com/gduteil/cozytouch for devices that are supported via the new API.

iMicknl avatar Nov 08 '25 12:11 iMicknl

Noted, thanks for your quick response !

adriencog avatar Nov 09 '25 13:11 adriencog