KiwiHC16 / Abeille

Abeille pour Jeedom (Gateway ZiGate)
GNU Affero General Public License v3.0
60 stars 52 forks source link

[KiwiHC16] Integration prise Aqara Smart Plug EU : param 00F5. Quel est ce param ? #2670

Closed KiwiHC16 closed 11 months ago

KiwiHC16 commented 12 months ago

Off depuis Abeille, la prise repond:

Capture d’écran 2023-12-05 à 14 45 20

Param 00F5 ?

KiwiHC16 commented 12 months ago

On depuis Abeille, la prise repond:

Capture d’écran 2023-12-05 à 14 47 12

KiwiHC16 commented 12 months ago

Apres un reset usine, relai Off:

Capture d’écran 2023-12-05 à 14 57 16

Capture d’écran 2023-12-05 à 14 57 37

Capture d’écran 2023-12-05 à 14 58 10

Capture d’écran 2023-12-05 à 14 58 35

Capture d’écran 2023-12-05 à 15 03 28

tcharp38 commented 12 months ago

As tu vérifié que ton FW etait à jour ? Je vois qu'il y en a un la pour ton plug https://github.com/Koenkk/zigbee-OTA/tree/407c5c663f15b12fef18fcbd798a5b049c797149/images/Xiaomi

OTA_lumi.plug.maeu01_V32_20200922_C11F8A.20200924102946.ota

KiwiHC16 commented 12 months ago

Depuis Abeille, On:

PAram F5, voir note ci-dessus.

tcharp38 commented 12 months ago

Tu veux dire qu'il n'y a pas de retour standard 0006-xx-0000 ? Si oui je viens d'ajouter le bind + configureReporting dans le master

Pour le F5 pour moi c'est à creuser que si il manque une info via les attributs standards

KiwiHC16 commented 12 months ago

OTA 20200922

La prise repond pour Date Code: 01.13.2023.

tcharp38 commented 12 months ago

Ouah.. tu viens de l'acheter alors ?

=> Oui

KiwiHC16 commented 12 months ago

Tu veux dire qu'il n'y a pas de retour standard 0006-xx-0000 ?

Si si il est dans la premiere capture.

Pour l instant j ai pour sure On/Off et puissance.

Apres je ne sais pas.

KiwiHC16 commented 12 months ago

Capture d’écran 2023-12-05 à 15 27 12

KiwiHC16 commented 12 months ago

Capture d’écran 2023-12-05 à 15 28 00

KiwiHC16 commented 12 months ago

01-0000: Ok 01-0002: ? Y a t il un capteur de temperature dans la prise !? 01-0003: Ok 01-0004: Je suppose Ok 01-0005: Je suppose Ok 01-0006: Ok 01-FCC0: qui faudrait decoder ( Dapres mes souvenir il y avait un FF01 chez xiaomi qu on decode, est ce similaire ?)

15-000c: Puissance

1F-000c: ?

F2-0021: Green Power

KiwiHC16 commented 12 months ago
[2023-12-05 15:34:33] Abeille1, Type=8002/Data indication, Status=00, ProfId=0104, ClustId=FCC0, SrcEP=01, DstEP=01, SrcAddrMode=02, SrcAddr=1785, DstAddrMode=02, DstAddr=0000
[2023-12-05 15:34:33]   FCF=1C/General/Serv->Cli/ManufCode=115F, SQN=9D, cmd=0A/Report attributes
[2023-12-05 15:34:33]   AttrId=00F7/Unknown-FCC0-00F7, AttrType=41, ValueHex=64100103281B983991ED8E419539AA87A93C963900800E45973924B89C42052105009A201008212B01092100010B20009B10010A2100000C2001 => 64100103281B983991ED8E419539AA87A93C963900800E45973924B89C42052105009A201008212B01092100010B20009B10010A2100000C2001
KiwiHC16 commented 12 months ago

Capture d’écran 2023-12-05 à 15 38 00

Temperature 27 ! Il ne fait pas 27 dans la piece !!! Si c est la temperature interne, le relai chauffe ;-)

tcharp38 commented 12 months ago

