MQTT energy meter: convert a SDM120 Modbus meter to MQTT

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 23

  • @roadeycarl
    @roadeycarl ปีที่แล้ว +5

    Brilliant. Thanks for this, great work !

  • @xenakriegerindeslichts924
    @xenakriegerindeslichts924 ปีที่แล้ว

    Danke! This is exactly what I was searching, for a long time. It shall control a zero power injection to the grid steering the SoyoSource Inverter

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว

      Thanks, I am glad this works for you as well.

  • @unwired
    @unwired หลายเดือนก่อน

    Question; I am curious if I can connect or share both ESP32 and Deye inverter o n Eastron RS485?

    • @csongorvarga
      @csongorvarga  หลายเดือนก่อน +1

      Unfortunately not. Modbus is a master slave protocol, there could only be one master on the serial line. You cannot have an ESP and inverter reading the same modbus device.

    • @unwired
      @unwired 17 วันที่ผ่านมา

      The Eastron will serve as the master?

  • @leotimmermans8252
    @leotimmermans8252 ปีที่แล้ว +1

    Nice vid Csongor, tkx for that, can you maybe show how the 485 in connected to the esp8266 ? Would that be the same for a ESP32 ?

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว

      I attached the schematic of to the board project. So you find all the wiring diagram there. I don't think I am using any special pins on the ESP8266, so I assume you would be able to use an general purpose IO pins on the ESP32 as well.

  • @BlueSky-cy5nw
    @BlueSky-cy5nw 11 หลายเดือนก่อน +1

    Thanks for the video. I am trying to do something similar with the Eastron SDM230, and integrate it into home assistant.

    • @csongorvarga
      @csongorvarga  11 หลายเดือนก่อน +1

      I never worked with the 230 but I assume it is very similar. Probably you can change the registers around and it will work.

  • @pstoianov
    @pstoianov ปีที่แล้ว

    Do you have code for SDM630? It's similar but 3phases version...

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว

      Yes I know them, but I don't have any. But again if you are OK to use ESPHome, it supports SDM630 as well.

  • @johannscharl2935
    @johannscharl2935 ปีที่แล้ว

    Hi Jhon, thank you for your videos. iḿ searching for a code to realize the zero power injection to grid for Growatt inverters. i use a sdm630 meter. Du you have a code example to realize it ? Thank you very much

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว +1

      Well, As far as I know some inverters have a dedicated RS485 port and it reads the energy meter directly. But I am not sure what models are supported. And in this case the inverter takes care of it automatically. But in this project, there is already a setMaxOutput topic where you can reduce the maximum output of the inverter. I did not use this functionality on mine yet. But it would be possible for you to read the SDM630 and set the SetMaxOutput manually.

    • @johannscharl2935
      @johannscharl2935 ปีที่แล้ว

      @@csongorvarga nice, thank you very much. can you explain, where i can find the setmaxoutput in the code ? i can´t find it....

    • @csongorvarga
      @csongorvarga  ปีที่แล้ว +1

      @@johannscharl2935 You can find it in the main ino file, there is a callback function where all the MQTT messages are handled. And it is only simple modbus register update.

    • @johannscharl2935
      @johannscharl2935 ปีที่แล้ว +1

      @@csongorvarga Thank you very much John, i will try it.....

    • @johannscharl2935
      @johannscharl2935 ปีที่แล้ว

      @@csongorvarga Hi John, now my growatt inverter is talking to the esp (build on your project). All is working fine and i use nodered to show the data. Can you tell me, how i can use the /setMaxOutput function with node red ? i try with the "mqtt out" node, but itś not possible, to connect to the esp...Thank you very much!