-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPF-5000TL -SyntaxError: invalid syntax and ModbusIOException: Modbus Error #7
Comments
My only guess to this issue would be Python 2 vs Python 3, whats the output of
The modbus error seems to just be that it failed to read data for some reason. |
Wondering if you ever managed to get this to work with the SPF5000TL. Have the same inverter and been pulling my hair out on this for a a couple days now. |
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
The text was updated successfully, but these errors were encountered: