pi@raspberrypi:~ $ mbus-serial-request-data -b 2400 /dev/ttyUSB0 0 | xq . { "MBusData": { "SlaveInformation": { "Id": "23551234", "Manufacturer": "EFE", "Version": "0", "ProductName": "Engelmann / Elster SensoStar 2", "Medium": "Heat: Inlet", "AccessNumber": "243", "Status": "00", "Signature": "0000" }, "DataRecord": [ { "@id": "0", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Fabrication number", "Value": "23551234", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "1", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Energy (kWh)", "Value": "2357", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "2", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Volume (m m^3)", "Value": "639022", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "3", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Power (W)", "Value": "6555", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "4", "Function": "Maximum value", "StorageNumber": "0", "Unit": "Power (W)", "Value": "174712", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "5", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Volume flow (m m^3/h)", "Value": "2033", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "6", "Function": "Maximum value", "StorageNumber": "0", "Unit": "Volume flow (m m^3/h)", "Value": "5263", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "7", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Flow temperature (deg C)", "Value": "35", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "8", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Return temperature (deg C)", "Value": "32", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "9", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Temperature Difference (1e-2 deg C)", "Value": "279", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "10", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "On time (days)", "Value": "78", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "11", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Time Point (time & date)", "Value": "2022-11-23T18:30:00", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "12", "Function": "Instantaneous value", "StorageNumber": "1", "Unit": "Energy (kWh)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "13", "Function": "Instantaneous value", "StorageNumber": "1", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "14", "Function": "Instantaneous value", "StorageNumber": "1", "Unit": "Time Point (date)", "Value": "2000-00-00", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "15", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Error flags", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "16", "Function": "Instantaneous value", "StorageNumber": "0", "Unit": "Model / Version", "Value": "5", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "17", "Function": "Instantaneous value", "StorageNumber": "0", "Tariff": "2", "Device": "0", "Unit": "Energy (kWh)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "18", "Function": "Instantaneous value", "StorageNumber": "1", "Tariff": "2", "Device": "0", "Unit": "Energy (kWh)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "19", "Function": "Instantaneous value", "StorageNumber": "0", "Tariff": "3", "Device": "0", "Unit": "Energy (kWh)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "20", "Function": "Instantaneous value", "StorageNumber": "1", "Tariff": "3", "Device": "0", "Unit": "Energy (kWh)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "21", "Function": "Instantaneous value", "StorageNumber": "0", "Tariff": "0", "Device": "1", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "22", "Function": "Instantaneous value", "StorageNumber": "1", "Tariff": "0", "Device": "1", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "23", "Function": "Instantaneous value", "StorageNumber": "0", "Tariff": "0", "Device": "2", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "24", "Function": "Instantaneous value", "StorageNumber": "1", "Tariff": "0", "Device": "2", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "25", "Function": "Instantaneous value", "StorageNumber": "0", "Tariff": "0", "Device": "3", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" }, { "@id": "26", "Function": "Instantaneous value", "StorageNumber": "1", "Tariff": "0", "Device": "3", "Unit": "Volume (m m^3)", "Value": "0", "Timestamp": "2022-11-23T17:31:00Z" } ] }