Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@pir pb remontée IEEE - IEEE collect #533

Closed
KiwiHC16 opened this issue Jan 6, 2019 · 15 comments

Comments

@KiwiHC16
Copy link
Owner

commented Jan 6, 2019

@pir
Bonjour,
Une nuit plus tard j'ai toujours aucun IEEE (ni pour la ruche ni pour les equipements). Et toujours le même message d'erreur dans les logs chaque minute :
https://www.jeedom.com/forum/viewtopic.php?f=184&t=33573&p=682449#p682449

@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 6, 2019

je suis sur la version stable du 17/12 d'abeille avec firmware zigate 3.0f

@KiwiHC16 KiwiHC16 added the help wanted label Jan 9, 2019

@KiwiHC16 KiwiHC16 changed the title IEEE collect @pir pb remontée IEEE - IEEE collect Jan 9, 2019

@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 9, 2019

@PiR43

This comment has been minimized.

Copy link

commented Jan 10, 2019

Quand je clic sur "liste equipement" j'ai le log suivant :

AbeilleParser 2019-01-10 13:35:21[DEBUG];type; 8000; (Status)(Not Processed); Length: 5; Status: 00-(Success); SQN: 00
AbeilleParser 2019-01-10 13:35:21[DEBUG];type; 8000; SQN: 0 for messages which are not transmitted over the air.
AbeilleParser 2019-01-10 13:35:22[DEBUG];type; 8015; (Abeille List)(Processed->MQTT) Payload: 00aa5600158d000204adb200c8011c1900158d0002b546b9005302474600158d000205a29300530403d000158d00027379e400d505922f00158d0002b54d63003c061ec400158d0002b54660006e077f8700158d0002379af000d428c1ac90fd9ffffedf0637013129b6d1000D6ffffeac2571011e2a551f90fd9ffffe81b0c6012700
AbeilleParser 2019-01-10 13:35:22[DEBUG]Nombre d'abeilles: 10
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 0; ID : 00; Short Addr : aa56; IEEE Addr: 00158d000204adb2; Power Source (0:battery - 1:AC): 00; Link Quality: 200
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 1; ID : 01; Short Addr : 1c19; IEEE Addr: 00158d0002b546b9; Power Source (0:battery - 1:AC): 00; Link Quality: 83
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 2; ID : 02; Short Addr : 4746; IEEE Addr: 00158d000205a293; Power Source (0:battery - 1:AC): 00; Link Quality: 83
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 3; ID : 04; Short Addr : 03d0; IEEE Addr: 00158d00027379e4; Power Source (0:battery - 1:AC): 00; Link Quality: 213
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 4; ID : 05; Short Addr : 922f; IEEE Addr: 00158d0002b54d63; Power Source (0:battery - 1:AC): 00; Link Quality: 60
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 5; ID : 06; Short Addr : 1ec4; IEEE Addr: 00158d0002b54660; Power Source (0:battery - 1:AC): 00; Link Quality: 110
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 6; ID : 07; Short Addr : 7f87; IEEE Addr: 00158d0002379af0; Power Source (0:battery - 1:AC): 00; Link Quality: 212
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 7; ID : 28; Short Addr : c1ac; IEEE Addr: 90fd9ffffedf0637; Power Source (0:battery - 1:AC): 01; Link Quality: 49
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 8; ID : 29; Short Addr : b6d1; IEEE Addr: 000D6ffffeac2571; Power Source (0:battery - 1:AC): 01; Link Quality: 30
AbeilleParser 2019-01-10 13:35:22[DEBUG]type: 8015 (Abeille List) Abeille i: 9; ID : 2a; Short Addr : 551f; IEEE Addr: 90fd9ffffe81b0c6; Power Source (0:battery - 1:AC): 01; Link Quality: 39
AbeilleParser 2019-01-10 13:35:28[DEBUG];Type; 8102; (Attribut Report)(Processed->MQTT); SQN: 37; Src Addr : 1ec4; End Point : 01; Cluster ID : 0402; Attr ID : 0000; Attr Status : 00; Attr Data Type : 29; Attr Size : 0002; Data byte list : 06bb

Mais je n'ai aucun IEEE de renseigné ni pour la ruche ni pour les equipements

@PiR43

This comment has been minimized.

Copy link

commented Jan 10, 2019

je rajoute un petit extract des IEEE en base de donnée au cas ou ça puisse aider (ils ont tous le même uniqId normal ?):

