TaHomaLocal ne detecte pas ma box

Bonsoir à tous ,

J’ai installé le plugin Tahomalocal après avoir activé le mode développeur sur le site Somfy.
A l’installation j’ai l’erreur suivante :

ECHEC : (protocol IPv4) <_kizboxdev._tcp> service non trouvé.
Pas de passerelle trouvée.

LOG

[2023-11-11 01:21:09][ERROR] : <span id="span_errorMessage">TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL</span>
[2023-11-11 01:21:10][DEBUG] : | Succeeded to load class: TaHomaLocalAPI
[2023-11-11 01:21:10][DEBUG] : | Succeeded to load class: GetFileContent
[2023-11-11 01:21:10][DEBUG] : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2023-11-11 01:21:10][DEBUG] : +- Method -+ TaHomaLocalAPI::__construct
[2023-11-11 01:21:10][DEBUG] : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/yaml/openapi.yaml)
[2023-11-11 01:21:10][DEBUG] : +- Method -+ GetFileContent::fileGetContents - File not found (/var/www/html/plugins/TaHomaLocal/core/class/UDF/../../../data/json/gatewayInfo.json)
[2023-11-11 01:21:10][ERROR] : <span id="span_errorMessage">TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL</span>

Je suis sur un Jeedom atlas

Si vous avez Besoin d’information supplémentaires , N’hésitez pas

Merci pour votre aide

Fabrice

On peut voir le log install des dependances et la page santé jeedom ?

Bonjour,

J’ai exactement le même problème.
Voici une copie d’écran de la page santé :

Je souhaitais joindre le log d’install des packages mais je n’ai pas le droit, en tant que nouvel utilisateur. Voici une copie d’écran de la fin du log :

Merci d’avance pour votre aide.

Bonjour voici les éléments demandés

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_TaHomaLocal
+ echo 1
+ echo 2
+ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://deb.debian.org/debian buster-backports InRelease [51.4 kB]
Get:5 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Hit:6 http://armbian.hosthatch.com/apt buster InRelease
Get:7 http://security.debian.org buster/updates/main arm64 Packages [727 kB]
Get:8 http://security.debian.org buster/updates/main armhf Packages [731 kB]
Fetched 1598 kB in 3s (609 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
239 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-utils

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  avahi-utils
0 upgraded, 1 newly installed, 0 to remove and 239 not upgraded.
Need to get 56.3 kB of archives.
After this operation, 148 kB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main arm64 avahi-utils arm64 0.7-4+deb10u3 [56.3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 56.3 kB in 0s (950 kB/s)
Selecting previously unselected package avahi-utils.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 56914 files and directories currently installed.)
Preparing to unpack .../avahi-utils_0.7-4+deb10u3_arm64.deb ...
Unpacking avahi-utils (0.7-4+deb10u3) ...
Setting up avahi-utils (0.7-4+deb10u3) ...
Processing triggers for man-db (2.8.5-2) ...
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libyaml-0-2
The following NEW packages will be installed:
  libyaml-0-2 php-yaml
0 upgraded, 2 newly installed, 0 to remove and 239 not upgraded.
Need to get 60.0 kB of archives.
After this operation, 197 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main arm64 libyaml-0-2 arm64 0.2.1-1 [41.4 kB]
Get:2 http://deb.debian.org/debian buster/main arm64 php-yaml arm64 2.0.2+1.3.1-4 [18.6 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 60.0 kB in 0s (648 kB/s)
Selecting previously unselected package libyaml-0-2:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 56937 files and directories currently installed.)
Preparing to unpack .../libyaml-0-2_0.2.1-1_arm64.deb ...
Unpacking libyaml-0-2:arm64 (0.2.1-1) ...
Selecting previously unselected package php-yaml.
Preparing to unpack .../php-yaml_2.0.2+1.3.1-4_arm64.deb ...
Unpacking php-yaml (2.0.2+1.3.1-4) ...
Setting up libyaml-0-2:arm64 (0.2.1-1) ...
Setting up php-yaml (2.0.2+1.3.1-4) ...
Processing triggers for libc-bin (2.28-10) ...
+ echo 5
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 6
+ sudo pip3 cache purge
Files removed: 50
+ echo 7
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.3.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 8
+ sudo pip3 install --force-reinstall --upgrade asyncio
Collecting asyncio
  Downloading asyncio-3.4.3-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 2.6 MB/s eta 0:00:00
