In order to read data from the Kamstrup sensor, an encryption key must first be generated. This is done through Kamstrup's website.
- Go to the Kamstrup login page https://apps.kamstrup.com
- If you do not have an account, make one.
- Click on: Krypteringsnøgler.
- In "Administrer enheder" chose "+ Registrer enhed".
- Fill out the form.
- Click on the sensor id in the list and chose "Download fil".
- Chose XML from the dropdown list "Filtype" and click on "Download fil".
- Open the XML file in Excel or a similar program.
- Inside the XML file, the encryption key can be found under "EncKeys", shown here marked in red:
<EncKeys>
<DEK>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</DEK>
</EncKeys> - Save the encryption key for later use.
Register the Kamstrup sensor inside ReCalc.
- Log in to ReCalc
- Make sure the GateWayWMBus is registered before you register the sensors. See the installation guide here.
- Click on "External Sensors" in the left menu panel.
- Press the button "Register new External Sensor".
- Fill out the form as shown below:
- Choose a name for the sensor.
- In the dropdown, select "Gateway".
- In the dropdown, select "Kamstrup".
- Then select "Multical 21" or "Multical 302"
- Enter the Kamstrup device ID (the first part of the serial number before "/").
- Type the encryption keys we retrieved in the first section are inserted.
- Wait for the sensor to be created, you may reload the page a couple of times. This usually takes 1 minute.
- To see data from the sensor, it must be created as a Unit. To do that, click on the + sign in the "Units" section.
- Fill out the form as shown below:
- Give the new unit a telling name.
- In the Unit type dropdown, select "Generic Unit".
- Under Generic UnitTypeInput 1. Click on the circle next to “External sensor”.
- In the drop-down "External sensor", select the sensor that has just been created*.
- In the drop-down "External sensor channel", select the available channel.
- Click “Create”
*It can take a few moments before you’re able to choose sensors.
- You can now go to "View data" i the menu and choose the new unit you created.
- Click on “Live” to see live data.