Skip to content

API reference documentation – overview

client module

Convenience in client communication with the KMP protocol (to meter).

The PySerialClientCommunicator provides the most high-level class to communicate with the meter.

pykmp.client module docs

messages module

KMP protocol application level decoding/encoding (requests and responses).

pykmp.messages module docs

codec module

Low-level codec classes for the Kamstrup KMP protocol.

This contains decoders/encoders for the Physical, Data Link and Application layer (generics).

Logic for specific messages (requests and responses) are not part of this module, but generic codecs such as floating point data format encoding/decoding used in requests/responses are.

pykmp.codec module docs

constants module

Constants/definitions for the Kamstrup KMP protocol.

pykmp.constants module docs