Tasmota sensor 12.1.1.2 avec linky mode Standard --> Libteleinfo checkline error checksum...
-
Bonjour,
j'ai un module pitinfo V1.3 connecté sur un wemos mini D1 avec tamstota sensor V12.1.1.2 compilé avec l'option teleinfo. L'ensemble est branché sur mon compteur Linky.
Mon compteur était en mode historique et tout fonctionnait bien mais il me manquait les informations de production solaire (index P injection pour la revente de surplus).
Tasmota envoi la trame MQTT, J'utilise NodeRed pour traiter la trame et envoyer les valeurs sur des capteurs Dummy dans Domoticz. j'ai aussi 1 sonde de température et un capteur en mode compteur de branché sur le Wemos.j'ai fait changer à Enedis le mode de transmission pour passer en mode Standard.
J'ai changé le paramétrage dans tasmota avec la commande:energyconfig standard
Dans la console, je reçois une trame qui me semble incomplète et j'ai beaucoup d'erreurs
16:15:38.322 CMD: energyconfig 16:15:38.326 TIC: Settings Mode:standard, RX:GPIO3, EN:None, Raw:full, Skip:3, Limit:0 16:15:38.332 MQT: stat/TeleInfo/RESULT = {"EnergyConfig":"Done"} 16:15:39.421 MQT: domoticz/in = {"idx":62,"nvalue":0,"svalue":"4269","Battery":100,"RSSI":5} 16:15:39.448 MQT: tele/TeleInfo/SENSOR = {"Time":"2022-10-23T16:15:39","COUNTER":{"C1":4269},"ENERGY":{"TotalStartTime":"2022-10-23T00:00:00","Total":-21468.088,"Yesterday":1.445,"Today":6.750,"Period":266,"Power":3016,"ApparentPower":3016,"ReactivePower":0,"Factor":1.00,"Voltage":232,"Current":13.000,"Load":108},"TIC":{"SMAXSN":5621,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF03":0,"EASF08":0,"EASF09":0,"EASD04":0,"IRMS1":13,"PREF":12,"PCOUP":12,"SINSTS":3145,"SINSTI":0,"NJOURF+1":0,"VTIC":2,"EAST":71465204,"EASF05":0,"EASF06":0,"EASD01":28147111,"ERQ2":113611,"ERQ3":768785," 16:15:39.508 LibTeleinfo::checkLine Err checksum 0x4E != 0x46 16:15:39.510 LibTeleinfo::checkLine Err checksum 0x2F != 0x30 16:15:39.511 LibTeleinfo::checkLine Err checksum 0x2A != 0x24 16:15:39.517 LibTeleinfo::checkLine Err checksum 0x2F != 0x29 16:15:39.519 LibTeleinfo::checkLine Err checksum 0x32 != 0x2A 16:15:39.753 LibTeleinfo::checkLine Err checksum 0x52 != 0x01 16:15:39.755 LibTeleinfo::checkLine Err checksum 0x2B != 0x23 16:15:39.758 LibTeleinfo::checkLine Err checksum 0x23 != 0x24 16:15:39.760 LibTeleinfo::checkLine Err checksum 0x26 != 0x21 16:15:39.762 LibTeleinfo::checkLine Err checksum 0x4B != 0x33 16:15:39.764 LibTeleinfo::checkLine Err checksum 0x47 != 0x41 16:15:40.002 LibTeleinfo::checkLine Err checksum 0x44 != 0x3C 16:15:40.021 MQT: tele/TeleInfo/SENSOR = {"TIC":{"SMAXSN":5621,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF03":0,"EASF08":0,"EASF09":0,"EASD04":0,"IRMS1":13,"PREF":12,"PCOUP":12,"SINSTS":3150,"SINSTI":0,"NJOURF+1":0,"VTIC":2,"EAST":71465204,"EASF05":0,"EASF06":0,"EASD01":28147111,"ERQ2":113611,"ERQ3":768785," 16:15:40.026 LibTeleinfo::checkLine Err checksum 0x43 != 0x41 16:15:40.028 LibTeleinfo::checkLine Err checksum 0x56 != 0x1C 16:15:40.252 LibTeleinfo::checkLine Err checksum 0x47 != 0x3F 16:15:40.253 LibTeleinfo::checkLine Err checksum 0x48 != 0x40 16:15:40.256 LibTeleinfo::checkLine Err checksum 0x50 != 0x4E 16:15:40.259 LibTeleinfo::checkLine Err checksum 0x46 != 0x42 16:15:40.508 LibTeleinfo::checkLine Err checksum 0x36 != 0x2E 16:15:40.752 LibTeleinfo::checkLine Err checksum 0x2C != 0x26 16:15:40.754 LibTeleinfo::checkLine Err checksum 0x2F != 0x27 16:15:40.758 LibTeleinfo::checkLine Err checksum 0x41 != 0x28 16:15:40.759 LibTeleinfo::checkLine Err checksum 0x41 != 0x39 16:15:41.003 LibTeleinfo::checkLine Err checksum 0x20 != 0x5A 16:15:41.011 LibTeleinfo::checkLine Err checksum 0x56 != 0x3C 16:15:48.031 LibTeleinfo::checkLine Err checksum 0x5F != 0x5C 16:15:48.033 LibTeleinfo::checkLine Err checksum 0x58 != 0x52 16:15:48.034 LibTeleinfo::checkLine Err checksum 0x40 != 0x38 16:15:48.036 LibTeleinfo::checkLine Err checksum 0x4E != 0x1C 16:15:48.038 LibTeleinfo::checkLine Err checksum 0x41 != 0x3C 16:15:48.040 LibTeleinfo::checkLine Err checksum 0x42 != 0x22 16:15:48.041 LibTeleinfo::checkLine Err checksum 0x44 != 0x0C 16:15:48.253 LibTeleinfo::checkLine Err checksum 0x2C != 0x20 16:15:48.255 LibTeleinfo::checkLine Err checksum 0x47 != 0x40 16:15:48.257 LibTeleinfo::checkLine Err checksum 0x40 != 0x3C 16:15:48.754 LibTeleinfo::checkLine Err checksum 0x2E != 0x26 16:15:48.758 LibTeleinfo::checkLine Err checksum 0x43 != 0x29 16:15:49.002 LibTeleinfo::checkLine Err checksum 0x28 != 0x22 16:15:49.006 LibTeleinfo::checkLine Err checksum 0x37 != 0x20 16:15:49.008 LibTeleinfo::checkLine Err checksum 0x31 != 0x29 16:15:49.014 LibTeleinfo::checkLine Err checksum 0x5A != 0x30 16:15:49.015 LibTeleinfo::checkLine Err checksum 0x3F != 0x01 16:15:49.017 LibTeleinfo::checkLine Err checksum 0x47 != 0x1C 16:15:49.252 LibTeleinfo::checkLine Err checksum 0x58 != 0x52 16:15:49.254 LibTeleinfo::checkLine Err checksum 0x58 != 0x38 16:15:49.256 LibTeleinfo::checkLine Err checksum 0x51 != 0x1C 16:15:49.258 LibTeleinfo::checkLine Err checksum 0x3F != 0x22 16:15:49.507 LibTeleinfo::checkLine Err checksum 0x5E != 0x20 16:15:49.526 MQT: tele/TeleInfo/SENSOR = {"TIC":{"SMAXSN":5621,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF03":0,"EASF08":0,"EASF09":0,"EASD04":0,"IRMS1":14,"PREF":12,"PCOUP":12,"SINSTS":3143,"SINSTI":0,"NJOURF+1":0,"VTIC":2,"EAST":71465213,"EASF05":0,"EASF06":0,"EASD01":28147111,"ERQ2":113611,"ERQ3":768785," 16:15:49.531 LibTeleinfo::checkLine Err checksum 0x45 != 0x40 16:15:49.754 LibTeleinfo::checkLine Err checksum 0x4A != 0x46 16:15:50.003 LibTeleinfo::checkLine Err checksum 0x3B != 0x10 16:15:50.005 LibTeleinfo::checkLine Err checksum 0x2D != 0x25 16:15:50.009 LibTeleinfo::checkLine Err checksum 0x3E != 0x28 16:15:50.010 LibTeleinfo::checkLine Err checksum 0x30 != 0x2A 16:15:50.014 LibTeleinfo::checkLine Err checksum 0x44 != 0x30 16:15:50.253 LibTeleinfo::checkLine Err checksum 0x2B != 0x23 16:15:50.259 LibTeleinfo::checkLine Err checksum 0x3F != 0x30 16:15:50.260 LibTeleinfo::checkLine Err checksum 0x4B != 0x33 16:15:50.262 LibTeleinfo::checkLine Err checksum 0x4D != 0x41 16:15:50.264 LibTeleinfo::checkLine Err checksum 0x48 != 0x42 16:15:50.266 LibTeleinfo::checkLine Err checksum 0x46 != 0x1C 16:15:50.267 LibTeleinfo::checkLine Err checksum 0x5B != 0x56 16:15:50.269 LibTeleinfo::checkLine Err checksum 0x58 != 0x38 16:15:50.270 LibTeleinfo::checkLine Err checksum 0x52 != 0x1C 16:15:50.508 LibTeleinfo::checkLine Err checksum 0x3D != 0x22 16:15:50.510 LibTeleinfo::checkLine Err checksum 0x26 != 0x5E 16:15:50.511 LibTeleinfo::checkLine Err checksum 0x5A != 0x20 16:15:50.513 LibTeleinfo::checkLine Err checksum 0x3B != 0x40 16:15:50.753 LibTeleinfo: _recv_idx = 128/128 buffer overflow 16:15:51.003 LibTeleinfo::checkLine Err checksum 0x50 != 0x4A 16:15:51.005 LibTeleinfo::checkLine Err checksum 0x33 != 0x2E 16:15:51.007 LibTeleinfo::checkLine Err checksum 0x52 != 0x4A 16:15:51.009 LibTeleinfo::checkLine Err checksum 0x37 != 0x25 16:15:51.298 LibTeleinfo::checkLine Err checksum 0x2D != 0x27 16:15:51.302 LibTeleinfo::checkLine Err checksum 0x41 != 0x39 16:15:51.306 LibTeleinfo::checkLine Err checksum 0x5D != 0x5A 16:15:51.308 LibTeleinfo::checkLine Err checksum 0x4F != 0x49 16:15:51.508 LibTeleinfo::checkLine Err checksum 0x56 != 0x4E 16:15:51.753 LibTeleinfo::checkLine Err checksum 0x39 != 0x01 16:15:51.755 LibTeleinfo::checkLine Err checksum 0x52 != 0x5E 16:15:51.757 LibTeleinfo::checkLine Err checksum 0x2E != 0x26 16:15:52.022 MQT: tele/TeleInfo/SENSOR = {"TIC":{"SMAXSN":5621,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF03":0,"EASF08":0,"EASF09":0,"EASD04":0,"IRMS1":14,"PREF":12,"PCOUP":12,"SINSTS":3143,"SINSTI":0,"NJOURF+1":0,"VTIC":2,"EAST":71465214,"EASF05":0,"EASF06":0,"EASD01":28147111,"ERQ2":113611,"ERQ3":768785," 16:15:52.027 LibTeleinfo::checkLine Err checksum 0x43 != 0x09 16:15:52.029 LibTeleinfo::checkLine Err checksum 0x3D != 0x3C 16:15:52.253 LibTeleinfo::checkLine Err checksum 0x29 != 0x0B 16:15:52.255 LibTeleinfo::checkLine Err checksum 0x2A != 0x24 16:15:52.259 LibTeleinfo::checkLine Err checksum 0x3B != 0x27 16:15:52.260 LibTeleinfo::checkLine Err checksum 0x2F != 0x29 16:15:52.508 LibTeleinfo::checkLine Err checksum 0x57 != 0x30 16:15:52.510 LibTeleinfo::checkLine Err checksum 0x2A != 0x22 16:15:52.515 LibTeleinfo::checkLine Err checksum 0x24 != 0x0D 16:15:52.517 LibTeleinfo::checkLine Err checksum 0x28 != 0x22 16:15:52.519 LibTeleinfo::checkLine Err checksum 0x3B != 0x33 16:15:52.755 LibTeleinfo::checkLine Err checksum 0x49 != 0x41 16:15:52.757 LibTeleinfo::checkLine Err checksum 0x54 != 0x1C 16:15:52.759 LibTeleinfo::checkLine Err checksum 0x5B != 0x20 16:15:53.002 LibTeleinfo::checkLine Err checksum 0x47 != 0x3F 16:15:53.004 LibTeleinfo::checkLine Err checksum 0x48 != 0x42 16:15:53.005 LibTeleinfo::checkLine Err checksum 0x52 != 0x4E 16:15:53.007 LibTeleinfo::checkLine Err checksum 0x2A != 0x26 16:15:53.009 LibTeleinfo::checkLine Err checksum 0x4A != 0x42 16:15:53.254 LibTeleinfo::checkLine Err checksum 0x38 != 0x30 16:15:53.506 LibTeleinfo::checkLine Err checksum 0x2E != 0x24 16:15:53.508 LibTeleinfo::checkLine Err checksum 0x2C != 0x26 16:15:53.512 LibTeleinfo::checkLine Err checksum 0x2C != 0x30 16:15:53.514 LibTeleinfo::checkLine Err checksum 0x28 != 0x22 16:15:53.752 LibTeleinfo::checkLine Err checksum 0x5C != 0x5A 16:15:53.754 LibTeleinfo::checkLine Err checksum 0x4D != 0x49 16:15:54.003 LibTeleinfo::checkLine Err checksum 0x2E != 0x4E 16:15:54.005 LibTeleinfo::checkLine Err checksum 0x3A != 0x01 16:15:54.007 LibTeleinfo::checkLine Err checksum 0x44 != 0x26 16:15:54.253 LibTeleinfo::checkLine Err checksum 0x33 != 0x2B 16:15:54.509 LibTeleinfo::checkLine Err checksum 0x31 != 0x3C 16:15:54.511 LibTeleinfo::checkLine Err checksum 0x4E != 0x46 16:15:54.513 LibTeleinfo::checkLine Err checksum 0x2A != 0x24 16:15:54.753 LibTeleinfo::checkLine Err checksum 0x2E != 0x29 16:15:54.755 LibTeleinfo::checkLine Err checksum 0x32 != 0x2A 16:15:54.759 LibTeleinfo::checkLine Err checksum 0x4F != 0x3C 16:15:54.761 LibTeleinfo::checkLine Err checksum 0x2B != 0x23 16:15:54.768 LibTeleinfo::checkLine Err checksum 0x31 != 0x20 16:15:55.003 LibTeleinfo::checkLine Err checksum 0x5F != 0x5C 16:15:55.005 LibTeleinfo::checkLine Err checksum 0x52 != 0x38 16:15:55.007 LibTeleinfo::checkLine Err checksum 0x56 != 0x3C 16:15:55.008 LibTeleinfo::checkLine Err checksum 0x28 != 0x41 16:15:55.028 MQT: tele/TeleInfo/SENSOR = {"TIC":{"SMAXSN":5621,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF03":0,"EASF08":0,"EASF09":0,"EASD04":0,"IRMS1":14,"PREF":12,"PCOUP":12,"SINSTS":3159,"SINSTI":0,"NJOURF+1":0,"VTIC":2,"EAST":71465214,"EASF05":0,"EASF06":0,"EASD01":28147111,"ERQ2":113611,"ERQ3":768785," 16:15:55.508 LibTeleinfo: _recv_idx = 128/128 buffer overflow 16:15:55.753 LibTeleinfo::checkLine Err checksum 0x48 != 0x46 16:15:55.756 LibTeleinfo::checkLine Err checksum 0x2A != 0x25 16:15:55.758 LibTeleinfo::checkLine Err checksum 0x2E != 0x26 16:15:55.762 LibTeleinfo::checkLine Err checksum 0x40 != 0x29 16:15:55.764 LibTeleinfo::checkLine Err checksum 0x2A != 0x22 16:15:56.005 LibTeleinfo::checkLine Err checksum 0x44 != 0x20 16:15:56.007 LibTeleinfo::checkLine Err checksum 0x31 != 0x29 16:15:56.012 LibTeleinfo::checkLine Err checksum 0x5F != 0x1C 16:15:56.014 LibTeleinfo::checkLine Err checksum 0x58 != 0x52 16:15:56.253 LibTeleinfo::checkLine Err checksum 0x58 != 0x38 16:15:56.255 LibTeleinfo::checkLine Err checksum 0x4F != 0x1C 16:15:56.256 LibTeleinfo::checkLine Err checksum 0x51 != 0x22 16:15:56.258 LibTeleinfo::checkLine Err checksum 0x21 != 0x4E 16:15:56.508 LibTeleinfo::checkLine Err checksum 0x20 != 0x40 16:15:56.509 LibTeleinfo::checkLine Err checksum 0x42 != 0x26 16:15:56.770 MQT: tele/TeleInfo/SENSOR = {"TIC":{"SMAXSN":5621,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF03":0,"EASF08":0,"EASF09":0,"EASD04":0,"IRMS1":14,"PREF":12,"PCOUP":12,"SINSTS":3159,"SINSTI":0,"NJOURF+1":0,"VTIC":2,"EAST":71465219,"EASF05":0,"EASF06":0,"EASD01":28147111,"ERQ2":113611,"ERQ3":768785," 16:15:56.777 LibTeleinfo::checkLine Err checksum 0x54 != 0x4E 16:15:56.778 LibTeleinfo::checkLine Err checksum 0x58 != 0x50
sur la page Web le graphique de % de charge indique n'importe quoi, les index ont de temps en temps des caractères étranges.
Est-ce que vous pouvez me dire quel est le problème?
C'est depuis que j'ai changé le paramétrage mode historique à mode standard.Merci pour votre aide
Samquad -
@Samquad avez vous redémarré tasmota depuis le passage en mode standard ?
-
Ok problème confirmé, avez vous un script berry qui tourne par hasard ?
https://community.ch2i.eu/topic/676/tasmota/352 -
@Charles
Oui j'ai redémarré plusieurs fois tamsota mais ça ne change rien.
Je ne sais pas ce qu'est un script "Berry"
J'ai juste compilé Tasmota sensor en sélectionnant l'ajout téléinfo pour compiler mon bin -
@Samquad regarde ce document page 6
https://cdn.planete-domotique.com/notices/S/E/SERV_WES-2.pdfPeut être une piste, peux tu essayer d'inverser les 2 fils téléinfo ? puis essayer le coups de la résistance pour voir ?
-
This post is deleted! -
@Charles
J'ai essayé d'inverser les 2 fils et de rajouter aussi 1 résistance de 1K mais ça ne change rien , j'ai toujours des erreurs de checksum11:48:32.266 LibTeleinfo::checkLine Err checksum 0x4A != 0x46 11:48:32.267 LibTeleinfo::checkLine Err checksum 0x57 != 0x39 11:48:32.269 LibTeleinfo::checkLine Err checksum 0x54 != 0x19 11:48:32.502 LibTeleinfo::checkLine Err checksum 0x45 != 0x2C 11:48:32.504 LibTeleinfo::checkLine Err checksum 0x23 != 0x5B 11:48:32.506 LibTeleinfo::checkLine Err checksum 0x23 != 0x2D 11:48:32.508 LibTeleinfo::checkLine Err checksum 0x35 != 0x40 11:48:32.756 LibTeleinfo: _recv_idx = 128/128 buffer overflow 11:48:33.019 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"EASF01":35216210,"EASF06":0,"EASF07":0,"EASD02":43498730,"EASD03":0,"ERQ3":778701,"ERQ4":4441649,"STGE":"003A4301","PRM":2147483647,"RELAIS":0,"NTARF":1,"NJOURF":0,"IRMS1":6,"EAST":71712893,"EASD01":28214163,"ERQ2":114822,"UMOY1":237,"NGTF":" BASE ","EASF03":0,"EASF08":0,"URMS1":239,"PREF":12,"NJOURF+1":0,"ADSC":"031861721681","EASF05":0,"EASF10":0,"ERQ1":4294397,"":0,"EASF09":0,"EAIT":6721189,"PCOUP":12,"+1":0,"SMAXSN":4474,"EASF04":0,"EASD04":0,"SINSTI":1511," 11:48:33.024 LibTeleinfo::checkLine Err checksum 0x3A != 0x35 11:48:33.026 LibTeleinfo::checkLine Err checksum 0x3C != 0x36 11:48:33.028 LibTeleinfo::checkLine Err checksum 0x37 != 0x25 11:48:33.030 LibTeleinfo::checkLine Err checksum 0x2B != 0x27 11:48:33.260 LibTeleinfo::checkLine Err checksum 0x4E != 0x30 11:48:33.262 LibTeleinfo::checkLine Err checksum 0x43 != 0x3B
-
@Samquad j'ai fait quelques tests ce W.E. avec mon linky en mode standard pour voir quelles étaient les limites des résistances
Sur le schéma suivant avec
j'ai pu descendre R1 jusque 1.5K avant que ça ne commence à merder, et dans ce cas la en diminuant R3 ça revient.
Ce qui veut dire que l'on peut agir sur la sensibilité en jouant avec R1 et R3. Soit on diminue R3 soit on augmente R1. Mais comme mon linky fonctionne parfaitement avec ces valeurs difficile de voir d'ou vient le soucis chez toi. Serais-tu en mesure de changer l'une de ces deux resistances ?
-
@Charles
Je possède le Pitinfo V1.3 (photo prise avant modif de résistance):
J'avais des erreurs checksum dans cette configuration avec le mode standard du linky.j'ai changé les résistances comme préconisé sur le site tasmota à cette adresse:
https://tasmota.github.io/docs/Teleinfo/#optional-enable-pin
J'ai toujours des erreurs checksum
Est-ce que j'ai remplacé les bonnes résistance pour modifier mon Pitinfo en V1.3a?J'ai soudé des résistances std car je n'ai pas de résistances cms et pas de matériel adapté.
Je peux faire des tests de changement de résistances.
Je peux plus facilement réduire R3 (en soudant une résistance en // sur celle en place qui mesure 220 ohms).
Quelle valeur faudrait-il tester? -
@Samquad Ok je comprends mieux, oui c'est les bonnes mais R3 était déjà en 220Ohm (221) donc rien à y faire pour le moment, ce qui est intéressant c'est que R1 était en 4K7 et ça fonctionnait pas (j'allais te proposer cette conf du coups inutile), donc peut être la passer à 10K (sans garantie). En fait tu as descendu R1 et dans ton cas il faut l'augmenter.
Sinon pour faire simple tu laisses R1 à 3.3K et tu descends R3 à 100ohm si pas mieux 50ohm (enfin tu vois le principe) tu peux même la court circuiter au pire et mettre une 0 Ohm pour voir, si là ça fonctionne pas y'a un hic
tu as beaucoup de cable entre ton linky et le module ?
-
@Charles
Entre le compteur et le Pitinfo: j'ai 30 cm de cable 0.75mm².
Je vais tester sur R3 en baissant sa valeur.
Avant de tester tu peux me confirmer que je compile correctement:J'utilise Visual studio code avec plateformIO et les dernieres sources sur
https://tasmota.github.io/docs/PlatformIO/#download-tasmota
J'active l'option teleinfo dans le fichier my_user_config.h et je clique sur Build dans le dossier tasmota-sensors
Est-ce que tu peux m'envoyer la dernière version du firmware tasmota sensor avec téléinfo pour que j'essaye de remplacer le firmware de mon wemos mini d1?
-
@Samquad oui je pense que c'est ça, mais tu sais, tu n'as pas besoin de compiler, tu trouveras les FW téléinfo sur le site des FW non officiels ici dans le dossier firmware tu as la version teleinfo pour tous les types d'ESP (ESP32, ESP8266 et autres
Cerise sur le gateau, c'est rebuild a chaque PR mergée
-
@Charles
Merci pour l'info sur le lien.
J'ai dessoudé R3 et la piste du circuit imprimé n'a pas résistée
J'ai soudé un fil pour rétablir la continuité vers la borne de gauche:
J'ai fait plusieurs essais:
R3 = 0 ohm j'ai ces log dans la console:17:12:59.262 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":228,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:00.501 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 17:13:01.255 LibTeleinfo::checkLine Err checksum 0x48 != 0x20 17:13:01.501 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 17:13:02.260 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":229,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:02.752 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:03.756 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":229,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:04.502 LibTeleinfo::checkLine Err checksum 0x2E != 0x36 17:13:05.259 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":229,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:06.255 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:06.261 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":229,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:07.502 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:07.508 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":229,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:08.002 LibTeleinfo::checkLine Err checksum 0x2E != 0x36 17:13:08.502 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:09.257 LibTeleinfo::checkLine Err checksum 0x4D != 0x55 17:13:09.506 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":229,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:09.509 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:10.257 LibTeleinfo::checkLine Err checksum 0x2B != 0x33 17:13:12.002 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 17:13:12.008 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":231,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:13.020 LibTeleinfo::checkLine Err checksum 0x24 != 0x40 17:13:13.022 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:13.256 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:14.260 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":231,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:14.502 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:13:15.005 LibTeleinfo::checkLine Err checksum 0x34 != 0x3C 17:13:15.529 MQT: tele/TeleInfo/SENSOR = {"TIC":{"VTIC":2,"NTARF":1,"URMS1":231,"RELAIS":0,"PREF":12,"PCOUP":12}} 17:13:15.752 LibTeleinfo::checkLine Err checksum 0x42 != 0x4A
R3 = 50 ohms j'ai ces log dans la console:
16:58:47.269 MQT: tele/TeleInfo/SENSOR = {"TIC":{"EAIT":6730889,"VTIC":2,"EASD02":43525417,"ERQ3":780254,"EASD03":0,"ERQ4":4447898,"IRMS1":12,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF10":0,"EASF06":0,"ERQ2":115942,"EASF03":0,"URMS1":232,"PREF":12,"ADSC":"031861721681","EAST":71749392,"ERQ1":4296047,"PCOUP":12,"CCASN":2728,"SINSTS":1508,"SIAXIN)1":2791,"EASF09":0,"NJOURF+1":0,"EASF02":36496683,"EASF07":0,"EASF04":0,"EASD01":28223966,"EASF08":0,"EASF05":0,"QIOY1":234,"EASD04":0,"PRM":2147483647,"AASF01":0,"CCAIN":0,"":")1","EASF01":35252706," 16:58:47.273 LibTeleinfo::checkLine Err checksum 0x4D != 0x53 16:58:47.503 LibTeleinfo::checkLine Err checksum 0x27 != 0x2B 16:58:47.507 LibTeleinfo: _recv_idx = 128/128 buffer overflow 16:58:47.753 LibTeleinfo::checkLine Err checksum 0x3E != 0x46 16:58:47.755 LibTeleinfo::checkLine Err checksum 0x21 != 0x25 16:58:48.003 LibTeleinfo::checkLine Err checksum 0x26 != 0x2A 16:58:48.004 LibTeleinfo::checkLine Err checksum 0x57 != 0x23 16:58:48.257 LibTeleinfo::checkLine Err checksum 0x39 != 0x41 16:58:48.259 LibTeleinfo::checkLine Err checksum 0x3E != 0x42 16:58:48.265 LibTeleinfo::checkLine Err checksum 0x37 != 0x3B 16:58:48.267 LibTeleinfo::checkLine Err checksum 0x42 != 0x3F 16:58:48.503 LibTeleinfo: _recv_idx = 128/128 buffer overflow 16:58:48.752 LibTeleinfo: _recv_idx = 128/128 buffer overflow 16:58:48.766 MQT: tele/TeleInfo/SENSOR = {"TIC":{"EAIT":6730889,"VTIC":2,"EASD02":43525417,"ERQ3":780254,"EASD03":0,"ERQ4":4447898,"IRMS1":12,"STGE":"003A4101","RELAIS":0,"NTARF":1,"NJOURF":0,"EASF10":0,"EASF06":0,"ERQ2":115942,"EASF03":0,"URMS1":232,"PREF":12,"ADSC":"031861721681","EAST":71749392,"ERQ1":4296047,"PCOUP":12,"CCASN":2728,"SINSTS":1508,"SIAXIN)1":2791,"EASF09":0,"NJOURF+1":0,"EASF02":36496683,"EASF07":0,"EASF04":0,"EASD01":28223966,"EASF08":0,"EASF05":0,"QIOY1":234,"EASD04":0,"PRM":2147483647,"AASF01":0,"CCAIN":0,"":")1","EASF01":35252706," 16:58:49.002 LibTeleinfo::checkLine Err checksum 0x38 != 0x3C 16:58:49.256 LibTeleinfo::checkLine Err checksum 0x5E != 0x22 16:58:49.258 LibTeleinfo::checkLine Err checksum 0x56 != 0x5A 16:58:49.502 LibTeleinfo::checkLine Err checksum 0x43 != 0x55 16:58:50.002 LibTeleinfo::checkLine Err checksum 0x38 != 0x3C 16:58:50.257 LibTeleinfo::checkLine Err checksum 0x25 != 0x29 16:58:50.259 LibTeleinfo::checkLine Err checksum 0x5A != 0x22
R3 = 100 ohms j'ai ces log dans la console:
17:02:07.757 LibTeleinfo::checkLine Err checksum 0x2B != 0x20 17:02:08.005 LibTeleinfo::checkLine Err checksum 0x3B != 0x3F 17:02:08.007 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 17:02:08.269 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1349,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:08.503 LibTeleinfo::checkLine Err checksum 0x21 != 0x25 17:02:08.505 LibTeleinfo::checkLine Err checksum 0x26 != 0x2A 17:02:08.753 LibTeleinfo::checkLine Err checksum 0x57 != 0x23 17:02:08.755 LibTeleinfo::checkLine Err checksum 0x30 != 0x34 17:02:08.756 LibTeleinfo::checkLine Err checksum 0x3B != 0x43 17:02:09.007 LibTeleinfo::checkLine Err checksum 0x4E != 0x20 17:02:09.257 LibTeleinfo::checkLine Err checksum 0x3E != 0x42 17:02:09.513 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1361,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:09.518 LibTeleinfo::checkLine Err checksum 0x4C != 0x50 17:02:09.753 LibTeleinfo::checkLine Err checksum 0x24 != 0x28 17:02:09.755 LibTeleinfo::checkLine Err checksum 0x33 != 0x3B 17:02:10.003 LibTeleinfo::checkLine Err checksum 0x53 != 0x57 17:02:10.257 LibTeleinfo::checkLine Err checksum 0x4D != 0x5D 17:02:10.753 LibTeleinfo::checkLine Err checksum 0x39 != 0x3D 17:02:10.755 LibTeleinfo::checkLine Err checksum 0x5E != 0x26 17:02:11.003 LibTeleinfo::checkLine Err checksum 0x5E != 0x22 17:02:11.007 LibTeleinfo::checkLine Err checksum 0x57 != 0x5B 17:02:11.257 LibTeleinfo::checkLine Err checksum 0x3D != 0x41 17:02:11.259 LibTeleinfo::checkLine Err checksum 0x4E != 0x3B 17:02:11.261 LibTeleinfo::checkLine Err checksum 0x2D != 0x39 17:02:11.513 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1361,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:11.753 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:02:11.755 LibTeleinfo::checkLine Err checksum 0x46 != 0x4A 17:02:12.002 LibTeleinfo::checkLine Err checksum 0x44 != 0x48 17:02:12.004 LibTeleinfo::checkLine Err checksum 0x23 != 0x27 17:02:12.259 LibTeleinfo::checkLine Err checksum 0x4E != 0x52 17:02:12.263 LibTeleinfo::checkLine Err checksum 0x4C != 0x41 17:02:12.513 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1361,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:12.755 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:02:13.257 LibTeleinfo::checkLine Err checksum 0x5D != 0x25 17:02:13.263 LibTeleinfo::checkLine Err checksum 0x2A != 0x2E 17:02:13.503 LibTeleinfo::checkLine Err checksum 0x3E != 0x42 17:02:13.505 LibTeleinfo::checkLine Err checksum 0x58 != 0x5C 17:02:13.507 LibTeleinfo::checkLine Err checksum 0x58 != 0x5C 17:02:13.763 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1361,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:13.767 LibTeleinfo::checkLine Err checksum 0x28 != 0x39 17:02:13.769 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:02:14.002 LibTeleinfo::checkLine Err checksum 0x58 != 0x42 17:02:14.004 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:02:14.256 LibTeleinfo::checkLine Err checksum 0x2E != 0x36 17:02:14.502 LibTeleinfo::checkLine Err checksum 0x42 != 0x46 17:02:14.503 LibTeleinfo::checkLine Err checksum 0x57 != 0x5B 17:02:14.752 LibTeleinfo::checkLine Err checksum 0x38 != 0x3B 17:02:14.764 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1361,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:14.768 LibTeleinfo::checkLine Err checksum 0x20 != 0x5D 17:02:15.003 LibTeleinfo::checkLine Err checksum 0x27 != 0x20 17:02:15.005 LibTeleinfo::checkLine Err checksum 0x4A != 0x4E 17:02:15.006 LibTeleinfo::checkLine Err checksum 0x22 != 0x26 17:02:15.008 LibTeleinfo::checkLine Err checksum 0x3E != 0x42 17:02:15.267 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF":0,"NJOURF+1":0,"EAIT":6730889,"SINSTS":1361,"EASD01":28223966,"EASD03":0,"ERQ4":4447916,"IRMS1":6,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EASF10":0,"EASF03":0,"ADSC":"031861721681","VTIC":2,"EAST":71749462,"ERQ1":4296047,"ERQ2":115942," 17:02:15.503 LibTeleinfo::checkLine Err checksum 0x24 != 0x28 17:02:15.505 LibTeleinfo::checkLine Err checksum 0x35 != 0x3D
R3 = 163 ohms j'ai ces log dans la console:
17:07:36.521 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF+1":0,"EASF02":36496683,"EASF07":0,"EASD02":43525579,"EASD03":0,"EAIT":6730889,"ERQ2":115942,"ERQ3":780254,"LTARF":" BASE ","EASF04":0,"EASF09":0,"EASF10":0,"URMS1":233,"PREF":12,"PCOUP":12,"SINSTS":1215,"SINSTI":0,"ADSC":"031861721681","VTIC":2," 17:07:36.528 LibTeleinfo::checkLine Err checksum 0x56 != 0x1D 17:07:36.530 LibTeleinfo::checkLine Err checksum 0x47 != 0x3F 17:07:36.752 LibTeleinfo::checkLine Err checksum 0x50 != 0x4E 17:07:36.757 LibTeleinfo::checkLine Err checksum 0x46 != 0x42 17:07:37.002 LibTeleinfo::checkLine Err checksum 0x47 != 0x09 17:07:37.005 LibTeleinfo::checkLine Err checksum 0x4E != 0x46 17:07:37.006 LibTeleinfo::checkLine Err checksum 0x49 != 0x30 17:07:37.008 LibTeleinfo::checkLine Err checksum 0x2A != 0x24 17:07:37.256 LibTeleinfo::checkLine Err checksum 0x2F != 0x29 17:07:37.258 LibTeleinfo::checkLine Err checksum 0x32 != 0x2A 17:07:37.262 LibTeleinfo::checkLine Err checksum 0x28 != 0x01 17:07:37.264 LibTeleinfo::checkLine Err checksum 0x2B != 0x23 17:07:37.267 LibTeleinfo::checkLine Err checksum 0x25 != 0x17 17:07:37.502 LibTeleinfo::checkLine Err checksum 0x29 != 0x24 17:07:37.504 LibTeleinfo::checkLine Err checksum 0x4B != 0x33 17:07:37.506 LibTeleinfo::checkLine Err checksum 0x48 != 0x42 17:07:37.511 LibTeleinfo::checkLine Err checksum 0x44 != 0x3C 17:07:37.513 LibTeleinfo::checkLine Err checksum 0x39 != 0x55 17:07:37.752 LibTeleinfo::checkLine Err checksum 0x3B != 0x39 17:07:37.754 LibTeleinfo::checkLine Err checksum 0x54 != 0x1D 17:07:37.756 LibTeleinfo::checkLine Err checksum 0x47 != 0x3F 17:07:37.757 LibTeleinfo::checkLine Err checksum 0x47 != 0x40 17:07:37.759 LibTeleinfo::checkLine Err checksum 0x50 != 0x4E 17:07:38.004 LibTeleinfo::checkLine Err checksum 0x46 != 0x42 17:07:38.022 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF+1":0,"EASF02":36496683,"EASF07":0,"EASD02":43525579,"EASD03":0,"EAIT":6730889,"ERQ2":115942,"ERQ3":780254,"LTARF":" BASE ","EASF04":0,"EASF09":0,"EASF10":0,"URMS1":233,"PREF":12,"PCOUP":12,"SINSTS":1206,"SINSTI":0,"ADSC":"031861721681","VTIC":2," 17:07:38.256 LibTeleinfo::checkLine Err checksum 0x43 != 0x3B 17:07:38.259 LibTeleinfo::checkLine Err checksum 0x2C != 0x26 17:07:38.261 LibTeleinfo::checkLine Err checksum 0x2F != 0x27 17:07:38.264 LibTeleinfo::checkLine Err checksum 0x41 != 0x28 17:07:38.502 LibTeleinfo::checkLine Err checksum 0x4E != 0x46 17:07:38.506 LibTeleinfo::checkLine Err checksum 0x21 != 0x5B 17:07:38.754 LibTeleinfo::checkLine Err checksum 0x3A != 0x39 17:07:39.255 LibTeleinfo: _recv_idx = 128/128 buffer overflow 17:07:39.257 LibTeleinfo::checkLine Err checksum 0x40 != 0x3C 17:07:39.259 LibTeleinfo::checkLine Err checksum 0x52 != 0x50 17:07:39.501 LibTeleinfo::checkLine Err checksum 0x2C != 0x24 17:07:39.505 LibTeleinfo::checkLine Err checksum 0x36 != 0x27 17:07:39.506 LibTeleinfo::checkLine Err checksum 0x31 != 0x29 17:07:39.510 LibTeleinfo::checkLine Err checksum 0x2A != 0x22 17:07:39.751 LibTeleinfo::checkLine Err checksum 0x4A != 0x10 17:07:39.753 LibTeleinfo::checkLine Err checksum 0x5A != 0x57 17:07:39.754 LibTeleinfo::checkLine Err checksum 0x2A != 0x24 17:07:39.761 LibTeleinfo::checkLine Err checksum 0x34 != 0x01 17:07:40.002 LibTeleinfo::checkLine Err checksum 0x39 != 0x5D 17:07:40.020 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF+1":0,"EASF02":36496683,"EASF07":0,"EASD02":43525581,"EASD03":0,"EAIT":6730889,"ERQ2":115942,"ERQ3":780254,"LTARF":" BASE ","EASF04":0,"EASF09":0,"EASF10":0,"URMS1":233,"PREF":12,"PCOUP":12,"SINSTS":1206,"SINSTI":0,"ADSC":"031861721681","VTIC":2," 17:07:40.028 LibTeleinfo::checkLine Err checksum 0x27 != 0x20 17:07:40.030 LibTeleinfo::checkLine Err checksum 0x25 != 0x27 17:07:40.031 LibTeleinfo::checkLine Err checksum 0x47 != 0x3F 17:07:40.255 LibTeleinfo::checkLine Err checksum 0x48 != 0x42 17:07:40.504 LibTeleinfo::checkLine Err checksum 0x2E != 0x26 17:07:40.751 LibTeleinfo::checkLine Err checksum 0x43 != 0x29 17:07:40.753 LibTeleinfo::checkLine Err checksum 0x28 != 0x22 17:07:40.757 LibTeleinfo::checkLine Err checksum 0x36 != 0x2E 17:07:41.001 LibTeleinfo::checkLine Err checksum 0x5D != 0x30 17:07:41.003 LibTeleinfo::checkLine Err checksum 0x5F != 0x1C 17:07:41.005 LibTeleinfo::checkLine Err checksum 0x4E != 0x4A 17:07:41.007 LibTeleinfo::checkLine Err checksum 0x21 != 0x41 17:07:41.008 LibTeleinfo::checkLine Err checksum 0x57 != 0x20 17:07:41.010 LibTeleinfo::checkLine Err checksum 0x43 != 0x3B 17:07:41.255 LibTeleinfo::checkLine Err checksum 0x5D != 0x20 17:07:41.257 LibTeleinfo::checkLine Err checksum 0x41 != 0x27 17:07:41.519 MQT: tele/TeleInfo/SENSOR = {"TIC":{"NJOURF+1":0,"EASF07":0,"EASD02":43525581,"EASD03":0,"EAIT":6730889,"ERQ2":115942,"ERQ3":780254,"LTARF":" BASE ","EASF04":0,"EASF09":0,"EASF10":0,"URMS1":233,"PREF":12,"PCOUP":12,"SINSTS":1206,"SINSTI":0,"ADSC":"031861721681","VTIC":2," 17:07:41.526 LibTeleinfo::checkLine Err checksum 0x50 != 0x4A 17:07:41.751 LibTeleinfo::checkLine Err checksum 0x44 != 0x3C 17:07:41.753 LibTeleinfo::checkLine Err checksum 0x4E != 0x46 17:07:41.755 LibTeleinfo::checkLine Err checksum 0x35 != 0x25 17:07:41.757 LibTeleinfo::checkLine Err checksum 0x2D != 0x27 17:07:41.760 LibTeleinfo::checkLine Err checksum 0x44 != 0x28 17:07:42.002 LibTeleinfo::checkLine Err checksum 0x4E != 0x46 17:07:42.006 LibTeleinfo::checkLine Err checksum 0x58 != 0x52 17:07:42.256 LibTeleinfo::checkLine Err checksum 0x55 != 0x39 17:07:42.258 LibTeleinfo::checkLine Err checksum 0x5B != 0x5D
R3 = 50 Ohms est la résistance qui me donne la trame la plus longue.
Elle reste quand même incomplète.
Est-ce que le buffer est assez grand pour traiter la trame TIC?
Mon compteur est censé me renvoyer le P index injection mais je ne le vois pas. -
@Samquad Ah la vache tu ne rigoles pas avec les soudures, joli travail.
Bon ça semble mieux déjà, tu as bien pris la dernière version dispo dans tasmota special ?
Comme la trame n'est pas lue correctement du coups le buffer de ligne (taille maximale d'une ligne et pas d'une trame) ne voit pas la fin de ligne et continue d'écrire dedans, d'ou la saturation à 128.
C'est dommage que ce ne soit pas un ESP32 on aurait pu essayer simplement le programme de test que j'ai mis dans les exemples de la libteleinfo mais avec l'ESP8266 le debug c'est ingérable (une seule uart).
Question bête ton tasmota n'aurait pas un DS18B20 de connecté et à gérer aussi ?
-
@Charles
J'ai téléchargé le firmware ici que j'ai installé.J'ai effectivement une sonde de température DS18B20 de branchée.
Sur mon Wemos mini D1 j'ai plusieurs sondes:
1 module Pitinfo
1 sonde de température DS18b20 (sonde extérieure)
1 capteur d'impulsion (compteur d'eau)
1 relais shield pilotage (chauffe eau)J'avais cette déjà cette configuration en mode historique et ça fonctionnait très bien. téléinfo déconne depuis que j'ai basculé sur le mode standard
-
@Samquad ok FW correct.
Yes mais en mode standard ça transmet 8 fois plus vite (donc 8 fois plus d'info) et les timings du DS18B20 sont assez gourmands. Tu pourrais juste désactiver toutes les autres fonctions pour voir ?
-
@Charles
J'ai tout désactivé sauf teleinfo:J'ai toujours des erreurs de checksum
-
Le log
18:58:34.502 LibTeleinfo::checkLine Err checksum 0x36 != 0x3F 18:58:34.752 LibTeleinfo: _recv_idx = 128/128 buffer overflow 18:58:34.764 MQT: tele/TeleInfo/SENSOR = {"TIC":{"EASF04":0,"EASF09":0,"PREF":12,"PCOUP":12,"SINSTS":3584,"NJOURF+1":0,"VTIC":2,"EASF02":36496683,"EASF07":0,"IRMS1":16,"URMS1":223,"EASF03":0,"ADSC":"031861721681","EAST":71752696,"ERQ1":4296047,"SINSTI":0,"CCAIN":0,"EASD03":0,"ERQ4":4448209,"NJOURF":0,"EASD04":0,"EASD02":43528684,"ERQ3":780254,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EAIT":6730889,"EASF08":0,"EASF01":35256000,"EASF06":0,"ERQ2":115942,"EASF05":0,"EASD01":28223966,"PRM":2147483647,"CCASN":1056}} 18:58:34.767 LibTeleinfo::checkLine Err checksum 0x46 != 0x4A 18:58:34.769 LibTeleinfo::checkLine Err checksum 0x36 != 0x3C 18:58:34.771 LibTeleinfo::checkLine Err checksum 0x3E != 0x46 18:58:35.002 LibTeleinfo::checkLine Err checksum 0x21 != 0x25 18:58:35.004 LibTeleinfo::checkLine Err checksum 0x26 != 0x2A 18:58:35.256 LibTeleinfo::checkLine Err checksum 0x57 != 0x23 18:58:35.260 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 18:58:35.262 LibTeleinfo::checkLine Err checksum 0x3E != 0x42 18:58:35.263 LibTeleinfo::checkLine Err checksum 0x58 != 0x5C 18:58:35.266 LibTeleinfo::checkLine Err checksum 0x38 != 0x3C 18:58:35.502 LibTeleinfo::checkLine Err checksum 0x43 != 0x29 18:58:35.504 LibTeleinfo::checkLine Err checksum 0x37 != 0x3F 18:58:35.752 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 18:58:35.753 LibTeleinfo::checkLine Err checksum 0x4A != 0x4E 18:58:36.002 LibTeleinfo::checkLine Err checksum 0x4C != 0x50 18:58:36.256 LibTeleinfo::checkLine Err checksum 0x26 != 0x2A 18:58:36.258 LibTeleinfo::checkLine Err checksum 0x57 != 0x23 18:58:36.502 LibTeleinfo::checkLine Err checksum 0x22 != 0x41 18:58:36.504 LibTeleinfo::checkLine Err checksum 0x3A != 0x3B 18:58:36.752 LibTeleinfo::checkLine Err checksum 0x23 != 0x2B 18:58:43.516 LibTeleinfo: _recv_idx = 128/128 buffer overflow 18:58:43.518 LibTeleinfo::checkLine Err checksum 0x50 != 0x41 18:58:43.519 LibTeleinfo::checkLine Err checksum 0x38 != 0x3B 18:58:43.752 LibTeleinfo::checkLine Err checksum 0x5A != 0x3F 18:58:44.002 LibTeleinfo: _recv_idx = 128/128 buffer overflow 18:58:44.013 MQT: tele/TeleInfo/SENSOR = {"TIC":{"EASF04":0,"EASF09":0,"PREF":12,"PCOUP":12,"SINSTS":3532,"NJOURF+1":0,"VTIC":2,"EASF02":36496683,"EASF07":0,"IRMS1":16,"URMS1":223,"EASF03":0,"ADSC":"031861721681","EAST":71752696,"ERQ1":4296047,"SINSTI":0,"CCAIN":0,"EASD03":0,"ERQ4":4448209,"NJOURF":0,"EASD04":0,"EASD02":43528684,"ERQ3":780254,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EAIT":6730889,"EASF08":0,"EASF01":35256000,"EASF06":0,"ERQ2":115942,"EASF05":0,"EASD01":28223966,"PRM":2147483647,"CCASN":1056}} 18:58:44.017 LibTeleinfo::checkLine Err checksum 0x38 != 0x3C 18:58:44.258 LibTeleinfo::checkLine Err checksum 0x25 != 0x29 18:58:44.502 LibTeleinfo::checkLine Err checksum 0x5A != 0x22 18:58:44.504 LibTeleinfo::checkLine Err checksum 0x4E != 0x56 18:58:44.752 LibTeleinfo::checkLine Err checksum 0x3F != 0x20 18:58:45.002 LibTeleinfo::checkLine Err checksum 0x39 != 0x29 18:58:45.004 LibTeleinfo::checkLine Err checksum 0x3B != 0x3F 18:58:45.005 LibTeleinfo::checkLine Err checksum 0x3A != 0x42 18:58:45.256 LibTeleinfo::checkLine Err checksum 0x20 != 0x24 18:58:45.502 LibTeleinfo::checkLine Err checksum 0x25 != 0x29 18:58:45.504 LibTeleinfo::checkLine Err checksum 0x57 != 0x23 18:58:45.754 LibTeleinfo::checkLine Err checksum 0x37 != 0x3B 18:58:46.012 MQT: tele/TeleInfo/SENSOR = {"TIC":{"EASF04":0,"EASF09":0,"PREF":12,"PCOUP":12,"SINSTS":3532,"NJOURF+1":0,"VTIC":2,"EASF02":36496683,"EASF07":0,"IRMS1":16,"URMS1":223,"EASF03":0,"ADSC":"031861721681","EAST":71752696,"ERQ1":4296047,"CCAIN":0,"EASD03":0,"ERQ4":4448209,"NJOURF":0,"EASD04":0,"EASD02":43528684,"ERQ3":780254,"STGE":"003A4101","RELAIS":0,"NTARF":1,"EAIT":6730889,"EASF08":0,"EASF01":35256000,"EASF06":0,"ERQ2":115942,"EASF05":0,"EASD01":28223966,"PRM":2147483647,"CCASN":1056,"SINSTI":"8SMAXIN","":"1"}} 18:58:46.016 LibTeleinfo::checkLine Err checksum 0x42 != 0x3A 18:58:46.256 LibTeleinfo: _recv_idx = 128/128 buffer overflow 18:58:46.258 LibTeleinfo: _recv_idx = 128/128 buffer overflow 18:58:46.260 LibTeleinfo::checkLine Err checksum 0x35 != 0x39 18:58:46.502 LibTeleinfo::checkLine Err checksum 0x22 != 0x26 18:58:46.752 LibTeleinfo::checkLine Err checksum 0x5E != 0x22 18:58:46.754 LibTeleinfo::checkLine Err checksum 0x26 != 0x2E 18:58:47.002 LibTeleinfo::checkLine Err checksum 0x37 != 0x3B 18:58:47.004 LibTeleinfo::checkLine Err checksum 0x42 != 0x3A 18:58:47.256 LibTeleinfo: _recv_idx = 128/128 buffer overflow 18:58:47.502 LibTeleinfo: _recv_idx = 128/128 buffer overflow
-
@Samquad c'est pas beaucoup mieux tu n'as que ça de branché sur ta sortie téléinfo du linky ?
La je ne sais plus trop quoi faire, tu es bien le premier à avoir ce soucis et sans pouvoir reproduire le soucis ou voir les signaux à l'oscillo je suis à court d'idée.
Peut être juste un programme de basic de test avec le Wemos (juste lire la serial et l'afficher) mais je ne suis pas certain qu'on ne verrait pas les mêmes erreurs.
Faudrait que j'arrive à trouver un linky avec le même soucis dans mon entourage.
-
@Charles
J'ai un ESP32 sous la main: ce modèle
Est-ce que ça peut faciliter l'analyse avec le programme de test?
Par contre je suis pas mal novice dans le câblage et la programmation.
il faudrait m'indiquer quoi brancher où pour faire le test et comment programmer ce module esp32 et avec quel firmware.Ca m'intéresse fortement si on peut faire fonctionner le module
Avant de tester avec un ESP32, je vais remplacer le câble de liaison entre le le compteur et le module au cas où le problème soit lié à des parasites. Je vais mettre un cable avec un blindage. Je te tiens au courant.