Je viens d'ajouter le decode de lattribut si manufCode= Xiaomi si attribute type == 41 ou 42 C'est dans le master

Et oui il y a quasi toujours un capteur de temps dans les devices mais sans interet.. C'est la temp interne

KiwiHC16 commented 12 months ago

Param F5:

Capture d’écran 2023-12-05 à 15 41 08

31 en 2088s => 34min => 53 en 3600s

pour une charge de 15W, ne semble pas etre la conso en Wh. Ou je me trompe.

Par contre s incremente de 1 sur chaque On et Off : Compteur de changement d etat du relai ? Cette info est toujours dans le message de retour d etat. Ceci confirmerait cela.

KiwiHC16 commented 12 months ago

si attribute type == 41 ou 42. C'est dans le master

Ok je viens de prendre a voir.

Premiere trace:

[2023-12-05 15:50:45] Abeille1, Type=8002/Data indication, Status=00, ProfId=0104, ClustId=FCC0, SrcEP=01, DstEP=01, SrcAddrMode=02, SrcAddr=1785, DstAddrMode=02, DstAddr=0000
[2023-12-05 15:50:45]   FCF=18/General/Serv->Cli, SQN=CF, cmd=0A/Report attributes
[2023-12-05 15:50:45]   AttrId=00E5/Unknown-FCC0-00E5, AttrType=41, ValueHex=01000100000491 => 01000100000491
tcharp38 commented 12 months ago

Ha oui mais la pas de manufCode=115F donc pas considéré Xiaomi. Je peux ajouter la condition cluster==FCC0 mais bof, moins propre, meme si on sait aujourd hui que ca veut probablement dire Xiaomi

KiwiHC16 commented 12 months ago
[2023-12-05 15:56:10] Abeille1, Type=8002/Data indication, Status=00, ProfId=0104, ClustId=FCC0, SrcEP=01, DstEP=01, SrcAddrMode=02, SrcAddr=1785, DstAddrMode=02, DstAddr=0000
[2023-12-05 15:56:10]   FCF=1C/General/Serv->Cli/ManufCode=115F, SQN=D6, cmd=0A/Report attributes
[2023-12-05 15:56:10]     No defined Xiaomi mapping
[2023-12-05 15:56:10]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 15:56:10]     Tag=03, Type=28/int8 => 25 (ignored)
[2023-12-05 15:56:10]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 15:56:10]     Tag=95, Type=39/single => 0.022310150787234 (ignored)
[2023-12-05 15:56:10]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 15:56:10]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 15:56:10]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 15:56:10]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 15:56:10]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 15:56:10]     Tag=09, Type=21/uint16 => 256 (ignored)
[2023-12-05 15:56:10]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 15:56:10]     Tag=9B, Type=10/bool => 0 (ignored)
[2023-12-05 15:56:10]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 15:56:10]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 15:56:10]   AttrId=00F7/Unknown-FCC0-00F7, AttrType=41, ValueHex=6410000328199839000000009539C7C3B63C963900800E45973900000000052105009A201008212B01092100010B20009B10000A2100000C2001 => 6410000328199839000000009539C7C3B63C963900800E45973900000000052105009A201008212B01092100010B20009B10000A2100000C2001

No defined Xiaomi mapping

KiwiHC16 commented 12 months ago

Capture d’écran 2023-12-05 à 15 58 51

Le premier: etat. Le second: temperature interne ? 3: Puissance 4: Consommation 5: 6: 7: 8:

tcharp38 commented 12 months ago

Le "no defined xiaomi mapping" est normal. Pas supporté dans le modele. Je vire le message.

tcharp38 commented 12 months ago

Tu peux refaire un pull. Tu dois avoir le detail FCC0 du coup pour du debug

KiwiHC16 commented 12 months ago

Historique des valeur dans le log:

www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=64, Type=10/bool" ../../log/AbeilleParser.log 
[2023-12-03 11:54:18]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-03 12:00:50]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-03 12:08:55]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-03 12:15:52]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-03 12:21:21]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-05 13:30:43]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-05 13:36:22]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-05 13:42:43]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-05 13:57:05]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 14:03:59]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 14:11:00]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 14:17:17]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 14:24:59]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 14:31:50]     Tag=64, Type=10/bool => 0 (ignored)
[2023-12-05 15:48:09]     Tag=64, Type=10/bool => 1 (ignored)
[2023-12-05 15:56:10]     Tag=64, Type=10/bool => 0 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=03, Type=28/int8" ../../log/AbeilleParser.log 
[2023-12-03 11:54:18]     Tag=03, Type=28/int8 => 22 (ignored)
[2023-12-03 12:00:50]     Tag=03, Type=28/int8 => 22 (ignored)
[2023-12-03 12:08:55]     Tag=03, Type=28/int8 => 22 (ignored)
[2023-12-03 12:15:52]     Tag=03, Type=28/int8 => 22 (ignored)
[2023-12-03 12:21:21]     Tag=03, Type=28/int8 => 22 (ignored)
[2023-12-05 13:30:43]     Tag=03, Type=28/int8 => 20 (ignored)
[2023-12-05 13:36:22]     Tag=03, Type=28/int8 => 22 (ignored)
[2023-12-05 13:42:43]     Tag=03, Type=28/int8 => 23 (ignored)
[2023-12-05 13:57:05]     Tag=03, Type=28/int8 => 24 (ignored)
[2023-12-05 14:03:59]     Tag=03, Type=28/int8 => 23 (ignored)
[2023-12-05 14:11:00]     Tag=03, Type=28/int8 => 23 (ignored)
[2023-12-05 14:17:17]     Tag=03, Type=28/int8 => 23 (ignored)
[2023-12-05 14:24:59]     Tag=03, Type=28/int8 => 23 (ignored)
[2023-12-05 14:31:50]     Tag=03, Type=28/int8 => 23 (ignored)
[2023-12-05 15:48:09]     Tag=03, Type=28/int8 => 26 (ignored)
[2023-12-05 15:56:10]     Tag=03, Type=28/int8 => 25 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=98, Type=39/single" ../../log/AbeilleParser.log 
[2023-12-03 11:54:18]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-03 12:00:50]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-03 12:08:55]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-03 12:15:52]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-03 12:21:21]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 13:30:43]     Tag=98, Type=39/single => 15.763999938965 (ignored)
[2023-12-05 13:36:22]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 13:42:43]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 13:57:05]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 14:03:59]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 14:11:00]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 14:17:17]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 14:24:59]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 14:31:50]     Tag=98, Type=39/single => 0 (ignored)
[2023-12-05 15:48:09]     Tag=98, Type=39/single => 17.865999221802 (ignored)
[2023-12-05 15:56:10]     Tag=98, Type=39/single => 0 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=95, Type=39/single" ../../log/AbeilleParser.log 
[2023-12-03 11:54:18]     Tag=95, Type=39/single => 0.0046878601424396 (ignored)
[2023-12-03 12:00:50]     Tag=95, Type=39/single => 0.0053521818481386 (ignored)
[2023-12-03 12:08:55]     Tag=95, Type=39/single => 0.0053521818481386 (ignored)
[2023-12-03 12:15:52]     Tag=95, Type=39/single => 0.0054426048882306 (ignored)
[2023-12-03 12:21:21]     Tag=95, Type=39/single => 0.0055235275067389 (ignored)
[2023-12-05 13:30:43]     Tag=95, Type=39/single => 0.0055541810579598 (ignored)
[2023-12-05 13:36:22]     Tag=95, Type=39/single => 0.0068734558299184 (ignored)
[2023-12-05 13:42:43]     Tag=95, Type=39/single => 0.0068734558299184 (ignored)
[2023-12-05 13:57:05]     Tag=95, Type=39/single => 0.008595934137702 (ignored)
[2023-12-05 14:03:59]     Tag=95, Type=39/single => 0.008595934137702 (ignored)
[2023-12-05 14:11:00]     Tag=95, Type=39/single => 0.008595934137702 (ignored)
[2023-12-05 14:17:17]     Tag=95, Type=39/single => 0.008595934137702 (ignored)
[2023-12-05 14:24:59]     Tag=95, Type=39/single => 0.008595934137702 (ignored)
[2023-12-05 14:31:50]     Tag=95, Type=39/single => 0.008595934137702 (ignored)
[2023-12-05 15:48:09]     Tag=95, Type=39/single => 0.022248346358538 (ignored)
[2023-12-05 15:56:10]     Tag=95, Type=39/single => 0.022310150787234 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=96, Type=39/single" ../../log/AbeilleParser.log 
[2023-12-03 11:54:18]     Tag=96, Type=39/single => 2160 (ignored)
[2023-12-03 12:00:50]     Tag=96, Type=39/single => 2160 (ignored)
[2023-12-03 12:08:55]     Tag=96, Type=39/single => 2090 (ignored)
[2023-12-03 12:15:52]     Tag=96, Type=39/single => 2160 (ignored)
[2023-12-03 12:21:21]     Tag=96, Type=39/single => 2160 (ignored)
[2023-12-05 13:30:43]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 13:36:22]     Tag=96, Type=39/single => 2240 (ignored)
[2023-12-05 13:42:43]     Tag=96, Type=39/single => 2310 (ignored)
[2023-12-05 13:57:05]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 14:03:59]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 14:11:00]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 14:17:17]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 14:24:59]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 14:31:50]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 15:48:09]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 15:56:10]     Tag=96, Type=39/single => 2280 (ignored)
[2023-12-05 16:04:18]     Tag=96, Type=39/single => 2280 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=97, Type=39/single" ../../log/AbeilleParser.log 
[2023-12-03 11:54:18]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-03 12:00:50]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-03 12:08:55]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-03 12:15:52]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-03 12:21:21]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 13:30:43]     Tag=97, Type=39/single => 69.140350341797 (ignored)
[2023-12-05 13:36:22]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 13:42:43]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 13:57:05]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 14:03:59]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 14:11:00]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 14:17:17]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 14:24:59]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 14:31:50]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 15:48:09]     Tag=97, Type=39/single => 78.359649658203 (ignored)
[2023-12-05 15:56:10]     Tag=97, Type=39/single => 0 (ignored)
[2023-12-05 16:04:18]     Tag=97, Type=39/single => 0 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=05, Type=21/uint16" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=05, Type=21/uint16 => 1 (ignored)
[2023-12-03 12:00:50]     Tag=05, Type=21/uint16 => 1 (ignored)
[2023-12-03 12:08:55]     Tag=05, Type=21/uint16 => 1 (ignored)
[2023-12-03 12:15:52]     Tag=05, Type=21/uint16 => 1 (ignored)
[2023-12-03 12:21:21]     Tag=05, Type=21/uint16 => 1 (ignored)
[2023-12-05 13:30:43]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 13:36:22]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 13:42:43]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 13:57:05]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 14:03:59]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 14:11:00]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 14:17:17]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 14:24:59]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 14:31:50]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 15:48:09]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 15:56:10]     Tag=05, Type=21/uint16 => 5 (ignored)
[2023-12-05 16:04:18]     Tag=05, Type=21/uint16 => 5 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=9A, Type=20/uint8" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-03 12:00:50]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-03 12:08:55]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-03 12:15:52]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-03 12:21:21]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 13:30:43]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 13:36:22]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 13:42:43]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 13:57:05]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 14:03:59]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 14:11:00]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 14:17:17]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 14:24:59]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 14:31:50]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 15:48:09]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 15:56:10]     Tag=9A, Type=20/uint8 => 16 (ignored)
[2023-12-05 16:04:18]     Tag=9A, Type=20/uint8 => 16 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=08, Type=21/uint16" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-03 12:00:50]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-03 12:08:55]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-03 12:15:52]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-03 12:21:21]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 13:30:43]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 13:36:22]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 13:42:43]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 13:57:05]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 14:03:59]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 14:11:00]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 14:17:17]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 14:24:59]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 14:31:50]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 15:48:09]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 15:56:10]     Tag=08, Type=21/uint16 => 299 (ignored)
[2023-12-05 16:04:18]     Tag=08, Type=21/uint16 => 299 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=09, Type=21/uint16" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-03 12:00:50]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-03 12:08:55]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-03 12:15:52]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-03 12:21:21]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 13:30:43]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 13:36:22]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 13:42:43]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 13:57:05]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 14:03:59]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 14:11:00]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 14:17:17]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 14:24:59]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 14:31:50]     Tag=09, Type=21/uint16 => 512 (ignored)
[2023-12-05 15:48:09]     Tag=09, Type=21/uint16 => 256 (ignored)
[2023-12-05 15:56:10]     Tag=09, Type=21/uint16 => 256 (ignored)
[2023-12-05 16:04:18]     Tag=09, Type=21/uint16 => 256 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=0B, Type=20/uint8" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-03 12:00:50]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-03 12:08:55]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-03 12:15:52]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-03 12:21:21]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 13:30:43]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 13:36:22]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 13:42:43]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 13:57:05]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 14:03:59]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 14:11:00]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 14:17:17]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 14:24:59]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 14:31:50]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 15:48:09]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 15:56:10]     Tag=0B, Type=20/uint8 => 0 (ignored)
[2023-12-05 16:04:18]     Tag=0B, Type=20/uint8 => 0 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=9B, Type=10/bool" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-03 12:00:50]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-03 12:08:55]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-03 12:15:52]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-03 12:21:21]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 13:30:43]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 13:36:22]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 13:42:43]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 13:57:05]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 14:03:59]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 14:11:00]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 14:17:17]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 14:24:59]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 14:31:50]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 15:48:09]     Tag=9B, Type=10/bool => 1 (ignored)
[2023-12-05 15:56:10]     Tag=9B, Type=10/bool => 0 (ignored)
[2023-12-05 16:04:18]     Tag=9B, Type=10/bool => 0 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=0A, Type=21/uint16" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-03 12:00:50]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-03 12:08:55]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-03 12:15:52]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-03 12:21:21]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 13:30:43]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 13:36:22]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 13:42:43]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 13:57:05]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 14:03:59]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 14:11:00]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 14:17:17]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 14:24:59]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 14:31:50]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 15:48:09]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 15:56:10]     Tag=0A, Type=21/uint16 => 0 (ignored)
[2023-12-05 16:04:18]     Tag=0A, Type=21/uint16 => 0 (ignored)
www-data@JeedomDev:~/html/plugins/Abeille$ grep "Tag=0C, Type=20/uint8" ../../log/AbeilleParser.log
[2023-12-03 11:54:18]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-03 12:00:50]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-03 12:08:55]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-03 12:15:52]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-03 12:21:21]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 13:30:43]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 13:36:22]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 13:42:43]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 13:57:05]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 14:03:59]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 14:11:00]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 14:17:17]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 14:24:59]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 14:31:50]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 15:48:09]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 15:56:10]     Tag=0C, Type=20/uint8 => 1 (ignored)
[2023-12-05 16:04:18]     Tag=0C, Type=20/uint8 => 1 (ignored)
KiwiHC16 commented 12 months ago

