Hi I got a problem with my TRB 143 sending the MBUS-data over MQTT as JSON.
What I get sent up to the MQTT server is the following:
{“mbus”:[{“timestamp”:1698256927,“date”:“25/10/2023 20:02:07”,“bdate”:null,“name”:“M_BUS”,“data”:null,“size”:5075}]}
When I think I should have seen at least the following:
{ “MBusData”: { “SlaveInformation”: { “Id”: “32480001”, “Manufacturer”: “EFE”, “Version”: “0”, “ProductName”: “Engelmann / Elster SensoStar 2”, “Medium”: “Heat / Cooling load meter”, “AccessNumber”: “38”, “Status”: “00”, “Signature”: “0000” }, “DataRecord”: [ { “id”: “0”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Fabrication number”, “Value”: “32480001”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “1”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Energy (kWh)”, “Value”: “3”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “2”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Volume (m m^3)”, “Value”: “12613726”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “3”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Power (W)”, “Value”: “121308”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “4”, “Function”: “Maximum value”, “StorageNumber”: “0”, “Unit”: “Power (W)”, “Value”: “254643”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “5”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Volume flow (m m^3/h)”, “Value”: “9619”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “6”, “Function”: “Maximum value”, “StorageNumber”: “0”, “Unit”: “Volume flow (m m^3/h)”, “Value”: “10117”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “7”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Flow temperature (deg C)”, “Value”: “32”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “8”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Return temperature (deg C)”, “Value”: “43”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “9”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Temperature Difference (1e-2 deg C)”, “Value”: “-1095”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “10”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “On time (days)”, “Value”: “133”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “11”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Time Point (time & date)”, “Value”: “2023-10-25T19:03:00”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “12”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Unit”: “Energy (kWh)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “13”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “14”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Unit”: “Time Point (date)”, “Value”: “2000-00-00”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “15”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Error flags”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “16”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Unit”: “Model / Version”, “Value”: “5”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “17”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Tariff”: “1”, “Device”: “0”, “Unit”: “Energy (kWh)”, “Value”: “50801”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “18”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Tariff”: “1”, “Device”: “0”, “Unit”: “Energy (kWh)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “19”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Tariff”: “2”, “Device”: “0”, “Unit”: “Energy (kWh)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “20”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Tariff”: “2”, “Device”: “0”, “Unit”: “Energy (kWh)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “21”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Tariff”: “3”, “Device”: “0”, “Unit”: “Energy (kWh)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “22”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Tariff”: “3”, “Device”: “0”, “Unit”: “Energy (kWh)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “23”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Tariff”: “0”, “Device”: “1”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “24”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Tariff”: “0”, “Device”: “1”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “25”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Tariff”: “0”, “Device”: “2”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “26”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Tariff”: “0”, “Device”: “2”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “27”, “Function”: “Instantaneous value”, “StorageNumber”: “0”, “Tariff”: “0”, “Device”: “3”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” }, { “id”: “28”, “Function”: “Instantaneous value”, “StorageNumber”: “1”, “Tariff”: “0”, “Device”: “3”, “Unit”: “Volume (m m^3)”, “Value”: “0”, “Timestamp”: “2023-10-25T18:04:17Z” } ] } }
The M-bus is set up as Json
and DAta to server has the following setup:
Type: m-bus data
Format Type Json
Data Filtering: All
Segment Count : 64 (Also benn testing 1 and 1 with “Send as Object” marked)
And Database is in RAM