Skip to content

Configure Local proxy client

jbouwh edited this page May 20, 2021 · 1 revision

The local proxy client can process the intercepted inverters logging. There are three approaches to achieve this:

  1. Listen directly to the inverters traffic. This requires rerouting and Network Address Translation in your local network.
  2. Subscribe to an object created using omnikloggerproxy.py. Here you can subscribe to an MQTT attribute of use the built-in HASSAPI of AppDaemon.

To be able to listen to your inverters messages you should know that your inverter sends about every 305 seconds a data message to the internet over TCP port 10004. This might be different for your inverter, but mine (Omniksol 3K-TL) is acting this way. If you want to use Omnik data logger with the standard Home Assistant OS image, it is difficult to configure NAT, because it is not supported to configure iptables with Network Address Translation within a docker container. For that reason the omnikloggerproxy.py script was created. The idea is to set this up on a Raspberry Pi running linux, NAS system or router that is able to do the trick. The omnikloggerproxy.py script can read the raw data and push it to MQTT. Additional it can also forward the raw data to cloud, so you can retain the classic data logging.

Follow this guide to setup the interception, forwarding to MQTT or TCP. Read this first before setting up the Omnik data logger localproxy plugin.

Config tcp_proxy plugin

Config mqtt_proxy plugin

Config hassapi plugin