Debian 12 : le démon ne démarre pas

Bonjour.

Je viens de passer ma dev en debian 12 pour faire des tests sur les plugins : clean install de debian, install de jeedom et restauration de sauvegarde. La version de jeedom installée est la dernière stable 4.4.16. Je signale un souci avec le plugin « Fake Roku », test effectué sur les 2 versions stable et beta. Je n’ai pas d’erreur sur les dépendances, voir log ci-dessous

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_fakeroku
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update

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

Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-dev

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

Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pip

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

Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (23.0.1+dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-setuptools

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

Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (66.1.1-1).
python3-setuptools set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 6
+ sudo apt update

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

Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-venv is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 7
+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv
+ echo 8
+ sudo /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
Requirement already satisfied: pip in /var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages (24.2)
Collecting wheel
  Using cached wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
Using cached wheel-0.44.0-py3-none-any.whl (67 kB)
Installing collected packages: wheel
Successfully installed wheel-0.44.0
+ echo 9
+ sudo /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade aiohttp
Collecting aiohttp
  Using cached aiohttp-3.10.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.5 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp)
  Using cached aiohappyeyeballs-2.4.0-py3-none-any.whl.metadata (5.9 kB)
Collecting aiosignal>=1.1.2 (from aiohttp)
  Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp)
  Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting frozenlist>=1.1.1 (from aiohttp)
  Using cached frozenlist-1.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp)
  Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.0 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp)
  Using cached yarl-1.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (48 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp)
  Using cached idna-3.8-py3-none-any.whl.metadata (9.9 kB)
Using cached aiohttp-3.10.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
Using cached aiohappyeyeballs-2.4.0-py3-none-any.whl (12 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached frozenlist-1.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (272 kB)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)
Using cached yarl-1.11.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (487 kB)
Using cached idna-3.8-py3-none-any.whl (66 kB)
Installing collected packages: multidict, idna, frozenlist, attrs, aiohappyeyeballs, yarl, aiosignal, aiohttp
Successfully installed aiohappyeyeballs-2.4.0 aiohttp-3.10.5 aiosignal-1.3.1 attrs-24.2.0 frozenlist-1.4.1 idna-3.8 multidict-6.1.0 yarl-1.11.1
+ echo 10
+ sudo /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade asyncio
Collecting asyncio
  Downloading asyncio-3.4.3-py3-none-any.whl.metadata (1.7 kB)
Downloading asyncio-3.4.3-py3-none-any.whl (101 kB)
Installing collected packages: asyncio
Successfully installed asyncio-3.4.3
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end fakeroku
+ echo 12
+ rm /tmp/jeedom_install_in_progress_fakeroku
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Le démon ne démarre pas :

Traceback (most recent call last):
  File "/var/www/html/plugins/fakeroku/resources/fakerokud.py", line 7, in <module>
    import emulated_roku
  File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 12, in <module>
    from aiohttp import web
ModuleNotFoundError: No module named 'aiohttp'

A toutes fins utiles, copie de ma page santé :

Hello, ce petit message pour vous dire que je suis très intéressé par le fonctionnement de ce plugin sur Debian12.
Etant sur Debian 10, je dois upgrader mon OS. Et tant qu’à faire, j’aimerais directement passer sur la 12 !
Je pense que parmi mes plugins, c’est le seul plugin qui ne soit pas encore compatible avec D12.
Merci beaucoup !

Hello @lunarok , si tu es bien toujours le dev officiel de ce plugin :
Saurais-tu confirmer que ton plugin est KO sur debian12 ?
Si oui, as-tu en tête de travailler sur sa mise à jour pour fonctionner en D12 ? A quel horizon si tu sais ?
Si non, alors il me faudra utiliser ton plugin sur une autre instance qui tourne en D11, avec du Jeelink…

Quoique j’ai vu que le Jeelink ne sera plus opérationnel sur D12… Faut que je comprenne le MQTT apparemment pour remplacer cette fonction, mais c’est hors sujet…

Merci à toi !

Bonjour,

