background image

 

 

CMi6140 

User’s Manual English 

 

 

 

 

 

 

 

 

 

 

 

 

CMi6140 

User’s Manual English 

page | 18 (38) 

[2022-09] 

 

V1.2 

 

 

 

 

7  Administration reference 

7.1 

Purpose 

This chapter contains detailed information about configuring options for CMi6140. 

7.2 

Security and access control 

CMi6140 has a configuration lock feature, which prevents unauthorized access to the module. When 
configuration lock has been enabled, a Product Access Key (PAK) will be needed to access the device 
via NFC. The Product Access Key is claimed by the end-user to his One-Touch Commissioning (OTC) 
account via the Elvaco OTC App or the OTC web interface. 
 

 

Note that the default setting of the CMi6140 is 

Open

, meaning the user must set it to 

Lock

 

to activate the configuration lock. In section 7.5, all default configurations are listed. 

 

7.3 

Scheduling readouts / transmissions 

A Readout 

refers to a readout of meter data and storing the information locally in the device memory. 

A Transmission 

refers to a sending a set of readouts from the device over NB-IoT network to a LWM2M 

or MQTT-SN server.

  

A combination of above is set to achieve the functionality specified by the project/customer. 

7.3.1  Time handling 

The module relies on the meter’s clock for keeping time. Time in the meter is assumed to be in standard 
local time (no DST). When synchronizing time in the meter using the OTC App, timeserver or network 
time. Local standard time is always used, even if DST is in effect. The timestamped meter data sent from 
the module can be adjusted to be sent in UTC by specifying the “UTC offset” configuration parameter. 
The UTC offset will be subtracted from the timestamp prior to transmission. If the meter is in Sweden, 
which uses CET (Central European Time), it should have UTC offset set to +60 (+1h). In this case at time 
12.00 a telegram is sent with timestamp 11.00 as this is the corresponding UTC time. A meter in New 
York (USA) should have a UTC offset of -300 (-5h) etc. A UTC offset of 0 means the meter time is used 
as-is. 

7.3.2  Synchronization 

All schedules are based on a synchronization with a clock. That means that if a readout schedule of 60 
minutes is used, it is synchronized on top of the hour, so 11:00, 12:00, 13:00 etc. 120 minutes will give 
12:00, 14:00, 16:00 etc.  
 
When time in the module (or meter) is synchronized a rescheduling takes place such that the next meter 
readout is made according to an updated time. 
 
To handle the case where time 

synchronization “moves time” past a previously planned readout (like 

23.58 → 00.02) the module will always make a readout and transmission of a new value when time is 
synchronized. The device will therefore send an additional readout which can be masked on the server-
side. 

7.3.3  Randomized transmissions 

In order to prevent a large population of devices from transmitting data at exactly the same time the 
devices should have a random delay before transmitting data. The delay should be configurable via 
NFC/DM. 
Readouts from the meter are always performed on top of the hour, 11.00, 13.00 etc. Transmissions can 
be carried out at other times but are 

planned

 at full hours given a set 

transmission interval 

(T

transmit

). The 

Summary of Contents for 1100441

Page 1: ...CMi6140 User s Manual English CMi6140 User s Manual English V1 2...

Page 2: ...1 Start up and LED indications 9 5 3 2 Switch off reboot module 11 6 INTEGRATION GUIDE 12 6 1 PURPOSE 12 6 2 INTRODUCTION 12 6 3 STATUS AND CONFIGURATION PARAMETERS 12 6 3 1 Kamstrup MC403 MC603 MC80...

Page 3: ...CMi6140 User s Manual English CMi6140 User s Manual English page 3 38 2022 09 V1 2 10 1 VERSIONS 37 11 REFERENCES 38 11 1 TERMS AND ABBREVIATIONS 38 11 2 NUMBER REPRESENTATION 38...

Page 4: ...tion and product are provided on an as is basis only and may contain deficiencies or inadequacies Elvaco AB takes no responsibility for damages liabilities or other losses by using this product 1 1 Co...

Page 5: ...energy while switched on Remember that interference can occur if the product is used close to TV sets radios computers or inadequately shielded equipment Follow any special regulations and always swi...

Page 6: ...d information in other languages please visit https www elvaco com 3 3 Symbols The following symbols are used throughout the manual to emphasize important information and useful tips The Note symbol i...

Page 7: ...dy As soon as the meter connectivity module has been mounted and started up it will automatically initiate transmission of meter data without any manual steps needed The CMi6140 is prepared for seamle...

Page 8: ...s chapter provides instructions on how to get started with the CMi6140 After reading and carefully following each step of this chapter the MCM will be mounted and deployed 5 2 Product overview CMi6140...

Page 9: ...which means that no messages will be transmitted from the module Please make sure a SIM card size Nano has been mounted before activating the module There are two ways to activate the module 1 By usin...

Page 10: ...e 1 0 31 Module type Show module type and config 1 1 70 Network status Show the status of the network connection 1 2 71 Bootstrap status Show the status of the LwM2M Bootstrap connection 1 3 72 DM sta...

Page 11: ...Successfully registered to the DM server Table 5 DM Status Number Meaning 0 Device is inactive network is not used 1 Device is configured to not use separate MDM connection 2 Attempting to register to...

Page 12: ...mitted between DM server and module The module will thereafter connect to the MQTT SN gateway and perform a DTLS handshake to generate the sessions keys used to encrypt the session key used to encrypt...

Page 13: ...e Firmware Version 3 0 3 String Firmware version E Device Reboot 3 0 4 Reboot R Device Available Power Sources 3 0 6 0 Integer 0 7 Power source 1 Internal battery 2 External battery 6 AC Mains power R...

