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. Denky D4
  5. Question neophyte / Denky

Question neophyte / Denky

Scheduled Pinned Locked Moved Denky D4
8 Posts 2 Posters 1.6k Views 1 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.
  • E Offline
    E Offline
    ellipsis
    wrote on last edited by
    #1

    Hi Charles (better to write in my native language, I guess)

    I have 2 Linky in different properties in France, one 3-phase, one sigle phase. I have some capabilities in Raspberry Pi/Python/MQTT, and today I use clamps to measure electricity consumption. I want to move to Teleinfo for this data
    I think I want to buy 2x Denky, but I wanted to confirm this option, if I may.
    I assume I will set up each using the default software, and then examine development options to (in parallel?) send the data via MQTT to my own RPi4 Pi server.
    Questions:

    1. Deoes this make sense? Any suggestions?
    2. I've looked around and not found any details for the physical connection to the Linky units. I see the USB (and wire connectors) on the LInkys, but I'd quite like authoritative details. Can you point me to a source for this install info?

    Thanks for any/all help!

    CharlesC 1 Reply Last reply
    • E ellipsis

      Hi Charles (better to write in my native language, I guess)

      I have 2 Linky in different properties in France, one 3-phase, one sigle phase. I have some capabilities in Raspberry Pi/Python/MQTT, and today I use clamps to measure electricity consumption. I want to move to Teleinfo for this data
      I think I want to buy 2x Denky, but I wanted to confirm this option, if I may.
      I assume I will set up each using the default software, and then examine development options to (in parallel?) send the data via MQTT to my own RPi4 Pi server.
      Questions:

      1. Deoes this make sense? Any suggestions?
      2. I've looked around and not found any details for the physical connection to the Linky units. I see the USB (and wire connectors) on the LInkys, but I'd quite like authoritative details. Can you point me to a source for this install info?

      Thanks for any/all help!

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

      @ellipsis this is the correct way, you have 2 options, if your place has internet may be centralizing data thru a clouded MQTT or hosted on a PI in your main house or cloud is ideal, if not you'll need a PI in each place to centralize.

      Denky D4 need to be connected with a USB-C cable to bring power to the module, then 2 wires from green connector, one in the Linky I1 and other I2 (no mater order, it's not polarized) for Teleinfo Signal.

      Hope this helps

      E 1 Reply Last reply
      • CharlesC Charles

        @ellipsis this is the correct way, you have 2 options, if your place has internet may be centralizing data thru a clouded MQTT or hosted on a PI in your main house or cloud is ideal, if not you'll need a PI in each place to centralize.

        Denky D4 need to be connected with a USB-C cable to bring power to the module, then 2 wires from green connector, one in the Linky I1 and other I2 (no mater order, it's not polarized) for Teleinfo Signal.

        Hope this helps

        E Offline
        E Offline
        ellipsis
        wrote on last edited by
        #3

        @Charles Thanks for confirming - will order asap.

        FYI, there is a broken link you may want to fix... https://github.com/hallard/LibTeleinfo/blob/master/examples/Raspberry_JSON/Raspberry_JSON.ino

        Thanks!

        CharlesC 1 Reply Last reply
        • E ellipsis

          @Charles Thanks for confirming - will order asap.

          FYI, there is a broken link you may want to fix... https://github.com/hallard/LibTeleinfo/blob/master/examples/Raspberry_JSON/Raspberry_JSON.ino

          Thanks!

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

          @ellipsis ah ah thanks, link fixed.

          E 1 Reply Last reply
          • CharlesC Charles

            @ellipsis ah ah thanks, link fixed.

            E Offline
            E Offline
            ellipsis
            wrote on last edited by
            #5

            @Charles Hellon again. I received and connected a Denky D4 unit to my pi4 and 3-phase meter (flashing blue LED, so I assume correctly).
            I'm struggling to make the software connections work. I think this is because I have not found the correct instructions document for installation, so I'm blundering around somewhat.

            Current symptom: cannot see tty connection with picocom.
            tty_issue.png

            Serial port is enabled, serial console disabled, cmdline.txt is as follows:
            console=tty1 root=PARTUUID=252dbefd-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

            dmesg seems fine:
            [ 2.577377] usb 1-1.4: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.43
            [ 2.577414] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=3
            [ 2.577435] usb 1-1.4: Product: USB Single Serial
            [ 2.577453] usb 1-1.4: SerialNumber: 54AD000834

            Thanks for any help

            CharlesC 1 Reply Last reply
            • E ellipsis

              @Charles Hellon again. I received and connected a Denky D4 unit to my pi4 and 3-phase meter (flashing blue LED, so I assume correctly).
              I'm struggling to make the software connections work. I think this is because I have not found the correct instructions document for installation, so I'm blundering around somewhat.

              Current symptom: cannot see tty connection with picocom.
              tty_issue.png

              Serial port is enabled, serial console disabled, cmdline.txt is as follows:
              console=tty1 root=PARTUUID=252dbefd-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

              dmesg seems fine:
              [ 2.577377] usb 1-1.4: New USB device found, idVendor=1a86, idProduct=55d4, bcdDevice= 4.43
              [ 2.577414] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=3
              [ 2.577435] usb 1-1.4: Product: USB Single Serial
              [ 2.577453] usb 1-1.4: SerialNumber: 54AD000834

              Thanks for any help

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

              @ellipsis sorry about that, I though you wanted Denky to communicate thru PI using WiFi (both on same network) and sending data to PI MQTT broker using the network.
              To have the linky physically connected to PI you should have used PITinfo (PI Connector) or MicroTeleinfo (USB). MicroTeleinfo is better if you want to connect several dongle to same PI (up to 4 USB)

              Anyway you can use Denky D4 to do the same thing but it's a little overkill, you can try to flash some sample to read teleinfo from denky and send thru Serial.
              https://github.com/hallard/LibTeleinfo/tree/master/examples/Teleinfo_DenkyD4

              Check ou samples Teleinfo_DenkyD4 or ESP32_Passthru (this one more like MicroTeleinfo or PiTinfo)

              But I repeat easier and fasted way is to connect Denky D4 with WiFi and Tasmota firmware and then send data to MQTT.

              You can also set picocom to 115200 (to see tasmota log and extract ENERGY frame data)

              E 1 Reply Last reply
              • CharlesC Charles

                @ellipsis sorry about that, I though you wanted Denky to communicate thru PI using WiFi (both on same network) and sending data to PI MQTT broker using the network.
                To have the linky physically connected to PI you should have used PITinfo (PI Connector) or MicroTeleinfo (USB). MicroTeleinfo is better if you want to connect several dongle to same PI (up to 4 USB)

                Anyway you can use Denky D4 to do the same thing but it's a little overkill, you can try to flash some sample to read teleinfo from denky and send thru Serial.
                https://github.com/hallard/LibTeleinfo/tree/master/examples/Teleinfo_DenkyD4

                Check ou samples Teleinfo_DenkyD4 or ESP32_Passthru (this one more like MicroTeleinfo or PiTinfo)

                But I repeat easier and fasted way is to connect Denky D4 with WiFi and Tasmota firmware and then send data to MQTT.

                You can also set picocom to 115200 (to see tasmota log and extract ENERGY frame data)

                E Offline
                E Offline
                ellipsis
                wrote on last edited by ellipsis
                #7

                @Charles My misunderstanding. Will pursue Tasmota/MQTT option. Thanks very much for your help here!
                Tony

                E 1 Reply Last reply
                • E ellipsis

                  @Charles My misunderstanding. Will pursue Tasmota/MQTT option. Thanks very much for your help here!
                  Tony

                  E Offline
                  E Offline
                  ellipsis
                  wrote on last edited by
                  #8

                  @ellipsis Making progress on this, but I should have asked where is the best document or link for installation of Denky 4 with Raspberry Pi? I see many fragments on various sites, but cannot find an up to date document. English or French are fine for me.
                  Thanks again

                  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


                  2

                  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