I have got pysolarman communications work with Solis Hybdrid Inverter. The issue is that although it starts fine, after a few scans it gets [class 'pysolarmanv5.V5FrameError] exceptions. It always works first time and usually gets stuck with the error but sometimes recovers for a short time.
The code re-initialises the 'modem' after failure but this does not help.
Attached are the source code and a log file produced during testing.
N.B. This code works with data acquisition software I have developed myself (via mqtt) but this is irrelevant to the issue.
I have got pysolarman communications work with Solis Hybdrid Inverter. The issue is that although it starts fine, after a few scans it gets [class 'pysolarmanv5.V5FrameError] exceptions. It always works first time and usually gets stuck with the error but sometimes recovers for a short time. The code re-initialises the 'modem' after failure but this does not help. Attached are the source code and a log file produced during testing. N.B. This code works with data acquisition software I have developed myself (via mqtt) but this is irrelevant to the issue.
WHY cant I upload python files directly solis_scan.log.txt solis_scan.py.txt