Skip to content

Kamstrup Meter Protocol (KMP) implementation

Notifications You must be signed in to change notification settings

johnnykv/PyKamstrup

This branch is 4 commits ahead of, 5 commits behind bsdphk/PyKamstrup:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3b9be2e · Aug 3, 2014

History

7 Commits
Aug 1, 2014
Aug 3, 2014
Aug 1, 2014

Repository files navigation

This is a TCP/IP enabled version of PHK's original PyKamstrup,
if you are looking for the ConPot source you can find it at: https://github.com/glastopf/conpot


***********************

This is an implementation of the Kamstrup Meter Protocol (KMP) based
on reverse engineering of a traffic dump.

There is very little information about this protocol on the net, and
despite calling it an "open protocol", Kamstrup has not wanted to
release the documentation for it to me.

Thanks to Erik Jensen for details about units and exponents.

Tested on a Kamstrup 382J electricity-meter using a home-built
optical head.

Enjoy,

Poul-Henning

PS: Sample output:

Energy in                 6753.0 kWh
Energy out                0.0 kWh
Energy in hi-res          6753.3242 kWh
Energy out hi-res         0.0 kWh
Voltage p1                229.0 V
Voltage p2                227.0 V
Voltage p3                229.0 V
Current p1                5.41 A
Current p2                2.12 A
Current p3                3.07 A
Power p1                  0.976 kW
Power p2                  0.475 kW
Power p3                  0.595 kW

About

Kamstrup Meter Protocol (KMP) implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%