Skip to content

Problème d'authentification avec Hilo #684

@thibaulf

Description

@thibaulf

Depuis la sortie de home assistant 2025.6, il semble que quelque chose cloche avec le token :

la télémetrie semble fonctionner, mais pu moyen de contrôler les thermostats.

hilo : v2025.6.0
hass : 2025.6.1

Ça prend quelques heures avant d'arriver (2-3 dans mon cas)

Dans mon log, j'ai ça:
Boot a 8h40
.........
2025-06-12 10:44:09.731 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')
2025-06-12 10:44:09.927 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')
2025-06-12 11:14:09.386 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')
2025-06-12 11:44:11.721 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')
2025-06-12 12:14:09.234 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')
2025-06-12 12:44:08.219 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')
2025-06-12 12:44:08.765 ERROR (MainThread) [pyhilo] Giving up _async_request(...) after 9 tries (aiohttp.client_exceptions.ContentTypeError: 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://connexion.hiloenergie.com/HiloDirectoryB2C.onmicrosoft.com/B2C_1A_SIGN_IN/oauth2/v2.0/token')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions