Closed hlubach closed 6 years ago
Less bytes are returned than I got in the specs so it fails on getting the firmware data. Need to fix this...
Fixed Can you check now?
So far as i can see it works . In my config i have PVoutputOutput en the log fil, but after python LiveStats.py i see te data is send , but the log file stays clean
Han
2018-03-19 14:05 GMT+01:00 Michel notifications@github.com:
Fixed Can you check now?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XtheOne/Inverter-Data-Logger/issues/15#issuecomment-374204381, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfOIDlDb7sZJ8w1g6SQ0CrqcB2_Duxcks5tf60PgaJpZM4Sa38a .
-- Braaf Betalende Belasting Burger der Bataafse Bananen Republiek Hollandia
LiveStats.py is only to check if you get data from the inverter, it forces to only use consoleoutput plugin. You run InverterExport.py to really sent the data to the chosen plugins.
han@han-Satellite-L875 ~/Downloads/Inverter-Data-Logger-master $ python
InverterExport.py
2018-03-21 17:13:28,705 DEBUG Importing output plugin PVpoutputOutput
Traceback (most recent call last):
File "InverterExport.py", line 202, in
2018-03-21 15:17 GMT+01:00 Michel notifications@github.com:
LiveStats.py is only to check if you get data from the inverter, it forces to only use consoleoutput plugin. You run InverterExport.py to really sent the data to the chosen plugins.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XtheOne/Inverter-Data-Logger/issues/15#issuecomment-374952171, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfOIAL-5tpJ2or3f_SGm4w6Mu1I0zdhks5tgmDfgaJpZM4Sa38a .
-- Braaf Belasting Betalende Burger der Bataafse Bananen Republiek Hollandia
The correct plugin name is: PVoutputOutput ;-) not PV p outputOutput
Overlooked that , changed it , but now this one
han@han-Satellite-L875 ~/Downloads/Inverter-Data-Logger-master $ python
InverterExport.py
2018-03-22 11:06:46,570 DEBUG Importing output plugin PVoutputOutput
Traceback (most recent call last):
File "InverterExport.py", line 202, in
2018-03-22 10:57 GMT+01:00 Michel notifications@github.com:
The correct plugin name is: PVoutputOutput
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XtheOne/Inverter-Data-Logger/issues/15#issuecomment-375240509, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfOIJmeEDATfXKao-miRNeeVIv3esmtks5tg3WlgaJpZM4Sa38a .
-- Braaf Belasting Betalende Burger der Bataafse Bananen Republiek Hollandia
pip install pytz
All working now. Had no pip on the laptop easy install , but googled how to install pip And Voila
with thanks Han
2018-03-22 11:38 GMT+01:00 Michel notifications@github.com:
pip install pytz
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XtheOne/Inverter-Data-Logger/issues/15#issuecomment-375258086, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfOIC_kMiW4NzliV64MzOzolLKNDGWHks5tg389gaJpZM4Sa38a .
-- Braaf Belasting Betalende Burger der Bataafse Bananen Republiek Hollandia
Great that it works now.
After install the files in the Subdir /storage/Omnik, and making the config file. Gave the command $ python LiveStats.py
2018-03-05 15:40:40,278 DEBUG Importing output plugin ConsoleOutput 2018-03-05 15:40:40,278 INFO Connecting to logger with IP: 192.168.178.115 and SN 602538088 2018-03-05 15:40:40,278 INFO connecting to 192.168.178.115 port 8899 2018-03-05 15:40:40,296 DEBUG RAW sent Packet (len=16): 68:02:41:b1:68:00:ea:23:68:00:ea:23:01:00:df:16 hAh#h# 2018-03-05 15:40:40,952 DEBUG RAW received Packet (len=99): 68:55:41:b0:68:00:ea:23:68:00:ea:23:81:02:01:4e:4c:44:4e:32:30:32:30:31:33:32:53:32:30:36:37:01:3d:0b:a5:00:00:ff:ff:00:1c:00:b6:ff:ff:00:1e:ff:ff:ff:ff:08:fc:ff:ff:ff:ff:13:8c:02:c8:ff:ff:ff:ff:ff:ff:ff:ff:02:28:00:01:4b:72:00:00:4d:66:00:01:00:00:00:00:ff:ff:00:00:00:00:00:00:00:00:00:00:2d:16 hUAh#h#NLDN2020132S2067=(KrMf- 2018-03-05 15:40:40,952 DEBUG DATA len=85: 2018-03-05 15:40:40,952 INFO Inverter ID: NLDN2020132S2067 Traceback (most recent call last): File "LiveStats.py", line 17, in
inverter_exporter.run()
File "/home/han/Downloads/Inverter-Data-Logger-master/InverterExport.py", line 150, in run
self.logger.info("Inverter main firmware version: {0}".format(msg.main_fwver))
File "/home/han/Downloads/Inverter-Data-Logger-master/InverterMsg.py", line 154, in main_fwver
if (self.__get_int(101) == 0): return ""
File "/home/han/Downloads/Inverter-Data-Logger-master/InverterMsg.py", line 33, in __get_int
return int(self.raw_msg[begin:begin+1].encode('hex'), 16)
ValueError: invalid literal for int() with base 16: ''
What do I wrong