wow, glad to see there's still some traction with this! I've got some recently acquired focus to mess about with this. Recently I've published the python project to the PyPi repo, meaning "anyone" (who has has a modbus serial adapter) can theoretically install the pip package and run a command to get a bunch of stats! The output from the library is the same as before, but the CLI output isnt currently parsable by jq so some work needed by me. I've also found telegraf has a direct input from a modbus device so I'm going to have a look at getting all the registers into the config and Ill bung it in the project as an example.
PyPI modbus-solar
PyPI modbus-solar