jbuehl / solaredge

SolarEdge inverter logging data capture
GNU General Public License v3.0
288 stars 60 forks source link

Exception while reading data #184

Closed fozed1 closed 12 months ago

fozed1 commented 12 months ago

First and foremost - this is a great project After several long days - I have got running for the most part.

My basic setup is:

Trying to get data from the inverter, there is nothing coming up. After that, I execute test1 and test2. Test2 gives some info: "Exception while reading data: bytearray index out of range" (look at test2). Could be this "exception" the reason for nodata ??

Question If yes how to solve this exception Is there anybody who give same help ??

Thank you


pi@Rasp3bian7:~/Solaredge/semonitor $ tcpdump -r 20230908.pcap reading from file 20230908.pcap, link-type EN10MB (Ethernet), snapshot length 262144 17:41:02.777041 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [P.], seq 4125887469:4125887935, ack 1083571059, win 2368, options [nop,nop,TS val 568049819 ecr 3472380425], length 466 17:41:02.801131 IP 167.94.110.3.https > 192.168.2.249.52860: Flags [.], ack 466, win 417, options [nop,nop,TS val 3472425568 ecr 568049819], length 0 17:41:02.832189 IP 167.94.110.3.https > 192.168.2.249.52860: Flags [P.], seq 1:52, ack 466, win 417, options [nop,nop,TS val 3472425600 ecr 568049819], length 51 17:41:02.832992 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [.], ack 52, win 2368, options [nop,nop,TS val 568049869 ecr 3472425600], length 0 17:43:02.787173 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [P.], seq 466:517, ack 52, win 2368, options [nop,nop,TS val 568169709 ecr 3472425600], length 51 17:43:02.843059 IP 167.94.110.3.https > 192.168.2.249.52860: Flags [P.], seq 52:103, ack 517, win 417, options [nop,nop,TS val 3472545608 ecr 568169709], length 51 17:43:02.843921 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [.], ack 103, win 2368, options [nop,nop,TS val 568169759 ecr 3472545608], length 0 17:45:02.798896 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [P.], seq 517:568, ack 103, win 2368, options [nop,nop,TS val 568289599 ecr 3472545608], length 51 17:45:02.854811 IP 167.94.110.3.https > 192.168.2.249.52860: Flags [P.], seq 103:154, ack 568, win 417, options [nop,nop,TS val 3472665618 ecr 568289599], length 51 17:45:02.855660 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [.], ack 154, win 2368, options [nop,nop,TS val 568289649 ecr 3472665618], length 0 17:45:17.643140 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [P.], seq 568:678, ack 154, win 2368, options [nop,nop,TS val 568304429 ecr 3472665618], length 110 17:45:17.663183 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [P.], seq 678:1048, ack 154, win 2368, options [nop,nop,TS val 568304449 ecr 3472665618], length 370 17:45:17.698757 IP 167.94.110.3.https > 192.168.2.249.52860: Flags [.], ack 1048, win 417, options [nop,nop,TS val 3472680459 ecr 568304429], length 0 17:45:17.709459 IP 167.94.110.3.https > 192.168.2.249.52860: Flags [P.], seq 154:205, ack 1048, win 417, options [nop,nop,TS val 3472680473 ecr 568304429], length 51 17:45:17.710250 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [.], ack 205, win 2368, options [nop,nop,TS val 568304489 ecr 3472680473], length 0 17:47:17.673181 IP 192.168.2.249.52860 > 167.94.110.3.https: Flags [P.], seq 1048:1099, ack 205, win 2368, options [nop,nop,TS val 568424339 ecr 3472680473], length 51 pi@Rasp3bian7:~/Solaredge/semonitor $

From the command line: pi@Rasp3bian7:~/Solaredge/semonitor $ cat 20230908.log Sep 09 17:40:36 append: False Sep 09 17:40:36 baudrate: 115200 Sep 09 17:40:36 commands: Sep 09 17:40:36 datasource: stdin Sep 09 17:40:36 follow: False Sep 09 17:40:36 interface: None Sep 09 17:40:36 keyfile: None Sep 09 17:40:36 logfile: 20230908.log Sep 09 17:40:36 master: False Sep 09 17:40:36 outfile: 20230908.json Sep 09 17:40:36 ports: 22222,22221,80 Sep 09 17:40:36 record: None Sep 09 17:40:36 slaves: Sep 09 17:40:36 type: None Sep 09 17:40:36 updatefile: None Sep 09 17:40:36 verbose: 4 Sep 09 17:40:36 xerror: False Sep 09 17:40:36 opening stdin pi@Rasp3bian7:~/Solaredge/semonitor $

From the command line: pi@Rasp3bian7:~/Solaredge/semonitor $ cat 20230908.json pi@Rasp3bian7:~/Solaredge/semonitor $