Tool that reads data from any DLSM capable smart meter with an infrared reader and writes them to the file system.
Use the package manager pip to install foobar.
pip install dlmslogger
dlms-logger
Configuration is done by setting the following env variables:
Set this to /dev/ttyXXX or any other usb device if needed. Be default we try to auto detect the device.
Default: auto detect
Set the baudrate.
Default: 9600
Set serial connection data bits.
Default: 8
Set serial connection parity.
Values: NONE, EVEN, ODD, MARK, SPACE
Default: NONE
Set serial connection stop bits.
Values: ONE, TWO, ONE_POINT_FIVE
Default: ONE
Set HDLC frame size.
Default: 128
Set HDLC window size
Default: 1
Set authentication mode. When using mode Low make sure to set DLMS_LOGGER_SECRET.
Values: None, Low
Default: None
Set authentication secret
Default: not set
Set client address.
Default: 32
Set the objects output file. This is used to cache the object structure. Not used to store the values read from the meter.
Default: dlmsobjects.save