Installing collected packages: asyncio
Successfully installed asyncio-3.4.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 9
+ sudo systemctl restart apache2
+ echo 10
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end TaHomaLocal
+ rm /tmp/jeedom_install_in_progress_TaHomaLocal
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Bonjour,

Pour répondre à votre soucis, et avant toute chose, vous devez avoir fait cela :

  1. autorisé le mode développeur dans votre compte Somfy
  2. avoir fait un RESET de votre box (voir procédure très bien décrite sur internet)

Merci de me dire si cela règle le soucis et me dire également quel est le modèle de votre box.
Il semble que régulièrement avec les Tahoma V2, le mode développeur ne soit activé qu’après un Reset de la box.
Le Reset n’affecte pas votre configuration existante.

Merci

Bonjour , merci pour votre réponse .
Ma Box est une TAHOMA v2
J’ai effectivement autorisé le mode développeur dans le compte Somfy
j’ai re-synchronisé la Box Somfy par la procédure qui consiste à débrancher ; appuyer sur RST et rebrancher pendant l’appui . Ma box est bien passée par la mise à jour .
Je n’ai pas fait un RESET de la box entièrement pour ne pas perdre mes Volets .
Si je débranche ma box dès que je la branche je la vois apparaitre mais dés que je la valide elle disparait et le message d’erreur arrive .
J’espère vous avoir aidé merci .
Fabrice

Bonsoir,

Me concernant, j’ai bien activé le mode développeur mais pas fait de reset car un reset semble supprimer tous les scénarios et un certain nombre d’autres informations.
J’attends un peu mais si c’est la solution, je vais devoir y passer… :frowning:

Merci.

Bonjour,

Après un nouveau redémarrage de la box (il s’agit d’une Switch), celle-ci est apparue dans la « découverte passerelle » et j’ai pu authentifier l’API, etc…
C’est tout bon pour moi.
Merci !

C’est une bonne nouvelle.
Merci pour votre retour.

Bravo Jeff pour ma part sur une V2 cela ne fonctionne toujours pas …

Après redémarrage de la box je vois bien ma box mais des que je sauvegarde .

Je ne sais pas si c’est lié ou une simple coïncidence, mais j’avais aussi réactivé (désactivé / réactivé) le mode développeur sur mon compte Somfy, puis redémarrer la box.
Après, il me semble avoir lu que la V2 nécessitait un « bon » reset ?

Bonjour,

L’analyse de vos 2 copies d’écran montrent un fonctionnement anormal.
Il semble que l’API locale est bien acivée, ca c’est bon.
J’ignore ce qui s’est passé lors des précédentes manipulations mais je ne pourrais vous conseiller que de désinstaller le plugin et le réinstaller en repartant de zero.
Cela devrait vous permettre d’avancer.
Tenez moi au courant.

