SDM120 Modbus to



I have a new PV system up & running with 6 JA Solar 305 Wp PV panels and 3 APsystems YC500i micro inverters. I have installed an Eastron SDM120 Modbus meter between the power grid and the inverters to monitor the system.

Now i want to upload all data from the SDM120 to PVOutput. I used Google and found some scripts and tools to read the Modbus meter, however there is no ready to use script to directly upload it to PVOutput.

Is there anyone here who has the same SDM120 and wants to share his script with me?

Thank you.


Hi @maarten_brand

I do not have SDM120 nor the script, I do have an SDM630 but it is not yet properly installed so I stop its development a little. If you have basic python skill you may want to modify my code that reads Growatt modbus and send to pvoutput. I could be just a matter of reading the proper registers and attaching its values to pvouput properties (v1, v2…). I cannot do coding right now for you but if you are willing to code and/or test I can help. Do you have SDM120 properly attached to a PC/RaspberryPi right now?




Please, try this code: it is quick n dirty mashup between a eastron reader code I found (easy to use/understand) and the pvoutput class I put together for the Growatt inverter read.

I make following assumptions:

  1. Your meter is a bidirectional model (per Eastron documents it is)
  2. It is installed as import direction being from grid to PV and, of course, export being from PV to grid. If it is inverted, please change the register 74 to 72 at v1 setting.
  3. You are interest only in reading during daylight (ongoing production)

Please, let me know if this works for you.