jbouwh / omnikdataloggerproxy Goto Github PK
View Code? Open in Web Editor NEWProxy script to forward Omnik inverter messages to omnikdatalogger
Home Page: https://jbsoft.nl/site/nl/omnik-datalogger/
License: GNU General Public License v3.0
Proxy script to forward Omnik inverter messages to omnikdatalogger
Home Page: https://jbsoft.nl/site/nl/omnik-datalogger/
License: GNU General Public License v3.0
While receiving redirected Data from Inverter, I got the following errors:
Jan 29 11:02:58 alderaan omnikloggerproxy.py[2726468]: omnikloggerproxy: Enabling MQTT forward to localhost
Jan 29 11:02:58 alderaan omnikloggerproxy.py[2726468]: omnikloggerproxy: Start in Omnik proxy server. Listening to 0.0.0.0:10004
Jan 29 11:02:58 alderaan omnikloggerproxy.py[2726468]: omnikloggerproxy: MQTT connected
Jan 29 11:03:58 alderaan omnikloggerproxy.py[2726468]: omnikloggerproxy: Ignoring received data!
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: ----------------------------------------
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: Exception occurred during processing of request from ('10.xxx.xxx.xxx', 22352)
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: Traceback (most recent call last):
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: File "/usr/lib/python3.10/socketserver.py", line 316, in _handle_request_noblock
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: self.process_request(request, client_address)
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: File "/usr/lib/python3.10/socketserver.py", line 347, in process_request
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: self.finish_request(request, client_address)
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: File "/usr/lib/python3.10/socketserver.py", line 360, in finish_request
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: self.RequestHandlerClass(request, client_address, self)
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: File "/usr/lib/python3.10/socketserver.py", line 747, in init
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: self.handle()
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: File "/usr/local/bin/omnikloggerproxy.py", line 99, in handle
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: self._processmsg(msg)
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: File "/usr/local/bin/omnikloggerproxy.py", line 102, in _processmsg
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: rawserial = str(msg[15:31].decode())
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 1: invalid start byte
Jan 29 11:04:40 alderaan omnikloggerproxy.py[2726468]: ----------------------------------------
Here my Config:
omnikdatalogger:
proxy:
loglevel: INFO
listenaddress: 0.0.0.0
listenport: 10004
serialnumber:
- 410xxxxxxx
- 415xxxxxxx
- 411xxxxxxx
omniklogger: 127.0.0.1
omnikloggerport: 10002
output.mqtt:
# mqtt integration
# Creates sensor 'binary_sensor.datalogger' with MQTT auto discovery in Home Assistant
#
discovery_prefix: omnikdatalogger
host: localhost
port: 1883
retain: true
client_name_prefix: ha-mqtt-omniklogger
username: xxxxxxx
password: xxxxxxxx
device_name: Datalogger Proxy
append_plant_id: false
# Sensor name (omnikproxylogger only)
logger_sensor_name: Datalogger
I have no idea
I just tried to install with sudo pip3 install omnikdataloggerproxy.
I was surprised the scripts hat been installed in /usr/local instead of /usr/local/share/omnikdataloggerproxy
Don't know how to change
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.