Plus d'authentification depuis le 31 juillet

Bonjour
Surpris d’être le seul à me manifester, mais depuis le 31 jullet - vraisemblablement l’install de la dernière MAJ du plugin, plus rien ne fonctionne dans le plugin, je ne reçois plus aucun relevé.
Ca fonctionne très bien sur le site Emporia depuis mes terminaux mobile.
A priori, il y a quelque chose qui foire dans l’authentification Je mets ici la fin de la log en mode debug

2025-08-12 15:07:09][DEBUG] : Making request for OperationModel(name=GetUser) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'X-Amz-Target': 'AWSCognitoIdentityProviderService.GetUser', 'Content-Type': 'application/x-amz-json-1.1', 'User-Agent': 'Boto3/1.40.7 md/Botocore#1.40.7 ua/2.1 os/linux#5.10.0-33-amd64 md/arch#x86_64 lang/python#3.9.2 md/pyimpl#CPython m/D,Z,b cfg/retry-mode#legacy Botocore/1.40.7'}, 'body': b'{"AccessToken": "eyJraWQiOiJhdnhXVGRjeDBxYVlZcE4xU3J5aG9BV3dwZ0ZqcGxqMmVlOW1IS0xIeU5JPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiIyNTVhMTIwZi0zZTk1LTRkN2MtODg5YS0yN2I5Y2Y2ZjAwOTYiLCJldmVudF9pZCI6ImVlNDU4N2JlLTljYTktNDM3Ni04MGM4LTgzMzkwOWM4MTEyZCIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLCJhdXRoX3RpbWUiOjE3NTUwMDQwMjgsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTIuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0yX2dobE9YVkxpMSIsImV4cCI6MTc1NTAwNzYyOSwiaWF0IjoxNzU1MDA0MDI5LCJqdGkiOiJjZDU4MDRmOC0wNjA4LTRhYjktODIyMS1mZGNhYTQ1NjU2NDIiLCJjbGllbnRfaWQiOiI0cXRlNDdqYnN0b2Q4YXBuZmljMGJ1bm1ycSIsInVzZXJuYW1lIjoiMjU1YTEyMGYtM2U5NS00ZDdjLTg4OWEtMjdiOWNmNmYwMDk2In0.IIRkqpiLEZaa0apYfnYEeA2CI6ZQwW9TX3AcO_8-Sunnld6EypYcYUdH5-dq5FWyAedqqpFGfwc3kK7xHnC4j-TWuFIVpepRTyxlRUlgRZu8EN0XoaEr-DLUbdGC8ytST3y9dfiYcdB2ehsUrkz7YBaasKZAPIt69BHisEQpHtnBBHPTvZaYmqEUMmPZUyjBT5Dvpdvr0Z8-ZM6ON_ybbLZzuJT2xcpW_ZpIm6e3IN80ar2NxDdiVWRM834DQwhKLfkDjs_8Cx4qkJhQbwC5B-fTH_d7Yb9FcZjdPBbJuowQwFMmeQwDu37joezc-PkUFQlzdMIC6Z5rPHYLQ9q1mw"}', 'url': 'https://cognito-idp.us-east-2.amazonaws.com/', 'context': {'client_region': 'us-east-2', 'client_config': <botocore.config.Config object at 0x7f4d6501d2b0>, 'has_streaming_input': False, 'auth_type': 'none', 'unsigned_payload': None, 'auth_options': ['aws.auth#sigv4']}}
[2025-08-12 15:07:09][DEBUG] : Event request-created.cognito-identity-provider.GetUser: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f4d6501d0d0>>
[2025-08-12 15:07:09][DEBUG] : Event choose-signer.cognito-identity-provider.GetUser: calling handler <function set_operation_specific_signer at 0x7f4d674c2af0>
[2025-08-12 15:07:09][DEBUG] : Event request-created.cognito-identity-provider.GetUser: calling handler <bound method UserAgentString.rebuild_and_replace_user_agent_handler of <botocore.useragent.UserAgentString object at 0x7f4d64fcd310>>
[2025-08-12 15:07:09][DEBUG] : Event request-created.cognito-identity-provider.GetUser: calling handler <function add_retry_headers at 0x7f4d674cadc0>
[2025-08-12 15:07:09][DEBUG] : Sending http request: <AWSPreparedRequest stream_output=False, method=POST, url=https://cognito-idp.us-east-2.amazonaws.com/, headers={'X-Amz-Target': b'AWSCognitoIdentityProviderService.GetUser', 'Content-Type': b'application/x-amz-json-1.1', 'User-Agent': b'Boto3/1.40.7 md/Botocore#1.40.7 ua/2.1 os/linux#5.10.0-33-amd64 md/arch#x86_64 lang/python#3.9.2 md/pyimpl#CPython m/D,Z,b cfg/retry-mode#legacy Botocore/1.40.7', 'amz-sdk-invocation-id': b'22c-blabla-c', 'amz-sdk-request': b'attempt=1', 'Content-Length': '1021'}>
[2025-08-12 15:07:09][DEBUG] : Certificate path: /usr/local/lib/python3.9/dist-packages/certifi/cacert.pem
[2025-08-12 15:07:09][DEBUG] : https://cognito-idp.us-east-2.amazonaws.com:443 "POST / HTTP/1.1" 200 313
[2025-08-12 15:07:09][DEBUG] : Response headers: {'Date': 'Tue, 12 Aug 2025 13:07:09 GMT', 'Content-Type': 'application/x-amz-json-1.1', 'Content-Length': '313', 'Connection': 'keep-alive', 'x-amzn-RequestId': '1f017d56-a586-46b3-b5a9-58289c246e36'}
[2025-08-12 15:07:09][DEBUG] : Response body:
b'{"UserAttributes":[{"Name":"sub","Value":"25-blabla-6"},{"Name":"website","Value":"emporiaenergy.com"},{"Name":"email_verified","Value":"true"},{"Name":"name","Value":"MonNom"},{"Name":"email","Value":"MonEmail@gmail.com"}],"Username":"25-blabla-6"}'
[2025-08-12 15:07:09][DEBUG] : Event needs-retry.cognito-identity-provider.GetUser: calling handler <botocore.retryhandler.RetryHandler object at 0x7f4d64fcd7c0>
[2025-08-12 15:07:09][DEBUG] : No retry needed.
[2025-08-12 15:07:09][DEBUG] : Starting new HTTPS connection (1): cognito-idp.us-east-2.amazonaws.com:443
[2025-08-12 15:07:09][DEBUG] : https://cognito-idp.us-east-2.amazonaws.com:443 "GET /us-east-2_ghlOXVLi1/.well-known/jwks.json HTTP/1.1" 200 916
[2025-08-12 15:07:09][DEBUG] : Starting new HTTPS connection (1): api.emporiaenergy.com:443
[2025-08-12 15:07:10][DEBUG] : https://api.emporiaenergy.com:443 "GET /customers HTTP/1.1" 200 134
[2025-08-12 15:07:10][ERROR] : Could not authenticate with Emporia API (err= get_customer_details() takes 1 positional argument but 2 were given)

Je précise que j’ai essayé de réinstaller une nouvelle fois les dépendances, qui s’installent bien (sans erreur), mais àa ne change rien.
Je suis en Jeedom 4.4.19, une VM Debian 11 sous Proxmox
Page santé tout au vert
Merci d’avance

Bon je me réponds un peu tout seul
Il y a un souci dans init.py dans resources/emporiaprod/components/emporia

J’ai corrigé :

customer = vue.get_customer_details(account['email'])

par

customer = vue.get_customer_details()

pour répondre au message python posté plus haut, puis ayant eu une erreur sur

logging.info("Connected to Emporia API with %s %s", customer.first_name, customer.lastName)

Je l’ai corrigé par :

logging.info("Connected to Emporia API with %s %s", customer.first_name, customer.last_name)

Pour l’instant ça semble rouler…
Je ne comprends pas ce qui s’est passé avec la dernière version ni pourquoi je suis le seul à avoir eu le problème
Merci d’avance pour les corrections sur les prochaines MAJ

Nouvelle version beta du plugin avec une refactorisation du daemon Python compatible avec Debian 12 / Jeedom 4.5

@phyllox : n’hésite pas à me contacter si tu rencontres le moindre problème avec cette nouvelle version