Closed shannondpasto closed 2 years ago
So I found the issue. It was to do with the version of SungrowModbusTcpClient. The Pi has v0.1.2 but the requirements calls for >=0.1.5. Installing the older version has resolved the issue. Not sure if it's worth your time to investigate the issue further but unless there's other reasons why I should upgrade to with 0.1.5 then I'm happy to leave this.
Hi.
I recently setup a new debian 11 server and I've been having issues with running this. On my old server (pi4/python 3.7.2) it executes successfully first time, every time. Running the same version (and even a new clone of the repor) on debian 11 it takes 1 or 2 scrapes before it successfully runs. I get the following error...
The pi does have pymodbus 2.5.1 installed. I tried this version and v2.4.0 with a clean git pull and the issue continues. Ultimately it does successfully scrape but as I run the project as --one-shot in cron it generates an email at every execution.
The only difference so far is the version of python. Any thoughts?
Cheers