Demon ne se connecte plus depuis la 1.29 (version tahoma)

Bonsoir,

depuis quelques temps, j’avais des soucis avec le daemon qui perdait régulièrement la connexion à la Tahoma. Signal fiable (testé sur 24h, avec paquet icmp de 4ko = 1 paquet perdu, latence faible).
Ca arrivait régulièrement, mais rien de dramatique.

Aujourd’hui, somfy a poussé la 1.29 sur les tahoma switch. Depuis le deamon refuse de se connecter.

Voici le log en debug :

[2025-01-28 18:23:19] INFO  : *-------------------------------------------------------------------------*
[2025-01-28 18:23:19] INFO  : Start demond
[2025-01-28 18:23:19] INFO  : Log level: debug
[2025-01-28 18:23:19] INFO  : Socket port: 55009
[2025-01-28 18:23:19] INFO  : Socket host: localhost
[2025-01-28 18:23:19] INFO  : PID file: /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-28 18:23:19] INFO  : Device: auto
[2025-01-28 18:23:19] INFO  : User: ***@***.fr
[2025-01-28 18:23:19] INFO  : Pin ocde: ****-****-****
[2025-01-28 18:23:19] INFO  : Box IP: https://192.168.**.***:8443
[2025-01-28 18:23:19] INFO  : Tahoma token: 678622019e5********
[2025-01-28 18:23:19] INFO  : *-------------------------------------------------------------------------*
[2025-01-28 18:23:19] INFO  : Writing PID 2424260 to /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-28 18:23:19] INFO  : Init request module v2.32.3
[2025-01-28 18:23:19] DEBUG  : Starting new HTTP connection (1): 172.17.0.2:80
[2025-01-28 18:23:19] DEBUG  : http://172.**.*.*:80 "GET /plugins/tahomalocalapi/core/php/jeeTahomalocalapi.php?apikey=**************. , HTTP/1.1" 200 0
[2025-01-28 18:23:19] DEBUG  : Listen socket jeedom
[2025-01-28 18:23:19] INFO  : Socket interface started
[2025-01-28 18:23:19] INFO  : LoopNetServer Thread started
[2025-01-28 18:23:19] DEBUG  :  * Retrieve gateways list
[2025-01-28 18:23:19] INFO  : Listening on: [localhost:55009]
[2025-01-28 18:23:20] DEBUG  : Gateways list : [{'gatewayId': '****-****-****', 'connectivity': {'protocolVersion': '2024.6.5-12', 'status': 'OK'}}]
[2025-01-28 18:23:20] INFO  : Send to jeedom : {'gatewaysList': [{'gatewayId': '****-****-****', 'connectivity': {'protocolVersion': '2024.6.5-12', 'status': 'OK'}}]}
[2025-01-28 18:23:20] DEBUG  :  * Retrieve devices list
[2025-01-28 18:23:20] ERROR  : Http code : 400
[2025-01-28 18:23:20] ERROR  : Response : {'error': 'Unknown object.', 'errorCode': 'UNSPECIFIED_ERROR'}
[2025-01-28 18:23:20] ERROR  : Response header : {'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Authorization, Content-Type', 'Content-Length': '59', 'Date': 'Tue, 28 Jan 2025 17:23:20 GMT', 'Server': 'KizOs'}
[2025-01-28 18:23:20] DEBUG  : Shutdown
[2025-01-28 18:23:20] DEBUG  : Removing PID file /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-28 18:23:20] INFO  : LoopNetServer Thread stopped
[2025-01-28 18:23:20] DEBUG  : Exit 0

Merci par avance pour votre aide

Foire


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : tahomalocalapi
Version : 2024-09-24 07:03:10 (stable)
Statut Démon : Stoppé - (2025-01-28 18:23:18)

Hello
Il y a un code http 400 a la recuperation de la liste des équipements.
Http 400 signifie requête mal construite…Somfy a su faire évoluer ses apis.
Faut que je regarde un peu sur le net
Je te tiens au courant

2 « J'aime »

Merci beaucoup, hésite pas si tu as besoin de tests ou d’infos supplémentaires.

Je me doutais que ce serait un truc du genre.

Foire

d’apres ce qu’on peut voir sur le net peut etre que somfy serait en train d’arrêter l’accès à l’api local … à voir

:frowning:
Ca ne m’étonne pas trop a vrai dire…
J’étais passé sur ton plugin parce que l’api du Cloud était loin d’être parfaite (saturée, parfois ko plusieurs minutes) et je trouvais bien de pouvoir l’utiliser en local.
Vraiment dommage cette politique.

