Problème Plugin Emporia pro

Bonjour
Je rencontre un problème a l’installation/Utilisation du plugin :
Je n’ai rien au niveau de la gestion de ce dernier.
il semblerait qu’il ne parvienne pas a se connecter au cloud d’Emporia par lequel j’ai bien les infos lorsque j’utilise l’application.
Ci-dessous quelques éléments pour aider a comprendre, est-ce que ce problème parle a quelqu’un ?

Onglet configuration du plugin

Etat de santé Jeedom

Le Log

Log packages
emporiapro_packages.txt (13,7 Ko)

Je viens de faire un test sur une toute nouvelle VM et je reproduis le bug.
La librairie externe pour se connecter au cloud emporia a évolué et je dois prendre en compte la MAJ.

Une version beta sera disponible d’ici ce soir. Ok pour toi ?

Salut Thanos

Super
Merci beaucoup

J’attends ton retour

@+

Hello Thanos,
tu me diras comment récupérer la version Beta STP ?

Hello Thanos,

Du nouveau pour la version Beta ?

Je suis vraiment désolé ! J’avais fait la modification en local mais je n’avais pas push vers GitHub.

Je viens juste de le faire et voici le changelog :
https://thanaus.github.io/jeedom_docs/plugins/emporiapro/fr_FR/changelog#tocAnchor-1-2-1

N’hésite pas à revenir vers moi si tu as le moindre soucis.

Bonjour Thanaus,

Merci pour la mise a jour.
Je ne parviens pas a trouver ta dernière version béta.
Sur le market on ne peux télécharger que la version du 23-05-2023.

Désolé je ne suis pas accoutumé de ce genre d’opération, j’ai probablement loupé quelque chose ?

As-tu activé l’accès au plugin en beta dans ton profil sur le market ?

Vu les modifications, tu n’as pas du tout besoin de basculer le core Jeedom en version beta.
Il faut juste installer la version beta du plugin emporiapro

Bonjour Thanaus

Merci pour le coup de main.
J’ai bien pu installer la version Beta.

Toutefois rien de nouveau je ne vois toujours pas les équipements après avoir configuré le pluggin.
J’ai relacé plusieurs fois les dépendance, pas mieux.

plusieurs warnings dans le log d’« Emporiapro-packages »

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_emporiapro
+ echo 1
+ echo 2
++ cut -f 2-
++ awk '$1 <= 4'
++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
Files removed: 130
+ echo 4
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.0)
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
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 5
+ sudo pip3 install --force-reinstall --upgrade pyudev
Collecting pyudev
Downloading pyudev-0.24.1-py3-none-any.whl.metadata (4.6 kB)
Downloading pyudev-0.24.1-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.9/62.9 kB 2.1 MB/s eta 0:00:00
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: pyudev
Attempting uninstall: pyudev
Found existing installation: pyudev 0.24.1
Uninstalling pyudev-0.24.1:
Successfully uninstalled pyudev-0.24.1
Successfully installed pyudev-0.24.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 6
+ sudo pip3 install --force-reinstall --upgrade pyserial
Collecting pyserial
Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.0 MB/s eta 0:00:00
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: pyserial
Attempting uninstall: pyserial
Found existing installation: pyserial 3.5
Uninstalling pyserial-3.5:
Successfully uninstalled pyserial-3.5
Successfully installed pyserial-3.5
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 7
+ sudo pip3 install --force-reinstall --upgrade pyemvue
Collecting pyemvue
Downloading pyemvue-0.18.4-py3-none-any.whl.metadata (9.6 kB)
Collecting pycognito>=2024.2.0 (from pyemvue)
Downloading pycognito-2024.2.0-py3-none-any.whl.metadata (24 kB)
Collecting python-dateutil>=2.8.2 (from pyemvue)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting requests>=2.26.0 (from pyemvue)
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting typing-extensions>=4.0.1 (from pyemvue)
Downloading typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)
Collecting boto3>=1.10.49 (from pycognito>=2024.2.0->pyemvue)
Downloading boto3-1.34.64-py3-none-any.whl.metadata (6.6 kB)
Collecting envs>=1.3 (from pycognito>=2024.2.0->pyemvue)
Downloading envs-1.4-py3-none-any.whl.metadata (842 bytes)
Collecting pyjwt>=2.8.0 (from pyjwt[crypto]>=2.8.0->pycognito>=2024.2.0->pyemvue)
Downloading PyJWT-2.8.0-py3-none-any.whl.metadata (4.2 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pyemvue)
Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.26.0->pyemvue)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests>=2.26.0->pyemvue)
Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.26.0->pyemvue)
Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests>=2.26.0->pyemvue)
Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
Collecting botocore<1.35.0,>=1.34.64 (from boto3>=1.10.49->pycognito>=2024.2.0->pyemvue)
Downloading botocore-1.34.64-py3-none-any.whl.metadata (5.7 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3>=1.10.49->pycognito>=2024.2.0->pyemvue)
Downloading jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Collecting s3transfer<0.11.0,>=0.10.0 (from boto3>=1.10.49->pycognito>=2024.2.0->pyemvue)
Downloading s3transfer-0.10.1-py3-none-any.whl.metadata (1.7 kB)
Collecting cryptography>=3.4.0 (from pyjwt[crypto]>=2.8.0->pycognito>=2024.2.0->pyemvue)
Downloading cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.3 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.26.0->pyemvue)
Downloading urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 6.3 MB/s eta 0:00:00
Collecting cffi>=1.12 (from cryptography>=3.4.0->pyjwt[crypto]>=2.8.0->pycognito>=2024.2.0->pyemvue)
Downloading cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.12->cryptography>=3.4.0->pyjwt[crypto]>=2.8.0->pycognito>=2024.2.0->pyemvue)
Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB)
Downloading pyemvue-0.18.4-py3-none-any.whl (17 kB)
Downloading pycognito-2024.2.0-py3-none-any.whl (26 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 4.7 MB/s eta 0:00:00
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 8.0 MB/s eta 0:00:00
Downloading typing_extensions-4.10.0-py3-none-any.whl (33 kB)
Downloading boto3-1.34.64-py3-none-any.whl (139 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.3/139.3 kB 10.6 MB/s eta 0:00:00
Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 7.2 MB/s eta 0:00:00
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.3/142.3 kB 6.0 MB/s eta 0:00:00
Downloading envs-1.4-py3-none-any.whl (10 kB)
Downloading idna-3.6-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 2.1 MB/s eta 0:00:00
Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading botocore-1.34.64-py3-none-any.whl (12.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.0/12.0 MB 11.4 MB/s eta 0:00:00
Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.8/143.8 kB 8.9 MB/s eta 0:00:00
Downloading cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl (4.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 11.2 MB/s eta 0:00:00
Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Downloading s3transfer-0.10.1-py3-none-any.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.2/82.2 kB 1.8 MB/s eta 0:00:00
Downloading cffi-1.16.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.4/443.4 kB 12.7 MB/s eta 0:00:00
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 4.4 MB/s eta 0:00:00
DEPRECATION: gpg 1.14.0-unknown has a non-standard version number. pip 24.1 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: urllib3, typing-extensions, six, pyjwt, pycparser, jmespath, idna, envs, charset-normalizer, certifi, requests, python-dateutil, cffi, cryptography, botocore, s3transfer, boto3, pycognito, pyemvue
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.18
Uninstalling urllib3-1.26.18:
Successfully uninstalled urllib3-1.26.18
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.10.0
Uninstalling typing_extensions-4.10.0:
Successfully uninstalled typing_extensions-4.10.0
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Attempting uninstall: pyjwt
Found existing installation: PyJWT 2.8.0
Uninstalling PyJWT-2.8.0:
Successfully uninstalled PyJWT-2.8.0
Attempting uninstall: pycparser
Found existing installation: pycparser 2.21
Uninstalling pycparser-2.21:
Successfully uninstalled pycparser-2.21
Attempting uninstall: jmespath
Found existing installation: jmespath 1.0.1
Uninstalling jmespath-1.0.1:
Successfully uninstalled jmespath-1.0.1
Attempting uninstall: idna
Found existing installation: idna 3.6
Uninstalling idna-3.6:
Successfully uninstalled idna-3.6
Attempting uninstall: envs
Found existing installation: envs 1.4
Uninstalling envs-1.4:
Successfully uninstalled envs-1.4
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.2.2
Uninstalling certifi-2024.2.2:
Successfully uninstalled certifi-2024.2.2
Attempting uninstall: requests
Found existing installation: requests 2.31.0
Uninstalling requests-2.31.0:
Successfully uninstalled requests-2.31.0
Attempting uninstall: python-dateutil
Found existing installation: python-dateutil 2.9.0.post0
Uninstalling python-dateutil-2.9.0.post0:
Successfully uninstalled python-dateutil-2.9.0.post0
Attempting uninstall: cffi
Found existing installation: cffi 1.16.0
Uninstalling cffi-1.16.0:
Successfully uninstalled cffi-1.16.0
Attempting uninstall: cryptography
Found existing installation: cryptography 42.0.5
Uninstalling cryptography-42.0.5:
Successfully uninstalled cryptography-42.0.5
Attempting uninstall: botocore
Found existing installation: botocore 1.34.64
Uninstalling botocore-1.34.64:
Successfully uninstalled botocore-1.34.64
Attempting uninstall: s3transfer
Found existing installation: s3transfer 0.10.1
Uninstalling s3transfer-0.10.1:
Successfully uninstalled s3transfer-0.10.1
Attempting uninstall: boto3
Found existing installation: boto3 1.34.64
Uninstalling boto3-1.34.64:
Successfully uninstalled boto3-1.34.64
Attempting uninstall: pycognito
Found existing installation: pycognito 2024.2.0
Uninstalling pycognito-2024.2.0:
Successfully uninstalled pycognito-2024.2.0
Attempting uninstall: pyemvue
Found existing installation: pyemvue 0.18.4
Uninstalling pyemvue-0.18.4:
Successfully uninstalled pyemvue-0.18.4
Successfully installed boto3-1.34.64 botocore-1.34.64 certifi-2024.2.2 cffi-1.16.0 charset-normalizer-3.3.2 cryptography-42.0.5 envs-1.4 idna-3.6 jmespath-1.0.1 pycognito-2024.2.0 pycparser-2.21 pyemvue-0.18.4 pyjwt-2.8.0 python-dateutil-2.9.0.post0 requests-2.31.0 s3transfer-0.10.1 six-1.16.0 typing-extensions-4.10.0 urllib3-1.26.18
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
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end emporiapro
+ echo 9
+ rm /tmp/jeedom_install_in_progress_emporiapro
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Espérant que ça puisse t’aider a m’aider…

Peux tu me donner accès à ton installation Jeedom en MP ?
Ce sera beaucoup plus simple et efficace :wink:

Oui comment fait on cela ?

Bonjour thanaus,
Problème similaire pour moi je pense.
J’étais sur Box Smart Pro, tout fonctionnait très bien (4.3.23, debian 10.4). Pour avoir de meilleures perf, j’ai acheté une Atlas Pro (4.3.23, debian 10.10) → Impossible de redémarrer le démon.
J’ai donc suivi ce post (Impossible de démarrer le démon - no module named "jose" - #6 par thanaus) qui indique qu’il faut passer sur debian 11 dans ce cas, j’ai donc appliqué la procédure de @Furaxworld (que je remercie au passage) : 4.3.23, debian 11.8 → Redémarrage du démon ok mais aucune remontée d’info des équipements alors que tout était au vert.
J’ai désinstallé et réinstallé le plugin, je suis dorénavant dans la même situation que @Chris9502, aucun équipement n’est trouvé, et pas de bouton « Ajouter »

0005|[2024-03-16 19:33:37]ERROR : Could not authenticate with Emporia API (err= get_customer_details() takes 1 positional argument but 2 were given)
0006|[2024-03-16 20:33:36]ERROR : Could not authenticate with Emporia API (err= get_customer_details() takes 1 positional argument but 2 were given)
0007|[2024-03-16 20:38:38]ERROR : Could not authenticate with Emporia API (err= get_customer_details() takes 1 positional argument but 2 were given)
0008|[2024-03-16 20:40:06]ERROR : Could not authenticate with Emporia API (err= 'Auth' object has no attribute 'cognito')
0009|[2024-03-16 20:42:36]ERROR : Could not authenticate with Emporia API (err= get_customer_details() takes 1 positional argument but 2 were given)

Installation de ta béta ==> Yeahhh !! Tous les équipements sont remontés directement :slight_smile:
Et en plus, les infos s’actualisent !!!
Merci pour ta maj !!

1 « J'aime »

Il suffit de cliquer sur mon avatar puis sur « Message direct ».
Dans la fenêtre qui apparaît, tu indiques alors l’URL de ton Jeedom + login/password afin que je puisse y accéder.

Pour information, les logs des dépendances sont pour ma part OK.

N’hésites pas à faire un commentaire ( 5 étoiles :wink: ) sur le market pour mettre en avant le plugin.
Cela fait toujours plaisir !

Avec plaisir !! Car plugin à la base de tout mon suivi énergétique !! :slight_smile:
Au passage, as-tu pu avancer sur les commandes complémentaires ?

Je n’ai malheureusement pas eu (ou pas pris) le temps d’avancer sur ces nouvelles commandes.
Je vais monter en priorité cette demande dans ma TODO car de plus en plus de personnes utilisent ce plugin.

Merci pour ton retour !

1 « J'aime »

Bonjour Thanaus

pour des raisons que je n’explique pas, les équipements sont remontés

je n’ai rien fait de spécial si ce n’est de laisser passer le WE…

Un grand merci pour ton aide.

je profite encore un peu pour te poser 2 questions :

  • as tu déjà comparé la conso instantanée générale de ton Linky et celle de ton Imporia pro ?
    de mon o j’ai noté une différence d’environ 200 W

  • comment fait-on pour te noter sur le Market ?

Bonjour,

Je n’ai jamais comparé la puissance instantanée du Linky avec la puissance remontée par Emporia, mais par contre, la conso journalière Emporia est assez similaire à la conso indiquée sur le site Enedis (il y a une petite incertitude sur la mesure avec les tores).
Pour noter un plugin, il faut aller sur le market, dans la page du plugin concerné, et au niveau de la note du plugin, il y a un bouton « Donner votre avis ». Le prérequis est de lier ton compte Market avec le compte Community, si tu ne l’as pas fait, il faut juste le faire en cliquant sur le bouton qui est au même endroit.

Screen du plugin Tesla par exemple :

Bonjour Thanaus,

J’ai fait quelques modifs dans mon installation électrique, du coup j’ai également dû revoir la config de l’emporia : J’ai supprimé des pinces ampèremétriques, j’en ai remplacé d’autres…

la configuration dans jeedom, elle est restée inchangée, mes modifications n’ont pas étées prises en compte.
Comment puis-je forcer/déclencher la mise a jour des mes équipements ?
J’ai essayé de relance les dépendances et le démon mais ca n’a rien donné

D’avance merci pour ta réponse

PS : J’ai bien essayé de faire en sorte de pouvoir noter ton plugin sur le market, mais je n’ai pas trouvé le bouton permettant de le faire (si tu peux m’aiguiller également, ce sera avec plaisir)

Étais tu logué ?