Dans le fichier class, remplacez les appels à 'python3' par system::getCmdPython3(__CLASS__) (tout ceux qui existent)

par exemple dans public static function deamon_start() {} il y a probablement une ligne qui ressemble à ceci:

$cmd = 'python3 ' . __DIR__ . '/../../resources/fakerokud.py";

à remplacer par quelque chose de ce style

$cmd = system::getCmdPython3(__CLASS__) . __DIR__ . '/../../resources/fakerokud.py";

:warning: attention, ne pas faire d’erreur de syntaxe, cela peut entrainer un plantage complet de jeedom donc à faire en connaissance de cause.

je n’ai pas le plugin donc impossible d’aider plus que ça

1 « J'aime »

:fearful: Bon je vais attendre que qqn le tente et valide le tout :sweat_smile:
Merci beaucoup pour ton temps en tout cas !

@blablatus , as-tu testé la solution proposée ci-dessus ?
Ou fait autre chose, ou laissé de côté pour l’instant ?

Bonjour.
J’ai laissé de côté.

1 « J'aime »

Bonjour,

J’ai mis à jour en beta pour demain (merci @Mips )

1 « J'aime »

OK je te ferai un retour demain soir !
Merci beaucoup !

Hello, suite à mise à jour du plugin :
Les dépendances (sur debian 12):

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_fakeroku
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pip
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (23.0.1+dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-setuptools
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (66.1.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 6
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ sudo apt-get install -y python3 python3-pip python3-dev python3-venv
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1).
python3-dev is already the newest version (3.11.2-1+b1).
python3-venv is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 7
+ sudo python3 -m venv --upgrade-deps /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv
+ echo 8
+ sudo /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 -m pip install --upgrade pip wheel
Requirement already satisfied: pip in /var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages (24.2)
Requirement already satisfied: wheel in /var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages (0.44.0)
+ echo 9
+ sudo /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade aiohttp
Collecting aiohttp
Using cached aiohttp-3.10.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.6 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
Collecting aiosignal>=1.1.2 (from aiohttp)
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp)
Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting frozenlist>=1.1.1 (from aiohttp)
Using cached frozenlist-1.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.0 kB)
Collecting yarl<2.0,>=1.12.0 (from aiohttp)
Using cached yarl-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (50 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.12.0->aiohttp)
Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Using cached aiohttp-3.10.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
Using cached aiohappyeyeballs-2.4.3-py3-none-any.whl (14 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached attrs-24.2.0-py3-none-any.whl (63 kB)
Using cached frozenlist-1.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (272 kB)
Using cached multidict-6.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)
Using cached yarl-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (488 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Installing collected packages: multidict, idna, frozenlist, attrs, aiohappyeyeballs, yarl, aiosignal, aiohttp
Attempting uninstall: multidict
Found existing installation: multidict 6.1.0
Uninstalling multidict-6.1.0:
Successfully uninstalled multidict-6.1.0
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: frozenlist
Found existing installation: frozenlist 1.4.1
Uninstalling frozenlist-1.4.1:
Successfully uninstalled frozenlist-1.4.1
Attempting uninstall: attrs
Found existing installation: attrs 24.2.0
Uninstalling attrs-24.2.0:
Successfully uninstalled attrs-24.2.0
Attempting uninstall: aiohappyeyeballs
Found existing installation: aiohappyeyeballs 2.4.3
Uninstalling aiohappyeyeballs-2.4.3:
Successfully uninstalled aiohappyeyeballs-2.4.3
Attempting uninstall: yarl
Found existing installation: yarl 1.13.1
Uninstalling yarl-1.13.1:
Successfully uninstalled yarl-1.13.1
Attempting uninstall: aiosignal
Found existing installation: aiosignal 1.3.1
Uninstalling aiosignal-1.3.1:
Successfully uninstalled aiosignal-1.3.1
Attempting uninstall: aiohttp
Found existing installation: aiohttp 3.10.9
Uninstalling aiohttp-3.10.9:
Successfully uninstalled aiohttp-3.10.9
Successfully installed aiohappyeyeballs-2.4.3 aiohttp-3.10.9 aiosignal-1.3.1 attrs-24.2.0 frozenlist-1.4.1 idna-3.10 multidict-6.1.0 yarl-1.13.1
+ echo 10
+ sudo /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 -m pip install --force-reinstall --upgrade asyncio
Collecting asyncio
Using cached asyncio-3.4.3-py3-none-any.whl.metadata (1.7 kB)
Using cached asyncio-3.4.3-py3-none-any.whl (101 kB)
Installing collected packages: asyncio
Attempting uninstall: asyncio
Found existing installation: asyncio 3.4.3
Uninstalling asyncio-3.4.3:
Successfully uninstalled asyncio-3.4.3
Successfully installed asyncio-3.4.3
+ echo 11
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end fakeroku
+ echo 12
+ rm /tmp/jeedom_install_in_progress_fakeroku
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Le deamon ne veut pas démarrer :

INFO:aiohttp.access:192.168.0.254 [08/Oct/2024:01:10:06 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
[2024-10-08 02:10:07] INFO  : Arrêt du service fakeroku
[2024-10-08 02:10:07] INFO  : Lancement démon fakeroku : /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 /var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py --callback http://192.168.0.242:80/plugins/fakeroku/core/api/jeeRoku.php --apikey TIFqAjtSphjwLcSA6kyk2m72yDNtds04dAP9wcrUUMxy0v9HJvtUSQEi3APlPLWl
[2024-10-08 02:10:38] ERROR  : Impossible de lancer le démon fakerokud. Vérifiez le log.
[2024-10-08 02:13:22] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-10-08 02:13:22] INFO  : Arrêt du service fakeroku
[2024-10-08 02:13:22] INFO  : Lancement démon fakeroku : /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 /var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py --callback http://192.168.0.242:80/plugins/fakeroku/core/api/jeeRoku.php --apikey TIFqAjtSphjwLcSA6kyk2m72yDNtds04dAPXXXXXXXXXXXXXXXXXX
[2024-10-08 02:13:53] ERROR  : Impossible de lancer le démon fakerokud. Vérifiez le log.

C’est d’autant plus étrange que sur la version précédente de fakeroku, j’avais patché le fichier de class comme indiqué par @Mips et que j’avais testé ce soir, ça fonctionnait… Faudrait voir si tu as changé autre chose…

Hello @lunarok , as-tu eu le temps de jeter un coup d’oeil, chez moi le deamon ne veut plus se lancer…
Merci beaucoup,

Ca aiderait de fournir le log du démon

Oui, c’est ce que je pense avoir fourni plus haut il y a 4 jours.
Tu aurais attendu autre chose ?

Ca c’est le log du plugin, il dit rien d’utile
Y a pas un autre log?
Fait avoir l’erreur pour savoir quoi changer

OK, oui pardon, c’est vrai que c’était pas entier :
Je remet le même mai entier :

INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:16:40:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:16:45:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
WARNING:emulated_roku:Rejected non-advertised access by host 192.168.0.254
INFO:aiohttp.access:192.168.0.11 [11/Oct/2024:16:47:04 +0100] "GET / HTTP/1.1" 403 193 "-" "Avast Antivirus"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:16:50:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:16:55:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:00:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:05:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:10:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:15:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:20:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:25:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:35:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:40:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:50:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:17:55:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:00:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:05:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:10:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:15:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:20:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:25:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:30:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:35:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:40:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:45:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:50:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:18:55:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:00:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:05:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:10:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:20:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.52 [11/Oct/2024:19:25:50 +0100] "GET / HTTP/1.1" 200 813 "-" "HomeAssistant/2024.10.1 aiohttp/3.10.8 Python/3.12"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:25:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.52 [11/Oct/2024:19:30:50 +0100] "GET / HTTP/1.1" 200 813 "-" "HomeAssistant/2024.10.1 aiohttp/3.10.8 Python/3.12"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:35:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:40:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
[2024-10-11 20:42:08] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-10-11 20:42:08] INFO  : Arrêt du service fakeroku
[2024-10-11 20:42:08] INFO  : Lancement démon fakeroku : /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 /var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py --callback http://192.168.0.242:80/plugins/fakeroku/core/api/jeeRoku.php --apikey TIFqAjtSphjwLcSA6kyk2m72yDNtds04dAP9wcrUUMxy0v9HJvtUSQEi3APlPLWl
Traceback (most recent call last):
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 50, in <module>
loop.run_until_complete(start_emulated_roku(loop))
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 47, in start_emulated_roku
await roku_api.start()
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 408, in start
await api_endpoint.start()
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_runner.py", line 119, in start
self._server = await loop.create_server(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 1525, in create_server
raise OSError(err.errno, 'error while attempting '
OSError: [Errno 98] error while attempting to bind on address ('192.168.0.242', 8060): address already in use
[2024-10-11 20:42:38] ERROR  : Impossible de lancer le démon fakerokud. Vérifiez le log.
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:50:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:19:55:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:00:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:05:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:10:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:15:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:20:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:25:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:30:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
[2024-10-11 21:32:20] DEBUG  : Trigger Cmd
[2024-10-11 21:32:20] INFO  : Trigger : #4268#
INFO:aiohttp.access:192.168.0.4 [11/Oct/2024:20:32:20 +0100] "POST /keypress/Down HTTP/1.1" 200 111 "-" "LuaSocket 2.0.2"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:35:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:45:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:50:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:20:55:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:00:51 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:05:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:10:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
[2024-10-11 22:12:34] DEBUG  : Trigger Cmd
[2024-10-11 22:12:34] INFO  : Trigger : #4267#
INFO:aiohttp.access:192.168.0.4 [11/Oct/2024:21:12:34 +0100] "POST /keypress/Up HTTP/1.1" 200 111 "-" "LuaSocket 2.0.2"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:15:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_app.py", line 559, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 361, in _check_remote_and_host_ip
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 319, in _roku_keypress_handler
self.handler.on_keypress(self.roku_usn, key)
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 37, in on_keypress
urllib.request.urlopen(JEEDOM_URL + key)
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
INFO:aiohttp.access:192.168.0.4 [11/Oct/2024:21:17:27 +0100] "POST /keypress/PowerOff HTTP/1.1" 500 246 "-" "LuaSocket 2.0.2"
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_app.py", line 559, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 361, in _check_remote_and_host_ip
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 319, in _roku_keypress_handler
self.handler.on_keypress(self.roku_usn, key)
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 37, in on_keypress
urllib.request.urlopen(JEEDOM_URL + key)
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
INFO:aiohttp.access:192.168.0.4 [11/Oct/2024:21:17:29 +0100] "POST /keypress/PowerOff HTTP/1.1" 500 246 "-" "LuaSocket 2.0.2"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:20:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:25:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:30:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:35:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:40:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:45:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:21:50:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:22:00:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"
INFO:aiohttp.access:192.168.0.254 [11/Oct/2024:22:05:50 +0100] "GET / HTTP/1.1" 200 813 "-" "Linux/2.6 UPnP/1.0 fbxlanbrowser/1.0"

En fait c’est bizarre parce que le daemon est KO mais mes le fakeroku fait le job :
Mon Harmony Elite dialogue bien avec jeedom pour éteindre ma lumière quand j’appuie sur le bouton !

Cette ip c’est bien ton jeedom?
Y a déjà quelque chose qui tourne sur le même port.
Peut être le démon du plugin et qu’il y a eu un raté.

Redemarres jeedom et tests

C’est bien l’adresse de mon jeedom, OK je redémarre tout jeedom !

(…)

Bon ça fait pareil:

[2024-10-12 16:49:14] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-10-12 16:49:14] INFO  : Arrêt du service fakeroku
[2024-10-12 16:49:14] INFO  : Lancement démon fakeroku : /var/www/html/core/class/../../plugins/fakeroku/resources/python_venv/bin/python3 /var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py --callback http://192.168.0.242:80/plugins/fakeroku/core/api/jeeRoku.php --apikey TIFqAjtSphjwLcSA6kyk2m72yDNtds04dAP9wcrUUMxy0v9HJvtUSQEi3APlPLWl
Traceback (most recent call last):
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 50, in <module>
loop.run_until_complete(start_emulated_roku(loop))
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 47, in start_emulated_roku
await roku_api.start()
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 408, in start
await api_endpoint.start()
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_runner.py", line 119, in start
self._server = await loop.create_server(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 1525, in create_server
raise OSError(err.errno, 'error while attempting '
OSError: [Errno 98] error while attempting to bind on address ('192.168.0.242', 8060): address already in use
[2024-10-12 16:49:45] ERROR  : Impossible de lancer le démon fakerokud. Vérifiez le log.

J’avoue ne pas comprendre du tout ce que fait ce plugin fakeroku. Ce qui m’interpelle c’est que ça continue à fonctionner. Ce pourrait-il que la version précédente qui marchait (quand j’était en Debian 10, ou encore quand j’avais réussi à « patcher » sur tes conseil @Mips , que ce soit toujours là qq part sur mon réseau, sur le port 8060 et qut ça interfère avec le plugin qui veut « reprendre sa place » … ?

Hello,

Y’a t’il du nouveau concernant ce plugin?
Je suis en train de migrer sur Debian 12 et ce plugin m’est fort utile.

Hello, je ne sais pas si tu auras la chance d’avoir une réponse du développeur.
En attendant je peux te partager mon expérience :

En gros on ne peut pas ranger ce plugin plugin-fakeroku dans la catégorie des plugins compatibles debian12 car car le statut du demon est NOK, et on a ce genre de message dans les logs du plugin :

File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
INFO:aiohttp.access:192.168.0.4 [14/Apr/2025:18:07:17 +0100] "POST /keypress/PowerOff HTTP/1.1" 500 246 "-" "LuaSocket 2.0.2"
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 478, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_app.py", line 567, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/python_venv/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 361, in _check_remote_and_host_ip
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/fakeroku/resources/emulated_roku/__init__.py", line 319, in _roku_keypress_handler
self.handler.on_keypress(self.roku_usn, key)
File "/var/www/html/plugins/fakeroku/core/class/../../resources/fakerokud.py", line 37, in on_keypress
urllib.request.urlopen(JEEDOM_URL + key)
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
INFO:aiohttp.access:192.168.0.4 [14/Apr/2025:18:07:19 +0100] "POST /keypress/PowerOff HTTP/1.1" 500 246 "-" "LuaSocket 2.0.2"

Et dans le http-error:

1877|Stack trace:
1878|#0 /var/www/html/plugins/fakeroku/core/api/jeeRoku.php(29): fakeroku->fireTrigger()
1879|#1 {main}
1880|thrown in /var/www/html/plugins/fakeroku/core/class/fakeroku.class.php on line 129
1881|[Mon Apr 14 00:30:17.840650 2025] [php:error] [pid 4234:tid 4234] [client 192.168.0.242:43238] PHP Fatal error:  Uncaught Error: Call to a member function getConfiguration() on bool in /var/www/html/plugins/fakeroku/core/class/fakeroku.class.php:129
1882|Stack trace:
1883|#0 /var/www/html/plugins/fakeroku/core/api/jeeRoku.php(29): fakeroku->fireTrigger()
1884|#1 {main}
1885|thrown in /var/www/html/plugins/fakeroku/core/class/fakeroku.class.php on line 129

Mais, car oui, heureusement il y a un mais ! En vrai je ne comprends pas vraiment comment fonctionne ce plugin, mais malgré le NOK du démon, il suffit de tenter de le lancer (le démon), et en fait le « serveur » qui émule le roku est en ligne et fonctionne chez moi à la perfection jusqu’au prochain redémarrage de Jeedom !

Merci pour ton retour! En effet, c’est assez étrange…
Je tenterai l’expérience, une fois ma migration terminée, voir si j’ai le même fonctionnement

1 « J'aime »