Demon enocean NOK

Bonjour
Je viens de restaurer ma configuration jeedom après une migration (réinstallation complète) vers debian 11 lite. La plupart de mes plugins fonctionnent sauf le plugin enocean avec le message suivant :


J’ai tenté de passer la commande dtoverlay=disable-bt → pas d’effet
J’ai tenté de passer les commandes suivantes sans effet non plus
systemctl stop serial-getty@ttyAMA0
systemctl disable serial-getty@ttyAMA0

J’ai suppimé « console=serial0,115200 » dans le fichier /boot/cmdline.txt → pas d’effet.
Je suis à cours d’idée et n’ai pas envie de reinstaller complètement le plugin avec tous ses équipements.
Merci d’avance de votre aide


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : EnOcean
Version : 2023-12-04 10:35:41 (stable)
Statut Démon : Stoppé - (2024-12-23 13:15:06)

vous avez une piste ici:

Bonjour,
J’avais bien vu ce post et ai tenté toutes les pistes évoquées mais sans succès.

J’ai vu dans un post que le plugin de ENOCEAN fonctionnait avec le python 2.7. Est-ce vrai car je n’ai rien vu de tel dans la doc ?
Quand je passe la commande python --version, j’obtiens : Python 3.9.2.
Dois-je installer python 2.7 et si oui de quelle façon afin que cela ne mette pas la pagaille dans les autres plugins ?

c’est faux; quel post?

Ne faites jamais cela pour aucun plugin

il y 99% de chance que ca mette la pagaille

Merci pour ce retour très clair.
En ce qui concerne la référence à python 2.7 il s’agit du post de AVARO : Impossible de lancer le démon openenocean, vérifiez le port

Vaxi indique également qu’il faut passer la commande sudo pip install pip==24.0
J’ai moi aussi le message dans la log openocean_packages WARNING: Error parsing dependencies of gpg: Invalid version: ‹ 1.14.0-unknown ›
pensez-vous que cela pourrait résoudre mon problème ?

il manque quelques infos de base pour pouvoir tenter d’apporter de l’aide, veuillez fournir:

  • capture écran page santé jeedom
  • capture page config plugin
  • tous les logs collés dans un Texte préformaté (bouton </>); pas de capture écran svp

mais manifestement vous avez cherchez et ca c’est déjà très bien :+1:

Voici les infos demandées. j’espère que cela aidera.

santé jeedom. PI : je ne me sers plus de MQTT

config plugin openenocean :

