You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can support for Omnik 3000TL be added?
The screenshot in de README looks 100% as this inverter.
It logs by default to SolarMan Smart App/portal.
My inverter exposes an open port 8899.
I have the wifi only version.
In that is a file OmnikExport.py that shows this, which is I guess how the dat export is build up->
def generate_string(serial_no):
"""Create request string for inverter.
The request string is build from several parts. The first part is a
fixed 4 char string; the second part is the reversed hex notation of
the s/n twice; then again a fixed string of two chars; a checksum of
the double s/n with an offset; and finally a fixed ending char.
Args:
serial_no (int): Serial number of the inverter
Returns:
str: Information request string for inverter
"""
response = '\x68\x02\x40\x30'
double_hex = hex(serial_no)[2:] * 2
hex_list = [double_hex[i:i + 2].decode('hex') for i in
reversed(range(0, len(double_hex), 2))]
cs_count = 115 + sum([ord(c) for c in hex_list])
checksum = hex(cs_count)[-2:].decode('hex')
response += ''.join(hex_list) + '\x01\x00' + checksum + '\x16'
return response
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can support for Omnik 3000TL be added?
The screenshot in de README looks 100% as this inverter.
It logs by default to SolarMan Smart App/portal.
My inverter exposes an open port 8899.
I have the wifi only version.
I am able to get data via tcp client via this 'data logger': https://github.com/gcmvanloon/omnik-data-logger/
In that is a file OmnikExport.py that shows this, which is I guess how the dat export is build up->
def generate_string(serial_no):
"""Create request string for inverter.
SAMPLE Console Output->
root@omnik-data-logger:/opt/app# python OmnikExport.py
2024-09-29 11:45:43,413 DEBUG Importing output plugin ConsoleOutput
2024-09-29 11:45:43,413 DEBUG Importing output plugin CSVOutput
2024-09-29 11:45:43,414 INFO connecting to 192.168.0.253 port 8899
2024-09-29 11:45:43,996 INFO ID: NLDN----------
2024-09-29 11:45:43,996 DEBUG Run pluginConsoleOutput
ID: NLDN-----------
E Today: 3.73 Total: 41412.6
H Total: 45585 Temp: 38.0
PV1 V: 217.3 I: 5.9
PV2 V: 190.1 I: 5.9
PV3 V: -1 I: -1
L1 P: 2131 V: 241.6 I: 8.7 F: 50.04
L2 P: -1 V: -1 I: -1 F: -1
L3 P: -1 V: -1 I: -1 F: -1
2024-09-29 11:45:43,996 DEBUG Run pluginCSVOutput
DateTime,Id,Temp,VPV1,VPV2,VPV3,IPV1,IPV2,IPV3,IAC1,IAC2,IAC3,VAC1,VAC2,VAC3,FAC1
,PAC1,FAC2,PAC2,FAC3,PAC3,ETODAY,ETOTAL,HTOTAL
2024-09-29 11:45,NLDN3020136Q1124,38.0,217.3,190.1,-1,5.9,5.9,-1,8.7,-1,-1,241.6,
-1,-1,50.04,2131,-1,-1,-1,-1,3.73,41412.6,45585
Beta Was this translation helpful? Give feedback.
All reactions