Page 1 sur 1

Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 16 nov. 2025, 11:52
par YvanM
Bonjour à tous,

Suite à la panne de ma Wiser Box, j'essaye de réutiliser mon matériel Schneider ZigBee de façon à pouvoir reprendre la main sur mon chauffage ... mais j'en suis encore loin ;-) Je n'ai plus que de vieux souvenirs des systèmes UNIX.

Ma config :
Matériel : RaspBerry 4 (13-Trixie - 64 bits) - Clé Zigate +
Logiciel : Domoticz Version: 2025.2 - Python Version: 3.13.5
Plugin ZigBee : stable7 (mais j'ai un message bizarre dans les logs ... 2025-11-16 11:10:46.173 Error: Zigbee Plugin: You are running stable6-{'stable7': '7.1.025', 'wip-develop-7.2-2025': '7.2.109', 'stable8': '8.1.001'}, a NOT SUPPORTED version. Please refer to https://zigbeefordomoticz.github.io/wik ... -release-7 to get the latest informations)

Problème : Avant d'essayer de monter mes objets Schneider, j'essaye déjà d'insérer un thermomètre SONOFF et ça a fonctionné mais j'ai une erreur récurrente dans mes logs :

2025-11-16 11:10:11.458 Error: Zigbee Plugin: Urlopen to rejected. Error: HTTP Error 404: Not Found
Avant, j'avais du 401 et j'ai modifié la configuration de sécurité => OK. J'ai essayé l'uRL en curl mais même résultat ...

Je pense que c'est un truc bête mais je n'ai pas trouvé de sujet résolu avec le même problème.

Si jamais qqn a déjà rencontré le problème, je suis preneur de toute aide.

Merci,
Yvan

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 16 nov. 2025, 12:51
par YvanM
En fouillant dans les logs, j'ai : 2025-11-16 11:10:11.419 Status: Zigbee Plugin: Zigbee for Domoticz (z4d) plugin stable6-6.3.015 started
Donc je ne dois pas être en stable 7 mais quand j'essaye d'upgrader en 7, il semble m'indiquer que je suis déjà en version 7 ...

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 16 nov. 2025, 13:35
par Keros
Mets-toi dans le répertoire du plugin avec un terminal et lance la commande git status et tu nous donnes le résultat ici.

Mets-nous ensuite les logs complets du terminal quand tu essayes d'upgrader en stable7.

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 16 nov. 2025, 15:13
par pipiche
Le wiki pour la mise à jour en 7.1 : https://zigbeefordomoticz.github.io/wik ... e_7.1.html

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 16 nov. 2025, 15:49
par Keros
Avec Trixie, il faudra certainement faire ceci : https://zigbeefordomoticz.github.io/wik ... alEnv.html

Pour info, le développement du plugin avec les ZiGates est arrêté depuis longtemps.

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 16 nov. 2025, 17:05
par YvanM
Merci de vos réponses :

git status :

Code : Tout sélectionner

Sur la branche stable7
Votre branche est à jour avec 'origin/stable7'.

Fichiers non suivis:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)
	=0.1.3
	=0.1.4
	=0.4.0
	=0.85.0
	=1.1.0

aucune modification ajoutée à la validation mais des fichiers non suivis sont présents (utilisez "git add" pour les suivre)
L'upgrade en 7.1 :

Code : Tout sélectionner

(domoticz_venv) admin@RPI6MDL:~/domoticz_venv/plugins/Domoticz-Zigbee $ python --version
Python 3.13.5
(domoticz_venv) admin@RPI6MDL:~/domoticz_venv/plugins/Domoticz-Zigbee $ git pull
Déjà à jour.
(domoticz_venv) admin@RPI6MDL:~/domoticz_venv/plugins/Domoticz-Zigbee $ git checkout stable7
Déjà sur 'stable7'
Votre branche est à jour avec 'origin/stable7'.
(domoticz_venv) admin@RPI6MDL:~/domoticz_venv/plugins/Domoticz-Zigbee $ git pull
Déjà à jour.
(domoticz_venv) admin@RPI6MDL:~/domoticz_venv/plugins/Domoticz-Zigbee $  sudo python3 -m pip install -r requirements.txt --upgrade
error: externally-managed-environment

This environment is externally managed

To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
(domoticz_venv) admin@RPI6MDL:~/domoticz_venv/plugins/Domoticz-Zigbee $ 

J'ai essayé l'opération conseillée pour Trixie mais ça n'a pas l'air d'avoir fonctionné correctement : j'ai des erreurs bell 0.5.6 sur des composants manquants puis un gros paquet rouge :

ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.13/shutil.py", line 856, in move
os.rename(src, real_dst)
~~~~~~~~~^^^^^^^^^^^^^^^
OSError: [Errno 18] Lien physique inter-périphérique invalide: '/tmp/pip-target-3902ux57/lib/python/zigpy_cli-1.1.0.dist-info' -> '/home/domoticz/Domoticz_Python_Environment/zigpy_cli-1.1.0.dist-info'


PS 1 : Si le dév pour Zigate est terminé depuis longtemps, j'ai une clé CONBEE 3 juste à côté de moi si ça peut simplifier.
PS 2 : Idem pour Trixie, je peux rebaculer sur un système antérieur vu que je suis en plein dans les essais.

Merci,
Yvan

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 20 nov. 2025, 09:20
par pipiche
Tu auras beaucoup moins de problème avec un ConBee que avec la Zigate.

Pour Trixie, il faut que tu utilises le mode venv python, voir le wiki ici: https://github.com/zigbeefordomoticz/wi ... tualEnv.md

N'hésites pas à faire des PRs si le wiki doit etre mis-à-jour

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 20 nov. 2025, 16:15
par YvanM
Merci mais qu'est ce que des PRs pour la mise à jour du wiki ?

Yvan

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 20 nov. 2025, 20:30
par Keros
Le PR sont dans GitHub la chose qui permet d'envoyer des modifications que le développeur peut valider et intégrer.

Re: Erreur : Urlopen to http://127.0.0.1:8080/json.htm?type=devices&rid=3 rejected. Error: HTTP Error 404: Not Found"

Publié : 24 nov. 2025, 19:20
par YvanM
Hello,

J'ai pas mal bidouillé et au final ça marche. La configuration devient donc :
1) Raspberry 4 sous Trixxie
2) Installation de Docker
3) Installation de Domoticz sous Docker
4) Installation de python 3.11
5) Installation manuelle du plugin ZigBeeForDomoticz toujours sous Docker

Après pas de reconfig, j'arrive à allumer une ampoule en fonction de la température de mon thermomètre. Youpi !!

Plus qu'à regarder si mes éléments Wiser vont être reconnus et quelques erreurs à traiter
"Urlopen to http://127.0.0.1:8080/json.htm?type=com ... ethardware rejected. Error: HTTP Error 401: Unauthorized"