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.
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.
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
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 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.
@@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!
Brilliant. Thanks for this, great work !
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
Thanks, I am glad this works for you as well.
Question; I am curious if I can connect or share both ESP32 and Deye inverter o n Eastron RS485?
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.
The Eastron will serve as the master?
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 ?
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.
Thanks for the video. I am trying to do something similar with the Eastron SDM230, and integrate it into home assistant.
I never worked with the 230 but I assume it is very similar. Probably you can change the registers around and it will work.
Do you have code for SDM630? It's similar but 3phases version...
Yes I know them, but I don't have any. But again if you are OK to use ESPHome, it supports SDM630 as well.
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
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.
@@csongorvarga nice, thank you very much. can you explain, where i can find the setmaxoutput in the code ? i can´t find it....
@@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.
@@csongorvarga Thank you very much John, i will try it.....
@@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!