knx - weewx/weewx GitHub Wiki

Write EIBnet/IP packets

This weewx extension allows the generation of EIBnet/IP packets containing weather information collected by weewx. This extension was written for the purpose of easy integration with EIB home automation.

Download

wget -O weewx-knx.zip https://github.com/AZAZ78/weewx-knx/archive/main.zip

How to Install

  1. Install pknx (knxip)

Follow installation instructions for https://github.com/open-homeautomation/pknx If you need a (simple) backport for Python 2, you can use https://github.com/AZAZ78/pknx Hint: You can download the code zip and invoke pip install pknx.zip

  1. Run the extension installer
weectl extension install weewx-knx.zip
  1. Restart weewx
sudo systemctl stop weewx
sudo systemctl start weewx

Verify

knx service sends data to bus at every archive interval. Look at the bus monitor to see data.

Customize

Adapt [KNX] configuration in weewx config file.

Example:

[KNX]
    # EIBnet/IP gateway configuration
    gateway_ip = 192.168.2.70
    gateway_port = 3671

    # node configuration
    outTemp = 5.5.150
    wind = 5.5.151
    windGust = 5.5.152
    rainRate = 5.5.153
    outHumidity = 5.5.154

Source repository

https://github.com/AZAZ78/weewx-knx