slep88 / node-red-contrib-overkiz

Node-RED Module to control devices using the Overkiz IoT API
MIT License
0 stars 2 forks source link

cozytouch #7

Open mdtdamien opened 1 year ago

mdtdamien commented 1 year ago

hello, what is the server adresse to connect at cozytouch atlantic ?

slep88 commented 1 year ago

Hi @mdtdamien, use the following host: ha110-1.overkiz.com Also make sure that the cozytouch login handler is selected. Best regards

mdtdamien commented 1 year ago

Thank you for your return. I have try with https://ha110-1.overkiz.com and ha110-1.overkiz.com and in debug, i have : Failed to initialize device.

Capture d’écran 2022-11-26 à 17 52 32
slep88 commented 1 year ago

The url must be specified without „https“: ha110-1.overkiz.com

The message you are seeing comes from the state node. Probably due to incomplete device configuration. Do you see any devices in the drop down list of the state node AFTER deploying the gateway node with the correct host and credentials?

homefefeld commented 1 year ago

hi there , I'm trying it with Thermor (cozytouch), is that the same server address ? it is not working for me. is that possible to print more debug options ? thanks

RealZack commented 6 months ago

Hi, I'm facing the same issue, no devices are listed in the drop down list.

Host : ha110-1.overkiz.com Login handler : Cozytouch Device list is showing : Internal gateway error

RealZack commented 6 months ago

I think I found the issue, the dependencies you are using -> overkiz-api for the CozytouchLoginHandler is using a wrong clientId.

https://github.com/bbriatte/overkiz-api/blob/master/src/cozytouch-login-handler.ts

Using postman I'm only able to get the getAccessToken working using this -> Basic Q3RfMUpWeVRtSUxYOEllZkE3YVVOQmpGblpVYToyRWNORHpfZHkzNDJVSnFvMlo3cFNKTnZVdjBh