Carte Enocean non reconnu

Bonjour,

Je viens vers vous pour avoir votre aide sur ma config pour trouver ce que j’ai loupé.
J’ai lu le topic concernant les modifications à réalisé en ssh afin de libérer la communication serie pour la carte enocean.

L’installation des dépendances est OK
Version de Python 2.7.16
python -m pip list renvoi ça


> Package                       Version
----------------------------- ---------
asn1crypto                    0.24.0
backports-abc                 0.5
backports.functools-lru-cache 1.5
beautifulsoup4                4.7.1
certifi                       2021.10.8
chardet                       4.0.0
configparser                  3.5.0b2
cryptography                  2.6.1
Cython                        0.29.2
docutils                      0.14
entrypoints                   0.3
enum34                        1.1.6
fasteners                     0.16.3
future                        0.18.3
futures                       3.4.0
gpg                           1.12.0
html5lib                      1.0.1
idna                          2.10
ipaddress                     1.0.17
keyring                       17.1.1
keyrings.alt                  3.1.1
libopenzwave                  0.3.1
Louie                         1.1
lxml                          4.3.2
monotonic                     1.6
nose                          1.3.7
olefile                       0.46
openzwave                     0.3.1
Pillow                        5.4.1
pip                           18.1
pycrypto                      2.6.1
Pygments                      2.3.1
PyGObject                     3.30.4
pyserial                      3.5
pyudev                        0.23.2
pyxdg                         0.25
requests                      2.27.1
roman                         2.0.0
RPi.GPIO                      0.7.0
SecretStorage                 2.3.1
setuptools                    44.1.1
singledispatch                3.7.0
six                           1.16.0
soupsieve                     1.8
tornado                       5.1.1
urllib3                       1.26.18
urwid                         2.1.2
webencodings                  0.5.1
wheel                         0.37.1

Ensuite j’ai désactivé le BT via dtoverlay=pi3-disable-bt dans le config.txt
J’ai ensuite supprimé « console=serial0,115200 dans /boot/cmdline.txt »
Sauf qu’au lieu d’avoir ttyAMA0 lié à Serial0, il est lié au Serial1

lrwxrwxrwx 1 root root           5 févr.  1 01:26 serial0 -> ttyS0
lrwxrwxrwx 1 root root           7 févr.  1 01:26 serial1 -> ttyAMA0

Merci d’avance pour vos aides :slight_smile:
openenocean.txt (36,6 Ko)
openenocean_packages.txt (3,5 Ko)

Bonne nuit

Bonjour,

Pour désactiver le Bluetooth la commande a changée depuis Raspberry Pi OS 10, c’est :
dtoverlay=disable-bt

Bonjour,

De mémoire plugin-openenocean est un python 3 donc il faudrait les même infos mais avec la commande python3

Pouvez-vous fournir une capture écran de la page santé et coller le contenu des logs dans un Texte préformaté au lieu de joindre un fichier? (Plus facile à lire, surtout sur mobile)

Bonjour, merci pour vos messages :slight_smile:
Ok j’ai corrigé pour dtoverlay.

Pour ce qui est du python 3 je en comprend pas, car j’imagine que le plugin aurait du installer la version de python qu’il souhaite ? ou bien c’est qu’il l’a fait, mais mon OS est configuré pour tourner avec la version 2.7 ? cette parti est pas très clair pour moi. ^^

jeedom@jeedom:~ $ python3 --version
Python 3.7.3


jeedom@jeedom:~ $ python3 -m pip list
Package             Version
------------------- ---------
asn1crypto          0.24.0
astroid             2.15.8
beautifulsoup4      4.12.2
blessings           1.7
certifi             2018.8.24
chardet             3.0.4
coverage            7.2.7
cryptography        2.6.1
dill                0.3.7
distro-info         0.21
entrypoints         0.3
enum-compat         0.0.3
fail2ban            0.10.2
idna                2.6
iotop               0.6
isort               5.11.5
keyring             17.1.1
keyrings.alt        3.1.1
lazy-object-proxy   1.9.0
mccabe              0.7.0
nose                1.3.7
nose-html           1.1
nose-progressive    1.5.2
pip                 23.3.1
platformdirs        3.11.0
pycrypto            2.6.1
pycurl              7.43.0.2
PyGObject           3.30.4
pyinotify           0.9.6
pylint              2.17.7
pyserial            3.5
python-apt          1.8.4.3
pyudev              0.21.0
pyxdg               0.25
requests            2.21.0
SecretStorage       2.3.1
setuptools          40.8.0
six                 1.12.0
soupsieve           2.4.1
ssh-import-id       5.7
systemd-python      234
tomli               2.0.1
tomlkit             0.12.1
typed-ast           1.5.5
typing_extensions   4.7.1
unattended-upgrades 0.1
urllib3             1.24.1
wheel               0.32.3
wrapt               1.15.0

[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: python3 -m pip install --upgrade pip

Log enocean

[2024-02-01 02:20:09.579][INFO] : Start openenoceand
[2024-02-01 02:20:09.579][INFO] : Log level : debug
[2024-02-01 02:20:09.580][INFO] : Socket port : 55006
[2024-02-01 02:20:09.580][INFO] : Socket host : 127.0.0.1
[2024-02-01 02:20:09.580][INFO] : PID file : /tmp/jeedom/openenocean/deamon.pid
[2024-02-01 02:20:09.580][INFO] : Apikey : JgpjtWGQRqWPWuWmOHR3H2kkvxwY955QNgvN33aaTTetYlr5lAywjwcaXQYyfaGP
[2024-02-01 02:20:09.581][INFO] : Callback : http://127.0.0.1:80/plugins/openenocean/core/php/jeeOpenEnOcean.php
[2024-02-01 02:20:09.581][INFO] : Cycle : 0.3
[2024-02-01 02:20:10.104][INFO] : Loading profile file : F6-02-01.xml
/usr/local/lib/python3.7/dist-packages/bs4/builder/__init__.py:546: 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.
  XMLParsedAsHTMLWarning.MESSAGE, XMLParsedAsHTMLWarning
[2024-02-01 02:20:10.114][INFO] : Loading profile file : F6-02-02.xml
[2024-02-01 02:20:10.123][INFO] : Loading profile file : F6-02-03.xml
[2024-02-01 02:20:10.129][INFO] : Loading profile file : F6-02-04.xml
[2024-02-01 02:20:10.137][INFO] : Loading profile file : F6-03-01.xml
[2024-02-01 02:20:10.148][INFO] : Loading profile file : F6-04-01.xml
[2024-02-01 02:20:10.153][INFO] : Loading profile file : F6-05-01.xml
[2024-02-01 02:20:10.158][INFO] : Loading profile file : F6-10-00.xml
[2024-02-01 02:20:10.163][INFO] : Loading profile file : D2-15-00.xml
[2024-02-01 02:20:10.174][INFO] : Loading profile file : D2-32-00.xml
[2024-02-01 02:20:10.181][INFO] : Loading profile file : D2-32-02.xml
[2024-02-01 02:20:10.193][INFO] : Loading profile file : D2-32-01.xml
[2024-02-01 02:20:10.202][INFO] : Loading profile file : D2-01-0F.xml
[2024-02-01 02:20:10.285][INFO] : Loading profile file : D2-01-04.xml
[2024-02-01 02:20:10.368][INFO] : Loading profile file : D2-01-05.xml
[2024-02-01 02:20:10.458][INFO] : Loading profile file : D2-01-07.xml
[2024-02-01 02:20:10.541][INFO] : Loading profile file : D2-01-0C.xml
[2024-02-01 02:20:10.625][INFO] : Loading profile file : D2-01-12.xml
[2024-02-01 02:20:10.710][INFO] : Loading profile file : D2-01-00.xml
[2024-02-01 02:20:10.799][INFO] : Loading profile file : D2-01-10.xml
[2024-02-01 02:20:10.883][INFO] : Loading profile file : D2-01-0D.xml
[2024-02-01 02:20:10.966][INFO] : Loading profile file : D2-01-0A.xml
[2024-02-01 02:20:11.051][INFO] : Loading profile file : D2-01-08.xml
[2024-02-01 02:20:11.147][INFO] : Loading profile file : D2-01-09.xml
[2024-02-01 02:20:11.230][INFO] : Loading profile file : D2-01-0E.xml
[2024-02-01 02:20:11.315][INFO] : Loading profile file : D2-01-11.xml
[2024-02-01 02:20:11.398][INFO] : Loading profile file : D2-01-03.xml
[2024-02-01 02:20:11.493][INFO] : Loading profile file : D2-01-01.xml
[2024-02-01 02:20:11.577][INFO] : Loading profile file : D2-01-0B.xml
[2024-02-01 02:20:11.661][INFO] : Loading profile file : D2-01-02.xml
[2024-02-01 02:20:11.744][INFO] : Loading profile file : D2-01-06.xml
[2024-02-01 02:20:11.898][INFO] : Loading profile file : D2-14-30.xml
[2024-02-01 02:20:11.921][INFO] : Loading profile file : D2-14-41.xml
[2024-02-01 02:20:11.944][INFO] : Loading profile file : D2-06-01.xml
[2024-02-01 02:20:11.974][INFO] : Loading profile file : D2-03-0A.xml
[2024-02-01 02:20:11.981][INFO] : Loading profile file : D2-05-00.xml
[2024-02-01 02:20:12.004][INFO] : Loading profile file : D2-04-08.xml
[2024-02-01 02:20:12.018][INFO] : Loading profile file : A5-09-05.xml
[2024-02-01 02:20:12.028][INFO] : Loading profile file : A5-09-07.xml
[2024-02-01 02:20:12.041][INFO] : Loading profile file : A5-09-06.xml
[2024-02-01 02:20:12.048][INFO] : Loading profile file : A5-09-04.xml
[2024-02-01 02:20:12.061][INFO] : Loading profile file : A5-09-0c.xml
[2024-02-01 02:20:12.072][INFO] : Loading profile file : A5-13-11.xml
[2024-02-01 02:20:12.088][INFO] : Loading profile file : A5-30-01.xml
[2024-02-01 02:20:12.094][INFO] : Loading profile file : A5-06-03.xml
[2024-02-01 02:20:12.103][INFO] : Loading profile file : A5-06-02.xml
[2024-02-01 02:20:12.116][INFO] : Loading profile file : A5-06-01.xml
[2024-02-01 02:20:12.130][INFO] : Loading profile file : A5-14-01.xml
[2024-02-01 02:20:12.139][INFO] : Loading profile file : A5-14-05.xml
[2024-02-01 02:20:12.146][INFO] : Loading profile file : A5-38-08.xml
[2024-02-01 02:20:12.178][INFO] : Loading profile file : A5-05-01.xml
[2024-02-01 02:20:12.185][INFO] : Loading profile file : A5-08-01.xml
[2024-02-01 02:20:12.204][INFO] : Loading profile file : A5-20-01.xml
[2024-02-01 02:20:12.241][INFO] : Loading profile file : A5-12-01.xml
[2024-02-01 02:20:12.251][INFO] : Loading profile file : A5-12-10.xml
[2024-02-01 02:20:12.262][INFO] : Loading profile file : A5-12-00.xml
[2024-02-01 02:20:12.273][INFO] : Loading profile file : A5-02-0A.xml
[2024-02-01 02:20:12.279][INFO] : Loading profile file : A5-02-02.xml
[2024-02-01 02:20:12.284][INFO] : Loading profile file : A5-02-12.xml
[2024-02-01 02:20:12.290][INFO] : Loading profile file : A5-02-20.xml
[2024-02-01 02:20:12.295][INFO] : Loading profile file : A5-02-14.xml
[2024-02-01 02:20:12.301][INFO] : Loading profile file : A5-02-13.xml
[2024-02-01 02:20:12.306][INFO] : Loading profile file : A5-02-10.xml
[2024-02-01 02:20:12.312][INFO] : Loading profile file : A5-02-01.xml
[2024-02-01 02:20:12.318][INFO] : Loading profile file : A5-02-11.xml
[2024-02-01 02:20:12.323][INFO] : Loading profile file : A5-02-07.xml
[2024-02-01 02:20:12.329][INFO] : Loading profile file : A5-02-05.xml
[2024-02-01 02:20:12.334][INFO] : Loading profile file : A5-02-18.xml
[2024-02-01 02:20:12.339][INFO] : Loading profile file : A5-02-30.xml
[2024-02-01 02:20:12.345][INFO] : Loading profile file : A5-02-03.xml
[2024-02-01 02:20:12.350][INFO] : Loading profile file : A5-02-16.xml
[2024-02-01 02:20:12.356][INFO] : Loading profile file : A5-02-1B.xml
[2024-02-01 02:20:12.362][INFO] : Loading profile file : A5-02-04.xml
[2024-02-01 02:20:12.367][INFO] : Loading profile file : A5-02-17.xml
[2024-02-01 02:20:12.372][INFO] : Loading profile file : A5-02-08.xml
[2024-02-01 02:20:12.378][INFO] : Loading profile file : A5-02-06.xml
[2024-02-01 02:20:12.384][INFO] : Loading profile file : A5-02-0B.xml
[2024-02-01 02:20:12.389][INFO] : Loading profile file : A5-02-1A.xml
[2024-02-01 02:20:12.394][INFO] : Loading profile file : A5-02-09.xml
[2024-02-01 02:20:12.400][INFO] : Loading profile file : A5-02-19.xml
[2024-02-01 02:20:12.405][INFO] : Loading profile file : A5-02-15.xml
[2024-02-01 02:20:12.411][INFO] : Loading profile file : A5-07-03.xml
[2024-02-01 02:20:12.420][INFO] : Loading profile file : A5-07-01.xml
[2024-02-01 02:20:12.429][INFO] : Loading profile file : A5-10-01.xml
[2024-02-01 02:20:12.441][INFO] : Loading profile file : A5-10-12.xml
[2024-02-01 02:20:12.451][INFO] : Loading profile file : A5-10-04.xml
[2024-02-01 02:20:12.462][INFO] : Loading profile file : A5-10-06.xml
[2024-02-01 02:20:12.472][INFO] : Loading profile file : A5-10-03.xml
[2024-02-01 02:20:12.479][INFO] : Loading profile file : A5-3F-7F.xml
[2024-02-01 02:20:12.490][INFO] : Loading profile file : A5-04-01.xml
[2024-02-01 02:20:12.500][INFO] : Loading profile file : A5-04-02.xml
[2024-02-01 02:20:12.509][INFO] : Loading profile file : A5-04-03.xml
[2024-02-01 02:20:12.519][INFO] : Loading profile file : A5-11-02.xml
[2024-02-01 02:20:12.536][INFO] : Loading profile file : D06D-00-00.xml
[2024-02-01 02:20:12.593][INFO] : Loading profile file : D1079-00-00.xml
[2024-02-01 02:20:12.614][INFO] : Loading profile file : D1079-01-00.xml
[2024-02-01 02:20:12.758][INFO] : Loading profile file : D5-00-01.xml
[2024-02-01 02:20:12.763][INFO] : Successfully loaded 97 profiles !
[2024-02-01 02:20:12.776][DEBUG] : Writing PID 610 to /tmp/jeedom/openenocean/deamon.pid
[2024-02-01 02:20:12.777][DEBUG] : Init request module v2.21.0
[2024-02-01 02:20:12.785][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2024-02-01 02:20:12.806][DEBUG] : http://127.0.0.1:80 "GET /plugins/openenocean/core/php/jeeOpenEnOcean.php?apikey=JgpjtWGQRqWPWuWmOHR3H2kkvxwY955QNgvN33aaTTetYlr5lAywjwcaXQYyfaGP HTTP/1.1" 200 0
[2024-02-01 02:20:12.809][DEBUG] : Socket interface started
[2024-02-01 02:20:12.810][DEBUG] : LoopNetServer Thread started
[2024-02-01 02:20:12.811][DEBUG] : Start listening...
[2024-02-01 02:20:12.811][DEBUG] : Listening on: [127.0.0.1:55006]
[2024-02-01 02:20:12.813][INFO] : SerialCommunicator started
[2024-02-01 02:20:12.813][DEBUG] : Replacing Packet.optional with default value.
[2024-02-01 02:20:12.915][INFO] : Sending packet
[2024-02-01 02:20:12.915][DEBUG] : 0x05 ['0x8'] [] OrderedDict()
[2024-02-01 02:20:12.936][INFO] : Sending packet
[2024-02-01 02:20:12.936][DEBUG] : 0x05 ['0x8'] [] OrderedDict()
[2024-02-01 02:20:12.957][INFO] : Sending packet
[2024-02-01 02:20:12.957][DEBUG] : 0x05 ['0x8'] [] OrderedDict()
[2024-02-01 02:20:13.818][ERROR] : No base id from enocean key, shutdown
[2024-02-01 02:20:13.819][DEBUG] : Shutdown
[2024-02-01 02:20:13.819][DEBUG] : Removing PID file /tmp/jeedom/openenocean/deamon.pid
[2024-02-01 02:20:14.314][DEBUG] : LoopNetServer Thread stopped
[2024-02-01 02:20:14.315][DEBUG] : Exit 0

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_openenocean
+ echo 1
+ echo 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 '{}' +
++ cut -f 2-
++ awk '$1 <= 4'
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
ERROR: unknown command "cache" - maybe you meant "check"
+ echo 4
+ sudo pip3 install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pip
Downloading https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl (2.1MB)
Installing collected packages: pip
Found existing installation: pip 18.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pip'. No files were found to uninstall.
Successfully installed pip-23.3.1
+ echo 5
+ sudo pip3 install --force-reinstall --upgrade pyserial
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyserial
Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 1.4 MB/s eta 0:00:00
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
+ echo 6
+ sudo pip3 install --force-reinstall --upgrade beautifulsoup4
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting beautifulsoup4
Downloading https://www.piwheels.org/simple/beautifulsoup4/beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 kB 1.8 MB/s eta 0:00:00
Collecting soupsieve>1.2 (from beautifulsoup4)
Downloading https://www.piwheels.org/simple/soupsieve/soupsieve-2.4.1-py3-none-any.whl (36 kB)
Installing collected packages: soupsieve, beautifulsoup4
Successfully installed beautifulsoup4-4.12.2 soupsieve-2.4.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 7
+ sudo pip3 install --force-reinstall --upgrade enum-compat
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting enum-compat
Downloading https://www.piwheels.org/simple/enum-compat/enum_compat-0.0.3-py3-none-any.whl (1.3 kB)
Installing collected packages: enum-compat
Successfully installed enum-compat-0.0.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 8
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openenocean
+ rm /tmp/jeedom_install_in_progress_openenocean
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci d’avance pour votre temps :slight_smile:

A propos du python, vu que vous avez python3.7 vous êtes probablement sous buster / debian 10
cette version de l’os a python2 & python3 par défaut.
Les plugins n’ont généralement pas besoin d’installer python; bref tout va bien de ce coté; tout est normal.

Je ne vois pas d’erreur dans le log des dépendances.
Et concernant les erreurs dans le log du plugin, je ne sais pas ce qu’il se passe, je ne connais pas le plugin.

Montrez une capture de la config du plugin, p-e que quelqu’un y verra qlqch.
qu’avez-vous sélectionné comme controleur?

Bonjour :slight_smile:

voici les captures de ma config.


ah bonne nouvelle, j’ai tester de selection ttyS0 au lieu de AMA0.
Après avoir bien vérifier que le port serie de console est désactivé et le port serie hardware activé
Et ça fonctionne :smiley: :smiley:

Merci pour l’aide :wink:

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.