Log openenocean_package

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_openenocean
0003|+ echo 1
0004|+ echo 2
0005|+ sudo killall apt apt-get unattended-upgr
0006|apt: no process found
0007|apt-get: no process found
0008|+ sudo rm /var/lib/apt/lists/lock
0009|+ sudo rm /var/cache/apt/archives/lock
0010|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0011|+ sudo sudo dpkg --configure -a --force-confdef
0012|+ sudo apt update
0013|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0014|Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
0015|Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
0016|Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease
0017|Reading package lists...
0018|Building dependency tree...
0019|Reading state information...
0020|All packages are up to date.
0021|+ echo 3
0022|+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3
0023|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0024|Reading package lists...
0025|Building dependency tree...
0026|Reading state information...
0027|python3 is already the newest version (3.9.2-3).
0028|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0029|+ echo 4
0030|+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pip
0031|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0032|Reading package lists...
0033|Building dependency tree...
0034|Reading state information...
0035|python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
0036|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0037|+ echo 5
0038|+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-dev
0039|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0040|Reading package lists...
0041|Building dependency tree...
0042|Reading state information...
0043|python3-dev is already the newest version (3.9.2-3).
0044|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0045|+ echo 6
0046|+ sudo apt install -o Dpkg::Options::=--force-confdef -y build-essential
0047|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0048|Reading package lists...
0049|Building dependency tree...
0050|Reading state information...
0051|build-essential is already the newest version (12.9).
0052|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0053|+ echo 7
0054|++ find /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
0055|++ awk '$1 <= 4'
0056|++ cut -f 2-
0057|+ RESULTTODELETE=
0058|++ echo ''
0059|++ sed 's, ,\ ,g'
0060|+ RESULTTODELETE2=
0061|+ xargs rm -rf
0062|+ echo ''
0063|+ echo 8
0064|+ sudo pip3 cache purge
0065|Files removed: 70
0066|+ echo 9
0067|+ sudo pip3 install --upgrade pip
0068|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0069|Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.3.1)
0070|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0071|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0072|+ echo 10
0073|+ sudo python3 -m pip install --force-reinstall --upgrade requests
0074|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0075|Collecting requests
0076|Downloading https://www.piwheels.org/simple/requests/requests-2.32.3-py3-none-any.whl (64 kB)
0077|Collecting charset-normalizer<4,>=2 (from requests)
0078|Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.4.0-py3-none-any.whl (49 kB)
0079|Collecting idna<4,>=2.5 (from requests)
0080|Downloading https://www.piwheels.org/simple/idna/idna-3.10-py3-none-any.whl (70 kB)
0081|Collecting urllib3<3,>=1.21.1 (from requests)
0082|Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.3.0-py3-none-any.whl (128 kB)
0083|Collecting certifi>=2017.4.17 (from requests)
0084|Downloading https://www.piwheels.org/simple/certifi/certifi-2024.12.14-py3-none-any.whl (164 kB)
0085|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0086|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0087|Attempting uninstall: urllib3
0088|Found existing installation: urllib3 2.3.0
0089|Uninstalling urllib3-2.3.0:
0090|Successfully uninstalled urllib3-2.3.0
0091|Attempting uninstall: idna
0092|Found existing installation: idna 3.10
0093|Uninstalling idna-3.10:
0094|Successfully uninstalled idna-3.10
0095|Attempting uninstall: charset-normalizer
0096|Found existing installation: charset-normalizer 3.4.0
0097|Uninstalling charset-normalizer-3.4.0:
0098|Successfully uninstalled charset-normalizer-3.4.0
0099|Attempting uninstall: certifi
0100|Found existing installation: certifi 2024.12.14
0101|Uninstalling certifi-2024.12.14:
0102|Successfully uninstalled certifi-2024.12.14
0103|Attempting uninstall: requests
0104|Found existing installation: requests 2.32.3
0105|Uninstalling requests-2.32.3:
0106|Successfully uninstalled requests-2.32.3
0107|Successfully installed certifi-2024.12.14 charset-normalizer-3.4.0 idna-3.10 requests-2.32.3 urllib3-2.3.0
0108|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0109|+ echo 11
0110|+ sudo python3 -m pip install --force-reinstall --upgrade setuptools
0111|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0112|Collecting setuptools
0113|Downloading https://www.piwheels.org/simple/setuptools/setuptools-75.6.0-py3-none-any.whl (1.2 MB)
0114|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 5.3 MB/s eta 0:00:00
0115|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0116|Installing collected packages: setuptools
0117|Attempting uninstall: setuptools
0118|Found existing installation: setuptools 75.6.0
0119|Uninstalling setuptools-75.6.0:
0120|Successfully uninstalled setuptools-75.6.0
0121|Successfully installed setuptools-75.6.0
0122|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0123|+ echo 12
0124|+ sudo python3 -m pip install --force-reinstall --upgrade pyudev
0125|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0126|Collecting pyudev
0127|Downloading https://www.piwheels.org/simple/pyudev/pyudev-0.24.3-py3-none-any.whl (62 kB)
0128|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0129|Installing collected packages: pyudev
0130|Attempting uninstall: pyudev
0131|Found existing installation: pyudev 0.24.3
0132|Uninstalling pyudev-0.24.3:
0133|Successfully uninstalled pyudev-0.24.3
0134|Successfully installed pyudev-0.24.3
0135|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0136|+ echo 13
0137|+ sudo python3 -m pip install --force-reinstall --upgrade pyserial
0138|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0139|Collecting pyserial
0140|Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
0141|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0142|Installing collected packages: pyserial
0143|Attempting uninstall: pyserial
0144|Found existing installation: pyserial 3.5
0145|Uninstalling pyserial-3.5:
0146|Successfully uninstalled pyserial-3.5
0147|Successfully installed pyserial-3.5
0148|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0149|+ echo 14
0150|+ sudo python3 -m pip install --force-reinstall --upgrade beautifulsoup4
0151|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0152|Collecting beautifulsoup4
0153|Downloading https://www.piwheels.org/simple/beautifulsoup4/beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
0154|Collecting soupsieve>1.2 (from beautifulsoup4)
0155|Downloading https://www.piwheels.org/simple/soupsieve/soupsieve-2.6-py3-none-any.whl (36 kB)
0156|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0157|Installing collected packages: soupsieve, beautifulsoup4
0158|Attempting uninstall: soupsieve
0159|Found existing installation: soupsieve 2.6
0160|Uninstalling soupsieve-2.6:
0161|Successfully uninstalled soupsieve-2.6
0162|Attempting uninstall: beautifulsoup4
0163|Found existing installation: beautifulsoup4 4.12.3
0164|Uninstalling beautifulsoup4-4.12.3:
0165|Successfully uninstalled beautifulsoup4-4.12.3
0166|Successfully installed beautifulsoup4-4.12.3 soupsieve-2.6
0167|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0168|+ echo 15
0169|+ sudo python3 -m pip install --force-reinstall --upgrade enum-compat
0170|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0171|Collecting enum-compat
0172|Downloading https://www.piwheels.org/simple/enum-compat/enum_compat-0.0.3-py3-none-any.whl (1.3 kB)
0173|WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
0174|Installing collected packages: enum-compat
0175|Attempting uninstall: enum-compat
0176|Found existing installation: enum-compat 0.0.3
0177|Uninstalling enum-compat-0.0.3:
0178|Successfully uninstalled enum-compat-0.0.3
0179|Successfully installed enum-compat-0.0.3
0180|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
0181|+ echo 16
0182|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openenocean
0183|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0184|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0185|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
0186|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