Tu ne peux rien faire au final ?

Foire

C’est toi qui vient d’aimer mon commentaire sur Facebook ? :sweat_smile:

je ne sais pas encore faut que je regarde en détail … mais j’ai pas l’erreur chez moi alors pas facile …

1 « J'aime »

pas possible j’ai pas facebook

Ah, c’était un Christophe alors je me disais.
Hésite pas si je peux t’aider

J’ai l’impression que j’ai le même soucis.
Pour ma part j’ai une Connexoon.
Je constate ce matin que le démon ne se lance plus.
J’ai ça dans les logs de « tahomalocalapi_daemon » :

[2025-01-29 08:25:06] DEBUG  : Shutdown
[2025-01-29 08:25:06] DEBUG  : Removing PID file /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-29 08:25:06] DEBUG  : Exit 0
[2025-01-29 08:25:06] DEBUG  : Gateways list : [{'gatewayId': '0829-5776-3832', 'connectivity': {'protocolVersion': '2024.6.5-12', 'status': 'OK'}}]
[2025-01-29 08:25:06] INFO  : Send to jeedom : {'gatewaysList': [{'gatewayId': '0829-5776-3832', 'connectivity': {'protocolVersion': '2024.6.5-12', 'status': 'OK'}}]}
[2025-01-29 08:25:06] DEBUG  :  * Retrieve devices list
[2025-01-29 08:25:07] ERROR  : Http code : 400
[2025-01-29 08:25:07] ERROR  : Response : {'errorCode': 'UNSPECIFIED_ERROR', 'error': 'Unknown object.'}
[2025-01-29 08:25:07] ERROR  : Response header : {'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Authorization, Content-Type', 'Content-Length': '59', 'Date': 'Wed, 29 Jan 2025 07:25:07 GMT', 'Server': 'KizOs'}
[2025-01-29 08:25:07] DEBUG  : Shutdown
[2025-01-29 08:25:07] DEBUG  : Removing PID file /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-29 08:25:07] INFO  : LoopNetServer Thread stopped

Hello,

Ça ressemble bien malheureusement.
Mise à jour buguee, ou volontaire de la part de Somfy… Ça manque de communication encore tout ça.

Pour ma part, ma tahoma switch avait aussi perdu la connexion vers Netatmo… Je l’ai supprimée, c’est Jeedom qui gère désormais.

Foire

Sur la version Feat Debian 12 le démon KO aussi ce matin. version Box 2024.6.5-12 // version application 1.28.1

[2025-01-29 08:55:03] INFO  Lancement du daemon tahomalocalapi : export PYENV_ROOT="/var/www/html/plugins/tahomalocalapi/resources/python_venv"; command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"; eval "$(pyenv init -)"; cd /var/www/html/plugins/tahomalocalapi/resources/tahomalocalapid; nice -n 19 python3 tahomalocalapid.py --loglevel debug --socketport 55009 --callback http://127.0.0.1:80/plugins/tahomalocalapi/core/php/jeeTahomalocalapi.php --user "mail" --pswd "password!!!" --apikey key--pid /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid --pincode "2060-PIN" --boxLocalIp "192.168.1.144" --tahoma_token ""
[2025-01-29 08:55:03] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"nok","launchable":"ok"}
[2025-01-29 08:55:04] DEBUG  Gateways list : [{"connectivity":{"protocolVersion":"2024.6.5-12","status":"OK"},"gatewayId":"2060-pin"}]
[2025-01-29 08:55:04] DEBUG  checkGateways
[2025-01-29 08:55:04] DEBUG     --> Gateway 2060-pin status : OK
[2025-01-29 08:55:04] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"ok","launchable":"ok"}
[2025-01-29 08:55:05] ERROR  cron5 !!!! Plus de communication avec le daemon depuis plus de 5 minutes ...19922s
[2025-01-29 08:55:06] INFO  Lancement du daemon tahomalocalapi : export PYENV_ROOT="/var/www/html/plugins/tahomalocalapi/resources/python_venv"; command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"; eval "$(pyenv init -)"; cd /var/www/html/plugins/tahomalocalapi/resources/tahomalocalapid; nice -n 19 python3 tahomalocalapid.py --loglevel debug --socketport 55009 --callback http://127.0.0.1:80/plugins/tahomalocalapi/core/php/jeeTahomalocalapi.php --user "mail" --pswd "password!!!" --apikey key--pid /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid --pincode "2060-pin" --boxLocalIp "192.168.1.144" --tahoma_token ""
[2025-01-29 08:55:06] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"nok","launchable":"ok"}
[2025-01-29 08:55:06] DEBUG  Gateways list : [{"connectivity":{"protocolVersion":"2024.6.5-12","status":"OK"},"gatewayId":"2060-pin"}]
[2025-01-29 08:55:06] DEBUG  checkGateways
[2025-01-29 08:55:06] DEBUG     --> Gateway 2060-pin status : OK
[2025-01-29 08:55:07] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"nok","launchable":"ok"}
[2025-01-29 08:55:08] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"nok","launchable":"ok"}
[2025-01-29 08:55:09] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"nok","launchable":"ok"}
[2025-01-29 08:55:10] INFO  Daemon_info -> {"log":"tahomalocalapi","state":"nok","launchable":"ok"}