Page 14: ...SM Timer 10 0 4 Integer NB IoT T3412 R LwM2M Cellular Connectivity Active Timer 10 0 5 Integer NB IoT T3324 R LwM2M Cellular Connectivity eDRX parameters for NB S1 mode 10 0 9 Opaque 8 bit NB IoT eDRX...

Page 15: ...906 0 2 Integer CMi6140 42 Standard 43 Extended RW Elvaco MCM Config NFC Enabled 33906 0 4 Boolean R Elvaco MCM Config NFC Config locked 33906 0 5 Boolean W Elvaco MCM Config Adjust time 33906 0 6 Int...

Page 16: ...0 1 Integer R Elvaco Meter Info Comm status 33908 0 2 Integer 0 OK 1 No meter detected 2 Error R Elvaco Meter Info Error flags 33908 0 3 Opaque Meter Error flags R Elvaco NB IoT Info IMSI 33909 0 0 I...

Page 17: ...ork there is a rollback functionality in place when changing the APN To change APN write the APN to the resource 10 1 1 and set APN mode to manual in 10 1 2 Once done stage the changes by executing 33...

Page 18: ...he module can be adjusted to be sent in UTC by specifying the UTC offset configuration parameter The UTC offset will be subtracted from the timestamp prior to transmission If the meter is in Sweden wh...

Page 19: ...mission can be done by FIFO or LIFO Rules for retransmissions include maximum age of data order of data number of retransmitted data transmission interval Example 1 A device is configured the followin...

Page 20: ...missions CMi6140 sends meter data messages according to it s transmit interval settings Meter read out is always related to meter s clock at time 00 00 00 Transmission time is randomized between read...

Page 21: ...format ID 67 Field Description Date and Time see Note 1 6 INT32 Date and Time Type F e g 046Dxxxxxxxx M Bus Format F for Date Time Meter ID see Note 1 see Note 2 6 BCD8 According to M Bus EN13757 3 id...

Page 22: ...des 7 INT32 Error and warning flags Example 04FD17xxxx Note that this field is always 32 bits even when using MultiCal 403 which only reports 16 bits Kamstrup MCxx3 Heat Meters Info Codes Date and Tim...

Page 23: ...MultiCal 403 which only reports 16 bits Table 12 Meter register Pulse message JSON Example when In A measure volume VA and UA and In B measure Energy EB and UB TS 2021 12 02T13 14 15Z ID 12345678 E 1...

Page 24: ...Tariff 3 Energy T3 Tariff 3 Energy unit U2 Missing time MT Missing time unit MU Table 13 Payload JSON encoded message Only included in the extended message Example payload JSON TS 2019 11 28T20 39Z ID...

Page 25: ...aka array of readout values records encoded using CBOR Each record is a map of key value pairs using SenML Each product that uses the SenML CBOR format shall follow the requirements below In addition...

Page 26: ...ons for the contents of the measurement field Encoder Type Versioning The following table defines allowed encoder types and versions The information is sent in a special record Encoder Version field T...

Page 27: ...1 fixed 24 00 Key 1 0 name 1 fixed 25 61 56 Value 1 string V version 2 fixed 26 02 Key 2 integer value 1 fixed 27 00 Value 2 UINT16 28 0x0000 enc 0 ver 0 3 max 29 Sum 8 bytes max 30 Follows X items of...

Page 28: ...end the data It is for the user to define a configuration that gives a reasonable tradeoff between power consumption send fewer telegrams and functional requirements much data is sent If a device is c...

Page 29: ...140 Parameter Description Configurable values Default value battery Device access Locked device correct PAK or open device Device access No PAK Meter ID Meter identification secondary ID for Kamstrup...

Page 30: ...Writeable Readable DTLS max timeout The last timeout in seconds used when transmitting packets via DTLS for LWM2M 90 Readable Writeable Readable Communicati on retry count Number of connection attempt...

Page 31: ...able Writeable Readable Power saving mode Setting for power save mode Disabled eDRX PSM eDRX PSM eDRX PS M Readable Writeable Readable T3324 timer LTE Active Timer This setting controls how long in se...

Page 32: ...SenML CBOR SenML CB OR Readable Writeable Readable Readout interval Number of minutes between each meter data readout 5 1440 60 Readable Writeable Readable Report interval Number of minutes between ea...

Page 33: ...ons available in CMi6140 Parameter Description Configurable values Default value battery Device access Locked device correct PAK or open device Device access No PAK Communicati on timeout MQTT SN time...

Page 34: ...DC Power consumption max 300 mA Power consumption sleep mode 8 A Environmental specifications Operating temperature 5 to 55 C Operating humidity 0 93 RH No condensation Operating altitude 2000 m Pollu...

Page 35: ...35 38 2022 09 V1 2 via LwM2M Elvaco Evo DM system or third party DM system Preconfig on delivery General Supported Protocols LwM2M MQTT SN both over UDP Security DTLS 1 2 Data storage examples Meter...

Page 36: ...CMi6140 User s Manual English CMi6140 User s Manual English page 36 38 2022 09 V1 2 9 Approvals CMi6140 is designed to comply with the followed directives and standard listed below...

Page 37: ...ish page 37 38 2022 09 V1 2 10 Document history 10 1 Versions Version Date Description V0 1 2021 02 Evaluation samples V0 2 2021 06 LVD Basis V1 0 2022 03 Updated release document V1 1 2022 06 Updated...

Page 38: ...e MCM Meter Connectivity Module MD Meter Data MQTT MQ Telemetry Transport MQTT SN MQTT for Sensor Networks NB IoT Narrowband Internet of Things OSCORE Object Security Constrained RESTful Environments...

Reviews: