March 6, 20215 yr HELP! I grabbed Inverter-Data-Logger from github and configured it, but not having much luck, maybe someone else has used this and had issues they have been able to resolve, that may apply to me as well. Basically running python LiveStats.py gets me 2021-03-05 16:26:14,130 DEBUG Importing output plugin ConsoleOutput 2021-03-05 16:26:17,399 INFO Loggers found on the network: ['192.168.1.205', '1731982281']. 2021-03-05 16:26:17,399 INFO Connecting to logger with IP: 192.168.1.205 and SN 1731982281 2021-03-05 16:26:17,399 INFO connecting to 192.168.1.205 port 8899 2021-03-05 16:26:17,403 DEBUG RAW sent Packet (len=16): 68:02:41:b1:c9:f3:3b:67:c9:f3:3b:67:01:00:b1:16 hA;g;g 2021-03-05 16:26:27,414 ERROR Timeout connecting to logger with IP: 192.168.1.205 and SN 1731982281, trying next logger. root@rpi4vno:~/Inverter-Data-Logger# python LiveStats.py 2021-03-05 20:00:49,557 DEBUG Importing output plugin ConsoleOutput 2021-03-05 20:00:52,562 ERROR No loggers found: [''], exiting. mostly, once I got 2021-03-05 16:24:07,309 DEBUG Importing output plugin ConsoleOutput 2021-03-05 16:24:10,523 INFO Loggers found on the network: ['192.168.1.205', '1731982281']. 2021-03-05 16:24:10,524 INFO Connecting to logger with IP: 192.168.1.205 and SN 1731982281 2021-03-05 16:24:10,524 INFO connecting to 192.168.1.205 port 8899 2021-03-05 16:24:10,527 DEBUG RAW sent Packet (len=16): 68:02:41:b1:c9:f3:3b:67:c9:f3:3b:67:01:00:b1:16 hA;g;g 2021-03-05 16:24:13,998 DEBUG RAW received Packet (len=14): a5:01:00:10:47:fb:86:c9:f3:3b:67:00:37:15 G;g7 2021-03-05 16:24:13,999 DEBUG DATA len=1: 2021-03-05 16:24:13,999 INFO Inverter ID: Traceback (most recent call last): File "LiveStats.py", line 17, in <module> inverter_exporter.run() File "/root/Inverter-Data-Logger/InverterExport.py", line 157, in run self.logger.info("RUN State: {0}".format(msg.run_state)) File "/root/Inverter-Data-Logger/InverterMsg.py", line 138, in run_state return int(self.__get_short(offset[14], 1)) File "/root/Inverter-Data-Logger/InverterMsg.py", line 78, in __get_short num = struct.unpack('!H', self.raw_msg[begin:begin + 2])[0] struct.error: unpack requires a string argument of length 2 but no actual data, I have not changed any settings between the runs and here, proof that the unit can be reached and still does not actually respond... root@rpi4vno:~/Inverter-Data-Logger# date; ping -c 5 192.168.1.205; python LiveStats.py; ping -c 5 192.168.1.205; python LiveStats.py; ping -c 5 192.168.1.205; date Sat Mar 6 15:36:00 SAST 2021 PING 192.168.1.205 (192.168.1.205) 56(84) bytes of data. 64 bytes from 192.168.1.205: icmp_seq=1 ttl=255 time=3.93 ms 64 bytes from 192.168.1.205: icmp_seq=2 ttl=255 time=3.93 ms 64 bytes from 192.168.1.205: icmp_seq=3 ttl=255 time=2.80 ms 64 bytes from 192.168.1.205: icmp_seq=4 ttl=255 time=2.50 ms 64 bytes from 192.168.1.205: icmp_seq=5 ttl=255 time=2.47 ms --- 192.168.1.205 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 10ms rtt min/avg/max/mdev = 2.470/3.124/3.929/0.666 ms 2021-03-06 15:36:04,978 DEBUG Importing output plugin ConsoleOutput 2021-03-06 15:36:08,087 INFO Loggers found on the network: ['192.168.1.205', '1731982281']. 2021-03-06 15:36:08,087 INFO Connecting to logger with IP: 192.168.1.205 and SN 1731982281 2021-03-06 15:36:08,087 INFO connecting to 192.168.1.205 port 8899 2021-03-06 15:36:08,095 DEBUG RAW sent Packet (len=16): 68:02:41:b1:c9:f3:3b:67:c9:f3:3b:67:01:00:b1:16 hA;g;g 2021-03-06 15:36:18,106 ERROR Timeout connecting to logger with IP: 192.168.1.205 and SN 1731982281, trying next logger. PING 192.168.1.205 (192.168.1.205) 56(84) bytes of data. 64 bytes from 192.168.1.205: icmp_seq=1 ttl=255 time=8.14 ms 64 bytes from 192.168.1.205: icmp_seq=2 ttl=255 time=1.60 ms 64 bytes from 192.168.1.205: icmp_seq=3 ttl=255 time=2.34 ms 64 bytes from 192.168.1.205: icmp_seq=4 ttl=255 time=6.98 ms 64 bytes from 192.168.1.205: icmp_seq=5 ttl=255 time=2.34 ms --- 192.168.1.205 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 9ms rtt min/avg/max/mdev = 1.596/4.280/8.142/2.718 ms 2021-03-06 15:36:22,212 DEBUG Importing output plugin ConsoleOutput 2021-03-06 15:36:25,291 INFO Loggers found on the network: ['192.168.1.205', '1731982281']. 2021-03-06 15:36:25,291 INFO Connecting to logger with IP: 192.168.1.205 and SN 1731982281 2021-03-06 15:36:25,291 INFO connecting to 192.168.1.205 port 8899 2021-03-06 15:36:25,295 DEBUG RAW sent Packet (len=16): 68:02:41:b1:c9:f3:3b:67:c9:f3:3b:67:01:00:b1:16 hA;g;g 2021-03-06 15:36:35,306 ERROR Timeout connecting to logger with IP: 192.168.1.205 and SN 1731982281, trying next logger. PING 192.168.1.205 (192.168.1.205) 56(84) bytes of data. 64 bytes from 192.168.1.205: icmp_seq=1 ttl=255 time=1.79 ms 64 bytes from 192.168.1.205: icmp_seq=2 ttl=255 time=2.53 ms 64 bytes from 192.168.1.205: icmp_seq=3 ttl=255 time=3.81 ms 64 bytes from 192.168.1.205: icmp_seq=4 ttl=255 time=2.57 ms 64 bytes from 192.168.1.205: icmp_seq=5 ttl=255 time=2.69 ms --- 192.168.1.205 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 11ms rtt min/avg/max/mdev = 1.793/2.678/3.809/0.648 ms Sat Mar 6 15:36:39 SAST 2021 if anybody has any bright ideas/can help, I would very much appreciate it. Oh yes, in case I didn't mention it, the inverter is a Sunsynk 5kW, but I'd think that's probably less important.
November 25, 20214 yr Same problem here with Inverter-Data-Logger ads@adsrpi4:~/solarman/Inverter-Data-Logger $ python3 LiveStats.py 2021-11-25 13:20:28,468 DEBUG Importing output plugin ConsoleOutput 2021-11-25 13:20:28,469 INFO Connecting to logger with IP: 192.168.3.198 and SN 1778476210 2021-11-25 13:20:28,473 INFO connecting to 192.168.3.198 port 8899 2021-11-25 13:20:28,476 DEBUG RAW sent Packet (len=16): 68:02:41:b1:b2:64:01:6a:b2:64:01:6a:01:00:f7:16 hAdjdj 2021-11-25 13:20:33,481 ERROR Timeout connecting to logger with IP: 192.168.3.198 and SN 1778476210, trying next logger. I also tried https://github.com/jlopez77/DeyeInverter.git Anybody able to query the Solarman WiFi Dongle?
November 25, 20214 yr I have been able to get data from my inverter using the script. Had issues with using mqqt but I get the values on the command prompt.
November 25, 20214 yr 2 hours ago, phidz said: I have been able to get data from my inverter using the script. Had issues with using mqqt but I get the values on the command prompt. Hi @phidz can you perhaps share your commands for cmd?
November 25, 20214 yr I changed the script a bit to display the information i needed. You will need to change the config.cfg to put your inverter's ip address and serial number. I used mqqt for sometime but it wasn't working properly so i just display results in terminal. On my raspberry pi, i just run the below: python ./InverterData.py Sunsynk.zip
November 25, 20214 yr 59 minutes ago, phidz said: I changed the script a bit to display the information i needed. You will need to change the config.cfg to put your inverter's ip address and serial number. I used mqqt for sometime but it wasn't working properly so i just display results in terminal. On my raspberry pi, i just run the below: python ./InverterData.py Sunsynk.zip 63.04 kB · 1 download Thanks for sharing! I'm getting "could not open socket" error I'm able to ping and login to the web browser of the dongel
November 25, 20214 yr 31 minutes ago, Donovanvdb said: Thanks for sharing! I'm getting "could not open socket" error I'm able to ping and login to the web browser of the dongel have you used the serial number of the dongle? the one with 176xxxxx?
November 26, 20214 yr 9 hours ago, phidz said: have you used the serial number of the dongle? the one with 176xxxxx? Yeah, thats all in
November 26, 20214 yr 2 hours ago, Donovanvdb said: Yeah, thats all in i don't know now. Mine just worked, maybe some other clever people will be able to help
November 26, 20214 yr I was looking into this a few months back. The version of the dongle is important. The newer dongles have changed the protocol and caused a lot of headaches. If you browse the 'issues' section on github you can see lots of threads about it. The end of this thread seems to indicate someone might have cracked v5 of the protocol: https://github.com/XtheOne/Inverter-Data-Logger/issues/37
February 14, 20224 yr hi does anyone know what directory i copy the files to on my Ha installation via samba? Also what is the MQtt topic? thanks
February 15, 20224 yr or can someone tell me how I can run it from Home Assistant? I copied the file to my addons directory and then modified the config file. from there onwards I have no idea what to do. any help will be appreciated. Do i need to go to terminal on my home assistant and then run the run.sh from there? How does it work? Thanks
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.