Je suis « rassuré »
j’ai le meme pb d’erreur 400

[2025-01-29 09:13:35][INFO] : *-------------------------------------------------------------------------*
[2025-01-29 09:13:35][INFO] : Start demond
[2025-01-29 09:13:35][INFO] : Log level: debug
[2025-01-29 09:13:35][INFO] : Socket port: 45843
[2025-01-29 09:13:35][INFO] : Socket host: localhost
[2025-01-29 09:13:35][INFO] : PID file: /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-29 09:13:35][INFO] : Device: auto
[2025-01-29 09:13:35][INFO] : User: stan@sdskh.com
[2025-01-29 09:13:35][INFO] : Pin ocde: 1201-4430-6743
[2025-01-29 09:13:35][INFO] : Box IP: https://192.168.0.133:8443
[2025-01-29 09:13:35][INFO] : Tahoma token: 6799d365867f04b3ff4a
[2025-01-29 09:13:35][INFO] : *-------------------------------------------------------------------------*
[2025-01-29 09:13:35][INFO] : Writing PID 123967 to /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-29 09:13:35][INFO] : Init request module v2.32.3
[2025-01-29 09:13:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2025-01-29 09:13:35][DEBUG] : http://127.0.0.1:80 "GET /plugins/tahomalocalapi/core/php/jeeTahomalocalapi.php?apikey=xxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 0
[2025-01-29 09:13:35][DEBUG] : Listen socket jeedom
[2025-01-29 09:13:35][INFO] : Socket interface started
[2025-01-29 09:13:35][INFO] : LoopNetServer Thread started
[2025-01-29 09:13:35][DEBUG] :  * Retrieve gateways list
[2025-01-29 09:13:35][INFO] : Listening on: [localhost:45843]
[2025-01-29 09:13:35][DEBUG] : Gateways list : [{'gatewayId': '1201-4430-6743', 'connectivity': {'status': 'OK', 'protocolVersion': '2024.6.5-12'}}]
[2025-01-29 09:13:35][INFO] : Send to jeedom : {'gatewaysList': [{'gatewayId': '1201-4430-6743', 'connectivity': {'status': 'OK', 'protocolVersion': '2024.6.5-12'}}]}
[2025-01-29 09:13:35][DEBUG] :  * Retrieve devices list
[2025-01-29 09:13:35][ERROR] : Http code : 400
[2025-01-29 09:13:35][ERROR] : Response : {'errorCode': 'UNSPECIFIED_ERROR', 'error': 'Unknown object.'}
[2025-01-29 09:13:35][ERROR] : Response header : {'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Authorization, Content-Type', 'Content-Length': '59', 'Date': 'Wed, 29 Jan 2025 08:13:35 GMT', 'Server': 'KizOs'}
[2025-01-29 09:13:35][DEBUG] : Shutdown
[2025-01-29 09:13:35][DEBUG] : Removing PID file /tmp/jeedom/tahomalocalapi/tahomalocalapid.pid
[2025-01-29 09:13:35][INFO] : LoopNetServer Thread stopped
[2025-01-29 09:13:35][DEBUG] : Exit 0

Info qui vient de home assistant, somfy aurait retiré les api locales.

@nebz HEEEEEEINNNNNN
c’est une blague

Un collègue qui m’a donné cette info

1 « J'aime »

@nebz
deja merci pour le bouton pour desarmer l’update auto (c’est fait)
pas moyen de downgrade ?
en gros là c’est mort ?
Merci

Donc maintenant … faut attendre une mise à jour par Somfy :frowning:

Bonjour,
Si tu peux transmettre comment désactiver la mise à jour auto ?
Chez moi c’est mort, mais j’ai encore la connexoon chez ma fille qui marche et je voudrais bloquer la maj.
Merci

non de ZEUS
je vais remettre mon KLF !
quel cata
vraiment somfy est une marque de merde

1 « J'aime »