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