Démon reste NOK avec communication OK

Bonjour,
Je voudrais tester ce plug in en 4.4, la partie commiunication indique OK mais pas moyen de demarrer le démon.


De ou peut venir le problème ?
Merci

Bonjour

Je n’ai pas encore testé en v4.4 il est possible qu’il y ait des changements dans le core
Pourrais-tu m’envoyer les logs du plugin et daemon en debug?

J4ai installé la maj et ca fonctionne depuis . LE demon est ok

Bonjour, Je ne sais pas si je dois creer un nouveau post, vu qu’il semble tres similaire.

Bref je me lance.
D’abord merci pour ce plugin, je me rend bien compte du temps qu’il faut!

Je suis bloqué car j’ai réussi a installer le docker, la connexion est OK/OK, le resultat de test :
python3 test_eufy.py

*** Create connexion to 127.0.0.1:3000***
{« type »:« version »,« driverVersion »:« 2.8.1 »,« serverVersion »:« 1.6.4 »,« minSchemaVersion »:0,« maxSchemaVersion »:19}

*** Start listening ***
{« type »:« result »,« success »:true,« result »:{« state »:{« driver »:{« version »:« 2.8.1 »,« connected »:true,« pushConnected »:true},« stations »:[{« name »:« Cuisine »,« model »:« T8410 »,« serialNumber »:« T8410PXXXXXXXXXX »,« hardwareVersion »:« P4 »,« softwareVersion »:« 2.1.9.7 »,« lanIpAddress »:« 192.168.2.82 »,« macAddress »:« 0417B6C8BEA5 »,« currentMode »:63,« guardMode »:63,« connected »:true}],« devices »:[{« name »:« Cuisine »,« model »:« T8410 »,« serialNumber »:« T8410PXXXXXXXXXX »,« hardwareVersion »:« P4 »,« softwareVersion »:« 2.1.9.7 »,« stationSerialNumber »:« T8410PXXXXXXXX »,« enabled »:true,« motionDetected »:false,« personDetected »:false,« personName »:«  »,« soundDetected »:false,« petDetected »:false,« cryingDetected »:false,« autoNightvision »:true,« motionDetection »:true,« soundDetection »:false,« petDetection »:false,« rtspStream »:true,« ledStatus »:false}]}}}
, j’ai dans demon_log :
Error: importing module jeedom.jeedom,
le resultat de : apt-get install python3-serial python3-pyudev
m’indique python3-serial est déjà la version la plus récente (3.4-4).
python3-pyudev est déjà la version la plus récente (0.21.0-1).
, bref je ne sais plus trop comment avancer.
Auriez vous un petit indice?
d’avance merci.

Bonjour

Quelle version de Jeedom?
Comme indiqué la v4.4 n’a pas encore été testée

Merci de m’envoyer en MP la log de l’install des dépendances ainsi que les 2 logs complètes du plugin et du daemon en debug

Bonjour à tous

Pour info dans certains cas il manquait une lib python3.
J’ai corrigé le problème de dépendances dans la dernière release du plugin, sinon:

sudo pip3 install requests 

Bonjour,

J’ai exactement le même problème. Voici les LOGS de l’installation des DEP :

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

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