Bonjour ,
Merci pour votre réponse j’ai désactivé le pluging je l’ai supprimé j’ai vidé le cache redémarré et réinstallé et le résultat et identique …
nouveau Log

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_TaHomaLocal
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://deb.debian.org/debian buster-backports InRelease [51.4 kB]
Get:5 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
Hit:6 http://armbian.hosthatch.com/apt buster InRelease
Get:7 http://security.debian.org buster/updates/main arm64 Packages [727 kB]
Get:8 http://security.debian.org buster/updates/main armhf Packages [731 kB]
Fetched 1598 kB in 3s (609 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
239 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y avahi-utils
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
avahi-utils
0 upgraded, 1 newly installed, 0 to remove and 239 not upgraded.
Need to get 56.3 kB of archives.
After this operation, 148 kB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main arm64 avahi-utils arm64 0.7-4+deb10u3 [56.3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 56.3 kB in 0s (950 kB/s)
Selecting previously unselected package avahi-utils.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 56914 files and directories currently installed.)
Preparing to unpack .../avahi-utils_0.7-4+deb10u3_arm64.deb ...
Unpacking avahi-utils (0.7-4+deb10u3) ...
Setting up avahi-utils (0.7-4+deb10u3) ...
Processing triggers for man-db (2.8.5-2) ...
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libyaml-0-2
The following NEW packages will be installed:
libyaml-0-2 php-yaml
0 upgraded, 2 newly installed, 0 to remove and 239 not upgraded.
Need to get 60.0 kB of archives.
After this operation, 197 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main arm64 libyaml-0-2 arm64 0.2.1-1 [41.4 kB]
Get:2 http://deb.debian.org/debian buster/main arm64 php-yaml arm64 2.0.2+1.3.1-4 [18.6 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 60.0 kB in 0s (648 kB/s)
Selecting previously unselected package libyaml-0-2:arm64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 56937 files and directories currently installed.)
Preparing to unpack .../libyaml-0-2_0.2.1-1_arm64.deb ...
Unpacking libyaml-0-2:arm64 (0.2.1-1) ...
Selecting previously unselected package php-yaml.
Preparing to unpack .../php-yaml_2.0.2+1.3.1-4_arm64.deb ...
Unpacking php-yaml (2.0.2+1.3.1-4) ...
Setting up libyaml-0-2:arm64 (0.2.1-1) ...
Setting up php-yaml (2.0.2+1.3.1-4) ...
Processing triggers for libc-bin (2.28-10) ...
+ echo 5
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 6
+ sudo pip3 cache purge
Files removed: 50
+ echo 7
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.3.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 8
+ sudo pip3 install --force-reinstall --upgrade asyncio
Collecting asyncio
Downloading asyncio-3.4.3-py3-none-any.whl (101 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 2.6 MB/s eta 0:00:00
Installing collected packages: asyncio
Successfully installed asyncio-3.4.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 9
+ sudo systemctl restart apache2
+ echo 10
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end TaHomaLocal
+ rm /tmp/jeedom_install_in_progress_TaHomaLocal
+ echo '*******************End of package installation******************'
*******************End of package installation******************


Bonjour,
Le log que vous m’avez envoyé n’est pas un nouveau log normalement.
Il correspond a l’installation des dépendances effectuées lors de l’installation précédente.

Qu’entendez-vous par "le résultat est identique’ ?

Bonjour ,

Après avoir ré-installé le plugin le 15/11 j’ai relancé les dépendances celle-ci on « chargé » en 30 secondes.
Je me demande si elle se relance bien …
pour désinstaller le module j’ai simplement cliqué sur supprimé ( est ce que ça efface tous ?)
Le résultat de cette installation :

.

Si vous souhaitez je peux vous envoyer d’autres éléments n’hésitez pas a me demander .

Fabrice

Bonjour,

Malgré vos efforts pour me fournir les informations que je demande (pour essayer de cerner votre problème …), j’ai quand même du mal à comprendre.

Désinstaller le module … c’est quoi le module ???

Concernant les dépendances, elles ne doivent s’installer qu’une seule fois dans votre config même si vous avez désinstallé le plugin.

  1. Si vous vider le contenu du log TaHomaLocal_packages
  2. Relancez une installation des dépendances (il ne devrait plus rien se passer)
  3. Qu’obtenez-vous dans le log ?

Merci

1 « J'aime »

Bonsoir ,

Désolé module =plugin .

J’ai désinstallé le Plugin Tahomalocal avec le bouton supprimé . J’ai vidé le cache et j’ai redémarré.
J’ai repris le module dans le market et je l’ai installé j’ai relancé les dépendances et activé tout semble OK aucun message d’erreur dans l’installation . Pourtant je me retrouve avec le même message :
dès que je clique sur découverte passerelle :

ECHEC : (protocol IPv4) <_kizboxdev._tcp> service non trouvé.

Pas de passerelle trouvée.

0030|[2023-11-19 20:57:02]ERROR : TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL
0031|[2023-11-19 20:57:03]ERROR : Erreur sur la fonction cron du plugin : TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL
0032|[2023-11-19 20:57:03]ERROR : TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL
0033|[2023-11-19 20:57:04]ERROR : TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL
0034|[2023-11-19 20:57:06]ERROR : TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL
0035|[2023-11-19 20:57:07]ERROR : TaHomaLocalAPI::__construct One or more data missing to configure gatewayURL
0493|[2023-11-19 21:08:04]DEBUG : |D| script_response = b''
0494|[2023-11-19 21:08:06]DEBUG : |D| script_response = b''
0495|[2023-11-19 21:08:07]DEBUG : |D| script_response = b''


Voici tous les logs. j’ai essayé pendant plusieurs heures de résoudre le problème sans résultat .
c’est le seul plugin qui ne veut pas fonctionner .

Bonjour @fabono ,

Je suis rentré de mission.

Je fais le point sur les soucis d’installation qui m’ont été remontés.
Pouvez-vous me dire si vous êtes toujours bloqué ?
Si oui, je suis de nouveau disponible pour vous aider.

Bonsoir Merci pour votre aide oui je suis toujours bloqué

Après avoir mis à jour le plugin celui-ci fonctionne aujourd’hui :grinning: