Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebridge cozytouch is down #497

Open
anthonyplaisir opened this issue Nov 30, 2023 · 29 comments
Open

Homebridge cozytouch is down #497

anthonyplaisir opened this issue Nov 30, 2023 · 29 comments
Labels

Comments

@anthonyplaisir
Copy link

Dear all , since 29/11 the plugin cozytouch doesn't connect to api cozytouch server anymore .
The 29th an update about cozytouch App was done. The cozytouch app works but not the plugin homebridge .
Any issu ?
Thank you so much.
Anthony
Bridge cozytouch ......6258

@Yodacoole
Copy link

Help Romain...

Cozitouch is not connect 01/12/2023...

this log ....
[01/12/2023, 08:20:47] [core:OperatingModeState] Error 400 invalid_grant
[01/12/2023, 08:20:47] [core:OperatingModeState] Retry in 120 sec...
[01/12/2023, 08:22:47] [core:OperatingModeState] Error 400 invalid_grant
[01/12/2023, 08:22:47] [core:OperatingModeState] Retry in 240 sec..

Thanks to help us

@anthonyplaisir
Copy link
Author

Yes ! Real problem and no issu at this time.

@JeffR69
Copy link

JeffR69 commented Dec 1, 2023

Hi, same problem since 29/11 ... and no workaround solution

@Yodacoole
Copy link

Hi Romain,
next
I try to connect to https://dev.duboc.pro/overkiz and select cozytouch

I have error : AxiosError: Request failed with status code 400

Thanks to help me

@anthonyplaisir
Copy link
Author

The same here since 29/11

@anthonyplaisir
Copy link
Author

Romain ... help please

@anthonyplaisir
Copy link
Author

Does anybody have an issus ?

@mykistyle
Copy link

Bonjour même problème, appareil cozytouch plus commandable et plus visible après réinstallation.
Erreur 404.

Dommage c'était tellement pratique.

Cela va être réglé?

@Yodacoole
Copy link

Hi,

I have check log homebridge.log

[04/12/2023, 11:07:56] [core:OperatingModeState] Initializing Tahoma platform...
[04/12/2023, 11:07:56] [core:OperatingModeState] WARNING: Setting pollingPeriod lower than 30 seconds is discouraged.
[04/12/2023, 11:07:59] [core:OperatingModeState] API client will be locked for 60 seconds because of bad credentials or temporary service outage. You can restart plugin to force login retry (not recommanded except
if you think your credentials are wrong).
[04/12/2023, 11:07:59] [core:OperatingModeState] Error 400 invalid_grant
[04/12/2023, 11:07:59] [core:OperatingModeState] Retry in 60 sec...
[04/12/2023, 11:07:59] [core:OperatingModeState] Fail to load lang file: Error 400 invalid_grant

i think that a problem with api token (new method authentitation).

@iMicknl
Copy link

iMicknl commented Dec 4, 2023

Does anyone of you use Home Assistant as well? I wonder if only HomeBridge integration is broken, or if this is breaking multiple platforms that connect to CozyTouch. We didn't receive any reports yet for Home Assistant.

Otherwise, we can see what change we do in the HA library, and port it to HomeBridge 👍🏻.

@anthonyplaisir
Copy link
Author

anthonyplaisir commented Dec 4, 2023

Hello i tryed home assistant and not working for me . Jeedom is ok with cozytouch but very hard to configure thermostat sensor for me at this time

@Yodacoole
Copy link

Hi,
Before checking the connexion with homebridge or other tools, you must connected here .

https://dev.duboc.pro/overkiz

You has constate of that your account cozitouch is bad

@anthonyplaisir
Copy link
Author

anthonyplaisir commented Dec 4, 2023 via email

@anthonyplaisir
Copy link
Author

anthonyplaisir commented Dec 4, 2023

I tryed to speak with Romain DUBOC via Facebook , LinkedIn and his email address and GitHub and no response .
Any issu about API problem to connect homebridge at cozytouch?

Cheers

@Yodacoole
Copy link

Hi,

Have you got a news of Romain

