Page 1 sur 1

[Résolu] Stable 6 : Error: ZB: Call to function 'onHeartbeat' failed, exception details:

Publié : 24 mars 2023, 12:02
par Polo2292
Bonjour,

Ma configuration :
Serveur domoticz : Version: 2023.1 sur TVBOX Ubuntu 20.04.5 LTS with Linux 5.9.0-arm-64
Build Hash: f9b9ac774
Compile Date: 2023-02-14 15:06:40
dzVents Version: 3.1.8
Python Version: 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
Plugins : Linky, Z4D plugin stable6-6.3.011, Xiaomi GW

Clé USB Zigbee Sonoff-E ; 40 Objets reconnus et optimisés dont 5 Robinets thermostatics Haozee (TS0601-eTRV5) pour lesquels Pipiche avait développé l'interface
Une dizaine de ESPeasy Wifi (capteurs virtuels)
Gateway Xiaomi (sans capteur connecté)
Station Netatmo (T° int, T° ext)


La configuration a fonctionné sans aucune erreur à l'exception du message de la non reconnaissance de mon Dongle Sonoff-E (qui ne gène pas).


La situation aujourd'hui :
suite à une coupure prolongée de liaison internet, l'horloge de mon serveur domoticz s'est décalée de qques dizaines de minutes. L'ayant remise à l'heure avec la commande Time de linux, sans avoir stoppé le service Domoticz, les problèmes avec Z4B ont commencé avec ce type de messages d'erreur qui défile par paquet de manière presque continue :

Code : Tout sélectionner

2023-03-22 16:08:43.075 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-22 16:08:43.081 Error: ZB: Traceback (most recent call last):
2023-03-22 16:08:43.081 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-22 16:08:43.081 Error: ZB: _plugin.onHeartbeat()
2023-03-22 16:08:43.081 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-22 16:08:43.081 Error: ZB: processListOfDevices(self, Devices)
2023-03-22 16:08:43.081 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 832, in processListOfDevices
2023-03-22 16:08:43.081 Error: ZB: processKnownDevices(self, Devices, NWKID)
2023-03-22 16:08:43.081 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 581, in processKnownDevices
2023-03-22 16:08:43.082 Error: ZB: sanity_check_of_param(self, NWKID)
2023-03-22 16:08:43.082 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 313, in sanity_check_of_param
2023-03-22 16:08:43.082 Error: ZB: func(self, NwkId, value)
2023-03-22 16:08:43.082 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 228, in ias_sensitivity
2023-03-22 16:08:43.082 Error: ZB: self.iaszonemgt.ias_sensitivity(self, nwkid, sensitivity)
2023-03-22 16:08:43.082 Error: ZB: TypeError: ias_sensitivity() takes 3 positional arguments but 4 were given
Pensant que le changement d'heure était à l'origine du problème, j'ai fait une sauvegarde générale ( Domoticz et Zigbee en suivant les tutos) puis rechargé complètement Domoticz avec ses plugins. Pas de souci grâce aux tutos, merci. J'ai chargé la version Stable6 en 6.3.11. J'ai également recopié les fichiers Z4D ce qui m'a évité d'avoir à tout réinitialiser au niveau Zigbee.

Après qques minutes, tous mes capteurs Zigbee étaient reconnus et l'ensemble fonctionne maintenant plutôt bien. Seulement mon Log défile à tte vitesse avec des centaines de messages comme au dessus.
Voici le Log domoticz de démarrage :
demar.zip
(3.3 Kio) Téléchargé 68 fois


Alors si une bonne ame pouvait m'aider à supprimer ces erreurs (sans avoir à refaire un appairage de 40 capteurs), je lui serais très reconnaissant.

Un grand merci d'avance.
Bon weekend

Paul

Re: Stable 6 : Error: ZB: Call to function 'onHeartbeat' failed, exception details:

Publié : 25 mars 2023, 09:30
par pipiche
le problème a été reglé mais n'est pas encore release.

En attendant tu peux basculer sur la branch où le fix est en place

Code : Tout sélectionner

git pull
git rc-6.3.0012
après quoi tu peux relancer le plugin

quand la release 6.3.012 sera disponible tu n'auras plus qu'a faire

Code : Tout sélectionner

git checkout stable6

Re: Stable 6 : Error: ZB: Call to function 'onHeartbeat' failed, exception details:

Publié : 25 mars 2023, 17:52
par Polo2292
merci Pipiche,
voilà ce que j'ai fait :

Code : Tout sélectionner

root@X96Mini:/home/root/domoticz/plugins/Domoticz-Zigbee# service domoticz.sh stop
root@X96Mini:/home/root/domoticz/plugins/Domoticz-Zigbee# git checkout rc-6.3.0012
Updating files: 100% (549/549), done.
Switched to branch 'rc-6.3.0012'
Your branch is up to date with 'origin/rc-6.3.0012'.
root@X96Mini:/home/root/domoticz/plugins/Domoticz-Zigbee# git pull
Fetching submodule external/bellows
Fetching submodule external/zigpy
Fetching submodule external/zigpy-deconz
Fetching submodule external/zigpy-zigate
Fetching submodule external/zigpy-znp
Already up to date.
root@X96Mini:/home/root/domoticz/plugins/Domoticz-Zigbee# service domoticz.sh start
root@X96Mini:/home/root/domoticz/plugins/Domoticz-Zigbee#
Malheureusement sauf si je n'ai pas fait cequ'il fallait , le resultat n'est pas très différent :

