I managed to get output from samil monitor when connected to the inverter via ethernet, but when connected via WIFI it would fail with InverterEOFError as below.
After some tcpdump tracing SolarPower browser (running via wine) I noticed an exactly one second delay between accepting the connection on port 1200 and the app sending the initial 01 03 02 request.
putting a sleep(1.0) in find_inverter after accepting the connection fixed it.
My inverter: SolarRiver 4500 TL-D
SolarPower browser 3.2.3.0
Error:
DEBUG:samil.inverter:Sending server broadcast message to <broadcast>
INFO:samil.inverter:Connected with inverter on address ('192.168.2.204', 64067)
Found inverter on address ('192.168.2.204', 64067)
DEBUG:samil.inverter:Sending 55aa01030200000105
Traceback (most recent call last):
...
File "samil/samil/inverter.py", line 451, in receive
msg = super().receive()
File "samil/samil/inverter.py", line 177, in receive
return read_message(self.sock_file)
File "samil/samil/inverter.py", line 343, in read_message
raise InverterEOFError
samil.inverter.InverterEOFError
TCP dump SolarPower browser: (note 1 second delay)
Hi - thanks for your work on this.
I managed to get output from
samil monitor
when connected to the inverter via ethernet, but when connected via WIFI it would fail with InverterEOFError as below.After some tcpdump tracing SolarPower browser (running via wine) I noticed an exactly one second delay between accepting the connection on port 1200 and the app sending the initial 01 03 02 request.
putting a sleep(1.0) in find_inverter after accepting the connection fixed it.
My inverter: SolarRiver 4500 TL-D SolarPower browser 3.2.3.0
Error:
TCP dump SolarPower browser: (note 1 second delay)