question

fabulous-gonzo avatar image
fabulous-gonzo asked

Deye Sun G3 micro inverter integration

Hi folks,

based on the great work of @vikt0rm and others. I was able to integrate my Deye Sun G3 micro inverter into Venus OS.

No additional meter is needed, the data comes directly from the micro inverter and is read out via Modbus.

Known limitation is: The inverter does not provide real-time data but updates its registers only every 5 minutes. If this is enough for you, this is a good solution.

The service also takes care of the reset of the Daly Production if the inverter is not connected to the Solarman cloud.

The script is published on Github:

https://github.com/s10l/dbus-deye-sun-g3-pvinverter


venus-os-overview.pngvenus-os-devicelist.pngvenus-os-device.png


Venus OSEnergy MeterAC PV Couplingmultiple inverterssystem integration
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

davion avatar image davion commented ·

Great work @fabulous-gonzo. I am trying to do a similar configuration and have also reviewed the github page. What isn't clear to me is the communication protocol between the Deye and the PI. So can I know how you physically connected the Deye Sun G3 micro inverter to the Raspberry PI/Venus OS? Was it through RS485 to USB or some other method?


Thanks in anticipation.

0 Likes 0 ·
aku avatar image aku commented ·
Fantastic work you did. For physical connection, did you connect directly to the RS485 port or you connected through the Solarman data logger?
0 Likes 0 ·
1 Answer
spacecow avatar image
spacecow answered ·

Thanks for your work @fabulous-gonzo, unfortunatly I hade problems with my new inverters (the ones distributed directly with the relay and Firmware version 2.* (for me 2.32). As they changed the communication protocoll to only AT commands. I adapted your script for this and now Its hopefully working.

Check out at https://github.com/weltraumkuh/dbus-deye-sun-g3-pvinverter

I had some problems witch reading glitches of the daily production which I hopfully solved by brute force double reading the register and only accepting two identical readings.

If somebody is trying it out, and get some problems please contact me.



2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.