J’ai eu quelques difficultés à faire fonctionner le Plugin Rfplayer2 lors du passage de Débian 10 à 11. J’ai dû le recharger plusieurs fois, mais à la fin tout fonctionnait : lecture des sondes OREGON, réception de capteur d’ouverture DIO, contrôle de prises Chacon et surtout contrôle des volets SOMFY RTS.
Depuis quelques jours, j’ai perdu le contrôle des volets RTS, tout le reste continue à fonctionner.
Selon la page de configuration du plugin, tout est vert:
Dans l’ordre, j’ai déjà tenté: relancer le démon, recharger les dépendances, forcer la Maj du Plugin… plusieurs fois, sans succès.
Je suis aller voir les logs et l’un d’entre eux semble indiquer des disfonctionnements que je ne comprends pas complètement et que je ne sais résoudre. rfplayer2_packages.txt (5,9 Ko)
Désolé pour le formatage de la question. J’avoue ne pas avoir complètement exploité le post : Comment nous aider à vous aider - ou Comment poser une bonne question?
Du coup, n’ayant aucun logiciel chez moi qui traite le Texte préformaté, j’étais dans l’impasse.
J’essaye donc avec </>.
Merci pour le lien, je ne l’avais pas trouvé en faisant des recherches cohérentes avec se que je comprends de mon problème. C’est potentiellement le même problème, on sera vite fixé avec la prochaine MAJ.
Ce qui m’embête, c’est que le log semble indiquer un problème d’installation (ce que je crois comprendre) et que cela serait différent du problème Syntax error: ON 7 RTS - #6 par Mips ou pas, je ne sais pas.
Au cas ou, et pour vérifier que j’y arrive, je republie le LOG en version Texte préformaté :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_rfplayer2
+ echo 1
+ echo 2
++ awk '$1 <= 4'
++ cut -f 2-
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
Files removed: 335
+ echo 4
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.2)
Collecting pip
Downloading pip-24.3.1-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-24.3.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 9.8 MB/s eta 0:00:00
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.2
Uninstalling pip-24.2:
Successfully uninstalled pip-24.2
Successfully installed pip-24.3.1
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.
+ echo 5
+ sudo python3 -m pip install --force-reinstall --upgrade requests
Collecting requests
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting charset-normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading certifi-2024.12.14-py3-none-any.whl (164 kB)
Downloading charset_normalizer-3.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (141 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading urllib3-2.3.0-py3-none-any.whl (128 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.3
Uninstalling urllib3-2.2.3:
Successfully uninstalled urllib3-2.2.3
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 2.0.12
Uninstalling charset-normalizer-2.0.12:
Successfully uninstalled charset-normalizer-2.0.12
Attempting uninstall: certifi
Found existing installation: certifi 2024.8.30
Uninstalling certifi-2024.8.30:
Successfully uninstalled certifi-2024.8.30
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Successfully installed certifi-2024.12.14 charset-normalizer-3.4.1 idna-3.10 requests-2.32.3 urllib3-2.3.0
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.
+ echo 6
+ sudo python3 -m pip install --force-reinstall --upgrade pyserial
Collecting pyserial
Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyserial
Attempting uninstall: pyserial
Found existing installation: pyserial 3.4
Uninstalling pyserial-3.4:
Successfully uninstalled pyserial-3.4
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, 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.
+ echo 7
+ sudo python3 -m pip install --force-reinstall --upgrade pyudev
Collecting pyudev
Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyudev
Attempting uninstall: pyudev
Found existing installation: pyudev 0.24.3
Uninstalling pyudev-0.24.3:
Successfully uninstalled pyudev-0.24.3
Successfully installed pyudev-0.24.3
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.
+ echo 8
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfplayer2
+ echo 9
+ rm /tmp/jeedom_install_in_progress_rfplayer2
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Justement non aucun problème dans ce log, c’est pour ça qu’on demande les logs plutôt que l’interprétation des gens des logs c’est pas simple à comprendre.
Bonjour,
J’ai le même problème depuis la mise à jour du plugin et lorsque je reprends la sauvegarde d’avant tout fonctionne bien. voici ma page santé et le log en mode debug.
Merci d’avance pour l’aide.
[2024-12-31 14:59:04][INFO] : API RfPlayer solicité
[2024-12-31 14:59:08][INFO] : API RfPlayer solicité
[2024-12-31 14:59:09][INFO] : API RfPlayer solicité
[2024-12-31 14:59:30][DEBUG] : Execute Action > Descendre / OFF / RTS / 0
[2024-12-31 14:59:45][INFO] : API RfPlayer solicité
[2024-12-31 14:59:47][INFO] : API RfPlayer solicité
[2024-12-31 14:59:48][INFO] : API RfPlayer solicité
[2024-12-31 15:00:02][INFO] : API RfPlayer solicité
[2024-12-31 15:00:09][DEBUG] : Execute Action > Fermer / OFF / RTS / 0
[2024-12-31 15:00:12][INFO] : API RfPlayer solicité
[2024-12-31 15:00:25][INFO] : API RfPlayer solicité
[2024-12-31 15:00:26][INFO] : API RfPlayer solicité
[2024-12-31 15:00:27][INFO] : API RfPlayer solicité
[2024-12-31 15:00:42][DEBUG] : Execute Action > On / ON / CHACON / 0
[2024-12-31 15:00:58][INFO] : API RfPlayer solicité
[2024-12-31 15:01:05][INFO] : API RfPlayer solicité
[2024-12-31 15:01:06][INFO] : API RfPlayer solicité
[2024-12-31 15:01:06][INFO] : API RfPlayer solicité
[2024-12-31 15:01:12][INFO] : API RfPlayer solicité