Je peux ajouter la condition cluster==FCC0 mais bof, moins propre, meme si on sait aujourd hui que ca veut probablement dire Xiaomi

Capture d’écran 2023-12-05 à 16 11 45

Capture d’écran 2023-12-05 à 16 12 00

On peut ajouter Xiaomi.

tcharp38 commented 12 months ago

Ce menu est à revoir. Je veux pas passer du temps à ajouter des clusters au fil des nouveautés. Il faut donc pouvoir creer une entrée "autre" et ne lister que les clusters standard. Mais pas encore pris le temps

KiwiHC16 commented 12 months ago

Charge 18W

[2023-12-05 16:16:31]     Tag=95, Type=39/single => 0.023029273375869 (ignored)
[2023-12-05 16:22:16]     Tag=95, Type=39/single => 0.024679632857442 (ignored)

5min45s ca donnerait 0,020kWh.

Ca semble bon. et avec

[2023-12-05 16:42:07]     Tag=95, Type=39/single => 0.030377021059394 (ignored)

Ca donne une conso de 17,2W

Pour moi c est bon c est la conso.

KiwiHC16 commented 12 months ago

Ce menu est à revoir. Je veux pas passer du temps à ajouter des clusters au fil des nouveautés. Il faut donc pouvoir creer une entrée "autre" et ne lister que les clusters standard. Mais pas encore pris le temps