Atteint :1 http://deb.debian.org/debian buster InRelease
Atteint :2 http://security.debian.org/debian-security buster/updates InRelease
Atteint :3 https://download.docker.com/linux/debian buster InRelease
Atteint :4 https://deb.nodesource.com/node_18.x buster InRelease
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
135 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev

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

Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
python3-pyudev est déjà la version la plus récente (0.21.0-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 135 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de python3-pyudev (0.21.0-1) ...
E: py3compile:183: cannot create directory /usr/lib/python3/dist-packages/pyudev/__pycache__: FileNotFoundError(2, 'No such file or directory')
E: py3compile:183: cannot create directory /usr/lib/python3/dist-packages/pyudev/_ctypeslib/__pycache__: FileNotFoundError(2, 'No such file or directory')
E: py3compile:183: cannot create directory /usr/lib/python3/dist-packages/pyudev/_os/__pycache__: FileNotFoundError(2, 'No such file or directory')
E: py3compile:183: cannot create directory /usr/lib/python3/dist-packages/pyudev/device/__pycache__: FileNotFoundError(2, 'No such file or directory')
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_compat.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_ctypeslib/_errorcheckers.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_ctypeslib/libc.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_ctypeslib/libudev.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_ctypeslib/utils.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_os/pipe.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_os/poll.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_qt_base.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/_util.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/core.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/device/_device.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/device/_errors.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/discover.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/glib.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/monitor.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/pyqt4.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/pyqt5.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/pyside.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/version.py'
[Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pyudev/wx.py'
dpkg: erreur de traitement du paquet python3-pyudev (--configure) :
 installed python3-pyudev package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
 python3-pyudev
E: Sub-process /usr/bin/dpkg returned an error code (1)
+ echo 4
++ awk '$1 <= 4'
++ cut -f 2-
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 5
+ sudo pip3 cache purge
Files removed: 56
+ echo 6
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (23.3.2)
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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 7
+ sudo pip3 install --force-reinstall --upgrade wheel
Collecting wheel
  Downloading wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
Downloading wheel-0.42.0-py3-none-any.whl (65 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 5.7 MB/s eta 0:00:00
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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: wheel
  Attempting uninstall: wheel
    Found existing installation: wheel 0.42.0
    Uninstalling wheel-0.42.0:
      Successfully uninstalled wheel-0.42.0
Successfully installed wheel-0.42.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
+ echo 8
+ sudo pip3 install --force-reinstall --upgrade requests
Collecting requests
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting charset-normalizer<4,>=2 (from requests)
  Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests)
  Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests)
  Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Collecting certifi>=2017.4.17 (from requests)
  Downloading certifi-2023.11.17-py3-none-any.whl.metadata (2.2 kB)
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 10.9 MB/s eta 0:00:00
Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 kB 9.6 MB/s eta 0:00:00
Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (136 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.8/136.8 kB 13.6 MB/s eta 0:00:00
Downloading idna-3.6-py3-none-any.whl (61 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 14.4 MB/s eta 0:00:00
Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 13.7 MB/s eta 0:00:00
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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, idna, charset-normalizer, certifi, requests
  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.0.7
    Uninstalling urllib3-2.0.7:
      Successfully uninstalled urllib3-2.0.7
  Attempting uninstall: idna
    Found existing installation: idna 3.6
    Uninstalling idna-3.6:
      Successfully uninstalled idna-3.6
  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 2023.11.17
    Uninstalling certifi-2023.11.17:
      Successfully uninstalled certifi-2023.11.17
  Attempting uninstall: requests
    Found existing installation: requests 2.31.0
    Uninstalling requests-2.31.0:
      Successfully uninstalled requests-2.31.0
Successfully installed certifi-2023.11.17 charset-normalizer-3.3.2 idna-3.6 requests-2.31.0 urllib3-2.0.7
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 pip3 install --force-reinstall --upgrade pyudev
Collecting pyudev
  Downloading pyudev-0.24.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.9/62.9 kB 5.8 MB/s eta 0:00:00
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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 10
+ sudo pip3 install --force-reinstall --upgrade six
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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: six
  Attempting uninstall: six
    Found existing installation: six 1.16.0
    Uninstalling six-1.16.0:
      Successfully uninstalled six-1.16.0
Successfully installed six-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
+ echo 11
+ sudo pip3 install --force-reinstall --upgrade pyserial
Collecting pyserial
  Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 6.9 MB/s eta 0:00:00
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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 12
+ sudo pip3 install --force-reinstall --upgrade websocket-client
Collecting websocket-client
  Downloading websocket_client-1.6.1-py3-none-any.whl.metadata (7.6 kB)
Downloading websocket_client-1.6.1-py3-none-any.whl (56 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 5.1 MB/s eta 0:00:00
DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug 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: websocket-client
  Attempting uninstall: websocket-client
    Found existing installation: websocket-client 1.6.1
    Uninstalling websocket-client-1.6.1:
      Successfully uninstalled websocket-client-1.6.1
Successfully installed websocket-client-1.6.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 13
+ sudo chmod +x /var/www/html/core/class/../../plugins/eufy/resources/setup_eufy.sh
+ sudo /var/www/html/core/class/../../plugins/eufy/resources/setup_eufy.sh
+ echo 14
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end eufy
+ rm /tmp/jeedom_install_in_progress_eufy
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci de votre aide

Bonjour
Page santé de jeedom??

Peux tu me donner les resultats des commandes suivantes:

python --version
pip --version
python2 --version
pip2 --version
python3 --version
pip3 --version

python --version → Python 2.7.16
pip --version → pip 23.3.2 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
python2 --version → Python 2.7.16
pip2 --version → pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)
python3 --version → Python 3.7.3
pip3 --version → pip 23.3.2 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)

ton pip devrait pointer vers pip2 comme python vers python2
regardes ici