gduteil / cozytouch

Atlantic Cozytouch integration for Home Assistant
12 stars 0 forks source link

Support for Atlantic Calypso With CosyTouch #5

Open ioniks opened 3 months ago

ioniks commented 3 months ago

Hi,

If i can help for support Atlantic Calypso Connecté with CosyTouch.

Say "No new device found" on connection

;)

gduteil commented 3 months ago

Hi,

Is the device visible in Cozytouch application ? If it is but not detected by the integration it could mean it's using a different API. Does Overkiz detect anything ?

ioniks commented 3 months ago

Hi,

Yes this device is visible in cozytouch App and i can control it. OverKiz detect it, i can use it (with many bug) with it.

gduteil commented 3 months ago

That probably means it's only compatible with the Overkiz protocol, not the newer Cozytouch API, how old is your device ?

ioniks commented 3 months ago

This year and the product is currently sale.

How i can test if it's compatible with the new api ?

gduteil commented 2 months ago

Do you see anything in the logs ?

We can also check what the API returns if you are comfortable modifying the integration script, I can guide you

ioniks commented 2 months ago

Nothing in the log.

Yes i can modify the integration script for test.

gduteil commented 2 months ago

The scripts are in /homeassistant/custom_components/cozytouch

You can try to add in validate_input function from config_flow.py the following line between "hub = Hub(..." and "result = await..." :

hub.set_dump_json(True)

Save, restart HA and try again, it should dump "/homeassistant/Cozytouch.json"

You can post the file, make sure you replace private infos (address, serial number, ...) by XXXXX

ioniks commented 2 months ago

This is the result Cozytouch.json

Devices is empty i think :/

gduteil commented 2 months ago

Yes and this is surprising, the gateway is present but no devices are attached...

From what I saw, Atlantic devices sold in the past 2 or 3 years are using the new API, oldest ones use the Overkiz API, some sold during the transition are sometimes using both.

Is the gateway integrated in your device or is it external ?

ioniks commented 2 months ago

The gateway is external

gduteil commented 2 months ago

What is the model ?

ioniks commented 2 months ago

this https://static-or00.inbenta.com/2285b3e873772835772543d5c2df2aed0394a0cfb9a47a4ec1416c77a7363c2a/bridge-cozytouch-2022.png

i buy this because of not ethernet on the new one

gduteil commented 2 months ago

I'm afraid the V1 is using Overkiz, V2 is using Cozytouch, I haven't seen firmware update for V1 to use new API

ioniks commented 2 months ago

So for use your module i have to buy V2 or i wait for a firmware update (how can never append)

gduteil commented 2 months ago

Yes, I have never looked at the old protocol, I could try to make the integration compatible, we can imagine you temporary your password to share it with me the time I analyze the protocol if you want.

I'm currently away, I could start checking this in 2 weeks.

ioniks commented 2 months ago

Yes i can share you my temporary password to do it.

Come to me when you can

gduteil commented 2 months ago

Ok, you can send me an email on Gmail with same username I have here so we can find better way to communicate (WhatsApp or other)

ioniks commented 2 months ago

Mail sent

Jmayormayu commented 4 weeks ago

Hi Guys, Thank you for your post. I have exactly the same products and same problems like @ioniks . Have you found a workaround or a solution to this ? Thank you !

ioniks commented 4 weeks ago

@Jmayormayu it's not compatible with CozyTouch Ethernet, just wifi