Search found 5 matches

by Storic
Sunday 14 August 2022 12:16
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 89943

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

My script have suddenly stopped working after using it for years. Now I get a error of: ...\scripts>python test.py Traceback (most recent call last): File "test.py", line 41, in <module> resultJson = resultData.json() File "C:\Python27\lib\site-packages\requests\models.py", line 898, in json return ...
by Storic
Friday 20 March 2020 13:29
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 89943

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

Seams it was a problem with upgrading to python 3.7 Have now downgraded again, but now I get this error: C:\Users\John Martin>c:\python27\python.exe "C:\Program Files (x86)\scripts\solarmanpv.pyw" Traceback (most recent call last): File "C:\Program Files (x86)\scripts\solarmanpv.pyw", line 35, in ...
by Storic
Saturday 14 March 2020 11:25
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 89943

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

Hi, Have been using this script for a while, but suddenly it has stopped working. File "C:\inverter\solarmanpv.pyw", line 38 print 'Logged In: '+username ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Logged In: '+username)? Anyone have any idea what can be the problem? I ...
by Storic
Tuesday 30 April 2019 12:23
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 89943

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

galadril wrote: Tuesday 30 April 2019 8:31 Ginlong has a new platform (they call it platform 2).
All api's are changed.


Ill try to change the script for Ginlong with the new api's!
Thanks for the feedback, but I forgot to mention that I use SolarmanPV.
However, it seams to be working now, so maybe they just had som server difficulties.
by Storic
Friday 26 April 2019 9:25
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 89943

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

Hi, I have had this script running for a while without any problems, but this morning it stoped working: Traceback (most recent call last): File "C:\Users\askev\Desktop\solarmanpv - Copy.py", line 35, in <module> root = ET.parse(urllib.urlopen(requestURL)).getroot() File "C:\Python27\lib\urllib.py ...