[Résolu] Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par pipiche »

je parle du compteur energie. Il faut que le device soit complétement supprimé
- rien dans domoticz
- rien dans le plugin

le concernant
vinchz31
Messages : 312
Inscription : 21 nov. 2016, 07:51

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par vinchz31 »

C'est ce que j'ai fait dans les tests précédents, il n'y avait plus rien n'y d'un côté ni de l'autre...
Mais effectivement alors qu'il n'y avait rien j'ai vu dans les logs zigbee que le plugin disait qu'il détectait un module et qu'il remplaçait "l'ancien device".
J'ai refais le test plusieurs fois avec le même résultat.
Est ce qu'il y a un moyen de purger manuellement "directement dans les fichiers de conf zigbee" ?
vinchz31
Messages : 312
Inscription : 21 nov. 2016, 07:51

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par vinchz31 »

Je viens de tout refaire au cas où...

J'ai laissé tourner pour que tu vois également la suppression dans les logs joints :

On voit la suppression dans les logs à 20:20:30 :
[ MainThread 25485] onDeviceRemoved - removing Device Passerelle_Zigbee - TS0601-Clamp-Meter_Meter-70ac08fffed03d1a-01 -> 70ac08fffed03d1a from coordinator

On voit l'ajout à 20:22:00 (le nouvel Id est 6635) :
2023-03-26 20:22:00.157 Status: Passerelle_Zigbee: [0] NEW OBJECT: 6635 Model Name: TS0601-Clamp-Meter
2023-03-26 20:22:00.158 Status: Passerelle_Zigbee: [0] NEW OBJECT: 6635 Manufacturer Name: _TZE204_cjbofhxw
2023-03-26 20:22:00.202 Status: Passerelle_Zigbee: [None] NEW OBJECT: 6635 Request Node Descriptor


Les devices sont bien ajoutées dans domoticz (toujours sans remontée)...
Si on n'arrête pas Domoticz, on voit bien le nom donné dans l'interface Zigbee. On peut circuler dans les menus / onglets, recharger la page WEB, le nom reste bien présent (CompteurEnergieCouloir) :
AvantStopStart.jpg
AvantStopStart.jpg (44.06 Kio) Consulté 725 fois

Par contre si on redémarre domoticz (stop/start), le nom disparait systématiquement
ApresStopStart.jpg
ApresStopStart.jpg (43.63 Kio) Consulté 725 fois
Pièces jointes
PluginZigbee_14 - Demarrage + suppression + appairage - version Develop.zip
(14.8 Kio) Téléchargé 56 fois
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par pipiche »

je viens d'en commander un ...
vinchz31
Messages : 312
Inscription : 21 nov. 2016, 07:51

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par vinchz31 »

Ca marche, merci Pipiche ! :-)
Très bonne soirée !
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par pipiche »

peux-tu récupérer la dernière version du plugin branch develop

depuis le home du plugin

Code : Tout sélectionner

git checkout develop
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
Tu relances le plugin
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
vinchz31
Messages : 312
Inscription : 21 nov. 2016, 07:51

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par vinchz31 »

Bonjour pipiche,

Ca fonctionne presque ! :-)
Ce qui marche : ajout du dispositif dans l'interface Zigbee et Domoticz + remontée des informations

Ce qui ne fonctionne pas :
- Toujours la perte du nom du dispositif dans l'interface Zigbee quand on fait un stop/start de domoticz ???
- Toujours les même messages d'erreur en provenance de mes modules volets (CF un peu plus haut dans le post)
Veux-tu que j'ouvre un autre post dédié à ce problème ?
- Messages d'erreur au démarrage du module dans Domoticz :

Code : Tout sélectionner

2023-04-02 16:35:35.337 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/ to /home/pi/domoticz/plugins/Domoticz-Zigbee is required, but no backward compatibility
2023-04-02 16:35:35.337 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/ to /home/pi/domoticz/plugins/Domoticz-Zigbee is required, but no backward compatibility
2023-04-02 16:35:35.337 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/ to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data is required, but no backward compatibility
2023-04-02 16:35:35.337 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/ to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf is required, but no backward compatibility
2023-04-02 16:35:35.337 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/ to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware is required, but no backward compatibility
2023-04-02 16:35:35.338 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports/ to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports is required, but no backward compatibility
2023-04-02 16:35:35.338 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/www/ to /home/pi/domoticz/plugins/Domoticz-Zigbee/www is required, but no backward compatibility
2023-04-02 16:35:35.338 Error: Passerelle_Zigbee: Updating path from /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs/ to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs is required, but no backward compatibility
Merci pour ton aide ! :-)
Très bonne journée !
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par pipiche »

Pour le compteur pour moi il est fonctionnel donc le sujet est clos

tu peux ouvrir des posts sur les autres problèmes
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
vinchz31
Messages : 312
Inscription : 21 nov. 2016, 07:51

Re: Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par vinchz31 »

Oui pour le compteur tout est nickel, il reste juste le problème du nom qui disparait si tu arrives à trouver...
Je ferme le post et j'en ouvre deux autre pour les autres sujets.
Un grand merci !
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: [Résolu] Ajout matériel - Compteur énergie "Zigbee Smart Meter with CT"

Message par pipiche »

pour le nom il faut bien faire valider 2 fois. Une fois sur la boite de dialogue, et une 2eme fois en haut à droite de la page.
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
Répondre