Python script to connect to CUNX and send data to wmbusmeters
Find a file
2025-01-17 20:45:54 +01:00
ref add culfw command reference 2025-01-17 20:40:54 +01:00
cunx2wmbus.py todo: set cunx to wmbus mode on connect 2025-01-17 16:18:39 +01:00
Dockerfile initial commit 2025-01-17 16:08:57 +01:00
Makefile update some devel rules in Makefile 2025-01-17 18:26:18 +01:00
README.md add own culfw repo to README.md 2025-01-17 20:45:54 +01:00

About

Little python script / container to connect to a busware CUNX and send the received packets to wmbusmeters.

Entry in wmbusmeters.conf to receive the packets:

device=cul:CMD(nc -l -k -u 7001)

Container

The following variables are recognized:

Variable Default
CUNX_HOST cunx.home.internal
CUNX_PORT 2323
WMBUS_HOST 127.0.0.1
WMBUS_PORT 7001

TODO

At the moment, you need to set the CUNX to receive wmbus telgrams manually:

brs
X21

See also command reference of culfw

CUNX firmware

Firmware for the cunx can be found at https://github.com/tostmann/culfw. You need to use the culfw-v2.x branch, and probably raise the TTY_BUFSIZE in board.h to 384 to be able to receive long telegrams.

My patches are available at https://git.sig11.de/elratt0r/culfw.