Thanks

@anthonyplaisir
Copy link
Author

anthonyplaisir commented Dec 5, 2023 via email

@anthonyplaisir
Copy link
Author

This afternoon they have a cozytouch server update to the API. Anybody can try the plugin if is ok ?

@iMicknl
Copy link

iMicknl commented Dec 5, 2023

I tryed to speak with Romain DUBOC via Facebook , LinkedIn and his email address and GitHub and no response .
Any issu about API problem to connect homebridge at cozytouch?

You did create this issue 5 days ago... No need to stalk someone on all their channels for not replying to you, it is an open source project, not a commercial project with an SLA. The Home Assistant integration still works, so I assume the old authentication API is used in HomeBridge. Someone can have a look and compare https://github.com/iMicknl/python-overkiz-api/ with the endpoints used here.

@Yodacoole
Copy link

Hi,

Of course...
it's not very urgent for the moment.
I use mode manual :)

I think that the problem is only api credential

Wait and see, the comeback Romain if is available

@nscheffer
Copy link

nscheffer commented Dec 6, 2023

Same for me my Cozytouch cannot work anymore with Homebridge and your great plug-in ...
Could we use local API like Somfy TaHoma ?
If yes how start and how to create credentials ?
Thanks in advance

@FrenchGu
Copy link

FrenchGu commented Dec 6, 2023

Same here using homebridge-tahoma v2.2.54, Cozytouch is not working anymore with homebridge :

Homebridge v1.6.1 (HAP v0.11.1) (Homebridge) is running on port xxxxx
[Cozytouch] API client will be locked for 60 seconds because of bad credentials or temporary service outage. You can restart plugin to force login retry (not recommanded except if you think your credentials are wrong).
[Cozytouch] Error 400 invalid_grant
[Cozytouch] Retry in 60 sec...
[Cozytouch] Fail to load lang file: Error 400 invalid_grant

@iMicknl
Copy link

iMicknl commented Dec 6, 2023

It seems that the overkiz-client (used by homebridge-tahoma) is passing the email as username https://github.com/dubocr/overkiz-client/blob/193132fe65c45f8efbed8134ebb9c333efa79273/src/ApiClient.ts#L279, instead of "GA-PRIVATEPERSON/{username}". See
https://github.com/iMicknl/python-overkiz-api/blob/bda9693995ba76a09a69e8116f38640fd25920a7/pyoverkiz/client.py#L317-L319 for working code in Python.

I don't have time to try this in overkiz-client, and do a PR, but most likely this will solve the issue.

@dubocr
Copy link
Owner

dubocr commented Dec 7, 2023

Hi everybody,

I am just aware of your messages and the problems encountered.
Thanks to iMicknl's always very constructive comments, I just deployed an update with the fix proposed.

Thank you so much again @iMicknl !

@anthonyplaisir
Copy link
Author

anthonyplaisir commented Dec 7, 2023

It's ok the plugin works very well now 👍
Many thanks @dubocr and @iMicknl !👍👍

@Yodacoole
Copy link

Hi,

Thanks at all, for the patience,

Many thanks @dubocr and @iMicknl !👍👍

It's ok for me.

@jonasophie
Copy link

Merci 👍🙏

@Yodacoole
Copy link

Hi,

I check the logs and i have a litle control
[07/12/2023, 08:54:29] [core:OperatingModeState] Polling error - Error 401 Not authenticated (RESOURCE_ACCESS_DENIED)

My config polling is

{
"name": "core:OperatingModeState",
"service": "cozytouch",
"user": "emailaddresses",
"password": "xxxxxxxx",
"pollingPeriod": 30,
"platform": "Tahoma"
}

    But is fonctionnal, it's not urgent...

@nscheffer
Copy link

nscheffer commented Dec 7, 2023

Yes well done @dubocr and @iMicknl for the analysis...

Copy link

github-actions bot commented Mar 9, 2024

There hasn't been any activity on this issue recently.
Please make sure to update to the latest Homebridge TaHoma version to see if that solves the issue.
This issue will be closed in case of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants