zeroerrors / solarmon Goto Github PK
View Code? Open in Web Editor NEWA simple Python Script for reading Growatt PV Inverter Modbus RS485 RTU Protocol and storing into InfluxDB
License: MIT License
A simple Python Script for reading Growatt PV Inverter Modbus RS485 RTU Protocol and storing into InfluxDB
License: MIT License
Running 100% I had to change unit number ..
In growatt.py typo in errors
30: 'AV V Outrange',
should be
30: 'AC V Outrange',
Hi
I have got a growatt SPF-5000TL, I run the script on the Raspberry,
I receive a syntax error
File "solarmon.py", line 23
print('Setup InfluxDB Client... ', end='')
^
SyntaxError: invalid syntax
and when commenting out " print('Setup InfluxDB Client... ', end='')" and print('Setup Serial Connection... ', end='') I I can get past the error, but receive the following error, I have double check that the RS485A and RS485B pins are correct as per Growatt inverter as well that I can see /ttyUSB0 as the device to use.
Loading inverters...
Traceback (most recent call last):
File "solarmon.py", line 47, in
growatt = Growatt(client, name, unit)
File "/home/pi/solarmon/growatt.py", line 58, in init
self.read_info()
File "/home/pi/solarmon/growatt.py", line 63, in read_info
raise row
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] Incomplete message received, expected at least 2 bytes (0 received)
Any assistance will be greatly appreciated.
Thanks Dawie
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...)
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Is possible to add more values from PV hrowatt SPH? Which registry and how?
Thank you.
It might be useful/dangerous to have a write to register option. I'm thinking here where you might want to change the operation mode based on Time-of-Use settings - i.e. set to battery when peak cost and then switch to grid priority when low cost
Hi,
Thank you for this software. I use it for some weeks now and works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.