Posts made by labu73
-
RE: Denky D4 sur compteur PME/PMI - pas de trames
Quelques infos de lien physique
-
Denky D4 sur compteur PME/PMI - pas de trames
Bonjour,
Après un succès sur Linky Tri en tarif Tempo, merci @Charles , je tente de faire fonctionner un Denky D4 sur un compteur PME/PMI.
J'ai installé la version de @Nicolas-Bernaerts et cela ne fonctionne pas.
En comparant avec mon installation domicile, il me semble que la led bleue doit flasher si il y a de la com. Dans mon cas elle est fixe. Pas de traffic?
Rien non plus sur le serveur TCP.
Je vois avec Enedis pour être certain qu'ils ont activé, il m'ont dit avor réglé le compteur sur 9600bauds.
Si vous avez des pistes de diagnostic, je suis preneur.
Bonne Soirée,
Laurent
-
RE: Trames corrompues MQTT
Bravo pour le fix, toujours aucun souci, malgré mon cablage pourri.
Au moins c'est robuste.
-
RE: Trames corrompues MQTT
@Charles
Bonsoir,Tu as surement raison, il faut dire qu'une dizaine de mêtres d'un câble quelconque qui chemine au milieu de toutes les connexions de mon tableau principal, c'est pas idéal.
En tout cas, le remède a été efficace, plus de corruption MQTT.
Par contre, le côté systématique de 2 checksum par trame systématiques avec le dernier Firmware alors que sur l'avant dernier il y en avait peu me surprends.
Merci de ton aide et tes conseils
-
RE: Trames corrompues MQTT
Un petit bilan après 3 jours.
A noter que les 2 erreurs systématiques n'ont toujours pas causé de trames json incohérentes. A part le nombre d'errerus checksum, cela semble bon.
Bonne Journée
-
RE: Trames corrompues MQTT
Installée, je vais voir ce que cela donne mais 2 bad checksums par trame.
Par contre les trames sont correctes en json.
J'a remis en Skip 0 pour forcer le trait avec une trame toutes les 5s, a suivre pour voir si le problème réapparait.
-
RE: Trames corrompues MQTT
En tout cas la situation s'est améliorée, mais j'ai effectivement ce matin une nouvelle trame corrompue.
Vu que les tags semblent se créer tout seuls à leur découverte, je suppose que mon dernier tag est lié à un problème de mauvaise réception ou de débordement de buffer.
Ne faudrait il pas avoir un dictionnaire des tags valides afin de rejeter les mauvais?
Une autre hypothèse vérifer que les tags reçus sont dans la table ASCII?
07:17:45.160 MQT: tele/Linky/SENSOR = {"TIC":{"ADSC":"022276116693","VTIC":2,"NGTF":"TEMPO","LTARF":"HP ROUGE","EAST":1316060,"EASF01":918154,"EASF02":108799,"EASF03":121563,"EASF04":122694,"EASF05":28448,"EASF06":16402,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":1068165,"EASD02":247895,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":0,"IRMS3":1,"URMS1":237,"URMS2":238,"URMS3":238,"PREF":12,"PCOUP":12,"SINSTS":408,"SINSTS1":207,"SINSTS2":42,"SINSTS3":159,"SMAXSN":7100,"SMAXSN1":2610,"SMAXSN2":2140,"SMAXSN3":2350,"SMAXSN-1":7010,"SMAXSN1-1":2560,"SMAXSN2-1":2080,"SMAXSN3-1":2490,"CCASN":578,"CCASN-1":316,"UMOY1":236,"UMOY2":238,"UMOY3":237,"STGE":"833A5401","DPM2":0,"FPM2":0,"PRM":2147483647,"RELAIS":0,"NTARF":6,"NJOURF":0,"NJOURF+1":0,"SINSS":605}}
Bonne Journée à tous
-
RE: Trames corrompues MQTT
Vu que je suis en Tempo triphasé, mon compteur cause beaucoup mais avec un bon format json
16:20:51.039 MQT: tele/Linky/SENSOR = {"TIC":{"ADSC":"022276116693","VTIC":2,"NGTF":"TEMPO","LTARF":"HP ROUGE","EAST":1291834,"EASF01":918154,"EASF02":108799,"EASF03":121563,"EASF04":122694,"EASF05":8101,"EASF06":12523,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":1047818,"EASD02":244016,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":1,"IRMS3":1,"URMS1":241,"URMS2":241,"URMS3":241,"PREF":12,"PCOUP":12,"SINSTS":518,"SINSTS1":228,"SINSTS2":125,"SINSTS3":162,"SMAXSN":7010,"SMAXSN1":2560,"SMAXSN2":2080,"SMAXSN3":2360,"SMAXSN-1":7010,"SMAXSN1-1":2830,"SMAXSN2-1":2100,"SMAXSN3-1":2330,"CCASN":390,"CCASN-1":504,"UMOY1":240,"UMOY2":241,"UMOY3":239,"STGE":"833A5401","DPM2":0,"FPM2":0,"PRM":2147483647,"RELAIS":0,"NTARF":6,"NJOURF":0,"NJOURF+1":0}}
J'ai encore des trames bizarres sur la fin mais il semble que cela reste un json correct voir le tag 30300113310000 en fin de trame après quelques temps
16:12:47.687 MQT: tele/Linky/SENSOR = {"TIC":{"ADSC":"022276116693","VTIC":2,"NGTF":"TEMPO","LTARF":"HP ROUGE","EAST":1291776,"EASF01":918154,"EASF02":108799,"EASF03":121563,"EASF04":122694,"EASF05":8101,"EASF06":12465,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":1047818,"EASD02":243958,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":1,"IRMS3":1,"URMS1":240,"URMS2":242,"URMS3":240,"PREF":12,"PCOUP":12,"SINSTS":504,"SINSTS1":205,"SINSTS2":137,"SINSTS3":161,"SMAXSN":7010,"SMAXSN1":2560,"SMAXSN2":2080,"SMAXSN3":2360,"SMAXSN-1":7010,"SMAXSN1-1":2830,"SMAXSN2-1":2100,"SMAXSN3-1":2330,"CCASN":390,"CCASN-1":504,"UMOY1":239,"UMOY2":240,"UMOY3":239,"STGE":"833A5401","DPM2":0,"FPM2":0,"PRM":2147483647,"RELAIS":0,"NTARF":6,"NJOURF":0,"NJOURF+1":0,"30301131000":237}}
Je continue de surveiller cela, mais pour le moment je récupère des trames cohérentes.
MErci
-
RE: TIC V1.1 WEMOS => Passage à Tempo
Ce sont les trames que j'avais en tempo tri en mode historique, la liste s'allonge fortement en standard.
-
RE: Trames corrompues MQTT
Merci d'avance, j'aime être le beta testeur moi qui passe mon temps à me faire debugger mes programmes automatismes et robotique industrielle.
Bon courage,
Laurent
-
RE: Trames corrompues MQTT
Il passe une trame de temps en temps, ce qui met à jour mon HA.
Sinon, voici l'écran et les états depuis 2h
-
RE: Trames corrompues MQTT
Youpi, plus rien ne marche
J'en conclus que ma ligne est excessivement parasitée et qu'il faut que je revoie le cablage. D'un autre côté, commment cela pouvait il fonctionner?
Je pense que l'ancien Firmware ne voyait rien.
00:00:00.003 HDW: ESP32-PICO-V3-02 (PSRAM) 00:00:00.052 UFS: FlashFS mounted with 4396 kB free 00:00:00.076 CFG: Loaded from File, Count 120 00:00:00.086 QPC: Count 1 00:00:00.240 BRY: Berry initialized, RAM used=4071 bytes 00:00:00.314 CFG: Energy loaded from file 00:00:00.315 NRG: Init driver 15 00:00:00.325 Project tasmota - Tasmota Version 12.4.0.1(teleinfo)-2_0_7(2023-02-27T16:47:33) 00:00:00.327 TIC: RX on GPIO8, baudrate 9600 00:00:00.329 TIC: Raw mode enabled 00:00:00.340 TIC: Sending only one frame over 14 00:00:01.201 WIF: Connecting to AP1 LoEtLo Channel 7 BSSId C0:06:C3:69:A2:B2 in mode 11n as Linky-5592... 00:00:01.992 WIF: Connected 00:00:02.251 HTP: Web server active on Linky-5592 with IP address 192.168.68.20 09:49:30.260 MQT: Attempting connection... 09:49:30.297 MQT: Connected 09:49:30.301 MQT: tele/Linky/LWT = Online (retained) 09:49:30.303 MQT: cmnd/Linky/POWER = 09:49:30.308 MQT: tele/Linky/INFO1 = {"Info1":{"Module":"Denky D4 (v1.1)","Version":"12.4.0.1(teleinfo)","FallbackTopic":"cmnd/DVES_D6D5D8_fb/","GroupTopic":"cmnd/tasmotas/"}} 09:49:30.323 MQT: tele/Linky/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"Linky-5592","IPAddress":"192.168.68.20","IP6Global":"","IP6Local":"fe80::3283:98ff:fed6:d5d8"}} 09:49:30.337 MQT: tele/Linky/INFO3 = {"Info3":{"RestartReason":"Software reset CPU","BootCount":20}} 09:49:30.350 MQT: stat/Linky/RESULT = {"POWER":"OFF"} 09:49:30.355 MQT: stat/Linky/POWER = OFF 09:49:32.492 LibTeleinfo::checkLine frame format error, total=1 09:49:32.894 QPC: Reset 09:49:33.902 MQT: tele/Linky/STATE = {"Time":"2023-02-28T09:49:33","Uptime":"0T00:00:07","UptimeSec":7,"Heap":168,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":45},"POWER":"OFF","Dimmer":0,"Color":"000000","HSBColor":"0,0,0","Channel":[0,0,0],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"LoEtLo","BSSId":"C0:06:C3:69:A2:B2","Channel":7,"Mode":"11n","RSSI":68,"Signal":-66,"LinkCount":1,"Downtime":"0T00:00:03"}} 09:49:33.956 TIC: bad checksum for SMAXSN 09:49:33.957 TIC: bad checksum for SMAXSN1 09:49:33.957 TIC: bad checksum for SMAXSN2 09:49:33.966 MQT: tele/Linky/SENSOR = {"Time":"2023-02-28T09:49:33","ENERGY":{"TotalStartTime":"2023-01-29T09:53:32","Total":1259.411,"Yesterday":27.862,"Today":15.406,"Period":[0,0,0],"Power":[237,0,0],"ApparentPower":[237,0,238],"ReactivePower":[0,0,238],"Factor":[1.00,0.00,0.00],"Voltage":[237,238,238],"Current":[1.000,0.000,1.000],"Load":1},"TIC":{"ADSC":"022276116693","VTIC":2,"NGTF":"TEMPO","LTARF":"HP BLANC","EAST":1259411,"EASF01":918154,"EASF02":108799,"EASF03":106299,"EASF04":110144,"EASF05":8101,"EASF06":7914,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":1032554,"EASD02":226857,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":0,"IRMS3":1,"URMS1":237,"URMS2":238,"URMS3":238,"PREF":12,"PCOUP":12,"SINSTS":479,"SINSTS1":281,"SINSTS2":38,"SINSTS3":158}} 09:49:35.442 LibTeleinfo::checkLine frame format error, total=2 09:49:36.458 TIC: bad checksum for SMAXSN 09:49:36.459 TIC: bad checksum for SMAXSN1 09:49:36.460 TIC: bad checksum for SMAXSN2 09:49:36.461 TIC: bad checksum for SMAXSN3 09:49:36.472 TIC: bad checksum for SMAXSN-1 09:49:36.473 TIC: bad checksum for SMAXSN1-1 09:49:36.474 TIC: bad checksum for SMAXSN2-1 09:49:36.485 TIC: bad checksum for SMAXSN3-1 09:49:36.485 TIC: bad checksum for CCASN 09:49:36.486 TIC: bad checksum for CCASN-1 09:49:36.487 TIC: bad checksum for UMOY1 09:49:36.498 TIC: bad checksum for UMOY2 09:49:36.499 TIC: bad checksum for UMOY3 09:49:36.500 TIC: bad checksum for FPM1 09:49:37.615 LibTeleinfo::checkLine frame format error, total=3 09:49:39.438 TIC: bad checksum for SMAXSN 09:49:39.439 TIC: bad checksum for SMAXSN1 09:49:39.440 TIC: bad checksum for SMAXSN2 09:49:39.441 TIC: bad checksum for SMAXSN3 09:49:39.452 TIC: bad checksum for SMAXSN-1 09:49:39.453 TIC: bad checksum for SMAXSN1-1 09:49:39.454 TIC: bad checksum for SMAXSN2-1 09:49:39.465 TIC: bad checksum for SMAXSN3-1 09:49:39.466 TIC: bad checksum for CCASN 09:49:39.467 TIC: bad checksum for CCASN-1 09:49:39.468 TIC: bad checksum for UMOY1 09:49:39.479 TIC: bad checksum for UMOY2 09:49:39.480 TIC: bad checksum for UMOY3 09:49:39.482 TIC: bad checksum for FPM1 09:49:40.094 LibTeleinfo::checkLine frame format error, total=4
-
RE: Trames corrompues MQTT
Merci pour toutes ces réponses.
Comment installer la version dans mon Denky?
Quel outil pour transférer?
-
RE: Trames corrompues MQTT
Merci pour ta réponse,. Le côté rémanent du défaut et la reprise systématique au reboot me fait penser à un souci dans la mise en place de la liste des tags. En effet, la liste étant établie au fur et à mesure que des tags sont découverts, un bug dans la com Linky/Denky peut créer des tags erronés.
Que penses tu de mon hypothèse?
Je passerai bien à EnergyConfig Changed pour ne pas répéter cette erreur, par contre, sans skip, je me retrouve avec des infos power toutes les 5 secondes. Ne peut on pas baisser cette fréquence autrement que par skip?
-
RE: Trames corrompues MQTT
Bonsoir,
Les trames sont de nouveau corrompues.
J'ai l'impresssion que cela ressemble au souci de @Nicolas-Fovet.
Firmware, cable, ... Je sèche. Merci de votre aide.
17:35:03.856 MQT: tele/Linky/SENSOR = {"Time":"2023-02-23T17:35:03","ENERGY":{"TotalStartTime":"2023-01-29T09:53:32","Total":1129.057,"Yesterday":20.961,"Today":12.262,"Period":[0,0,0],"Power":[240,0,0],"ApparentPower":[240,0,240],"ReactivePower":[0,0,240],"Factor":[1.00,0.00,0.00],"Voltage":[240,241,240],"Current":[1.000,0.000,1.000],"Load":1},"TIC":{"ADSC":"02227611XXXX","VTIC":2,"NGTF":"TEMPO","LTARF":"HP BLANC","EAST":1129057,"EASF01":889921,"EASF02":78828,"EASF03":69233,"EASF04":75061,"EASF05":8101,"EASF06":7914,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":967255,"EASD02":161803,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":0,"IRMS3":1,"URMS1":240,"URMS2":241,"URMS3":240,"PREF":12,"PCOUP":12,"SINSTS":515,"SINSTS1":314,"SINSTS2":38,"SINSTS3":162,"SMAXSN":6940,"SMAXSN1":2570,"SMAXSN2":2090,"SMAXSN3":2330,"SMAXSN-1":6940,"SMAXSN1-1":2530,"SMAXSN2-1":2090,"SMAXSN3-1":2310,"CCASN":482,"CCASN-1":494,"UMOY1":240,"UMOY2":240,"UMOY3":239,"STGE":"423A4C01","PRM":2147483647,"RELAIS":0,"NTARF":4,"NJOURF":0,"NJOURF+1":0,"DPM1":0,"FPM1":0,"PPOINTE":"00004003 06004004 16004003 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE","SINSS1":294,"SMASN2-1":2090}}
17:35:20.624 MQT: tele/Linky/SENSOR = {"TIC":{"ADSC":"02227611XXXX","VTIC":2,"NGTF":"TEMPO","LTARF":"HP BLANC","EAST":1129060,"EASF01":889921,"EASF02":78828,"EASF03":69233,"EASF04":75063,"EASF05":8101,"EASF06":7914,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":967255,"EASD02":161805,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":0,"IRMS3":1,"URMS1":241,"URMS2":241,"URMS3":240,"PREF":12,"PCOUP":12,"SINSTS":517,"SINSTS1":315,"SINSTS2":39,"SINSTS3":162,"SMAXSN":6940,"SMAXSN1":2570,"SMAXSN2":2090,"SMAXSN3":2330,"SMAXSN-1":6940,"SMAXSN1-1":2530,"SMAXSN2-1":2090,"SMAXSN3-1":2310,"CCASN":482,"CCASN-1":494,"UMOY1":240,"UMOY2":240,"UMOY3":239,"STGE":"423A4C01","PRM":2147483647,"RELAIS":0,"NTARF":4,"NJOURF":0,"NJOURF+1":0,"DPM1":0,"FPM1":0,"PPOINTE":"00004003 06004004 16004003 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE","SINSS1":294,"SMASN2-1":2090}}
17:35:57.407 MQT: tele/Linky/SENSOR = {"TIC":{"ADSC":"02227611XXXX","VTIC":2,"NGTF":"TEMPO","LTARF":"HP BLANC","EAST":1129064,"EASF01":889921,"EASF02":78828,"EASF03":69233,"EASF04":75067,"EASF05":8101,"EASF06":7914,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":967255,"EASD02":161809,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":0,"IRMS3":1,"URMS1":239,"URMS2":241,"URMS3":239,"PREF":12,"PCOUP":12,"SINSTS":520,"SINSTS1":318,"SINSTS2":38,"SINSTS3":162,"SMAXSN":6940,"SMAXSN1":2570,"SMAXSN2":2090,"SMAXSN3":2330,"SMAXSN-1":6940,"SMAXSN1-1":2530,"SMAXSN2-1":2090,"SMAXSN3-1":2310,"CCASN":482,"CCASN-1":494,"UMOY1":240,"UMOY2":240,"UMOY3":239,"STGE":"423A4C01","PRM":2147483647,"RELAIS":0,"NTARF":4,"NJOURF":0,"NJOURF+1":0,"DPM1":0,"FPM1":0,"PPOINTE":"00004003 06004004 16004003 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE","SINSS1":294,"SMASN2-1":2090}}
Une trame correcte après reboot.
17:43:59.289 MQT: tele/Linky/SENSOR = {"TIC":{"ADSC":"02227611XXXX","VTIC":2,"NGTF":"TEMPO","LTARF":"HP BLANC","EAST":1129129,"EASF01":889921,"EASF02":78828,"EASF03":69233,"EASF04":75132,"EASF05":8101,"EASF06":7914,"EASF07":0,"EASF08":0,"EASF09":0,"EASF10":0,"EASD01":967255,"EASD02":161874,"EASD03":0,"EASD04":0,"IRMS1":1,"IRMS2":0,"IRMS3":1,"URMS1":240,"URMS2":241,"URMS3":239,"PREF":12,"PCOUP":12,"SINSTS":512,"SINSTS1":310,"SINSTS2":39,"SINSTS3":162,"SMAXSN":6940,"SMAXSN1":2570,"SMAXSN2":2090,"SMAXSN3":2330,"SMAXSN-1":6940,"SMAXSN1-1":2530,"SMAXSN2-1":2090,"SMAXSN3-1":2310,"CCASN":482,"CCASN-1":494,"UMOY1":239,"UMOY2":240,"UMOY3":239,"STGE":"423A4C01","DPM1":0,"FPM1":0,"PRM":2147483647,"RELAIS":0,"NTARF":4,"NJOURF":0,"NJOURF+1":0,"PPOINTE":"00004003 06004004 16004003 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE"}}
-
RE: Trames corrompues MQTT
Bonjour, voici ma configuration et je suis en trame standard.
Denky D4 (v1.1)
Tasmota
Program Version 12.3.1.1(teleinfo)
Build Date & Time 2022-12-16T09:50:33
Core/SDK Version 2_0_5_3/v4.4.3
Uptime 0T05:06:10
Flash Write Count 96
Boot Count 15
Restart Reason Software reset CPU
Friendly Name 1 TasmotaAP1 SSId (RSSI) LoEtLo (82%, -59 dBm) 11n
Hostname Linky-5592
MAC Address 30:83:98:D6:D5:D8
IP Address (wifi) 192.168.68.20
Gateway 192.168.68.1
Subnet Mask 255.255.255.0
DNS Server1 192.168.68.1
DNS Server2 0.0.0.0HTTP API Enabled
MQTT Host 192.168.68.3
MQTT Port 1883
MQTT TLS Disabled
MQTT User labu
MQTT Client DVES_D6D5D8
MQTT Topic Linky
MQTT Group Topic 1 cmnd/tasmotas/
MQTT Full Topic cmnd/Linky/
MQTT Fallback Topic cmnd/DVES_D6D5D8_fb/
MQTT No Retain DisabledEmulation None
ESP Chip Id 14079448 (ESP32-PICO-V3-02 rev.3)
Flash Chip Id 0x174068 (DIO)
Flash Size 8192 KB
Program Flash Size 8192 KB
Program Size 1367 KB
Free Program Space 1856 KB
Free Memory 151.3 KB (frag. 28%)
PS-RAM Memory 2045 KB
PS-RAM free Memory 2036 KBPartition app0* 1856 KB (used 73%)
Partition app1 1856 KB
Partition fs 4416 KB -
Trames corrompues MQTT
Bonjour,
Alors que tout fonctionnait bien en TIC standard depuis une semaine, j'ai eu à 2 reprises à redémarrer mon Denky D4 car les trames MQTT étaient corrompues?
En fait, il y avait des caractères étranges dans le nom de certaines données et la seule façon de remettre tout en ordre est de faire un redémarrage.
Doit on suspecter la liaison avec le Linky (si c'était le cas, tout ne devrait il pas se remettre en ordre tout seul?)
Bon WE