MQTT Report Templates
This report contains value data in M-Bus raw format used when installation of a new meter is completed. This information can be useful to add meters when installation process is completed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains rows. Each row contains the origin of the value and the actual value for a specific time.
Table 328. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
|
Product serial number |
|
1 |
|
The device (meter) secondary address |
|
2 |
|
The date/time of this value. Format: YYYY-MM-DD hh:mm:ss |
|
3 |
|
The M-Bus telegram number from which this record is taken |
|
4 |
|
M-Bus raw data, starting with M-Bus CField. Stop character and checksum of the M-Bus telegram is excluded. |
|
Example of payload contents |
|---|
|
|
This report contains event information sent from the product. Example of events are firmware updates and reboots.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains a column header line and key value pairs of information.
Table 329. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed value indicating column information line. |
|
1 |
key |
Fixed value |
|
2 |
value |
Fixed value |
Table 330. Value line definition
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
|
Key name Can be one of the following: time serial-number event module-revision sw-version prepaid-infoavailable prepaid-credits prepaid-currency prepaid-expiredate |
|
1 |
<value> |
Value |
|
Example of body contents for firmware update event |
|---|
|
|
This report contains log information sent from the product.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains a column header line and log information lines.
The log level can be changed in CMe3100 web interface using System > System log > Severity or using configuration key common.syslog.level.
Table 331. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed value indicating column information line. |
|
1 |
serial-number |
Fixed value |
|
2 |
created |
Fixed value |
|
3 |
level |
Fixed value |
|
4 |
message |
Fixed value |
Table 332. Value line definition
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
|
Serial number of the product |
|
1 |
|
The date/time for this log information line. Format: YYYY-MM-DD hh:mm:ss |
|
2 |
|
The level of this log line. Available levels are: -2 = Debug -1 = Unknown 0 = Info 1 = Warning 2 = Error 3 = Critical 4 = Fatal 5 = Unhandled exception 6 = Event 7 = Network event |
|
3 |
|
Log information message in clear text. |
|
Example of body contents |
|---|
|
|
This report contains status information sent from the product. Example of status information is cell information, signal quality etc.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains a column header line and key value pairs of information.
Table 333. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed value indicating column information line. |
|
1 |
key |
Fixed value |
|
2 |
value |
Fixed value |
Table 334. Value line definition
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
|
Key name Can be one of the following: time serial-number name part-number imei imsi hw-version sw-version boot-time internal-temperature internal-voltage rssi gprs-available operator cell apn ip simid prepaid-infoavailable prepaid-credits prepaid-currency prepaid-expiredate |
|
1 |
|
Value |
|
Example of file contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data lines. The column header line describes the contents of the following value data line.
Table 335. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
serial-number |
Fixed field |
|
1 |
device-identification |
Fixed field |
|
2 |
created |
Fixed field |
|
3 |
value-data-count |
Fixed field |
|
4 |
Manufacturer |
Fixed field |
|
5..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. The 6 fields are: Description Unit Function Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of payload contents |
|---|
|
|
This report contains value data in M-Bus raw format.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains rows.
Table 336. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
|
Product serial number |
|
1 |
|
The device (meter) secondary address |
|
2 |
|
The date/time of this value. Format: YYYY-MM-DD hh:mm:ss |
|
3 |
|
The M-Bus telegram number from which this record is taken |
|
4 |
|
M-Bus raw data, starting with M-Bus C-Field. Stop character and checksum of the M-Bus telegram is excluded. |
|
Example of body contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line and one value data line. Each column header in the first line of a file describes the contents of the value data lines.
Table 337. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field |
|
2 |
device-identification |
Fixed field |
|
3 |
created |
Fixed field |
|
4 |
value-data-count |
Fixed field |
|
5..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. The 6 fields are: Description Unit Function Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in payload with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of payload with all contents |
|---|
|
|
This report contains value data in M-Bus raw format.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data lines.
Table 338. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
3 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
4 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
5 |
mbus-raw-value |
M-Bus raw data, starting with M-Bus C-Field. Stop character and checksum of the M-Bus telegram is excluded. |
|
Example of first line in body with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of body with all contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data lines.
Table 339. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
3 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
4 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
5 |
manufacturer |
Fixed field. Data row contains the M-Bus device three letter manufacturer code. |
|
6 |
version |
Fixed field. Data row contains the M-Bus device version. |
|
7 |
device-type |
Fixed field. Data row contains the M-Bus device type as string. |
|
8 |
access-number |
Fixed field. Data row contains the M-Bus device access number which is increased by one on every request to the meter. This field can be used to verify that no other M-Bus master has read the device. |
|
9 |
status |
Fixed field. Data row contains the M-Bus device status field. |
|
10 |
signature |
Fixed field. Data row contains the the M-Bus device signature field. |
|
11..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. The 6 fields are: Description Unit Function Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in payload with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of payload with all contents |
|---|
|
|
This report contains value data in M-Bus raw format used when installation of a new meter is completed. This information can be useful to add meters when installation process is completed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data lines.
Table 340. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
3 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
4 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
5 |
manufacturer |
Fixed field. Data row contains the M-Bus device three letter manufacturer code. |
|
6 |
version |
Fixed field. Data row contains the M-Bus device version. |
|
7 |
device-type |
Fixed field. Data row contains the M-Bus device type as string. |
|
8 |
access-number |
Fixed field. Data row contains the M-Bus device access number which is increased by one on every request to the meter. This field can be used to verify that no other M-Bus master has read the device. |
|
9 |
status |
Fixed field. Data row contains the M-Bus device status field. |
|
10 |
signature |
Fixed field. Data row contains the the M-Bus device signature field. |
|
11..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 8 fields delimited with comma. These fields provide the exact meaning of the contents of this column. The 8 fields are: Dif Vif Unit Description Kind Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in body with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of body with all contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data lines.
Table 341. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-position |
Fixed field. Data row contains a field that describes location or other information for identifying the meter (MOID). |
|
3 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
4 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
5 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
6 |
manufacturer |
Fixed field. Data row contains the M-Bus device three letter manufacturer code. |
|
7 |
version |
Fixed field. Data row contains the M-Bus device version. |
|
8 |
device-type |
Fixed field. Data row contains the M-Bus device type as string. |
|
9 |
access-number |
Fixed field. Data row contains the M-Bus device access number which is increased by one on every request to the meter. This field can be used to verify that no other M-Bus master has read the device. |
|
10 |
status |
Fixed field. Data row contains the M-Bus device status field. |
|
11 |
signature |
Fixed field. Data row contains the M-Bus device signature field. |
|
12..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. These 6 fields are: Unit Description Kind Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in payload with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of payload with all contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data line.
Table 342. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
3 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
4 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
5 |
manufacturer |
Fixed field. Data row contains the M-Bus device three letter manufacturer code. |
|
6 |
version |
Fixed field. Data row contains the M-Bus device version. |
|
7 |
device-type |
Fixed field. Data row contains the M-Bus device type as string. |
|
8 |
access-number |
Fixed field. Data row contains the M-Bus device access number which is increased by one on every request to the meter. This field can be used to verify that no other M-Bus master has read the device. |
|
9 |
status |
Fixed field. Data row contains the M-Bus device status field. |
|
10 |
signature |
Fixed field. Data row contains the M-Bus device signature field. |
|
11..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. These 6 fields are: Unit Description Kind Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in payload with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of payload with all contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The payload contains one column header line, followed by one value data line.
Table 343. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-position |
Fixed field. Data row contains a field that describes location or other information for identifying the meter (MOID). |
|
3 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
4 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
5 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
6 |
manufacturer |
Fixed field. Data row contains the M-Bus device three letter manufacturer code. |
|
7 |
version |
Fixed field. Data row contains the M-Bus device version. |
|
8 |
device-type |
Fixed field. Data row contains the M-Bus device type as string. |
|
9 |
access-number |
Fixed field. Data row contains the M-Bus device access number which is increased by one on every request to the meter. This field can be used to verify that no other M-Bus master has read the device. |
|
10 |
status |
Fixed field. Data row contains the M-Bus device status field. |
|
11 |
signature |
Fixed field. Data row contains the M-Bus device signature field. |
|
12..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. These 6 fields are: Unit Description Kind Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in body with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of body with all contents |
|---|
|
|
This report contains value data in decoded format, i.e. the data is sent in clear text and no knowledge of how to decode M-Bus information is needed.
The report publishes meter data as an MQTT message to a topic on an MQTT broker. When executed, the device connects to the broker and sends a message for each meter and timestamp, containing all values. Any client subscribed to the topic will then immediately receive the meter data.
The report data is published to the MQTT broker using the following topic format:
<Base_topic>/ecmXv1.0/CMe3100/<report template>/<serial number>/<meter ID>
Where <Base_topic> is an optional configuration in the CMe3100:
Below is an example of an MQTT message from a device with serial number 0006123456, reporting data from a connected meter (serial number 50855417) using report template 4001, under the base topic "Company A".
Company A/ecmXv1.0/CMe3100/4001/0016123456/50855417
Note
The MQTT topic acts as the routing key for message delivery. Subscribers receive messages based on topic matching.
The body contains one column header line, followed by one value data line.
Table 344. Column header description
|
Column index (0 = first column) |
Column contents |
Description |
|---|---|---|
|
0 |
# |
Fixed field indicating column header information line. |
|
1 |
serial-number |
Fixed field. Data row contains the CMe/CMi product serial number. |
|
2 |
device-position |
Fixed field. Data row contains a field that describes location or other information for identifying the meter (MOID). |
|
3 |
primary-address |
Fixed field. Data row contains the primary address of the M-Bus device. |
|
4 |
device-identification |
Fixed field. Data row contains the M-Bus device secondary address. |
|
5 |
created |
Fixed field. Data row contains the date/time of the data row. |
|
6 |
value-data-count |
Fixed field. Data row contains the M-Bus telegram number. 0 = first telegram, 1 = second telegram etc. |
|
7 |
manufacturer |
Fixed field. Data row contains the M-Bus device three letter manufacturer code. |
|
8 |
version |
Fixed field. Data row contains the M-Bus device version. |
|
9 |
device-type |
Fixed field. Data row contains the M-Bus device type as string. |
|
10 |
access-number |
Fixed field. Data row contains the M-Bus device access number which is increased by one on every request to the meter. This field can be used to verify that no other M-Bus master has read the device. |
|
11 |
status |
Fixed field. Data row contains the M-Bus device status field. |
|
12 |
signature |
Fixed field. Data row contains the M-Bus device signature field. |
|
13..n |
|
Value description information. This information describes the exact contents of this column. Depending on meter, one or more value description columns are added. The value description contains 6 fields delimited with comma. These fields provide the exact meaning of the contents of this column. These 6 fields are: Unit Description Kind Tariff Sub unit Storage number Please see Report Template Reference Information for complete description of these fields. |
|
Example of first line in body with column headers |
|---|
|
|
|
Example of value data lines |
|---|
|
|
|
Example of body with all contents |
|---|
|
|
Comments (0 comments)