Code : Tout sélectionner

2023-03-25 17:46:16.207 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:16.207 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:16.207 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:16.207 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:21.124 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:21.130 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:21.130 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:21.130 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:21.130 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:21.130 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:21.130 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:21.130 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:21.130 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:21.131 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:21.131 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:26.186 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:26.195 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:26.195 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:26.195 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:26.195 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:26.195 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:26.195 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:26.195 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:26.195 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:26.195 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:26.195 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:26.196 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:26.196 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:26.196 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:26.196 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:26.196 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:26.196 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:31.101 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:31.107 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:31.107 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:31.107 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:31.107 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:31.108 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:31.108 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:31.108 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:31.108 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:31.108 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:31.108 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:31.108 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:31.108 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:31.108 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:31.108 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:31.108 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:31.108 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:36.120 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:36.126 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:36.126 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:36.126 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:36.126 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:36.126 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:36.126 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:36.126 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:36.126 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:36.126 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:36.126 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:41.165 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:41.171 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:41.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:41.171 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:41.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:41.171 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:41.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:41.171 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:41.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:41.171 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:41.172 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:41.172 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:41.172 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:41.172 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:41.172 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:41.172 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:41.172 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:46.457 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:46.460 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:46.461 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:46.461 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:46.461 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:46.461 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:46.461 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:46.461 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:46.461 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:46.461 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:46.461 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:51.143 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:51.149 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:51.149 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:51.149 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:51.149 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:51.149 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:51.149 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:51.149 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:51.149 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:51.149 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:51.149 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:46:56.160 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:46:56.170 Error: ZB: Traceback (most recent call last):
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:46:56.170 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:46:56.170 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:46:56.170 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 116, in processNotinDBDevices
2023-03-25 17:46:56.170 Error: ZB: interview_state_createDB(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 339, in interview_state_createDB
2023-03-25 17:46:56.170 Error: ZB: full_provision_device(self, Devices, NWKID, RIA, status)
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/pairingProcess.py", line 361, in full_provision_device
2023-03-25 17:46:56.170 Error: ZB: CreateDomoDevice(self, Devices, NWKID)
2023-03-25 17:46:56.170 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 968, in CreateDomoDevice
2023-03-25 17:46:56.170 Error: ZB: if Subtype_ is None:
2023-03-25 17:46:56.170 Error: ZB: UnboundLocalError: local variable 'Subtype_' referenced before assignment
2023-03-25 17:47:00.372 Status: dzVents: Info: ------ Start internal script: Lametric:, trigger: "every minute"
2023-03-25 17:47:00.398 Status: dzVents: curl -X POST -u "dev:c089841ace5c8e037a8e320f1cc65b6df6e6294944fa5985455a919a9965c4d3" -H "Content-Type: application/json" -d " { \"model\": {\"cycles\": 3, \"frames\": [ { \"icon\":\"a2867\", \"text\":\" CBV T° Ext:16.0°C , T° Sal: 18.7°C ; Dif : -0.3\"} ] } }" http://192.168.1.244:8080/api/v2/device/notifications
2023-03-25 17:47:01.728 Xiaomi GW 6ixam056cz0uvbtw: Color Switch (Xiaomi RGB)
2023-03-25 17:47:01.566 Status: setcolbrightnessvalue: ID: 75, bri: 0, color: '{m: 3, RGB: ffffff, CWWW: 0000, CT: 0}'
2023-03-25 17:47:01.167 Error: ZB: Call to function 'onHeartbeat' failed, exception details:
2023-03-25 17:47:01.171 Error: ZB: Traceback (most recent call last):
2023-03-25 17:47:01.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1572, in onHeartbeat
2023-03-25 17:47:01.171 Error: ZB: _plugin.onHeartbeat()
2023-03-25 17:47:01.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-03-25 17:47:01.171 Error: ZB: processListOfDevices(self, Devices)
2023-03-25 17:47:01.171 Error: ZB: File "/home/root/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 891, in processListOfDevices
2023-03-25 17:47:01.171 Error: ZB: processNotinDBDevices(self, Devices, NWKID, status, RIA)
Ce ne sont plus les mêmes lignes de code

Dois-je arrêter certains capteurs?
bon weekend

Re: Stable 6 : Error: ZB: Call to function 'onHeartbeat' failed, exception details:

Publié : 26 mars 2023, 10:33
par pipiche
c'est un autre problème.
refait un

Code : Tout sélectionner

git pull 
et relances le plugin ca devrait etre mieux

[Résolu] Re: Stable 6 : Error: ZB: Call to function 'onHeartbeat' failed, exception details:

Publié : 27 mars 2023, 11:48
par Polo2292
En effet c'est beaucoup mieux ........................

Merci , Merci !

C'est vraiment bien le Zigbee ! (avec des personnes comme vous :-) )