MariaDB [jeedom]> select * from cmd where logicalId = "IEEE-Addr" ;
+------+------------+---------+-----------+--------------+-------+-----------+---------------------------------------------------------------------------------------------------------------------------------+----------------------------------------+--------------+------+---------+-------+----------------------+-----------+-------+------+-------+
| id   | eqLogic_id | eqType  | logicalId | generic_type | order | name      | configuration                                                                                                                   | template                               | isHistorized | type | subType | unite | display              | isVisible | value | html | alert |
+------+------------+---------+-----------+--------------+-------+-----------+---------------------------------------------------------------------------------------------------------------------------------+----------------------------------------+--------------+------+---------+-------+----------------------+-----------+-------+------+-------+
| 1058 |         74 | Abeille | IEEE-Addr | NULL         |    36 | IEEE Addr | {"topic":"IEEE-Addr","minValue":"","maxValue":""}                                                                               | {"dashboard":"","mobile":""}           | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1397 |        108 | Abeille | IEEE-Addr | NULL         |    13 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1419 |        109 | Abeille | IEEE-Addr | NULL         |    12 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1436 |        110 | Abeille | IEEE-Addr | NULL         |    20 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1467 |        111 | Abeille | IEEE-Addr | NULL         |    17 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0}                             | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1487 |        112 | Abeille | IEEE-Addr | NULL         |    12 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1553 |        118 | Abeille | IEEE-Addr | NULL         |     9 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1567 |        119 | Abeille | IEEE-Addr | NULL         |     9 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1581 |        120 | Abeille | IEEE-Addr | NULL         |    12 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1598 |        121 | Abeille | IEEE-Addr | NULL         |    12 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1615 |        122 | Abeille | IEEE-Addr | NULL         |    12 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1632 |        123 | Abeille | IEEE-Addr | NULL         |    16 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1659 |        124 | Abeille | IEEE-Addr | NULL         |    11 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         1 | NULL  | NULL | NULL  |
| 1675 |        125 | Abeille | IEEE-Addr | NULL         |    17 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0}                             | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         0 | NULL  | NULL | NULL  |
| 1688 |        126 | Abeille | IEEE-Addr | NULL         |    15 | IEEE-Addr | {"topic":"IEEE-Addr","uniqId":"5c07c76621c24","visibilityCategory":"Network","visibiltyTemplate":0,"minValue":"","maxValue":""} | {"dashboard":"badge","mobile":"badge"} | 0            | info | string  |       | {"invertBinary":"0"} |         0 | NULL  | NULL | NULL  |
+------+------------+---------+-----------+--------------+-------+-----------+---------------------------------------------------------------------------------------------------------------------------------+----------------------------------------+--------------+------+---------+-------+----------------------+-----------+-------+------+-------+
15 rows in set (0.00 sec)

@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 10, 2019

uniqId est une reference du modele utilisé par la creation de l objet dans Abeille donc ne doit pas etre en lien avec le sujet.

Je te propose de tester la remontée de IEEE sur la ruche pour commencé.
Si tu fais en ligne de commande:
mosquitto_pub -t "Abeille/Ruche/IEEE-Addr" -m "0000000000000000"

Est ce que l'IEEE de la ruche se met a jour ?
Qu'est qu'il y a dans le log Abeille ?

@PiR43

This comment has been minimized.

Copy link

commented Jan 10, 2019

Non il ne se met pas à jour, le log Abeille:

[2019-01-10 14:36:53][DEBUG] : Topic: ->Abeille/Ruche/IEEE-Addr<- Value ->0000000000000000<-
[2019-01-10 14:36:53][DEBUG] : IEEE-Addr; =>ffffffffffffffff<= ; IEEE non valable pour un equipement, valeur rejetée: Ruche:  =>ffffffffffffffff<=
@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 10, 2019

Je me demande si je n'avais pas un bug que j'ai corrigé depuis.

Je viens de le retrouver: en ligne 1935 de https://github.com/KiwiHC16/Abeille/blob/master/core/class/Abeille.class.php

Cleui que tu dois avoir
if ($value="ffffffffffffffff") {

Le nouveau
if ($value == "ffffffffffffffff") {

En fait il manque un =

Correction faite le 18/12/2018 alors que tu as un version du 17/12/2018 ;-(

@fab263

This comment has been minimized.

Copy link

commented Jan 10, 2019

Hello j'ai également le meme soucis.

J'ai fait une réinstall du plugin (18/12) mais j'ai toujours dans le code if ($value="ffffffffffffffff") {

@PiR43

This comment has been minimized.

Copy link

commented Jan 10, 2019

J'ai rajouté le =, redémarrer le daemon et relancer un recalcul du cache reseau: j'ai bien un IEEE pour la ruche mais tjs pas pour les autres equipements J'ai ensuite faite un "liste equipement" et maintenant ils ont bien un IEEE . Et maintenat les bind et setReport marchent bien. Mon problème est donc résolu.
Je pense qu'il pourrait etre utile pour d'autes personnes de passer la correction du == sur la version stable du plugin dans jeedom.

@fab263

This comment has been minimized.

Copy link

commented Jan 10, 2019

j'ai patché le fichier ça marche tous mes IEEE remontent bien :)

Reste à savoir pourquoi une réinstall n'écrase pas le fichier...

@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 11, 2019

Comment fais tu le "re-install" ?
Quel fichier n'est pas écrasé ?

@fab263

This comment has been minimized.

Copy link

commented Jan 11, 2019

Dans le centre de mises à jour, j'ai fait réinstaller sur le plugin Abeille.
Le fichier Abeille.class.php n'est pas écrasé suite à cette mise à jour (si cette dernière inclue bien le correctif).

@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 11, 2019

La version du market est du 18/12 au matin alors que la correction est du 18 dans la journée donc le market n a pas la correction.
Je ne sais pas comment fonctionne le market.
Actuellement je suppose (pas testé) que si tu fais la creection manuellement puis re-install, tu va perdre la correction. Es ce ton experience ?

@fab263

This comment has been minimized.

Copy link

commented Jan 11, 2019

OK la correction n'est pas embarquée dans la version du market alors.

Je n'ai pas fait le test mais je suppose....j'ai une version qui marche je n'y touche plus. Merci en tout cas

@KiwiHC16

This comment has been minimized.

Copy link
Owner Author

commented Jan 11, 2019

Ok. Je clos donc le sujet.

@KiwiHC16 KiwiHC16 closed this Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.