Community Forum

    • Register
    • Login
    • Search
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Tasmota sensor 12.1.1.2 avec linky mode Standard --> Libteleinfo checkline error checksum...

    Téléinfo
    2
    50
    884
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Charles
      Charles @Samquad last edited by Charles

      @Samquad avez vous redémarré tasmota depuis le passage en mode standard ?

      1 Reply Last reply Reply Quote
      • Charles
        Charles @Samquad last edited by

        @Samquad

        Ok problème confirmé, avez vous un script berry qui tourne par hasard ?
        https://community.ch2i.eu/topic/676/tasmota/352

        Samquad 1 Reply Last reply Reply Quote
        • Samquad
          Samquad @Charles last edited by

          @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

          Charles 1 Reply Last reply Reply Quote
          • Charles
            Charles @Samquad last edited by

            @Samquad regarde ce document page 6
            https://cdn.planete-domotique.com/notices/S/E/SERV_WES-2.pdf

            Peut être une piste, peux tu essayer d'inverser les 2 fils téléinfo ? puis essayer le coups de la résistance pour voir ?

            Samquad 2 Replies Last reply Reply Quote
            • Samquad
              Samquad @Charles last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote
              • Samquad
                Samquad @Charles last edited by

                @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 checksum

                11: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
                
                
                Charles 1 Reply Last reply Reply Quote
                • Charles
                  Charles @Samquad last edited by

                  @Samquad j'ai fait quelques tests ce W.E. avec mon linky en mode standard pour voir quelles étaient les limites des résistances

                  d7b86dfe-5890-4ced-b66c-a50db378157a-image.png

                  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 ?

                  Samquad 1 Reply Last reply Reply Quote
                  • Samquad
                    Samquad @Charles last edited by

                    @Charles
                    Je possède le Pitinfo V1.3 (photo prise avant modif de résistance):
                    e53ae585-f6c0-4e02-89fb-ce6852b3aad4-image.png
                    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

                    a3558f90-0fa6-4f88-8cf5-162ae5c1e4f3-image.png
                    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?

                    Charles 1 Reply Last reply Reply Quote
                    • Charles
                      Charles @Samquad last edited by Charles

                      @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 ?

                      Samquad 1 Reply Last reply Reply Quote
                      • Samquad
                        Samquad @Charles last edited by

                        @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
                        73b43d66-de39-4520-8dfd-3b6d9f90971e-image.png

                        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?

                        Charles 1 Reply Last reply Reply Quote
                        • Charles
                          Charles @Samquad last edited by Charles

                          @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 🙂

                          Samquad 1 Reply Last reply Reply Quote
                          • Samquad
                            Samquad @Charles last edited by

                            @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:
                            c39cbc1f-ec3f-4642-9faf-fb0c05b07b85-image.png

                            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.

                            Charles 1 Reply Last reply Reply Quote
                            • Charles
                              Charles @Samquad last edited by

                              @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 ?

                              Samquad 1 Reply Last reply Reply Quote
                              • Samquad
                                Samquad @Charles last edited by

                                @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)

                                a97b619f-a1a8-435b-92f4-ce2d0d2f25ce-image.png
                                Configuration du module:
                                11837f81-9528-4f0e-aa3b-b57dc03b3091-image.png

                                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

                                Charles 1 Reply Last reply Reply Quote
                                • Charles
                                  Charles @Samquad last edited by

                                  @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 ?

                                  Samquad 1 Reply Last reply Reply Quote
                                  • Samquad
                                    Samquad @Charles last edited by

                                    @Charles
                                    J'ai tout désactivé sauf teleinfo:

                                    J'ai toujours des erreurs de checksum

                                    Samquad 1 Reply Last reply Reply Quote
                                    • Samquad
                                      Samquad @Samquad last edited by

                                      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
                                      
                                      Charles 1 Reply Last reply Reply Quote
                                      • Charles
                                        Charles @Samquad last edited by

                                        @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.

                                        Samquad 2 Replies Last reply Reply Quote
                                        • Samquad
                                          Samquad @Charles last edited by

                                          @Charles
                                          J'ai un ESP32 sous la main: ce modèle
                                          5612e9cc-225b-4e2c-852a-6338df588bc5-image.png

                                          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.

                                          1 Reply Last reply Reply Quote
                                          • Samquad
                                            Samquad @Charles last edited by

                                            @Charles
                                            J'ai testé un câble de liaison blindé et j'ai les mêmes erreurs de checksum.
                                            Je viens de terminer mon cablage avec un ESP32 fraichement flashé que j'ai juste configuré avec le téléinfo dessus pour faire des tests

                                            Actuellement avec R3=220 ohm j'ai ces log

                                            19:27:57.018 RSL: SENSOR = {"TIC":{"RELAIS":0,"NTARF":1,"NJOURF":0,"VTIC":2,"EASF01":35500858,"EASF06":0,"EASF07":0,"EASD02":43696842,"ERQ2":116014,"ERQ3":782455,"UMOY1":222,"PRM":2147483647,"EASF04":0,"EASF09":0,"EASD04":0,"IRMS1":12,"URMS1":231,"PREF":12,"PCOUP":12,"SINSTS":2831,"SINSTI":0,"":0,"EAST":71997543,"EASD01":28300702,"
                                            19:27:57.033 LibTeleinfo::checkLine Err checksum 0x2E != 0x39
                                            19:27:57.037 LibTeleinfo::checkLine Err checksum 0x42 != 0x3C
                                            19:27:57.253 LibTeleinfo::checkLine Err checksum 0x54 != 0x50
                                            19:27:57.260 LibTeleinfo::checkLine Err checksum 0x42 != 0x30
                                            19:27:57.264 LibTeleinfo::checkLine Err checksum 0x2E != 0x28
                                            
                                            

                                            L'ESP32 se comporte comme le Wemos mini D1.

                                            Du coup , quel essai je pourrais faire avec l'ESP32?
                                            Merci

                                            Charles 1 Reply Last reply Reply Quote
                                            • First post
                                              Last post
                                            Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB