Skip to content
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Community Forum

  1. Home
  2. Categories
  3. Téléinfo
  4. WifInfo
  5. Ré-écriture de Wifinfo pour traiter le mode standard du Linky

Ré-écriture de Wifinfo pour traiter le mode standard du Linky

Scheduled Pinned Locked Moved WifInfo
110 Posts 27 Posters 62.3k Views 12 Watching
  • 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.
  • adminA admin

    Bon j''ai commencé à regarder, il faut aussi que je change la libtéléinfo car le format des trames à changé aussi et je n'aurais rien pour valider tant que j'ai pas de linky. Donc si tu veux on peu tester ensemble mais tu devras prendre le repo de mon github pour les tests et compiler par toi même si t'es ok.

    Seb HS Offline
    Seb HS Offline
    Seb H
    wrote on last edited by
    #58

    @admin
    C'est ok pour tester sur mon linky en mode standard. T'inquiète, je compilais déjà aussi auparavant. Tu peux me filer le lien de ton github ou je peux télécharger le package prêt à compiler ??

    CharlesC 1 Reply Last reply
    • Seb HS Seb H

      @admin
      C'est ok pour tester sur mon linky en mode standard. T'inquiète, je compilais déjà aussi auparavant. Tu peux me filer le lien de ton github ou je peux télécharger le package prêt à compiler ??

      CharlesC Offline
      CharlesC Offline
      Charles
      wrote on last edited by
      #59

      @Seb-H
      Cool, le package prêt à compiler est déjà mergé dans la branche development de l'officiel tasmota 🙂

      SebHS 1 Reply Last reply
      • pascal MochelP Offline
        pascal MochelP Offline
        pascal Mochel
        wrote on last edited by
        #60

        bonjour

        mes compteurs ne s'incrémentent pas .
        que faut t il configurer pour que cela compte ?

        merci

        1d875285-083c-4bf0-81b7-b194c436eaac-image.png

        1 Reply Last reply
        • CharlesC Offline
          CharlesC Offline
          Charles
          wrote on last edited by
          #61

          Bonjour,
          tu es en contrat base Linky, il doit me manquer une étiquette, tu peux faire une capture de la console WEB lors de l'envoie d'une trame MQTT ?

          1 Reply Last reply
          • pascal MochelP Offline
            pascal MochelP Offline
            pascal Mochel
            wrote on last edited by
            #62

            merci pour le retour , voila je pense que c est cela qu'il te faut :
            10:04:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:04:55","Uptime":"0T01:40:09","UptimeSec":6009,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:04:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:04:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":420,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121175,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":420,"HHPHC":"A","MOTDETAT":0}}
            10:09:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:45:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
            10:09:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:09:55","Uptime":"0T01:45:09","UptimeSec":6309,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-29,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:09:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:09:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":430,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121211,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":430,"HHPHC":"A","MOTDETAT":0}}
            10:14:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:50:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-27","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
            10:14:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:14:55","Uptime":"0T01:50:09","UptimeSec":6609,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:14:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:14:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121241,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
            10:19:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:55:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-29","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
            10:19:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:19:55","Uptime":"0T01:55:09","UptimeSec":6909,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:19:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:19:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":540,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121277,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":540,"HHPHC":"A","MOTDETAT":0}}
            10:24:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:00:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
            10:24:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:24:55","Uptime":"0T02:00:09","UptimeSec":7209,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-32,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:24:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:24:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":490,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121313,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":490,"HHPHC":"A","MOTDETAT":0}}
            10:29:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:05:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
            10:29:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:29:55","Uptime":"0T02:05:09","UptimeSec":7509,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:29:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:29:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121348,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
            10:34:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:10:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
            10:34:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:34:55","Uptime":"0T02:10:09","UptimeSec":7809,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
            10:34:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:34:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121378,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}

            CharlesC 1 Reply Last reply
            • CharlesC Offline
              CharlesC Offline
              Charles
              wrote on last edited by Charles
              #63

              Yes parfait

              pour des soucis de lecture peux tu éditer ton post et mettre tout le texte de la trame entre triple backquote ` (donc 3 au debut et 3 à la fin) ca formate mieux et devient bien plus lisible 🙂

              Exemple

              21T10:34:55","Uptime":"0T02:10:09","UptimeSec":7809,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
              

              Merci à toi

              1 Reply Last reply
              • pascal MochelP pascal Mochel

                merci pour le retour , voila je pense que c est cela qu'il te faut :
                10:04:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:04:55","Uptime":"0T01:40:09","UptimeSec":6009,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:04:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:04:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":420,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121175,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":420,"HHPHC":"A","MOTDETAT":0}}
                10:09:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:45:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                10:09:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:09:55","Uptime":"0T01:45:09","UptimeSec":6309,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-29,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:09:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:09:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":430,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121211,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":430,"HHPHC":"A","MOTDETAT":0}}
                10:14:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:50:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-27","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                10:14:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:14:55","Uptime":"0T01:50:09","UptimeSec":6609,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:14:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:14:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121241,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                10:19:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T01:55:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-29","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                10:19:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:19:55","Uptime":"0T01:55:09","UptimeSec":6909,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:19:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:19:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":540,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121277,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":540,"HHPHC":"A","MOTDETAT":0}}
                10:24:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:00:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                10:24:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:24:55","Uptime":"0T02:00:09","UptimeSec":7209,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-32,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:24:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:24:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":490,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121313,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":490,"HHPHC":"A","MOTDETAT":0}}
                10:29:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:05:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                10:29:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:29:55","Uptime":"0T02:05:09","UptimeSec":7509,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:29:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:29:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121348,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                10:34:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:10:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                10:34:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:34:55","Uptime":"0T02:10:09","UptimeSec":7809,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
                10:34:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:34:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121378,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}

                CharlesC Offline
                CharlesC Offline
                Charles
                wrote on last edited by Charles
                #64

                @pascal-Mochel Alors c'est assez fun tu n'as pas l'index dans la trame (ah si pardon base), effectivement cette etiquette n'est pas traitée. Fix à faire de mon coté

                Sinon pour info, tu peux de faire un setOption108 1 (ca envoi juste une trame MQTT à chaque reception de trame téléinfo) avec toutes les données de teleinfo sans tenir compte du mode Energy du device.

                1 Reply Last reply
                • pascal MochelP Offline
                  pascal MochelP Offline
                  pascal Mochel
                  wrote on last edited by
                  #65

                  Avant de modifier le setoption

                  10:19:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:19:55","Uptime":"0T01:55:09","UptimeSec":6909,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:19:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:19:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":540,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121277,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":540,"HHPHC":"A","MOTDETAT":0}}
                  10:24:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:00:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                  10:24:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:24:55","Uptime":"0T02:00:09","UptimeSec":7209,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-32,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:24:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:24:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":490,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121313,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":490,"HHPHC":"A","MOTDETAT":0}}
                  10:29:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:05:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                  10:29:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:29:55","Uptime":"0T02:05:09","UptimeSec":7509,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-30,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:29:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:29:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121348,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                  10:34:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:10:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-30","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                  10:34:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:34:55","Uptime":"0T02:10:09","UptimeSec":7809,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-28,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:34:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:34:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121378,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                  10:39:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:15:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-31","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                  10:39:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:39:55","Uptime":"0T02:15:09","UptimeSec":8109,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-27,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:39:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:39:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121407,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                  10:44:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:20:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-28","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                  10:44:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:44:55","Uptime":"0T02:20:09","UptimeSec":8409,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-31,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:44:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:44:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121437,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                  10:49:48 MQT: linky_pm/tele/HASS_STATE = {"Version":"8.4.0.2(tasmota)","BuildDateTime":"2020-08-19T13:03:24","Module or Template":"WifInfo","RestartReason":"Software/System restart","Uptime":"0T02:25:02","Hostname":"linky_pm-7262","IPAddress":"192.168.1.54","RSSI":"100","Signal (dBm)":"-26","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":19}
                  10:49:55 MQT: linky_pm/tele/STATE = {"Time":"2020-08-21T10:49:55","Uptime":"0T02:25:09","UptimeSec":8709,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"mochel","BSSId":"34:49:5B:B9:5B:C0","Channel":11,"RSSI":100,"Signal":-31,"LinkCount":1,"Downtime":"0T00:00:03"}}
                  10:49:55 MQT: linky_pm/tele/SENSOR = {"Time":"2020-08-21T10:49:55","ENERGY":{"TotalStartTime":"2019-11-29T19:05:42","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":400,"Current":2.000,"Load":6 "ADCO":"061964653612","OPTARIF":"BASE","ISOUSC":30,"BASE":1121468,"PTEC":"TH..","IINST":2,"IMAX":90,"PAPP":400,"HHPHC":"A","MOTDETAT":0}}
                  
                  
                  1 Reply Last reply
                  • pascal MochelP Offline
                    pascal MochelP Offline
                    pascal Mochel
                    wrote on last edited by pascal Mochel
                    #66

                    @Charles said in Ré-écriture de Wifinfo pour traiter le mode standard du Linky:

                    setOption108 1

                    Après setOption 108 1

                    Capture.PNG

                    1 Reply Last reply
                    • CharlesC Offline
                      CharlesC Offline
                      Charles
                      wrote on last edited by Charles
                      #67

                      Essaie ce PR, normalement ça va corriger ton index BASE 🙂

                      https://github.com/arendst/Tasmota/pull/9138

                      Seul le fichier xnrg_15_teleinfo.inoa changé.

                      https://github.com/arendst/Tasmota/blob/b3ea5a353c4753fcdaa785081bf47326a1c2e06e/tasmota/xnrg_15_teleinfo.ino

                      1 Reply Last reply
                      • pascal MochelP Offline
                        pascal MochelP Offline
                        pascal Mochel
                        wrote on last edited by
                        #68

                        @Charles said in Ré-écriture de Wifinfo pour traiter le mode standard du Linky:

                        Attention le device reboot juste après 🙂
                        Et c'est résistant au reset, donc à faire qu'une seule fois.
                        Merci à tous.

                        super ca marche

                        merci

                        maintenant je vais tester la remonté d'info en mqtt sur home assistant

                        f4874066-8f28-432d-85d7-e8707ca18dca-image.png

                        CharlesC 1 Reply Last reply
                        • pascal MochelP pascal Mochel

                          @Charles said in Ré-écriture de Wifinfo pour traiter le mode standard du Linky:

                          Attention le device reboot juste après 🙂
                          Et c'est résistant au reset, donc à faire qu'une seule fois.
                          Merci à tous.

                          super ca marche

                          merci

                          maintenant je vais tester la remonté d'info en mqtt sur home assistant

                          f4874066-8f28-432d-85d7-e8707ca18dca-image.png

                          CharlesC Offline
                          CharlesC Offline
                          Charles
                          wrote on last edited by
                          #69

                          @pascal-Mochel Top, d'ailleurs la modif est maintenant active dans la main branche Theo l'a mergé.

                          1 Reply Last reply
                          • pascal MochelP Offline
                            pascal MochelP Offline
                            pascal Mochel
                            wrote on last edited by
                            #70

                            remonté via MQTT d'informations
                            fonctionne

                            super merci

                            1 Reply Last reply
                            • rgrunblaR Offline
                              rgrunblaR Offline
                              rgrunbla
                              wrote on last edited by
                              #71

                              Salut,

                              Tout d'abord, merci pour le module, j'ai quelque chose qui ressemble à quelque chose, maintenant !

                              J'essaye d'utiliser Tasmota et ce nouveau module, et je suis face à un problème: j'obtiens des informations qui semblent ne pas être du json valide:

                              {"Time":"2020-08-22T21:47:31","ENERGY":{"TotalStartTime":"2020-08-22T13:20:46","Total":1.116,"Yesterday":0.000,"Today":1.116,"Period":0,"Power":230,"Current":1.000,"Load":2 "ADCO":"XXXXXXXXXXXX","OPTARIF":"BASE","ISOUSC":45,"BASE":7819066,"PTEC":"TH..","IINST":1,"IMAX":90,"PAPP":230,"HHPHC":"A","MOTDETAT":0}}
                              

                              Il manque par exemple entre le "Load":2et le "ADCO": "XXXXXXXXXXXX" une virgule. Ça resemble au problème de @pascal-Mochel d'il y a quelques jours, sauf que j'aimerais garder ce format où j'ai tout dans un seul type detopic MQTT (tele/tasmota_foobar/SENSOR) donc ne pas utiliser le setOption108 1 , et ce "json" non valide m'empêche de traiter les données simplement par la suite.

                              Une idée?

                              Rémy

                              1 Reply Last reply
                              • CharlesC Offline
                                CharlesC Offline
                                Charles
                                wrote on last edited by
                                #72

                                Remy

                                ahah c'est un sale bug, c'est fixé dans ce PR
                                https://github.com/arendst/Tasmota/pull/9147

                                Merci du retour

                                1 Reply Last reply
                                • rgrunblaR Offline
                                  rgrunblaR Offline
                                  rgrunbla
                                  wrote on last edited by
                                  #73

                                  Merci ! Ça fonctionne globalement, mais… J'ai encore un petit problème: j'ai parfois des caractères non-ascii / utf8 dans la sortie, par exemple:

                                  {"Time":"2020-08-23T12:05:47","ENERGY":{"TotalStartTime":"2020-08-22T13:20:46","Total":2.594,"Yesterday":2.106,"Today":0.488,"Period":0,"Power":240,"Current":1.000,"Load":2,"ADCO":"811775074547","ISOUSC":45,"HHPHC":"A","IMAX":90,"BASE":7822520,"PTEC":"TH..","IINST":1,"PAPP":240,"MOTDETAT":0,"OPTARIF":"BASE","TEC":"TH.."}}
                                  

                                  se termine en fait par:

                                   'OPTARIF":"BASE","\x10TEC":"TH.."}}'
                                  

                                  Ça ne semble pas arriver tout le temps, je peux probablement traiter le \x10 à la sortie de MQTT mais c'est peut être le syndrome d'un autre problème.

                                  Rémy

                                  rgrunblaR 1 Reply Last reply
                                  • rgrunblaR rgrunbla

                                    Merci ! Ça fonctionne globalement, mais… J'ai encore un petit problème: j'ai parfois des caractères non-ascii / utf8 dans la sortie, par exemple:

                                    {"Time":"2020-08-23T12:05:47","ENERGY":{"TotalStartTime":"2020-08-22T13:20:46","Total":2.594,"Yesterday":2.106,"Today":0.488,"Period":0,"Power":240,"Current":1.000,"Load":2,"ADCO":"811775074547","ISOUSC":45,"HHPHC":"A","IMAX":90,"BASE":7822520,"PTEC":"TH..","IINST":1,"PAPP":240,"MOTDETAT":0,"OPTARIF":"BASE","TEC":"TH.."}}
                                    

                                    se termine en fait par:

                                     'OPTARIF":"BASE","\x10TEC":"TH.."}}'
                                    

                                    Ça ne semble pas arriver tout le temps, je peux probablement traiter le \x10 à la sortie de MQTT mais c'est peut être le syndrome d'un autre problème.

                                    Rémy

                                    rgrunblaR Offline
                                    rgrunblaR Offline
                                    rgrunbla
                                    wrote on last edited by rgrunbla
                                    #74

                                    En fait, il semblerait qu'il y ait des corruptions dans la sortie TIC, qui se traduisent par des corruptions dans les messages MQTT:

                                    12:10:39 CFG: Saved to flash at FB, Count 58, Bytes 4096
                                    12:10:39 MQT: tele/tasmota_19FDA8/STATE = {"Time":"2020-08-23T12:10:39","Uptime":"0T00:00:11","UptimeSec":11,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Livebox-FE98","BSSId":"70:FC:8F:49:25:7F","Channel":6,"RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:05"}}
                                    12:10:39 MQT: tele/tasmota_19FDA8/SENSOR = {"Time":"2020-08-23T12:10:39","ENERGY":{"TotalStartTime":"2020-08-22T13:20:46","Total":2.611,"Yesterday":2.106,"Today":0.505,"Period":1,"Power":230,"Current":1.000,"Load":2,"ADCO":"811775074547","OPTARIF":"BASE","ISOUSC":45,"BASE":7822537,"PTEC":"TH..","IINST":1,"HHPHC":"A","MOTDETAT":0,"IMAX":90,"PAPP":230}}
                                    12:10:42 TIC: [26]# rj^5jxGW^FwVASE=007822537
                                    12:10:49 MQT: tele/tasmota_19FDA8/STATE = {"Time":"2020-08-23T12:10:49","Uptime":"0T00:00:21","UptimeSec":21,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Livebox-FE98","BSSId":"70:FC:8F:49:25:7F","Channel":6,"RSSI":96,"Signal":-52,"LinkCount":1,"Downtime":"0T00:00:05"}}
                                    12:10:49 MQT: tele/tasmota_19FDA8/SENSOR = {"Time":"2020-08-23T12:10:49","ENERGY":{"TotalStartTime":"2020-08-22T13:20:46","Total":2.611,"Yesterday":2.106,"Today":0.505,"Period":0,"Power":230,"Current":1.000,"Load":2,"ADCO":"811775074547","OPTARIF":"BASE","ISOUSC":45,"BASE":7822537,"PTEC":"TH..","IINST":1,"HHPHC":"A","MOTDETAT":0,"IMAX":90,"PAPP":230,"rj^5jxGW^FwVASE":7822537}}
                                    

                                    Est-ce ma faute, est-ce que quelqu'un a déjà vu ça?

                                    Une fois que la sortie TIC s'est plantée, on dirait que les données restent dans les messages MQTT suivants (même si la sortie TIC semble être "rétablie").

                                    Rémy

                                    CharlesC 1 Reply Last reply
                                    • CharlesC Charles

                                      @Seb-H
                                      Cool, le package prêt à compiler est déjà mergé dans la branche development de l'officiel tasmota 🙂

                                      SebHS Offline
                                      SebHS Offline
                                      SebH
                                      wrote on last edited by
                                      #75

                                      @Charles

                                      Désolé pour le retard, je rentre de déplacement et j'ai enfin 5 minutes. Donc j'ai tester la dernière version en mode standard. Donc, le système ne voit rien du tout (aucune remonté de l'intensité et de la puissance apparente et des index ) et pourtant les données arrivent bien (j'ai pu refaire un log des données qui arrive sur la pin Rx)...

                                      1 Reply Last reply
                                      • SebHS Offline
                                        SebHS Offline
                                        SebH
                                        wrote on last edited by
                                        #76

                                        Par rapport à mon précédent post, je reformule une question déjà posé et qui est resté sans réponse à ce jour. Pourra t on définir une autre pin que celle imposé pour la réception des données ?

                                        1 Reply Last reply
                                        • CharlesC Offline
                                          CharlesC Offline
                                          Charles
                                          wrote on last edited by
                                          #77

                                          @Seb-H

                                          Si c'est un ESP8266, non c'est soit GPIO3 soit GPIO13 (de mémoire), c'est les seules pins possibles pour la hardware Serial, sur un ESP32 tu dois normalement avec le template pouvoir changer de pin à ta guise.

                                          SebHS 1 Reply Last reply

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          3

                                          Online

                                          5.8k

                                          Users

                                          565

                                          Topics

                                          5.3k

                                          Posts

                                          Top Topics

                                          Popular Tags

                                          teleinfo
                                          25 topics
                                          arduino
                                          19 topics
                                          remora
                                          16 topics
                                          esp8266
                                          10 topics
                                          arduipi
                                          10 topics
                                          raspberry
                                          8 topics
                                          wifinfo
                                          7 topics
                                          broadcast
                                          7 topics
                                          Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Blog
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups