Search found 2 matches

by Marijn
Sunday 29 December 2019 12:33
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 100469

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters


I have adjusted the script a bit. Because Solarmanpv can sometimes not be accessed.
Because of this I got a memoryleak on my raspberry, which caused the raspberry to crash.

I added a try to the login:


#login call
try:
root = ET.parse(urllib.urlopen(requestURL)).getroot()
token = root.find ...
by Marijn
Saturday 28 December 2019 12:19
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 100469

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

I have adjusted the script a bit. Because Solarmanpv can sometimes not be accessed.
Because of this I got a memoryleak on my raspberry, which caused the raspberry to crash.

I added a try to the login:


#login call
try:
root = ET.parse(urllib.urlopen(requestURL)).getroot()
token = root.find ...