C etait juste pour confirmer qu on a des cluster "bien definis" par fournisseurs en règle générale.

tcharp38 commented 12 months ago

Je les ai ajouté dans la liste.

Mais tu crois qu'ils sont "affectés" ? Pour moi ils sont libres d'utilisation comme on veut donc rien n'empeche Tuya ou Legrand d'utiliser aussi le FCC0 à sa sauce. Je n'ai vu nul part le contraire.

KiwiHC16 commented 12 months ago

Oui je suis parfaitement en ligne avec toi. Mais pour l instant je n ai pas vu de melange.

KiwiHC16 commented 12 months ago

Pour le modele:

Je propose de retirer:

            "Bind-01-0006-ToZigate": {
                "use": "act_zbBindToZigate",
                "params": "ep=01&clustId=0006",
                "execAtCreation": "Yes"
            },
            "SetReporting-01-0006-0000": {
                "use": "act_zbConfigureReporting2",
                "params": "clustId=0006&attrType=10&attrId=0000",
                "execAtCreation": "Yes"
            },
...
            "Bind-01-0702-ToZigate": {
                "use": "act_zbBindToZigate",
                "params": "ep=01&clustId=0702",
                "execAtCreation": "Yes"
            },

Car la config usine fait deja le boulot.

KiwiHC16 commented 12 months ago

