1732181fbbedf2145acf7e320810bad2fb3d5554
DSMR 2 MQTT bridge
Introduction
This bridigng component reads Dutch Smart Meter Requirements (DSMR) telegrams and sends them to a MQTT broker using the Homie convention. The component is written in Python and is based on the execelent work of others:
Configuration
Create some environment variables (e.g. with a .env file) to specify the required settings:
PYTHONPATH="."
MQTT_HOST=mqtt.local
DSMR_PORT=/dev/ttyUSB0
If you have forwared the raw serial signal through ser2net, you should use DSMR_PORT=remote://<hostname>:<port>, e.g.:
DSMR_PORT=remote://forwarding-pi.local:3333
If you use credentials to access the MQTT broker, then alsp specify:
MQTT_USERNAME=<mqtt-user>
MQTT_PASSWORD=<mqtt_passwrd>
Description
Languages
Python
93.9%
Dockerfile
6.1%
