Logging of Kamstrup Multical 601 Heat Meter

Kamstrup does not give up the data on their meters easy, but some danish blokes have figured it and finally today I got it to work also.

Most of it is hosted on thingiverse but a danish assembly guide is here: http://wiki.hal9k.dk/projects/kamstrup

In there you will also find links to thingiverse that has the 3D printed part and files for both kicad and eagle.

Besides the 3D printed holder you will need:

 

1 x IR-receiver, http://www.el-supply.dk/?Vnr=455.IRR
1 x IR-sender, http://www.el-supply.dk/?Vnr=455.IRT
2 x BC547
1 x BC557
1M resistor
39k resistor
2 x 10k resistor
220 resistor

4 x 6mm round super-magnets, http://www.supermagnete.de/eng/S-06-06-N

 

So far i have gotten this sample data out:

 

Energy: 102.47
Current Power: 0.00
Temperature t1: 35.45
Temperature t2: 30.84
Temperature diff: 4.61
Flow: 0.00
Volumen 1: 1208.96
Volumen 2: 0.00

 

Played with the sketch a few days and its attached... NOTE: Serial output is set to 57600 and not the normal 9600

All values except the pulse an watt numbers from the pulse input are sent at floats to give an easy and precise transfer of data. Remember to set emonhub.conf for this or it will not decode right

 

 

Morten Klitgaard's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

Hi boelle

Great news that you have made "contact" with the Kamstrup 601 :-)

I have just joined this forum and are in the beginning of setting my system together so this is very good news for me. I however have the Kamstrup 602 from HOFOR (Copenhagen Heat and water company), do you know whether your setup i working on the Kamstrup 602 also? (my guess is that it does but it would be nice to get confirmation)

Looking forward to hear from you

Br

Morten

boelle's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

try and ask hal9k where i got the ir stuff from:

 

http://wiki.hal9k.dk/projects/kamstrup

M Klitgaard's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

Hi boelle

I have now been fiddling with my Kamstrup Multical 602 Heat Meter and has tried to use the setup described by PHK and the http://wiki.hal9k.dk/projects/kamstrup webpage.

My setup is using a Raspberry Pi which has enabled its UART (and disabled output from kernel on UART)

Set is to 1220 Baud 8 bits, Parity None and 2 stop bits as it is stated in the Kamstrup Multical 602 Technical pdf

Currently my code is based on the fine work from PHK (pyKamstrup) and i can detect that i'm transmitting and receiving my own transmit on the receiving part. I have enven gone so far as to mount a Logic Analyser on the UART in order to sniff and see if i'm doing things right and getting something in back from the Meter, and have also mounted a magnet on the meter

Trouble is that i'm not getting anything... :-(

From the Logic analyser I can see that i'm sending

0x80  0x3F[?]  0x10  0x01  BREAK 0x3C[<] 0xB2  0x5F[_]  0x0D

and receiving

0x80  0x3F[?]  0x10  0x01  BREAK 0x3C[<]0xB2  0x5F[_]  0x0D

So my Rpi is receiving my own Tx.. fair enough... but nothing from the Meter....

So questions are:

 

1. Should i not get something like 0x40 data data data?

2. The Technical PDF for Multical states that a magnet has to be in place in order to read the meter, but does not say anything about a time fram from within i must read the meater after mounting the magnet (Multical 21 water meter states this timeframe) do you know anything about this? any experience from Multical 601?

3. You have rewritten the code from PyKamstrup to Arduino, did you cnage anything in the protocol or commands?

 

Thanks in advance... getting quite frustrated

 

Br

M Klitgaard

 

 

boelle's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

3. no i have not... the code was provided from hal9k... 

2. nope... i dont have that water meter, my watermeter is an elster meter with a reed switch output, one pulse pr liter. kamstrup water meters are battery powered and you will simply drain the battery to quickly if you read to much from it... as for the 601, it simply works for me

1. not sure since i use the arduino sketch from hal9k

M Klitgaard's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

Hi boelle

I'm on the brink of quitting! I can't get the Darrn Kamstrup Multical 602 to give me any answers :-(

I can see that you have debated this with others who also have difficaulties http://ing.dk/blog/kamstrup-meter-protocol-127052

I'm at at point where i think i have tried every thing

- I'm using the PHK code from here: https://github.com/bsdphk/PyKamstrup

- I have been looking at your Code and it seems like you and PHK are doing the same thing

- I have tried using either a Windows machine with a USB-UART cable or a Raspberry Pi (UART interface)

- I have made a IR module according to http://wiki.hal9k.dk/_media/projects/kamstrup/schematic.pdf 

- I have tried to lower the sensitivity of the Receiving Diode

- I have tried to lower the output power of the transmitting diode (as i was thinking that maybe i was saturating the receiver)

- I have tried to mount Neodyn magnets just above and beneath the IR interface at the same time transmitting with IR

- I have tried to transmit with 1200 and 2400 Baud (8bit, Parity None, Stopbit = 2)

- have tried to watch the IR interface with an old mobile phone which can see the IR when ON

- I have monitored the data stream electrically with an Analog discovery device and what i think should be transmittet actually is transmittet 

But i just cant get the Unit to gime me any responce!!! :-(

I mean No IR lighting up at all..... :-(

Any idea what i'm doing wrong?

what am i missing?

Could it be that HOFOR/Kamstrup has disabled the IR interface?

I can't really find any one describing that they have been able to talk to and Multical 602... Lot of info on the web about 601 but nothing about 602 as far as i can see....

Getting really tired.... I really hope that any one can give me i push in the right direction

Maybe a log dump of what you are transmitting and receiving or any other ideas?

Br

M Klitgaard

goodfidelity's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

Hello guys!

Regarding the Kamstrup units, Kamstrup themself claim that the IR is only for setting up the units. And that they have communication modules for them. I have tried with some various models and it seems to me that the support over at Kamstrup (Landis&Gyr?) does not know all that is to know about their own products.

However some of the units i have run in to does have a pulse module attached. So i plan on using the pulse output from this module to connect into the energy monitoring system.

Seems to me some of the equipment is sold with various brands, or produced by various producers and relabelled.

I am not sure, this is just my observations from opening about 10 of these units and looking inside, and having contact with their support in Sweden.

 

Its very interesting for me to know if these can be monitored from the IR connector, that would save allot of hassle because some of the units had M-bus instead of pulse wich is more difficult to log.

//JK

boelle's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

well all kamstrup meters have the IR interface 

 

and i dont know why they claim its only for setup, at hal9k,dk they use it to get data out and kildal.dk have done it, the later have now put password on his site for a reason i dont know 

i got to the project via thingiverse: http://www.thingiverse.com/thing:264268

 

in the comments they point to their wiki: http://wiki.hal9k.dk/projects/kamstrup

 

a lot of helpfull stuff there

goodfidelity's picture

Re: Logging of Kamstrup Multical 601 Heat Meter

I find it very internering that the support Claire the Ir was for setup only, they referred to special modules for

communication. Serial module, plus module or different kinds for different systems.

 

its very nice that they can communicate with this IR port. However it's not very nice that they don't give the protocols to people who want to use it.

 

i will follow this thread to se where it all ends up, one of

my customers have multiple units like this with various modules. Much better if they can get the data out with the Ir.

 

//J

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.