Et ajouter la partie Consommation avec une truc du genre:

"private": {
            "0000-FF01": {
                "type": "xiaomi",

                "64-10": {
                    "func": "raw",
                    "info": "0006-01-0000"
                },

             "95-39": {
                    "func": "raw",
                    "info": "0702-01-0000"
                }
            }
        }

J essaye et je teste.

tcharp38 commented 12 months ago

C'est ca Sauf que le 64-10 n'est qu'un doublon si le device fait un report standard 0006-xx-0000

KiwiHC16 commented 12 months ago

C est le fonctionnement de Xiaomi. Il y a un report sur changement "0006-xx-0000" et periodiquement report toutes les valeurs.

Ca avait été aussi la grosse solution pour la detection de la perte des eq avec la mise en place des TimeOut.

Si tu ne veux pas que Jeedom traite les doublons, on niveau de la commande info tu mets:

Capture d’écran 2023-12-05 à 16 50 22

Comme ca tu as l info sur chaque evenement et periodiquement un refresh (si demarrage d'Abeille, perte de message, si Abeille Off, ...)

C est comme ca depuis les premieres heures d'Abeille sauf si tu as changé des trucs depuis.

KiwiHC16 commented 12 months ago
[2023-12-05 17:01:31]     Tag=95, Type=39/single => 0.03588205575943 ==> 0702-01-0000=3D12F910

Capture d’écran 2023-12-05 à 17 01 58

C est bon, je pousse dans le master.

KiwiHC16 commented 12 months ago

Aie,

ca ne fonctionne plus.

[2023-12-05 17:21:09]     Tag=95, Type=39/single => 0.041453115642071 (ignored)

Est ce le pull master ou le delete/creation de l eq ? Je ne sais pas...

tcharp38 commented 12 months ago

C est le fonctionnement de Xiaomi. Il y a un report sur changement "0006-xx-0000" et periodiquement report toutes les valeurs.

Ca avait été aussi la grosse solution pour la detection de la perte des eq avec la mise en place des TimeOut.

Comme ca tu as l info sur chaque evenement et periodiquement un refresh (si demarrage d'Abeille, perte de message, si Abeille Off, ...)

C est comme ca depuis les premieres heures d'Abeille sauf si tu as changé des trucs depuis.

Ok dans le doublon fait du sens. Ca reste compatible... l'info 0006-xx-0000 mise à jour par le report attribute correspondant ou par la section "private"

KiwiHC16 commented 11 months ago

Exact.