Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Denky-D4 photovoltaique

    Scheduled Pinned Locked Moved Denky D4
    8 Posts 3 Posters 383 Views
    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.
    • christophe LECONTEC Offline
      christophe LECONTE
      last edited by christophe LECONTE

      J'ai achete un denky-d4 pour monitorer mon installation photovoltaique. Celle-ci est relie a un linky dedie, car 100% de cette production est revendu.

      Un point me surprend , le module affiche correctement la production en Ampere (Current), mais pas je pense qu'il devrait egalement afficher celle-ci en W (Active Power). Hors cette seconde ligne reste a 0.

      Une idee du pourquoi ?

      Capture.PNG

      CharlesC Nicolas BernaertsN 2 Replies Last reply Reply Quote
      • CharlesC Offline
        Charles @christophe LECONTE
        last edited by

        @christophe-LECONTE il est fort probable que l'étiquette renvoyée par le Linky en production ne soit pas la même (j'imagine) c'est peut être ça et dans ce cas la elle n'est pas gérée.

        tu pourrais mettre une trame complète de données reçues par le Denky ou afficher la console, lorsque tasmota émet une trame de télémétrie il y a toutes les données dans la console.

        christophe LECONTEC 1 Reply Last reply Reply Quote
        • Nicolas BernaertsN Offline
          Nicolas Bernaerts @christophe LECONTE
          last edited by

          Bonjour @christophe-LECONTE
          Effectivement en mode conso l'étiquette habituelle est EAST.
          En mode production, l'étiquette est EAIT. La puissance instantanée produite est sur SINSTI.
          La complexité est qu'en auto consommation on peut maintenant avoir les deux étiquettes alimentées en même temps ... 😞
          Je suis en train de faire évoluer mon fork afin de gérer les deux compteurs indépendamment. Avec un peu de chance je pourrai poster une version fonctionnelle ce week-end. Tu auras alors les 2 compteurs gérés, un fichier historique annuel de conso et un de prod. Il y aura un graph de suivi de conso et un de suivi de prod.
          Cela devrait fonctionner sur ESP8266 et ESP32 avec au minimum 4mb de mémoire (littlefs obligatoire pour les fichiers).

          A++

          CharlesC 1 Reply Last reply Reply Quote
          • CharlesC Offline
            Charles @Nicolas Bernaerts
            last edited by Charles

            @christophe-LECONTE

            Si tu es sur un ESP32 tu peux créer facilement un driver Teleinfo en berry pour afficher ce que tu veux

            Exemple basic, avec l'index principal, irms et urms, juste testé chez moi, tu mets ça dans le fichier autoexec.be dans le filesystem

            #-
             - Teleinfo driver written in Berry
             -
             - Support for Teleinfo custom values from choosen fields returned by smart meter
             - Based on TMP117-driver driver by sfromis and TomsTek (https://github.com/TomsTek/tasmota-berry-TMP117-driver)
            -#
            
            class TELEINFO: Driver
            
              # Global var Needed
              var east
              var irms
              var urms
            
              def init()
                # initialize globals
            
                # Don't display original sensors on WebUI, we want just our ones
                tasmota.cmd("backlog0 WebSensor0 0 ; WebSensor1 0 ; WebSensor2 0 ; WebSensor3 0")
            
                # create rules to trigger when TIC values updates 
              # Use Teleinfo Etiquette Names to get whatever value you need
                tasmota.add_rule("TIC#EAST", /value -> self.trigger_east(value))
                tasmota.add_rule("TIC#IRMS1", /value -> self.trigger_irms(value))
                tasmota.add_rule("TIC#URMS1", /value -> self.trigger_urms(value))
              end
            
              def trigger_east(index)
                self.east = index
                # DEBUG print("index:", index)
              end
            
              def trigger_irms(i)
                self.irms = i
                # DEBUG print("irms:", i)
              end
            
              def trigger_urms(u)
                self.urms = u
                # DEBUG print("urms:", u)
              end
            
              #- trigger a read every second -#
              def every_second()
                # DEBUG print("sensors:",tasmota.read_sensors())
              end
            
              #- display sensor value in the web UI -#
              def web_sensor()
                import string
                var msg = string.format(
                        "{s}Consommation{m}%d Wh{e}"
                        "{s}Tension RMS{m}%d V{e}"
                        "{s}Intensité RMS{m}%d A{e}", 
                         self.east, self.urms, self.irms )
            
                tasmota.web_send_decimal(msg)
              end
            end
            
            teleinfo = TELEINFO()
            tasmota.add_driver(teleinfo)
            
            

            et voila le résultat

            ba36fe19-9adf-4bd6-ade6-30c77e92a4ec-image.png

            Facile non ?

            1 Reply Last reply Reply Quote
            • christophe LECONTEC Offline
              christophe LECONTE @Charles
              last edited by Charles

              @Charles

              voila quelques extrait de la console :

              08:24:00.917 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:24:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":3.000,"Load":60},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":3,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              08:29:00.905 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-28T08:29:00","Uptime":"0T13:27:47","UptimeSec":48467,"Heap":130,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-44,"LinkCount":1,"Downtime":"0T00:00:03"}}
              08:29:00.919 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:29:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":3.000,"Load":60},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":3,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              08:34:00.907 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-28T08:34:00","Uptime":"0T13:32:47","UptimeSec":48767,"Heap":129,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-43,"LinkCount":1,"Downtime":"0T00:00:03"}}
              08:34:00.919 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:34:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":3.000,"Load":60},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":3,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              08:39:00.910 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-28T08:39:00","Uptime":"0T13:37:47","UptimeSec":49067,"Heap":130,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-43,"LinkCount":1,"Downtime":"0T00:00:03"}}
              08:39:00.922 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:39:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":4.000,"Load":80},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":4,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              08:44:00.905 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-28T08:44:00","Uptime":"0T13:42:47","UptimeSec":49367,"Heap":129,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-43,"LinkCount":1,"Downtime":"0T00:00:03"}}
              08:44:00.919 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:44:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":4.000,"Load":80},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":4,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              08:49:00.902 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-28T08:49:00","Uptime":"0T13:47:47","UptimeSec":49667,"Heap":130,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-43,"LinkCount":1,"Downtime":"0T00:00:03"}}
              08:49:00.914 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:49:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":4.000,"Load":80},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":4,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              08:54:00.899 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-28T08:54:00","Uptime":"0T13:52:47","UptimeSec":49967,"Heap":130,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-39,"LinkCount":1,"Downtime":"0T00:00:03"}}
              08:54:00.911 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-28T08:54:00","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.349,"Yesterday":0.000,"Today":0.001,"Period":0,"Power":0,"Current":4.000,"Load":80},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":350,"PTEC":"TH..","IINST":4,"IMAX":90,"PAPP":0,"HHPHC":"A","MOTDETAT":0}}
              

              il m'est néanmois arrive de voir une valeur en Watts affiche pour Active Power, mais ce n'est pas systematique.

              CharlesC 1 Reply Last reply Reply Quote
              • christophe LECONTEC Offline
                christophe LECONTE
                last edited by

                Bonjour, et tout d'abord merci pour vos reponses.

                J'ai acheté le module denky "tout fait", car mes essais avec esp32 + pcb maison opto /resistance ne fonctionnait pas de manière fiable : deux mains gauches ! Du coup j'avoue que je suis un peu frileux a l'idée de flasher le denky, de peur de tout foirer 🙂

                1 Reply Last reply Reply Quote
                • CharlesC Offline
                  Charles @christophe LECONTE
                  last edited by

                  @christophe-LECONTE en fait tu es en mode historique sur la téléinfo je ne comprends pas pourquoi avec de la production ils n'ont pas passé ton linky en mode standard

                  Tu n'as que ces étiquettes là donc tu ne peux rien faire, tu dois faire une demande auprès de ton fournisseur pour lui demander de passer la TIC de ton Linky en mode Standard (les boulets parfois)

                  {
                  "ADCO":"022064982940",
                  "OPTARIF":"BASE",
                  "ISOUSC":5,
                  "BASE":350,
                  "PTEC":"TH..",
                  "IINST":4,
                  "IMAX":90,
                  "PAPP":0,
                  "HHPHC":"A",
                  "MOTDETAT":0
                  }
                  
                  christophe LECONTEC 1 Reply Last reply Reply Quote
                  • christophe LECONTEC Offline
                    christophe LECONTE @Charles
                    last edited by Charles

                    @Charles
                    Ok merci , pour l'info, je vais faire la demande !

                    Et sinon parfois Active Power remonte bien les infos :

                    08:39:18.946 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-31T08:39:18","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.351,"Yesterday":0.001,"Today":0.001,"Period":0,"Power":90,"Current":0.000,"Load":0},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":353,"PTEC":"TH..","IINST":0,"IMAX":90,"PAPP":90,"HHPHC":"A","MOTDETAT":0}}
                    
                    08:44:18.930 MQT: tele/tasmota_F5BD54/STATE = {"Time":"2023-10-31T08:44:18","Uptime":"1T12:48:49","UptimeSec":132529,"Heap":131,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":39},"POWER":"ON","Dimmer":64,"Color":"3956A3","HSBColor":"224,65,64","Channel":[22,34,64],"Scheme":0,"Width":1,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"garage","BSSId":"68:3F:7D:59:23:50","Channel":6,"Mode":"11n","RSSI":100,"Signal":-44,"LinkCount":1,"Downtime":"0T00:00:03"}}
                    08:44:18.942 MQT: tele/tasmota_F5BD54/SENSOR = {"Time":"2023-10-31T08:44:18","ENERGY":{"TotalStartTime":"2023-10-21T19:40:23","Total":0.351,"Yesterday":0.001,"Today":0.001,"Period":0,"Power":90,"Current":0.000,"Load":0},"TIC":{"ADCO":"022064982940","OPTARIF":"BASE","ISOUSC":5,"BASE":353,"PTEC":"TH..","IINST":0,"IMAX":90,"PAPP":90,"HHPHC":"A","MOTDETAT":0}}
                    08:47:54.485 UFS: File '/' download
                    

                    b8324933-3a4a-415a-89c0-c5f860c5727c-image.png

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post

                    1

                    Online

                    5.7k

                    Users

                    534

                    Topics

                    5.0k

                    Posts

                    Top Topics

                    • Bonjour Nicolas
                      Nicolas BernaertsN
                      Nicolas Bernaerts
                      0
                      19
                      353

                    • Denky 4 - Domoticz - Triphasé -
                      Nicolas BernaertsN
                      Nicolas Bernaerts
                      0
                      7
                      101

                    • Denky D4 et Linky Standard TInfo Rx Non Configuré
                      CharlesC
                      Charles
                      0
                      5
                      142

                    • CC1101 mini shield pour raspberry
                      CharlesC
                      Charles
                      0
                      5
                      161

                    • CC1101
                      CharlesC
                      Charles
                      0
                      2
                      71

                    Popular Tags

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