Broadlink >>> [ERROR] : The device is offline

Bonjour,

Depuis quelques jours et après plusieurs mois de fonctionnement, mon Broadlink RM pro + ne répond plus :frowning: J’ai cherché mais je n’ai pas trouvé la cause du problème. Si quelqu’un a une idée je suis preneur :wink:

Voici quelques éléments :

  • J’ai vérifié les branchements = OK
  • Débranché et rebranché le Broadlink pour m’assurer qu’il fonctionnait bien = OK
  • J’ai testé mes appareils infrarouge = OK
  • Le Broadlink est bien présent sur mon WiFi
  • Côté Jeedom (Rpi3B+ en v4.0.61) tout est au vert, aucun NOK. Le plugin est bien installé, j’ai relancé les dépendances.

En revanche je constate que le log « Broadlink » est dans les choux depuis plusieurs jours :

[2020-12-30 23:04:52.036][ERROR] : The device is offline
[2020-12-30 23:09:52.052][ERROR] : The device is offline
[2020-12-30 23:14:52.064][ERROR] : The device is offline
[2020-12-30 23:19:52.073][ERROR] : The device is offline

[...]

[2021-01-01 09:22:36.983][ERROR] : The device is offline
[2021-01-01 09:27:36.986][ERROR] : The device is offline
[2021-01-01 09:32:37.005][ERROR] : The device is offline
[2021-01-01 09:37:37.017][ERROR] : The device is offline
[2021-01-01 09:41:37.445][ERROR] : The device is offline
[2021-01-01 09:42:37.030][ERROR] : The device is offline
[2021-01-01 09:47:37.047][ERROR] : The device is offline

En complément et pour information, voici le log « Broadlink upgrade » suite à la relance des dépendances ce matin (si il y a des données sensibles merci de me le signaler pour correction) :

********************************************************
*             Installation des dépendances             *
********************************************************
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Fetched 15.0 kB in 1s (11.4 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libudev-dev is already the newest version (241-7~deb10u5+rpi1).
python3-dev is already the newest version (3.7.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1).
python3-setuptools is already the newest version (40.8.0-1).
python3-pip is already the newest version (18.1-5+rpt1).
The following package was automatically installed and is no longer required:
raspi-gpio
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libssl1.1
Suggested packages:
libssl-doc python3-wxgtk3.0 | python3-wxgtk
The following NEW packages will be installed:
libffi-dev python3-serial
The following packages will be upgraded:
libssl-dev libssl1.1
2 upgraded, 2 newly installed, 0 to remove and 48 not upgraded.
Need to get 3085 kB of archives.
After this operation, 716 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian buster/main armhf libssl-dev armhf 1.1.1d-0+deb10u4+rpt1 [1583 kB]
Get:2 http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian buster/main armhf libffi-dev armhf 3.2.1-9 [159 kB]
Get:3 http://mirrors.ircam.fr/pub/raspbian/raspbian buster/main armhf python3-serial all 3.4-4 [67.6 kB]
Get:4 http://archive.raspberrypi.org/debian buster/main armhf libssl1.1 armhf 1.1.1d-0+deb10u4+rpt1 [1276 kB]
apt-listchanges: Reading changelogs...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 3085 kB in 2s (1565 kB/s)
Selecting previously unselected package libffi-dev:armhf.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 65892 files and directories currently installed.)
Preparing to unpack .../libffi-dev_3.2.1-9_armhf.deb ...
Unpacking libffi-dev:armhf (3.2.1-9) ...
Preparing to unpack .../libssl-dev_1.1.1d-0+deb10u4+rpt1_armhf.deb ...
Unpacking libssl-dev:armhf (1.1.1d-0+deb10u4+rpt1) over (1.1.1d-0+deb10u3+rpt1) ...
Preparing to unpack .../libssl1.1_1.1.1d-0+deb10u4+rpt1_armhf.deb ...
Unpacking libssl1.1:armhf (1.1.1d-0+deb10u4+rpt1) over (1.1.1d-0+deb10u3+rpt1) ...
Selecting previously unselected package python3-serial.
Preparing to unpack .../python3-serial_3.4-4_all.deb ...
Unpacking python3-serial (3.4-4) ...
Setting up libssl1.1:armhf (1.1.1d-0+deb10u4+rpt1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Setting up libffi-dev:armhf (3.2.1-9) ...
Setting up python3-serial (3.4-4) ...
Setting up libssl-dev:armhf (1.1.1d-0+deb10u4+rpt1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.32.3)
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
python3-asn1crypto python3-cffi-backend python3-entrypoints raspi-gpio
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
python3-cryptography python3-keyring python3-secretstorage
0 upgraded, 0 newly installed, 3 to remove and 48 not upgraded.
After this operation, 1476 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 65967 files and directories currently installed.)
Removing python3-keyring (17.1.1-1) ...
Removing python3-secretstorage (2.3.1-2) ...
Removing python3-cryptography (2.6.1-3+deb10u2) ...
Processing triggers for man-db (2.8.5-2) ...
Skipping cryptography as it is not installed.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography
Downloading https://www.piwheels.org/simple/cryptography/cryptography-3.3.1-cp37-cp37m-linux_armv7l.whl (782kB)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography) (1.12.0)
Collecting cffi>=1.12 (from cryptography)
Downloading https://www.piwheels.org/simple/cffi/cffi-1.14.4-cp37-cp37m-linux_armv7l.whl (346kB)
Collecting pycparser (from cffi>=1.12->cryptography)
Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
Installing collected packages: pycparser, cffi, cryptography
Successfully installed cffi-1.14.4 cryptography-3.3.1 pycparser-2.20
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: cryptography in /usr/local/lib/python3.7/dist-packages (3.3.1)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.7/dist-packages (from cryptography) (1.14.4)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography) (1.12.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.12->cryptography) (2.20)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages (2.6.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages (0.21.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.21.0)
********************************************************
*             Installation terminée                    *
********************************************************

Regarde ici à tout hasard

1 « J'aime »

Bon j’ai découvert 2 problèmes, je ne suis pas sûr qu’ils soient liés.

D’abord un problème d’IP qui a été attribué par mon répéteur wifi et qui a remplacé l’IP d’origine (forcément ça aide pas).
Ensuite, il y a manifestement eu une mise à jour des données consultables sur l’appli mobile Androïd, plus aucun appareils enregistré. Pour autant, j’ai toujours mes commandes enregistrées dans le plugin Jeedom mais quand je clique sur test, il ne se passe rien.

Je vais creuser ça…