goburrow / modbus

Fault-tolerant implementation of modbus protocol in Go (golang)
BSD 3-Clause "New" or "Revised" License
936 stars 366 forks source link

Read data out of SMA sunnyBoy #61

Open rogierlommers opened 4 years ago

rogierlommers commented 4 years ago

Hey, maybe a bit stupid question, but do you think it's possible to use this package to read data out of my sunnyboy inverter? According to the website it supports modbus. I also opened port 502 and by using netcat I indeed see some response on that port. But then what? What is my next approach in finding out what "registers" I should read to get the current generated solar energy?

wz2b commented 4 years ago

i'm doing it. what model inverter? you need to find the right modbus map for your inverter. They are not consistent across models.

I am using telegraf, which uses this project for modbus protocol support.

rogierlommers commented 4 years ago

Thanks for your reply; I want to read a SMA Sunnyboy, model "Sunny Boy 3.6 1AV-41". Any idea how to proceed with this?