La suite…

Log openenocean

4261|[2024-12-23 16:55:08] INFO  : Lancement démon openenocean : sudo /usr/bin/python3 /var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py --device /dev/ttyAMA0 --loglevel debug --socketport 55006 --callback http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php --apikey OXYOj7vpwfKD6iLYdX9aPRdRDry5pXs9 --cycle 0.3 --pid /tmp/jeedom/openenocean/deamon.pid
4262|[2024-12-23 16:55:09.198] INFO  : Start openenoceand
4263|[2024-12-23 16:55:09.198] INFO  : Log level : debug
4264|[2024-12-23 16:55:09.199] INFO  : Socket port : 55006
4265|[2024-12-23 16:55:09.199] INFO  : Socket host : 127.0.0.1
4266|[2024-12-23 16:55:09.199] INFO  : PID file : /tmp/jeedom/openenocean/deamon.pid
4267|[2024-12-23 16:55:09.199] INFO  : Apikey : OXYOj7vpwfKD6iLYdX9aPRdRDry5pXs9
4268|[2024-12-23 16:55:09.199] INFO  : Callback : http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php
4269|[2024-12-23 16:55:09.200] INFO  : Cycle : 0.3
4270|[2024-12-23 16:55:09.864] INFO  : Loading profile file : F6-04-01.xml
4271|/usr/lib/python3.9/html/parser.py:170: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
4272|k = self.parse_starttag(i)
4273|[2024-12-23 16:55:09.878] INFO  : Loading profile file : F6-10-00.xml
4274|[2024-12-23 16:55:09.885] INFO  : Loading profile file : F6-02-02.xml
4275|[2024-12-23 16:55:09.899] INFO  : Loading profile file : F6-02-04.xml
4276|[2024-12-23 16:55:09.911] INFO  : Loading profile file : F6-02-01.xml
4277|[2024-12-23 16:55:09.922] INFO  : Loading profile file : F6-02-03.xml
4278|[2024-12-23 16:55:09.931] INFO  : Loading profile file : F6-05-01.xml
4279|[2024-12-23 16:55:09.939] INFO  : Loading profile file : F6-03-01.xml
4280|[2024-12-23 16:55:09.957] INFO  : Loading profile file : D06D-00-00.xml
4281|[2024-12-23 16:55:10.027] INFO  : Loading profile file : D1079-01-00.xml
4282|[2024-12-23 16:55:10.214] INFO  : Loading profile file : D1079-00-00.xml
4283|[2024-12-23 16:55:10.241] INFO  : Loading profile file : D2-04-08.xml
4284|[2024-12-23 16:55:10.261] INFO  : Loading profile file : D2-32-02.xml
4285|[2024-12-23 16:55:10.280] INFO  : Loading profile file : D2-32-00.xml
4286|[2024-12-23 16:55:10.296] INFO  : Loading profile file : D2-32-01.xml
4287|[2024-12-23 16:55:10.308] INFO  : Loading profile file : D2-03-0A.xml
4288|[2024-12-23 16:55:10.318] INFO  : Loading profile file : D2-06-01.xml
4289|[2024-12-23 16:55:10.358] INFO  : Loading profile file : D2-01-0A.xml
4290|[2024-12-23 16:55:10.467] INFO  : Loading profile file : D2-01-0F.xml
4291|[2024-12-23 16:55:10.570] INFO  : Loading profile file : D2-01-04.xml
4292|[2024-12-23 16:55:10.676] INFO  : Loading profile file : D2-01-11.xml
4293|[2024-12-23 16:55:10.787] INFO  : Loading profile file : D2-01-06.xml
4294|[2024-12-23 16:55:10.905] INFO  : Loading profile file : D2-01-09.xml
4295|[2024-12-23 16:55:11.015] INFO  : Loading profile file : D2-01-12.xml
4296|[2024-12-23 16:55:11.125] INFO  : Loading profile file : D2-01-0D.xml
4297|[2024-12-23 16:55:11.236] INFO  : Loading profile file : D2-01-00.xml
4298|[2024-12-23 16:55:11.372] INFO  : Loading profile file : D2-01-08.xml
4299|[2024-12-23 16:55:11.544] INFO  : Loading profile file : D2-01-05.xml
4300|[2024-12-23 16:55:11.702] INFO  : Loading profile file : D2-01-07.xml
4301|[2024-12-23 16:55:11.831] INFO  : Loading profile file : D2-01-02.xml
4302|[2024-12-23 16:55:12.172] INFO  : Loading profile file : D2-01-0C.xml
4303|[2024-12-23 16:55:12.369] INFO  : Loading profile file : D2-01-03.xml
4304|[2024-12-23 16:55:12.631] INFO  : Loading profile file : D2-01-0E.xml
4305|[2024-12-23 16:55:12.859] INFO  : Loading profile file : D2-01-01.xml
4306|[2024-12-23 16:55:13.211] INFO  : Loading profile file : D2-01-0B.xml
4307|[2024-12-23 16:55:13.336] INFO  : Loading profile file : D2-01-10.xml
4308|[2024-12-23 16:55:13.467] INFO  : Loading profile file : D2-05-00.xml
4309|[2024-12-23 16:55:13.496] INFO  : Loading profile file : D2-15-00.xml
4310|[2024-12-23 16:55:13.512] INFO  : Loading profile file : D2-14-30.xml
4311|[2024-12-23 16:55:13.547] INFO  : Loading profile file : D2-14-41.xml
4312|[2024-12-23 16:55:13.578] INFO  : Loading profile file : D5-00-01.xml
4313|[2024-12-23 16:55:13.586] INFO  : Loading profile file : A5-09-0c.xml
4314|[2024-12-23 16:55:13.600] INFO  : Loading profile file : A5-09-05.xml
4315|[2024-12-23 16:55:13.613] INFO  : Loading profile file : A5-09-07.xml
4316|[2024-12-23 16:55:13.631] INFO  : Loading profile file : A5-09-04.xml
4317|[2024-12-23 16:55:13.654] INFO  : Loading profile file : A5-09-06.xml
4318|[2024-12-23 16:55:13.663] INFO  : Loading profile file : A5-05-01.xml
4319|[2024-12-23 16:55:13.673] INFO  : Loading profile file : A5-30-01.xml
4320|[2024-12-23 16:55:13.682] INFO  : Loading profile file : A5-38-08.xml
4321|[2024-12-23 16:55:13.722] INFO  : Loading profile file : A5-20-01.xml
4322|[2024-12-23 16:55:13.768] INFO  : Loading profile file : A5-04-03.xml
4323|[2024-12-23 16:55:13.780] INFO  : Loading profile file : A5-04-02.xml
4324|[2024-12-23 16:55:13.792] INFO  : Loading profile file : A5-04-01.xml
4325|[2024-12-23 16:55:13.805] INFO  : Loading profile file : A5-08-01.xml
4326|[2024-12-23 16:55:13.820] INFO  : Loading profile file : A5-10-06.xml
4327|[2024-12-23 16:55:13.833] INFO  : Loading profile file : A5-10-12.xml
4328|[2024-12-23 16:55:13.847] INFO  : Loading profile file : A5-10-03.xml
4329|[2024-12-23 16:55:13.875] INFO  : Loading profile file : A5-10-01.xml
4330|[2024-12-23 16:55:13.905] INFO  : Loading profile file : A5-10-04.xml
4331|[2024-12-23 16:55:13.934] INFO  : Loading profile file : A5-06-03.xml
4332|[2024-12-23 16:55:13.957] INFO  : Loading profile file : A5-06-02.xml
4333|[2024-12-23 16:55:13.984] INFO  : Loading profile file : A5-06-01.xml
4334|[2024-12-23 16:55:14.013] INFO  : Loading profile file : A5-14-05.xml
4335|[2024-12-23 16:55:14.031] INFO  : Loading profile file : A5-14-01.xml
4336|[2024-12-23 16:55:14.044] INFO  : Loading profile file : A5-11-02.xml
4337|[2024-12-23 16:55:14.068] INFO  : Loading profile file : A5-12-00.xml
4338|[2024-12-23 16:55:14.085] INFO  : Loading profile file : A5-12-10.xml
4339|[2024-12-23 16:55:14.100] INFO  : Loading profile file : A5-12-01.xml
4340|[2024-12-23 16:55:14.114] INFO  : Loading profile file : A5-02-12.xml
4341|[2024-12-23 16:55:14.121] INFO  : Loading profile file : A5-02-11.xml
4342|[2024-12-23 16:55:14.128] INFO  : Loading profile file : A5-02-13.xml
4343|[2024-12-23 16:55:14.135] INFO  : Loading profile file : A5-02-05.xml
4344|[2024-12-23 16:55:14.142] INFO  : Loading profile file : A5-02-1B.xml
4345|[2024-12-23 16:55:14.152] INFO  : Loading profile file : A5-02-16.xml
4346|[2024-12-23 16:55:14.160] INFO  : Loading profile file : A5-02-03.xml
4347|[2024-12-23 16:55:14.167] INFO  : Loading profile file : A5-02-08.xml
4348|[2024-12-23 16:55:14.177] INFO  : Loading profile file : A5-02-06.xml
4349|[2024-12-23 16:55:14.184] INFO  : Loading profile file : A5-02-0B.xml
4350|[2024-12-23 16:55:14.190] INFO  : Loading profile file : A5-02-02.xml
4351|[2024-12-23 16:55:14.204] INFO  : Loading profile file : A5-02-01.xml
4352|[2024-12-23 16:55:14.214] INFO  : Loading profile file : A5-02-30.xml
4353|[2024-12-23 16:55:14.221] INFO  : Loading profile file : A5-02-19.xml
4354|[2024-12-23 16:55:14.228] INFO  : Loading profile file : A5-02-17.xml
4355|[2024-12-23 16:55:14.235] INFO  : Loading profile file : A5-02-14.xml
4356|[2024-12-23 16:55:14.244] INFO  : Loading profile file : A5-02-20.xml
4357|[2024-12-23 16:55:14.254] INFO  : Loading profile file : A5-02-09.xml
4358|[2024-12-23 16:55:14.260] INFO  : Loading profile file : A5-02-04.xml
4359|[2024-12-23 16:55:14.267] INFO  : Loading profile file : A5-02-15.xml
4360|[2024-12-23 16:55:14.278] INFO  : Loading profile file : A5-02-10.xml
4361|[2024-12-23 16:55:14.285] INFO  : Loading profile file : A5-02-0A.xml
4362|[2024-12-23 16:55:14.292] INFO  : Loading profile file : A5-02-1A.xml
4363|[2024-12-23 16:55:14.299] INFO  : Loading profile file : A5-02-07.xml
4364|[2024-12-23 16:55:14.306] INFO  : Loading profile file : A5-02-18.xml
4365|[2024-12-23 16:55:14.316] INFO  : Loading profile file : A5-07-01.xml
4366|[2024-12-23 16:55:14.326] INFO  : Loading profile file : A5-07-03.xml
4367|[2024-12-23 16:55:14.339] INFO  : Loading profile file : A5-3F-7F.xml
4368|[2024-12-23 16:55:14.353] INFO  : Loading profile file : A5-13-11.xml
4369|[2024-12-23 16:55:14.366] INFO  : Successfully loaded 97 profiles !
4370|[2024-12-23 16:55:14.401] DEBUG  : Writing PID 31773 to /tmp/jeedom/openenocean/deamon.pid
4371|[2024-12-23 16:55:14.403] DEBUG  : Init request module v2.32.3
4372|[2024-12-23 16:55:14.415] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
4373|[2024-12-23 16:55:14.450] DEBUG  : http://127.0.0.1:80 "GET /plugins/openenocean/core/php/jeeOpenEnOcean.php?apikey=OXYOj7vpwfKD6iLYdX9aPRdRDry5pXs9 HTTP/1.1" 200 0
4374|[2024-12-23 16:55:14.453] DEBUG  : Socket interface started
4375|[2024-12-23 16:55:14.454] DEBUG  : LoopNetServer Thread started
4376|[2024-12-23 16:55:14.454] DEBUG  : Start listening...
4377|[2024-12-23 16:55:14.455] DEBUG  : Listening on: [127.0.0.1:55006]
4378|[2024-12-23 16:55:14.457] INFO  : SerialCommunicator started
4379|[2024-12-23 16:55:14.458] DEBUG  : Replacing Packet.optional with default value.
4380|[2024-12-23 16:55:14.559] INFO  : Sending packet
4381|[2024-12-23 16:55:14.559] DEBUG  : 0x05 ['0x8'] [] OrderedDict()
4382|[2024-12-23 16:55:14.580] INFO  : Sending packet
4383|[2024-12-23 16:55:14.581] DEBUG  : 0x05 ['0x8'] [] OrderedDict()
4384|[2024-12-23 16:55:14.602] INFO  : Sending packet
4385|[2024-12-23 16:55:14.602] DEBUG  : 0x05 ['0x8'] [] OrderedDict()
4386|[2024-12-23 16:55:15.461] ERROR  : No base id from enocean key, shutdown
4387|[2024-12-23 16:55:15.462] DEBUG  : Shutdown
4388|[2024-12-23 16:55:15.462] DEBUG  : Removing PID file /tmp/jeedom/openenocean/deamon.pid
4389|[2024-12-23 16:55:15.958] DEBUG  : LoopNetServer Thread stopped
4390|[2024-12-23 16:55:15.959] DEBUG  : Exit 0
4391|[2024-12-23 17:00:10] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
4392|[2024-12-23 17:00:11] INFO  : Lancement démon openenocean : sudo /usr/bin/python3 /var/www/html/plugins/openenocean/resources/openenoceand/openenoceand.py --device /dev/ttyAMA0 --loglevel debug --socketport 55006 --callback http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php --apikey OXYOj7vpwfKD6iLYdX9aPRdRDry5pXs9 --cycle 0.3 --pid /tmp/jeedom/openenocean/deamon.pid

