[Fermé] Nouvel utilisateur Zigbeefordomoticz

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Retlaw
Messages : 24
Inscription : 21 oct. 2022, 12:50

Re: Nouvel utilisateur Zigbeefordomoticz

Message par Retlaw »

Bon...

Ben il y a des trucs qui buguent...

Code : Tout sélectionner

pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ nano requirements.txt
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ cd
pi@raspberrypi:~ $ cd /usr/local/lib/python3.7/dist-packages
pi@raspberrypi:/usr/local/lib/python3.7/dist-packages $ dir
aiohttp                        attrs                               crccheck                            importlib_resources-5.10.0.dist-info         pyrsistent                         voluptuous
aiohttp-3.8.3.dist-info        attrs-22.1.0.dist-info              crccheck-1.3.0.dist-info            jsonschema                                   pyrsistent-0.18.1.dist-info        voluptuous-0.13.1.dist-info
aiosignal                      charset_normalizer                  dns                                 jsonschema-4.16.0.dist-info                  _pyrsistent_version.py             yarl
aiosignal-1.2.0.dist-info      charset_normalizer-3.0.0.dist-info  dnspython-2.2.1.dist-info           multidict                                    pyserial-3.5.dist-info             yarl-1.8.1.dist-info
aiosqlite                      click                               frozenlist                          multidict-6.0.2.dist-info                    pyserial_asyncio-0.6.dist-info     zipp-3.9.0.dist-info
aiosqlite-0.17.0.dist-info     click-8.1.3.dist-info               frozenlist-1.3.1.dist-info          pkgutil_resolve_name-1.3.10.dist-info        pyusb-1.2.1.dist-info              zipp.py
asynctest                      click_log                           humanfriendly                       pkgutil_resolve_name.py                      serial
asynctest-0.13.0.dist-info     click_log-0.4.0.dist-info           humanfriendly-10.0.dist-info        pure_pcapy                                   serial_asyncio
async_timeout                  coloredlogs                         importlib_metadata                  pure_pcapy3-1.0.1.dist-info                  typing_extensions-4.4.0.dist-info
async_timeout-4.0.2.dist-info  coloredlogs-15.0.1.dist-info        importlib_metadata-5.0.0.dist-info  pvectorc.cpython-37m-arm-linux-gnueabihf.so  typing_extensions.py
attr                           coloredlogs.pth                     importlib_resources                 __pycache__                                  usb
pi@raspberrypi:/usr/local/lib/python3.7/dist-packages $ ^C
pi@raspberrypi:/usr/local/lib/python3.7/dist-packages $ cd
pi@raspberrypi:~ $ cd /usr/local/lib/python3.7/
pi@raspberrypi:/usr/local/lib/python3.7 $ sudo rm -r dist-packages
pi@raspberrypi:/usr/local/lib/python3.7 $ mkdir dist-packages
mkdir: impossible de créer le répertoire « dist-packages »: Permission non accordée
pi@raspberrypi:/usr/local/lib/python3.7 $ sudo mkdir dist-packages
pi@raspberrypi:/usr/local/lib/python3.7 $ sudo rm -rf /usr/local/lib/python3.7/dist-packages/*
pi@raspberrypi:/usr/local/lib/python3.7 $ sudo python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pip
  Downloading https://files.pythonhosted.org/packages/47/ef/8b5470b5b94b36231ed9c0bde90caa71c0d4322d4a15f009b2b7f4287fe0/pip-22.3-py3-none-any.whl (2.1MB)
    100% |████████████████████████████████| 2.1MB 58kB/s
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-22.3
pi@raspberrypi:/usr/local/lib/python3.7 $ dir
dist-packages
pi@raspberrypi:/usr/local/lib/python3.7 $ cd
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo python3 -m pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] Aucun fichier ou dossier de ce type: 'requirements.txt'
pi@raspberrypi:~ $ cd /usr/local/lib/python3.7/
pi@raspberrypi:/usr/local/lib/python3.7 $
pi@raspberrypi:/usr/local/lib/python3.7 $ sudo python3 -m pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] Aucun fichier ou dossier de ce type: 'requirements.txt'
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel utilisateur Zigbeefordomoticz

Message par pipiche »

il faut etre dans le repertoire du plugin pour la commande install -r requirements.txt
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
Retlaw
Messages : 24
Inscription : 21 oct. 2022, 12:50

Re: Nouvel utilisateur Zigbeefordomoticz

Message par Retlaw »

Evidemment !!! je suis bête ! :oops:

Bon, je viens de finir tout ce que tu m'a dis (dans le bon dossier pour "sudo python3 -m pip install -r requirements.txt") puis j'ai redémarré le RPi.

Et voici les logs quand je créé le matériel (il semble y avoir quelques erreurs)

Voici les erreurs isolées juste avant tous les logs

Code : Tout sélectionner

2022-10-26 12:22:37.449 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:22:37.469 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
Les logs complets

Code : Tout sélectionner

2022-10-26 12:22:37.362 Status: Zigbeefordomoticz: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-05.json
2022-10-26 12:22:37.362 Status: Zigbeefordomoticz: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-10-26 12:22:37.362 Status: Zigbeefordomoticz: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-10-26 12:22:37.363 Status: Zigbeefordomoticz: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/
2022-10-26 12:22:37.363 Status: Zigbeefordomoticz: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-10-26 12:22:37.363 Status: Zigbeefordomoticz: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-10-26 12:22:37.363 Status: Zigbeefordomoticz: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-10-26 12:22:37.363 Status: Zigbeefordomoticz: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www/
2022-10-26 12:22:37.363 Status: Zigbeefordomoticz: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-10-26 12:22:37.375 Status: Zigbeefordomoticz: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_05.log
2022-10-26 12:22:37.383 Status: Zigbeefordomoticz: Log history not found, no error logged
2022-10-26 12:22:37.397 Status: Zigbeefordomoticz: Zigbee for Domoticz (z4d) plugin stable6-6.3.003 started
2022-10-26 12:22:37.529 Status: Zigbeefordomoticz: DeviceConf loaded - 22 confs loaded
2022-10-26 12:22:37.449 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:22:37.469 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:22:38.157 Z-wave: General/Voltage (Voltage)
2022-10-26 12:22:38.555 Z-wave: Current (Unknown)
2022-10-26 12:22:38.929 Status: Zigbeefordomoticz: DeviceConf loaded - 365 confs loaded
2022-10-26 12:22:38.931 Status: Zigbeefordomoticz: load ListOfDevice
2022-10-26 12:22:38.935 Status: Zigbeefordomoticz: Transport mode: ZigpyZNP
2022-10-26 12:22:45.993 Status: Zigbeefordomoticz: Start Zigpy Transport on ZNP
2022-10-26 12:22:46.007 Status: Zigbeefordomoticz: Starting radio znp port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_38bc65555729ec11a58a6f7840c9ce8d-if00-port0
2022-10-26 12:22:46.014 Status: Zigbeefordomoticz: ZigpyTransport: thread_processing_and_sending Thread start.
2022-10-26 12:22:46.022 Status: Zigbeefordomoticz: Start Web Server connection
2022-10-26 12:22:46.092 Status: Zigbeefordomoticz: Web backend for Web User Interface started on port: 9440
2022-10-26 12:22:46.098 Status: Zigbeefordomoticz: Domoticz Widgets usage is at 1.2 % (252 units free)
2022-10-26 12:22:48.037 Status: Zigbeefordomoticz: Started radio znp port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_38bc65555729ec11a58a6f7840c9ce8d-if00-port0
2022-10-26 12:22:48.041 Status: Zigbeefordomoticz: Coordinator initialisation requested Channel 0(0x00) ExtendedPanId: 0x0000000000000000
2022-10-26 12:22:49.521 Z-wave: General/kWh (kWh Meter)
2022-10-26 12:22:50.432 Status: Zigbeefordomoticz: Restoring the most recent network backup
2022-10-26 12:22:50.528 Status: Zigbeefordomoticz: Forming a new network
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel utilisateur Zigbeefordomoticz

Message par pipiche »

On est plutot pas mal.

Il faudrait que au niveau de Domoticz dans les settings to autorise les access sans mot de passe pour local host
Screenshot 2022-10-26 at 12.27.29.png
Screenshot 2022-10-26 at 12.27.29.png (48.72 Kio) Consulté 1216 fois
Puis il faut que tu autorises Domoticz a créer des Widget en activant "Accept new Hardware Devices"
Screenshot 2022-10-26 at 12.27.38.png
Screenshot 2022-10-26 at 12.27.38.png (38.97 Kio) Consulté 1216 fois
Retlaw
Messages : 24
Inscription : 21 oct. 2022, 12:50

Re: Nouvel utilisateur Zigbeefordomoticz

Message par Retlaw »

Alors, j'ai ajouté l'exception sans mot de passe 127.0.0.* à l'exeption que j'avais déjà mise en place pour 192.168.1.*

Et j'ai autorisé l'ajout de widget


Au cas où ça puisse aider, les logs avaient continué "s'affoler" après avoir désactivé le matériel pour mettre "False" à "initialize" puis réactivé le matériel pour finir la config près tes instructions, mais tout était en vert, sauf une erreur :

2022-10-26 12:26:59.569 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.

Code : Tout sélectionner

2022-10-26 12:26:39.272 Zigbeefordomoticz: onStop()
2022-10-26 12:26:39.266 Status: Zigbeefordomoticz: Stop directive received.
2022-10-26 12:26:39.281 Status: Zigbeefordomoticz: Shuting down co-routine
2022-10-26 12:26:39.283 Status: Zigbeefordomoticz: ZigpyTransport: thread_processing_and_sending Thread stop.
2022-10-26 12:26:56.928 Status: Zigbeefordomoticz: Coordinator backup is available: /home/pi/domoticz/plugins/Domoticz-Zigbee/Data//Coordinator-05.backup
2022-10-26 12:26:58.976 Zigbeefordomoticz: logging_thread - ended
2022-10-26 12:26:58.980 Zigbeefordomoticz: Logging Thread shutdown
2022-10-26 12:26:58.980 Zigbeefordomoticz: onStop called (6) Close Logging Management
2022-10-26 12:26:58.966 Status: Zigbeefordomoticz: Statistics on message
2022-10-26 12:26:58.966 Status: Zigbeefordomoticz: PDM load(s) : 0
2022-10-26 12:26:58.966 Status: Zigbeefordomoticz: ZiGate reacting time
2022-10-26 12:26:58.966 Status: Zigbeefordomoticz: Max : 0 sec
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Average : 0 sec
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: ZiGate processing time on Rx
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Max : 0 sec
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Average : 0 sec
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Sent:
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: TX commands : 19
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Max Load (Queue) : 9
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Max aPDU (Queue) : 0
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: Max nPDU (Queue) : 0
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: TX failed : 0 (0.0%)
2022-10-26 12:26:58.967 Status: Zigbeefordomoticz: TX timeout : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: TX data timeout : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: TX reTransmit : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: TX APS Failure : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: TX APS Ack : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: TX APS Nck : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: Received:
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: RX frame : 73
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: RX crc errors : 0 (0.0%)
2022-10-26 12:26:58.968 Status: Zigbeefordomoticz: RX lentgh errors : 0 (0.0%)
2022-10-26 12:26:58.969 Status: Zigbeefordomoticz: RX clusters : 0
2022-10-26 12:26:58.969 Status: Zigbeefordomoticz: RX clusters KO : 0
2022-10-26 12:26:58.969 Status: Zigbeefordomoticz: Operating time : 0 Hours 4 Mins 20 Secs
2022-10-26 12:26:59.758 Status: Zigbeefordomoticz: Exiting work loop.
2022-10-26 12:26:59.794 Status: Zigbeefordomoticz: Stopping threads.
2022-10-26 12:26:59.794 Status: Zigbeefordomoticz: Stopped.
2022-10-26 12:26:59.569 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.
2022-10-26 12:27:17.989 Zigbeefordomoticz: Worker thread started.
2022-10-26 12:27:17.989 Status: Zigbeefordomoticz: Entering work loop.
2022-10-26 12:27:17.990 Status: Zigbeefordomoticz: Started.
2022-10-26 12:27:21.793 Zigbeefordomoticz: Zigbee for Domoticz plugin started!
2022-10-26 12:27:21.784 Status: Zigbeefordomoticz: Initialized version 6.3, author 'pipiche38'
2022-10-26 12:27:21.794 Status: Zigbeefordomoticz: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigbee/requirements.txt
2022-10-26 12:27:25.934 Status: Zigbeefordomoticz: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigbee/requirements.txt
2022-10-26 12:27:26.326 Zigbeefordomoticz: load PluginConf
2022-10-26 12:27:26.330 Zigbeefordomoticz: Loading PluginConf - into Domoticz sqlite Db
2022-10-26 12:27:26.331 Zigbeefordomoticz: /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-05.json timestamp is 1666779879.2198298
2022-10-26 12:27:26.331 Zigbeefordomoticz: Dz PluginConf is older than Json Dz: 0 Json: 1666779879.2198298
2022-10-26 12:27:26.337 Zigbeefordomoticz: Installing plugin custom page /home/pi/domoticz/www/templates/Zigbeefordomoticz.html
2022-10-26 12:27:26.338 Zigbeefordomoticz: Starting LoggingManagement thread
2022-10-26 12:27:26.344 Zigbeefordomoticz: start_logging_thread
2022-10-26 12:27:26.346 Zigbeefordomoticz: logging_thread - listening
2022-10-26 12:27:26.335 Status: Zigbeefordomoticz: channel set to 15
2022-10-26 12:27:26.335 Status: Zigbeefordomoticz: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-05.json
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www/
2022-10-26 12:27:26.336 Status: Zigbeefordomoticz: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-10-26 12:27:26.337 Status: Zigbeefordomoticz: ControllerInRawMode set to True
2022-10-26 12:27:26.346 Status: Zigbeefordomoticz: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_05.log
2022-10-26 12:27:26.366 Status: Zigbeefordomoticz: Zigbee for Domoticz (z4d) plugin stable6-6.3.003 started
2022-10-26 12:27:26.483 Status: Zigbeefordomoticz: DeviceConf loaded - 22 confs loaded
2022-10-26 12:27:26.419 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:27:26.439 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:27:27.289 Status: Zigbeefordomoticz: DeviceConf loaded - 365 confs loaded
2022-10-26 12:27:27.291 Status: Zigbeefordomoticz: load ListOfDevice
2022-10-26 12:27:27.306 Status: Zigbeefordomoticz: 1 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-5.txt
2022-10-26 12:27:27.322 Status: Zigbeefordomoticz: Transport mode: ZigpyZNP
2022-10-26 12:27:31.952 Status: Zigbeefordomoticz: Start Zigpy Transport on ZNP
2022-10-26 12:27:31.970 Status: Zigbeefordomoticz: Starting radio znp port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_38bc65555729ec11a58a6f7840c9ce8d-if00-port0
2022-10-26 12:27:31.977 Status: Zigbeefordomoticz: ZigpyTransport: thread_processing_and_sending Thread start.
2022-10-26 12:27:31.981 Status: Zigbeefordomoticz: Start Web Server connection
2022-10-26 12:27:32.050 Status: Zigbeefordomoticz: Web backend for Web User Interface started on port: 9440
2022-10-26 12:27:32.052 Status: Zigbeefordomoticz: Domoticz Widgets usage is at 1.2 % (252 units free)
2022-10-26 12:27:32.220 Error: Zygbeemqtt: Failed to connect to: 127.0.0.1:1883, Description: Connection refused
2022-10-26 12:27:32.221 Error: Zygbeemqtt: Disconnected from MQTT Server: 127.0.0.1:1883
2022-10-26 12:27:33.041 Status: Zigbeefordomoticz: Started radio znp port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_38bc65555729ec11a58a6f7840c9ce8d-if00-port0
2022-10-26 12:27:42.061 Error: Zygbeemqtt: Failed to connect to: 127.0.0.1:1883, Description: Connection refused
2022-10-26 12:27:42.062 Error: Zygbeemqtt: Disconnected from MQTT Server: 127.0.0.1:1883
2022-10-26 12:27:52.136 Error: Zygbeemqtt: Failed to connect to: 127.0.0.1:1883, Description: Connection refused
2022-10-26 12:27:52.137 Error: Zygbeemqtt: Disconnected from MQTT Server: 127.0.0.1:1883
2022-10-26 12:27:59.700 Status: Zigbeefordomoticz: ZNP Radio manufacturer: Texas Instruments
2022-10-26 12:27:59.709 Status: Zigbeefordomoticz: ZNP Radio board model: CC1352/CC2652, Z-Stack 3.30+ (build 20220219)
2022-10-26 12:27:59.712 Status: Zigbeefordomoticz: ZNP Radio version: 3.3
2022-10-26 12:27:59.720 Status: Zigbeefordomoticz: Network settings
2022-10-26 12:27:59.728 Status: Zigbeefordomoticz: Channel: 15
2022-10-26 12:27:59.737 Status: Zigbeefordomoticz: PAN ID: 0x8651
2022-10-26 12:27:59.741 Status: Zigbeefordomoticz: Number of devices recently active in Zigate = 0
2022-10-26 12:27:59.764 Status: Zigbeefordomoticz: CC1352/CC2652, Z-Stack 3.30+ (znp)
2022-10-26 12:27:59.775 Status: Zigbeefordomoticz: Installer Version Number: 0219
2022-10-26 12:27:59.779 Status: Zigbeefordomoticz: Branch Version: ==> CC1352/CC2652, Z-Stack 3.30+ (znp) <==
2022-10-26 12:27:59.795 Status: Zigbeefordomoticz: Extended PAN ID: 45:1d:17:93:29:f5:4a:89
2022-10-26 12:27:59.809 Status: Zigbeefordomoticz: Device IEEE: 00:12:4b:00:24:cb:d3:0d
2022-10-26 12:27:59.817 Status: Zigbeefordomoticz: Device NWK: 0x0000
2022-10-26 12:27:59.856 Status: Zigbeefordomoticz: Zigbee Coordinator ieee: 00124b0024cbd30d , short addr: 0000
2022-10-26 12:27:59.861 Status: Zigbeefordomoticz: Network state UP, PANID: 8651 extPANID: 0x451d179329f54a89 Channel: 15
2022-10-26 12:28:06.107 Status: Zigbeefordomoticz: Request Disabling Accepting new Hardware
2022-10-26 12:28:06.184 Status: Zigbeefordomoticz: Accepting new Hardware: Disable (Off)
2022-10-26 12:28:11.108 Status: Zigbeefordomoticz: coordinator set to Certification : 1/CE -> CE
2022-10-26 12:28:11.868 Status: Zigbeefordomoticz: ota_scan_folder Following Firmware have been loaded
2022-10-26 12:28:11.871 Status: Zigbeefordomoticz: Plugin with Zigpy, Coordinator CC1352/CC2652, Z-Stack 3.30+ (znp) firmware Znp - (....0219) correctly initialized
Retlaw
Messages : 24
Inscription : 21 oct. 2022, 12:50

Re: Nouvel utilisateur Zigbeefordomoticz

Message par Retlaw »

Mais impossible d'accéder à l'interface du plugin... Quand je mets http://127.0.0.1:9440 dans mon navigateur, le site est inaccessible
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel utilisateur Zigbeefordomoticz

Message par pipiche »

pour moi les choses me paraisse ok.
La connectivité entre le plugin et la clef est optimum
la clef a créé un reseau Zigbee
Donc c'est opérationnel

Tu trouveras le Web du plugin sur l'url http://<adresse ip du server domoticz>:9440
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Nouvel utilisateur Zigbeefordomoticz

Message par Keros »

Retlaw a écrit : 26 oct. 2022, 12:38

Code : Tout sélectionner

2022-10-26 12:27:26.419 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:27:26.439 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
Tu n'aurais pas changé le port par défaut de DomoticZ ? Tu utilises bien le 8080 ?
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Retlaw
Messages : 24
Inscription : 21 oct. 2022, 12:50

Re: Nouvel utilisateur Zigbeefordomoticz

Message par Retlaw »

Keros a écrit : 26 oct. 2022, 12:43
Retlaw a écrit : 26 oct. 2022, 12:38

Code : Tout sélectionner

2022-10-26 12:27:26.419 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
2022-10-26 12:27:26.439 Error: Zigbeefordomoticz: domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware
Tu n'aurais pas changé le port par défaut de DomoticZ ? Tu utilises bien le 8080 ?
Oui, j'utilise le 8080 car je dois laisser le 80 pour Ha-Bridge.

Si ça peut t'aider , voici le détails des des erreurs répertoriées dans la partie Plugin de Domotics

Code : Tout sélectionner

{"0":{"0":{"Time":"26/10/2022 12:22:37","Module":"DZDB","nwkid":"None","PluginHealth":"Startup","message":"domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware","PermitToJoin":{"Duration":0,"Starttime":1666779885},"Thread":"MainThread"},"1":
{"Time":"26/10/2022 12:22:37","Module":"DZDB","nwkid":"None","PluginHealth":"Startup","message":"domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware","PermitToJoin":{"Duration":0,"Starttime":1666779885},"Thread":"MainThread"},"LastLog":1,"StartTime":"26/10/2022 12:22:37","FirmwareVersion":null,"FirmwareMajorVersion":null,"PluginVersion":"stable6-6.3.003"},"1":{"0":
{"Time":"26/10/2022 12:27:26","Module":"DZDB","nwkid":"None","PluginHealth":"Startup","message":"domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware","PermitToJoin":{"Duration":0,"Starttime":1666780086},"Thread":"MainThread"},"1":
{"Time":"26/10/2022 12:27:26","Module":"DZDB","nwkid":"None","PluginHealth":"Startup","message":"domoticz_request - wrong URL toget access to Domoticz JSON/API: http://127.0.0.1:8080/json.htm?type=hardware","PermitToJoin":{"Duration":0,"Starttime":1666780086},"Thread":"MainThread"},"LastLog":1,"StartTime":"26/10/2022 12:27:26","FirmwareVersion":"0219","FirmwareMajorVersion":"22","PluginVersion":["stable6-6.3.003"]},"LastLog":1}



D'ailleur, en passant, La liaison entre Ha-Bridge et Domoticz semble KO par contre car je ne peux plsu piloter ma partie Z-wave, que ce soit depusi Ha-Bridge ou Alexa (normal pour alexa)... C'est sans doute suite à la manipulation que tu m'as fait faire et pour laquelle tu disais ". Je fais ici l'hypothese que tu n'utilises pas d'autre système qui ont besoin de module python3 additional. Sinon il te faudra probablement refaire certaine installation"

Me trompe-je ?

Edit : quand j'appuie sur un bouton "on" par exemple d'un de mes interrupteur dans Ha-Bridge, j'ai cette erreur :

Code : Tout sélectionner

Request Error, Please look in your habridge log: error {"type":"6","address":"/lights/102","description":"Error on calling url to change device state","method_name":"/lights/102/state"}
Tout est OK quand j'utilise les interrupteur dans Domoticz
Dernière modification par Retlaw le 26 oct. 2022, 13:11, modifié 3 fois.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel utilisateur Zigbeefordomoticz

Message par pipiche »

Keros, pour moi c'etait plutot lié au fait que Domoticz n'autorisez pas les access , mais peut-etre que je me trompe
Répondre