Growatt SPF3000TL HVM 24v - can't get "solarmon" to work with
Hi!
I'm having issues getting "solarmon" to connect to my inverter. Have tried some other projects from github - https://github.com/Heleen/growatt-reader, and that one works. It seams to me that both projects uses same Python3 module - ModbusSerialClient.
As "solarmon" has the InfluxDB and Grafana integration, I'd like to further debug what's the issue here.
PVKeeper says that the CPU version is 503.08 - I guess that's the firmware.
What steps should I take to further debug the error?
(I think there's so output given saying error 5...)
Actually I've managed to find out what the issue was.
Output prior implementing "the fix" was:
solarmon $ python3 solarmon.py Setup InfluxDB Client... Done! Setup Serial Connection... Dome! Loading inverters... Growatt: Name: main Unit: 1 Modbus Version: 0 Done! main 2 main 2
Looks like this inverter or firmware has also system status 2. It could be the status for "discharging". At least PVKeeper 2.0. says so.
The link to the protocol documentation in solarmon.py is not working. Here's a working one Growatt PV Inverter Modbus RS485 RTU Protocol PDF
So to fix the issue, growatt.py files was updated to
import datetime
from pymodbus.exceptions import ModbusIOException
# Codes
StateCodes = {
0: 'Waiting',
1: 'Normal',
2: 'Discharging',
3: 'Fault'
}