Retour d'etat OK | Commande => KO

Bonjour,

Apres quelques problèmes sur mon Jeedom (Passage en PHP8) et j’ai changé de plugins pour me connecter a ma box Tahoma afin de gérer mes volets roulant.

je viens de passer sur le plugins TahomaLocal que je trouve sympa.

en revanche j’arrive bien a recuperer l’etat de mes volets, mais je n’arrive pas a les controller.
cela fonctionne depuis l’application Tahoma.

le Demon est up and running

Statut : OK
Version du firmware : 2024.2.4-13
Statut connectivité (internet) : online

si je clique sur imports équipements j’ai :
500 : Internal Server Error

et si j’essaye de commander l’un des volets, il ne se passe rien.
mais j’ai bien le retour de sa position si je l’actionne depuis la tahoma directement.

Si vous avez une idee ?
Merci e votre aide.

===================================================================================================================
1021|[2024-07-08 18:00:29] DEBUG  : = httpURL: https://gateway-2005-1160-1381.local:8443/enduser-mobile-web/1/enduserAPI/events/ee78afaf-1485-477c-a124-322b25e1877b/fetch
1022|[2024-07-08 18:00:29] DEBUG  : = httpRequestStatus: "HTTP code 200: OK"
1023|[2024-07-08 18:00:29] DEBUG  : ===================================================================================================================
1024|[2024-07-08 18:00:29] DEBUG  : |FE| listenerId (json_encode) : "ee78afaf-1485-477c-a124-322b25e1877b"
1025|[2024-07-08 18:00:29] DEBUG  : |FE| execId (json_encode) : ""
1026|[2024-07-08 18:00:30] DEBUG  : | Succeeded to load class: TaHomaLocalAPI
1027|[2024-07-08 18:00:30] DEBUG  : | Succeeded to load class: GetFileContent
1028|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
1029|[2024-07-08 18:00:30] DEBUG  : +- Method -+ TaHomaLocalAPI::__construct
1030|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
1031|[2024-07-08 18:00:30] DEBUG  : +- Method -+ TaHomaLocal::getPluginConfigurationStatus
1032|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
1033|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/gatewayInfo.json)
1034|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/authTokens_2005-1160-1381.json)
1035|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/yaml/openapi.yaml)
1036|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
1037|[2024-07-08 18:00:30] DEBUG  : |FE| Execute ... /var/www/html/plugins/TaHomaLocal/core/php/periodicFetchEvent.php
1038|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
1039|[2024-07-08 18:00:30] DEBUG  : | Succeeded to load class: cURLCommand
1040|[2024-07-08 18:00:30] DEBUG  : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
1041|[2024-07-08 18:00:30] DEBUG  : +- Method -+ cURLCommand::curlRequest
1042|[2024-07-08 18:00:30] DEBUG  : ===================================================================================================================
1043|[2024-07-08 18:00:30] DEBUG  : = httpURL: https://gateway-2005-1160-1381.local:8443/enduser-mobile-web/1/enduserAPI/events/ee78afaf-1485-477c-a124-322b25e1877b/fetch
1044|[2024-07-08 18:00:30] DEBUG  : = httpRequestStatus: "HTTP code 200: OK"
1045|[2024-07-08 18:00:30] DEBUG  : ===================================================================================================================
1046|[2024-07-08 18:00:30] DEBUG  : |FE| listenerId (json_encode) : "ee78afaf-1485-477c-a124-322b25e1877b"
1047|[2024-07-08 18:00:30] DEBUG  : |FE| execId (json_encode) : "

Informations Jeedom Delta

Core : 4.4.8.1 (V4-stable)
DNS Jeedom Delta : non

Plugin : TaHomaLocal
Version : 2024-07-02 20:43:25 (stable)
Statut Démon : Démarré - (2024-07-08 17:41:29)

Bonjour,

Pourriez-vous m’envoyer la page Santé de votre Jeedom s’il vous plait.

Et une réponse aux questions suivantes:

  1. Quel est le modèle de votre gateway TaHoma ?
  2. Avez-vous activé le mode développeur sur votre compte Somfy ?
  3. Si oui, avez-vous créé un token pour communiquer avec votre box ?

Vous pouvez me répondre en MP pour des aspects de confidentialité si vous le souhaitez.

Bonjour,

Voici la page Santé :

J’ai une Tahoma Switch avec la mise a jour 1.25

le mode developpeur a bien ete activé, C’est sur !

Pour le Token, je ne me souviens plus. (vous savez comment verifier ?)

Merci

Merci.

Pour le token, avez-vous au moins un token « actif » lorsque vous allez dans l’onglet « Authentification de l’API » ?

Exemple ci dessous:

Oui :

Votre plugin semble donc parfaitement paramétré.

Je passe MP pour vous demander des informations complémentaires afin que je puisse investiguer plus avant donc.

Solution trouvé, merci @Eridani78

sur ma Debian, j’ai PHP8.2 et 8.3 d’installé, Jeedom utilise le 8.2,
malheureusement, le package Yaml s’installait sur le php8.3.

j’ai forcer avec apt-get install php8.2-yaml

et tous fonctionne correctement.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.