[Résolu] réinitialiser le plugin

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
hestia
Messages : 397
Inscription : 12 sept. 2018, 22:36

Re: réinitialiser le plugin

Message par hestia »

Clé USB Zigbee 3.0 avec antenne 20 dBm - SonOff
Réf. : SON_ZBDONGLE-PLUS
L'installation a été ok dans la version avant 6.3.002 sur 2 serveurs test puis prod
et l'upgrade vers 6.3.002 ok sur prod en clickant sur upgrade (avec qq messages d'erreurs, mais fonctionnelle maintenant)

Je tente une nouvelle install avec un autre coordinateur sur le test et j'ai qq soucis!
C'est le même modèle, mais jamais utilisé encore
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: réinitialiser le plugin

Message par pipiche »

Vérifies la version du firmware. Et si c’est une clef neuve il faut faire une initialisation
hestia
Messages : 397
Inscription : 12 sept. 2018, 22:36

Re: réinitialiser le plugin

Message par hestia »

j'ai acheté le même modèle au même endroit à moins d'une mois d'intervalle
Le 1er fonctionne sans flash
Le "Coordinator infos" donne-t-il bien la version du coordinateur?
Dans ce cas je crois comprendre que j'ai la même pour les 2
Pièces jointes
FW.png
FW.png (88.65 Kio) Consulté 1052 fois
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: réinitialiser le plugin

Message par pipiche »

peux-tu me dire quel model de clef SonOff ? C'est ecrit derriere. Pour l'une et l'autre clef ?

Car les clefs e0798dFFFE741950 et 84b4dbxxxx sont des Silicon Labs.

Probablement il est ecrit derriere Model: ZBDongle-E

Donc il faut que tu utilises Silicon Labs et pas ZNP
hestia
Messages : 397
Inscription : 12 sept. 2018, 22:36

Re: réinitialiser le plugin

Message par hestia »

c'est une SON_ZBDONGLE-PLUS
qui en fait est ZBDongle-E
sonoff_doc.png
sonoff_doc.png (18.27 Kio) Consulté 1041 fois
sonoff.png
sonoff.png (146.25 Kio) Consulté 1041 fois
https://sonoff.tech/product-review/sono ... tutorials/
CoordType.png
CoordType.png (25.84 Kio) Consulté 1041 fois
J'ai bien le Silicon Labs
Question1, si je fait une restaure du mon système de prod avec la config complète déjà réalisée, je pourrais mettre le dongle neuf et le réinitialiser
ou plus rapide ne recopiant le répertoire domoticz de la prod sur le test?
Question2, si je fais une installation du plugin from scratch, j'ai besoin de faire les commandes décrites pour la Mise à jour 6.3.002?
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: réinitialiser le plugin

Message par Keros »

Qu'est ce que tu cherches à faire ? De quelle "config complète déja réalisée" parles tu ?
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
hestia
Messages : 397
Inscription : 12 sept. 2018, 22:36

Re: réinitialiser le plugin

Message par hestia »

Je cherche à créer un 2e env pour tester, comme les futurs upgrades...
Avec un 2e dongle identique au 1er (prod)
J'ai installé le plugin après la publication de la version 6.3.002, en suivant les consignes de l'installation du wiki
Et j'ai eu qq soucis.

Ce que j'ai fait aujourd'hui
Restaurer le système de la prod sur le test... avec qq manips...
J'ai refait "Initialize Coordinator"
J'ai supprimé les devices de la prod
Et je n'ai plus l'erreur

Code : Tout sélectionner

AttributeError: 'NoneType' object has no attribute 'pre_permit'
J'ai pu appairer un device qui fonctionne
Conclusion 1: le dongle fonctionne sans être flashé (comme celui de la prod qui est identique)

J'ai toujours une erreur

Code : Tout sélectionner

2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50210' ignored.
2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50209' ignored.
(l'IP de mon PC)

log plus complète au redémarrage

Code : Tout sélectionner

 2022-10-24 19:50:41.162 Status: Domoticz V2022.1 (build 14578) (c)2012-2022 GizMoCuz
2022-10-24 19:50:41.162 Status: Build Hash: 88a3dfe3e, Date: 2022-10-19 15:47:59
2022-10-24 19:50:41.162 Status: Startup Path: /home/pi/PROD_domoticz/
2022-10-24 19:50:42.446 Status: PluginSystem: Started, Python version '3.7.3', 5 plugin definitions loaded.
2022-10-24 19:50:43.100 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative) [asio.netdb:1], trying ::
2022-10-24 19:50:43.100 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative) [asio.netdb:1], trying 0.0.0.0
2022-10-24 19:50:43.197 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2022-10-24 19:50:43.509 Status: WebServer(SSL) startup failed on address :: with port: 443: resolve: Host not found (authoritative) [asio.netdb:1], trying ::
2022-10-24 19:50:43.515 Status: WebServer(SSL) startup failed on address :: with port: 443: resolve: Host not found (authoritative) [asio.netdb:1], trying 0.0.0.0
2022-10-24 19:50:43.521 Status: WebServer(SSL) started on address: 0.0.0.0 with port 443
2022-10-24 19:50:43.609 Status: Camera: settings (re)loaded
2022-10-24 19:50:43.655 Status: TCPServer: shared server started...
2022-10-24 19:50:43.657 Status: RxQueue: queue worker started...
2022-10-24 19:50:45.669 Status: System: System: Raspberry Pi
2022-10-24 19:50:45.733 Status: System: Hardware Monitor: Started (OStype Raspberry Pi Linux)
2022-10-24 19:50:45.733 Status: zigbeeE: Started.
2022-10-24 19:50:45.733 Status: zigbeeE: Entering work loop.
2022-10-24 19:50:45.733 Status: NotificationSystem: thread started...
2022-10-24 19:50:45.755 Status: EventSystem: reset all events...
2022-10-24 19:50:45.779 Status: PluginSystem: 1 plugins started.
2022-10-24 19:50:45.962 Status: EventSystem: reset all device statuses...
2022-10-24 19:50:48.340 Status: Python EventSystem: Initializing event module.
2022-10-24 19:50:48.343 Status: EventSystem: Started
2022-10-24 19:50:48.344 Status: EventSystem: Queue thread started...
2022-10-24 19:50:51.896 Status: zigbeeE: Initialized version 6.3, author 'pipiche38'
2022-10-24 19:50:51.902 Status: zigbeeE: Checking Python modules /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/requirements.txt
2022-10-24 19:50:53.600 Status: zigbeeE: Checking Python modules /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/requirements.txt
2022-10-24 19:50:53.780 Status: zigbeeE: PluginAnalytics set to 1
2022-10-24 19:50:53.780 Status: zigbeeE: DomoticzCustomMenu set to 0
2022-10-24 19:50:53.781 Status: zigbeeE: channel set to 15
2022-10-24 19:50:53.781 Status: zigbeeE: filename set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-36.json
2022-10-24 19:50:53.781 Status: zigbeeE: pluginHome set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/
2022-10-24 19:50:53.781 Status: zigbeeE: homedirectory set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/
2022-10-24 19:50:53.782 Status: zigbeeE: pluginData set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Data/
2022-10-24 19:50:53.782 Status: zigbeeE: pluginConfig set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Conf/
2022-10-24 19:50:53.782 Status: zigbeeE: pluginOTAFirmware set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-10-24 19:50:53.782 Status: zigbeeE: pluginReports set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Reports/
2022-10-24 19:50:53.782 Status: zigbeeE: pluginWWW set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/www/
2022-10-24 19:50:53.782 Status: zigbeeE: pluginLogs set to /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Logs/
2022-10-24 19:50:53.783 Status: zigbeeE: ControllerInRawMode set to True
2022-10-24 19:50:53.787 Status: zigbeeE: Please watch plugin log into /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_36.log
2022-10-24 19:54:53.388 Status: Incoming connection from: 127.0.0.1
2022-10-24 19:54:53.411 Status: zigbeeE: Zigbee for Domoticz (z4d) plugin stable6-6.3.002 started
2022-10-24 19:54:53.477 Status: zigbeeE: DeviceConf loaded - 22 confs loaded
2022-10-24 19:54:54.377 Status: zigbeeE: DeviceConf loaded - 365 confs loaded
2022-10-24 19:54:54.378 Status: zigbeeE: load ListOfDevice
2022-10-24 19:54:54.403 Status: zigbeeE: 1 Entries loaded from /home/pi/PROD_domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-36.txt
2022-10-24 19:54:54.425 Status: zigbeeE: Transport mode: ZigpyEZSP
2022-10-24 19:54:57.713 Status: zigbeeE: Start Zigpy Transport on EZSP
2022-10-24 19:54:57.726 Status: zigbeeE: ZigpyTransport: thread_processing_and_sending Thread start.
2022-10-24 19:54:57.728 Status: zigbeeE: Start Web Server connection
2022-10-24 19:54:57.748 Status: zigbeeE: Web backend for Web User Interface started on port: 9440
2022-10-24 19:54:57.750 Status: zigbeeE: Domoticz Widgets usage is at 1.2 % (252 units free)
2022-10-24 19:54:58.831 Status: zigbeeE: Started radio ezsp port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220811133129-if00
2022-10-24 19:54:59.876 Error: Scheduler thread seems to have ended unexpectedly (last update 251.000000 seconds ago)
2022-10-24 19:54:59.877 Error: System hardware (23) thread seems to have ended unexpectedly
2022-10-24 19:55:00.930 Status: zigbeeE: Number of devices recently active in Zigate = 0
2022-10-24 19:55:00.985 Status: zigbeeE: Network settings
2022-10-24 19:55:00.988 Status: zigbeeE: Channel: 15
2022-10-24 19:55:00.995 Status: zigbeeE: PAN ID: 0x1D29
2022-10-24 19:55:01.000 Status: zigbeeE: Extended PAN ID: 23:85:bc:4f:7f:92:27:d8
2022-10-24 19:55:01.003 Status: zigbeeE: Device IEEE: e0:79:8d:ff:fe:74:19:50
2022-10-24 19:55:01.007 Status: zigbeeE: Device NWK: 0x0000
2022-10-24 19:55:01.050 Status: zigbeeE: Installer Version Number: 1030
2022-10-24 19:55:01.054 Status: zigbeeE: Branch Version: ==> Unknown ZNP <==
2022-10-24 19:55:01.061 Status: zigbeeE: Zigbee Coordinator ieee: e0798dfffe741950 , short addr: 0000
2022-10-24 19:55:01.065 Status: zigbeeE: Network state UP, PANID: 1d29 extPANID: 0x2385bc4f7f9227d8 Channel: 15
2022-10-24 19:55:01.012 Error: zigbeeE: Untested Zigbee adapater model, please report to the Zigbee for Domoticz team
2022-10-24 19:55:06.078 Status: zigbeeE: Request Disabling Accepting new Hardware
2022-10-24 19:55:11.096 Status: zigbeeE: coordinator set to Certification : 1/CE -> CE
2022-10-24 19:55:11.886 Status: zigbeeE: ota_scan_folder Following Firmware have been loaded
2022-10-24 19:55:11.888 Status: zigbeeE: Plugin with Zigpy, Coordinator Unknown ZNP firmware UNK - 1030 correctly initialized
2022-10-24 19:55:16.196 Status: zigbeeE: There is a newer plugin version available on gitHub. Current 6.3.002 Available 6.3.003
2022-10-24 19:56:14.486 Error: zigbeeE: No transport, write directive to '192.168.9.14:49797' ignored.
2022-10-24 19:56:14.487 Error: zigbeeE: No transport, write directive to '192.168.9.14:49796' ignored.
2022-10-24 19:56:25.692 Status: zigbeeE: Request Accepting new Hardware for 240 seconds
2022-10-24 19:56:37.964 Status: zigbeeE: [None] NEW OBJECT: 2ab6 None
2022-10-24 19:56:38.057 Status: zigbeeE: [-] NEW OBJECT: 2ab6 Active Endpoint Response Ep: 01 LQI: 176
2022-10-24 19:56:38.059 Status: zigbeeE: [-] NEW OBJECT: 2ab6 Active Endpoint Response Ep: f2 LQI: 176
2022-10-24 19:56:41.108 Status: zigbeeE: [0] NEW OBJECT: 2ab6 Model Name: 01MINIZB
2022-10-24 19:56:41.109 Status: zigbeeE: [0] NEW OBJECT: 2ab6 Manufacturer Name: SONOFF
2022-10-24 19:56:41.111 Status: zigbeeE: [None] NEW OBJECT: 2ab6 Request Node Descriptor
2022-10-24 20:00:03.026 Status: Starting automatic database backup procedure...
2022-10-24 20:00:08.026 Status: Ending automatic database backup procedure...
2022-10-24 20:00:25.751 Status: zigbeeE: Request Disabling Accepting new Hardware
2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50210' ignored.
2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50209' ignored.

2022-10-24 20:00:03.026 Status: Starting automatic database backup procedure...
2022-10-24 20:00:08.026 Status: Ending automatic database backup procedure...
2022-10-24 20:00:25.751 Status: zigbeeE: Request Disabling Accepting new Hardware
2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50210' ignored.
2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50209' ignored.
2022-10-24 20:08:00.631 Status: User: Admin (IP: 192.168.9.14) initiated a switch command (2822/01MINIZB_Switch/On)
2022-10-24 20:08:03.546 Status: User: Admin (IP: 192.168.9.14) initiated a switch command (2822/01MINIZB_Switch/Off) 
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: réinitialiser le plugin

Message par Keros »

hestia a écrit : 24 oct. 2022, 20:25 J'ai toujours une erreur

Code : Tout sélectionner

2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50210' ignored.
2022-10-24 20:02:09.801 Error: zigbeeE: No transport, write directive to '192.168.9.14:50209' ignored.
Ça, c'est une erreur générique d'affichage du WebUI. N'en tiens pas compte.
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
hestia
Messages : 397
Inscription : 12 sept. 2018, 22:36

Re: réinitialiser le plugin

Message par hestia »

bonne nouvelle alors
mon env de test serait opérationnel
je ne me souviens pas de l'avoir vu sur l'autre environnement!
néanmoins, je clos le sujet :D
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: [résolu] réinitialiser le plugin

Message par Keros »

Souvent, ce message apparait quand le WebUI reste afficher un petit moment dans le navigateur. Quelques fois, c'est au bout de quelques secondes ...

Ça fonctionne, c'est le principal. Bonne continuation ;)
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
Répondre