Log cron_execution


23042|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
23043|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
23044|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
23045|PHP Warning:  PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20190902/mosquitto.so (/usr/lib/php/20190902/mosquitto.so: file too short), /usr/lib/php/20190902/mosquitto.so.so (/usr/lib/php/20190902/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Log history :

0000|[2024-12-23 05:12:06] ERROR  : Erreur l'archivage des historiques : {"cmd_id":"1904","archivePackage":3600,"archiveTime":"2024-12-23 03:11:26"}  => [MySQL] Error code : 22003 (1264). Out of range value for column '(null)' at row 1  : REPLACE INTO historyArch(cmd_id,`datetime`,value) SELECT cmd_id,MIN(`datetime`),avg(CAST(value AS DECIMAL(12,2))) as value                 FROM history                 WHERE `datetime` <= :archiveTime                 AND cmd_id=:cmd_id                 AND `value` IS NOT NULL                 GROUP BY UNIX_TIMESTAMP(`datetime`) DIV :archivePackage

Je ne pense pas que les autres logs apportent quoi que ce soit mais je pourrai les renvoyer si cela vous paraît pertinent.

Merci d’avance

Le port de la clé n’apparait pas en by id?

Antoine

Et donc c’est une clé sur le port gpio du pi?

  • Si oui alors le port semble correct mais il faut configurer le pi en conséquence (cf l’autre post)
    Et vous n’aurez pas de port « by-id »

  • Si non alors le port choisi n’est pas le bon.

Oui, il s’agit bien d’une carte TCM310 connectée sur le port GPIO.
De quelle config parlez-vous sur le raspberrypi ?

Desactivation du bluetooth interne et autre config du genre lorsqu’on utilise le port gpio; je ne maîtrise pas les détails mais il me semble que c’est documenté à plusieurs endroits.

C’est pareil que pour les controleur zwave sur ce même port (voir doc du plugin-zwavejs du coup)

Mais c’est aussi ce dont parle l’autre post si j’ai bien lu.

En passant la commande ls -l /dev, j’ai le résultat suivant :
image

il est possible que le pb vienne de là caar, a priori, il faudrait que serial0 soit affecté à ttyAMA0. Je vais poursuivre mes recherches en ce sens en espérant que ce soit la bonne piste…
Encore merci pour le temps passé à m’aider.
Bonnes fêtes de Noël à tous

A priori, tous ceux qui ont eu le pb d’affectation de serial1 à ttyAMA0 se sont cassé les dents pour essayer de faire une reaffectation à ttyAM0. Je pense que je suis bon pour recommencer ma migration à 0 en verifiant l’affectation des ports avant l’installation de jeedom !

Si c’est serial0 que vous avez besoin, n’est il pas possible de choisir ttyS0 dans la config du plugin ?

Pas de ttyS0 dans la liste du plugin

curieux, moi je le vois
image

montrez ce que vous avez

Finalement, j’ai repris ma migration de zero. Cette fois j’ai configuré les ports AVANT l’installation de jeedom en desactivant le bluetooth et j’ai vérifié que serial0 était bien affecté à ttyAMA0. Du coup, après avoir installé JEEDOM et restauré la sauvegarde, le demon enocean a bien redémarré et je vois à nouveau tous mes capteurs. Il ne me reste plus qu’à solutionner un problème avec un script qui ne fonctionne plus mais c’est un problème mineur.
Merci pour votre aide et bon réveillon !

Choisi un post solution, stp.

Antoine