background image

 

 

CMi6160 

User’s Manual English 

 

 

 

 

 

 

 

 

 

 

 

 

CMi6160 

User’s Manual English 

page | 25 (38) 

[2022-10] 

 

v1.4 

 

 

 

 

handled more efficiently. SenML/CBOR also provides one way to structure lists of readings in an efficient 
manner. 
 
The first implementation will use M-Bus for encoding the data transferred, but other formats could be 
implemented in the future. 
 
Note that SenML, CBOR and M-Bus are separate standards, this page describes how products can use 
these three in conjunction for representing multiple measurement values in a compact format suitable for 
radio transmission over for instance NB-IoT. Also, other means of encoding the data than M-Bus can be 
used in the future. 
 
Elvaco uses SenML/CBOR/M-Bus data representation for transferring meter data in a compact and self-
describing manner.  The data being transferred is referred to as a pack, containing one record per 
readout.  
 

Structure of SenML pack 
 

Meter readout data is sent as SenML, i.e., a list (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, it shall 
specify the exact contents of the data values included, meter id format etc. This specification alone is not 
sufficient for building a parser for a specific product. 
 

Base Time 
 

 

Base time

 is used to set a reference time. 

o

 

Timestamps are always encoded according to SenML (i.e., UNIX time). SenML label -1 
“Base time”, SenML definition of Time field 

o

 

This value MUST be included in the first record of the pack 

o

 

All other values have a 

time

 value that is added to the 

base time

 to define the exact time 

of the readout 

 

Base Name 
 

 

Base name

 is used to represent the MeterID (Meter identification in M-Bus) 

o

 

This value MUST be included in the first record of the pack 

o

 

This is represented as a string array (CBOR Major Type 3 - SenML label -

2 “Base 

name”) 

 

The product shall specify the exact format for this field, as it may vary depending 
on what type of “meter” is used. For an M-Bus format it is typically the M-Bus 
data without DIF/VIF. 

o

 

No 

name

 is set for remaining meter readout values, only values belonging to a single 

meter can be represented in one pack. 

 

Data values 

 

 

The actual values from the meter can be encoded using multiple methods, such as M-Bus. 

 

The first record can also contain a data value field containing more information than the 
remaining records in the pack. This is to include more information for the first reading and then 
only a subset of values for the remaining records to save space. (SenML label 8 - 

“Data value”) 

 

Other values 
 

 

(Base) Unit

 is not used, since the unit is specified by the M-Bus data 

 

An “Encoder Version field” is used in a separate record to define the type and version of the 

Содержание 1100450

Страница 1: ...CMi6160 User s Manual English CMi6160 User s Manual English V1 4...

Страница 2: ...2 Antenna connection 9 5 2 3 Mounting battery power 9 5 2 4 Start up and LED indications 9 5 2 5 Switch off reboot module 10 6 INTEGRATION GUIDE 11 6 1 PURPOSE 11 6 2 INTRODUCTION 11 6 3 STATUS AND CO...

Страница 3: ...English page 3 38 2022 10 v1 4 7 8 2 JSON 33 7 8 3 SenML CBOR encoded telegram 33 8 TECHNICAL SPECIFICATIONS 34 9 TYPE APPROVALS 36 10 DOCUMENT HISTORY 37 10 1 VERSIONS 37 11 REFERENCES 38 11 1 TERMS...

Страница 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...

Страница 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...

Страница 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...

Страница 7: ...clude IoT ready 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 CMi6160 is prepar...

Страница 8: ...is chapter the MCM will be mounted and deployed 5 2 Product overview CMi6160 Figure 1 CMi6160 frontside 1 Meter Interface 2 LED Green 3 LED Red 4 Power Connector 5 SIM Nano 6 Push Button 7 Antenna Con...

Страница 9: ...MCX connector to the module CMi6160 in the meter Make a hole in rubber gromets sealing and push the mcx connector through the gromet sealing Make sure thicker part of antenna cable is in gromet seal P...

Страница 10: ...the module has joined the mobile network When CMi6160 succeeds in connecting to the mobile network the green LED will lighten up for 8 seconds as illustrated by 2 If the module fails to join the mobil...

Страница 11: ...hat using DTLS is optional and the product also support unencrypted communication The module will thereafter connect to the MQTT SN gateway and perform a DTLS handshake to generate the sessions keys u...

Страница 12: ...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...

Страница 13: ...Integer NB IoT T3412 Will be writeable in future releases R LwM2M Cellular Connectivity Active Timer 10 0 5 Integer NB IoT T3324 Will be writeable in future releases R LwM2M Cellular Connectivity eDR...

Страница 14: ...3 SenML CBOR RW Elvaco MCM Config Report frame type 33906 0 2 Integer CMi6160 42 Standard 43 Extended RW Elvaco MCM Config Eco mode Enabled 33906 0 3 Boolean Not used RW Elvaco MCM Config NFC Enabled...

Страница 15: ...33908 0 0 String R Elvaco Meter Info Meter ID 33908 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 Mete...

Страница 16: ...se the latest documentation available from DIEHL Metering Table 2 corresponds to Table 7 of EN 13757 3 2013 for M Bus Bit Description Usage 0 reserved 1 any application error 2 power low E 8 E 9 3 per...

Страница 17: ...ort circuit in ultrasonic transducer E 5 Reading too frequently M Bus communication not possible for short time E 6 Wrong direction of flow Flow sensor incorrectly installed E 7 No meaningful ultrason...

Страница 18: ...k 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 33906 0 15 When executed...

Страница 19: ...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 time...

Страница 20: ...tempted unsent data will be resent if possible Retransmission can be done by FIFO or LIFO Rules for retransmissions include maximum age of data order of data number of retransmitted data transmission...

Страница 21: ...er data transmissions CMi6160 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...

Страница 22: ...x M Bus Format F for Date Time Meter ID see Note 1 10 INT64 Enhanced Identification e g 0779xxxxxxxxxxxxxxxx Enhanced Meter Address for Diehl Sharky Energy 6 7 INT32 Energy consumption Wh J e g 0406xx...

Страница 23: ...Flow m3 h e g 023Bxxxxxx xxxxxx 0 001 m3 h Fw temp 4 INT16 Forward temperature C e g 025Axxxx xxxx 0 1 C Rt temp 4 INT16 Return temperature C e g 025Exxxx xxxx 0 1 C Alarm codes 4 INT8 Alarm codes e g...

Страница 24: ...l h FT 80 3 TU C RT 53 8 RU C EF 0x4012 7 4 2 3 SenML CBOR For battery powered devices it might be necessary to send several measurements in the same UDP frame to save energy In order to achieve this...

Страница 25: ...ng a parser for a specific product Base Time Base time is used to set a reference time o Timestamps are always encoded according to SenML i e UNIX time SenML label 1 Base time SenML definition of Time...

Страница 26: ...le defines allowed encoder types and versions The information is sent in a special record Encoder Version field This field encapsulates both the encoding of the data and versioning It contains no time...

Страница 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...

Страница 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...

Страница 29: ...able in CMi6160 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 f...

Страница 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...

Страница 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...

Страница 32: ...L 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 each m...

Страница 33: ...ons available in CMi6160 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...

Страница 34: ...onmental specifications Operating temperature 5 to 55 C Operating humidity 0 93 RH No condensation Operating altitude 2000 m Pollution degree Degree 1 Usage environment Indoors Storage temperature 20...

Страница 35: ...ration 13 56 MHz ISO IEC 14443 Type 2Tag Configuration NFC via Elvaco OTC App via LwM2M Elvaco Evo DM system or third party DM system Preconfig on delivery General Supported Protocols LwM2M MQTT SN bo...

Страница 36: ...Mi6160 User s Manual English CMi6160 User s Manual English page 36 38 2022 10 v1 4 9 Type approvals CMi6160 is designed to comply with the directives and standard listed in EU Declaration of conformit...

Страница 37: ...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 05 Updated from feedback loop V1 3 2022 0...

Страница 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...

Отзывы: