Problème d'installation des dépendances enphasesecure

Slt,
Sur quoi est installé jeedom

Sur Raspberry 3b

Essai ça sudo pip3 install cythonavant de relancer les dépendances

Après application de ta commande, j’ai relancé l’install et ça plante à 80%
image
pour cause de dépassement du temps d’installation autorisé (qui n’a pas durée 60 min bien sûr…)

Log
Comment a tu installé jeedom sur ton raspberry

Bonjour,
Voici le log

**********************************
*  Installation des dépendances  *
**********************************
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.1.2)
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
WARNING: Skipping serial as it is not installed.
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
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python3-serial' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (40.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 318 not upgraded.
Collecting pyjwt
Using cached PyJWT-2.7.0-py3-none-any.whl (22 kB)
Collecting html5lib
Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB)
Collecting asyncio
Using cached asyncio-3.4.3-py3-none-any.whl (101 kB)
Collecting httpx
Using cached httpx-0.24.1-py3-none-any.whl (75 kB)
Collecting lxml
Using cached lxml-4.9.2.tar.gz (3.7 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Building lxml version 4.9.2.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Collecting pyserial
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Installing collected packages: pyserial
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
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (1.16.0)
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
**********************************
*  Installation des dépendances OK  *
**********************************

Sinon pour le pi, à l’époque j’ai du suivre ce tuto :
https://community.jeedom.com/t/installation-de-raspberry-pi-os-et-jeedom-sur-pi-3b-sur-un-disque-ssd-msata/14650/11

1 « J'aime »

essai d’installer ces 2 package mentionné, mais je vois pas pk toi tu en aurais besoin…

sudo apt-get install libxml2-dev libxslt-dev python-dev

et relance les dépandances

Pas mieux… :face_exhaling:

**********************************
*  Installation des dépendances  *
**********************************
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 315 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 315 not upgraded.
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.1.2)
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
WARNING: Skipping serial as it is not installed.
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
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python3-serial' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 315 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (40.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 315 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 315 not upgraded.
Collecting pyjwt
Using cached PyJWT-2.7.0-py3-none-any.whl (22 kB)
Collecting html5lib
Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB)
Collecting asyncio
Using cached asyncio-3.4.3-py3-none-any.whl (101 kB)
Collecting httpx
Using cached httpx-0.24.1-py3-none-any.whl (75 kB)
Collecting lxml
Using cached lxml-4.9.2.tar.gz (3.7 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting html.parser
Using cached html-parser-0.2.tar.gz (904 bytes)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting typing-extensions (from pyjwt)
Using cached typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python3.7/dist-packages (from html5lib) (1.16.0)
Collecting webencodings (from html5lib)
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx) (2018.8.24)
Collecting httpcore<0.18.0,>=0.15.0 (from httpx)
Using cached httpcore-0.17.2-py3-none-any.whl (72 kB)
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from httpx) (2.6)
Collecting sniffio (from httpx)
Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting ply (from html.parser)
Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting h11<0.15,>=0.13 (from httpcore<0.18.0,>=0.15.0->httpx)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting anyio<5.0,>=3.0 (from httpcore<0.18.0,>=0.15.0->httpx)
Using cached anyio-3.7.0-py3-none-any.whl (80 kB)
Collecting idna (from httpx)
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting exceptiongroup (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx)
Using cached exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
Building wheels for collected packages: lxml, html.parser
Building wheel for lxml (setup.py): started

Si justement c’est beaucoup mieux. Faut attendre et relancer

Bonjour @cddu33,

Merci pour l’évol.
Par contre, j’ai un pb lors du lancement du démon avec le message : « Une commande portant ce nom (varhLagLifetime1) existe déjà pour cet équipement »

[2023-06-26 22:55:29]ERROR : [MySQL] Error code : 23000 (1062). Duplicate entry '486-varhLagLifetime1' for key 'unique'  : INSERT INTO `cmd` SET `id` = :id, `logicalId` = :logicalId, `generic_type` = :generic_type, `eqType` = :eqType, `name` = :name, `order` = :order, `type` = :type, `subType` = :subType, `eqLogic_id` = :eqLogic_id, `isHistorized` = :isHistorized, `unite` = :unite, `configuration` = :configuration, `template` = :template, `display` = :display, `value` = :value, `isVisible` = :isVisible, `alert` = :alert
[2023-06-26 22:56:05]ERROR : Erreur sur la fonction deamon_start du plugin : Using $this when not in object context
[

Encore un truc pour ceux en triphasé :rofl:

ça te parle?

Cordialement,

Effectivement ça s’est installé après avoir attendu très longtemps mais ma charge est désormais à 9 au lieu de 1,5
Et jeedom rame :flushed:

Ah oui…
On avait eu un pb similaire…

Je te laisse confirmer @cddu33 .

Bonne journée
Silkarion

1 « J'aime »

Ca s’est calmé… :smile:

Alors,
@Menfin , la charge c’est que si tu es en triphasé ya plus de 20 commandes nouvelles à créer

@Silkarion , comme d’hab :wink: c’est corrigé mais il faudra surement supprimer les nouvelles commandes puis sauvegarder l’équipement

Bonjour,

C’est bon maintenant.:ok_hand:
Il faut faire un autre post pour les constats?
Sur « Conso courant net 1 2 et 3 » la data est vide.

Je me questionne quand même sur la surcharge générée à traiter toutes ces données…
Dès que l’on va commencer à parler de puissance active et réactive, on commence à toucher des initiés… avoir toutes ces datas surcharge l’équipement (et jeedom?) pour des utilisateurs non initiés. En triphasé, ça commence a faire pas mal de data😳
Il n’est pas possible d’avoir une sélection des infos à remonter sur l’équipement?
Ou bien un autre équipement complémentaire de type « expertise »
…pour réflexion.

Mais dans tous les cas : merci encore :grin:

Je vais regarde pour le courant.

Je ni pas activé l’historique de base pour ces commandes
Si quelqu’un est en tri et avec un pi, pour voir la charge

edit: corrigé

1 « J'aime »

Salut
Merci à toi en tout cas !
Les dépendances sont installées et le plugin fonctionne
J’ai effectivement autant d’équipement que de PV + passerelle, ça fait au moins 60 commandes
C’est vrai que je n’aurai pas forcément nécessité de toutes ces informations mais je vais déjà les confronter dans un premier temps à l’appli enphase
Je vais aussi limiter le rafraichissement pour soulager le cpu

tu vois un impacte sur le CPU une fois que les commandes ont été créée?

Apparemment la charge CPU est redevenue dans des valeurs « normales » mais j’ai juste laissé la passerelle et désactivé tous les équipements onduleurs. La page santé jeedom reste cependant en rouge pour la mémoire, j’ai l’impression qu’elle ne s’est pas actualisée depuis hier

Concernant les informations prod et conso, je retrouve des valeurs cohérentes avec l’appli enphase pour la prod jour et la conso jour mais pour l’import reseau jour et l’export réseau jour, ça n’a rien à voir
J’ai un export de 21 kwh et le plugin affiche 37 wh, et un import de 3,6 kwh avec un affichage de - 17 kwh :thinking:

Regarde les valeurs sur ton compte enedis plutôt , les valeurs de l’appli sont un peu pourris

1 « J'aime »