Apollon77 / ioBroker.mbus

Communicate with mbus devices
MIT License
11 stars 9 forks source link

„more follow“ Flag wird als Datenpunkt mit angelegt. #277

Open JockelBln opened 2 years ago

JockelBln commented 2 years ago

Describe the bug
Beim Abfragen eines ABB B23 113 100 Zählers wird ein Datenpunkt "mbus.0.ABB-1478077.data.11-More records follow" angelegt.

Screenshots & Logfiles

2022-06-29 12:58:07.867  - info: smartmeter.0 (253) Received 10 values, 3 updated
2022-06-29 12:58:39.863  - info: host.DiskStation-001 "system.adapter.mbus.0" enabled
2022-06-29 12:58:40.022  - info: host.DiskStation-001 instance system.adapter.mbus.0 started with pid 5565
2022-06-29 12:58:41.506  - debug: mbus.0 (5565) Redis Objects: Use Redis connection: 127.0.0.1:9001
2022-06-29 12:58:41.558  - debug: mbus.0 (5565) Objects client ready ... initialize now
2022-06-29 12:58:41.571  - debug: mbus.0 (5565) Objects create System PubSub Client
2022-06-29 12:58:41.572  - debug: mbus.0 (5565) Objects create User PubSub Client
2022-06-29 12:58:41.592  - debug: mbus.0 (5565) Objects client initialize lua scripts
2022-06-29 12:58:41.600  - debug: mbus.0 (5565) Objects connected to redis: 127.0.0.1:9001
2022-06-29 12:58:41.619  - debug: mbus.0 (5565) Redis States: Use Redis connection: 127.0.0.1:9000
2022-06-29 12:58:41.628  - debug: mbus.0 (5565) States create System PubSub Client
2022-06-29 12:58:41.630  - debug: mbus.0 (5565) States create User PubSub Client
2022-06-29 12:58:41.680  - debug: mbus.0 (5565) States connected to redis: 127.0.0.1:9000
2022-06-29 12:58:41.726  - debug: mbus.0 (5565) Plugin sentry Initialize Plugin (enabled=true)
2022-06-29 12:58:42.107  - info: mbus.0 (5565) starting. Version 2.3.4 in /opt/iobroker/node_modules/iobroker.mbus, node: v14.19.2, js-controller: 4.0.23
2022-06-29 12:58:42.135  - info: mbus.0 (5565) Default Update Interval: 2400
2022-06-29 12:58:42.136  - info: mbus.0 (5565) Initialize M-Bus Serial to /dev/mbus with 115200baud
2022-06-29 12:58:42.147  - info: mbus.0 (5565) Schedule initialization for M-Bus-ID 0147807742042002 with update interval 120
2022-06-29 12:58:42.245  - debug: mbus.0 (5565) connected set to true
2022-06-29 12:58:42.247  - debug: mbus.0 (5565) connected set to true
2022-06-29 12:58:42.649  - debug: mbus.0 (5565) Process: 0147807742042002
2022-06-29 12:58:46.101  - debug: mbus.0 (5565) M-Bus ID 0147807742042002 data: {
  "SlaveInformation": {
    "Id": 1478077,
    "Manufacturer": "ABB",
    "Version": 32,
    "ProductName": "",
    "Medium": "Electricity",
    "AccessNumber": 52,
    "Status": 0,
    "Signature": 0
  },
  "DataRecord": [
    {
      "id": 0,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Energy (10 Wh)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 1,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 2,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 3,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 4,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 5,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 6,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 7,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 8,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 9,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Firmware version",
      "Value": "B1.50.0",
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 10,
      "frame": 0,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": "B23 113-100",
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 11,
      "frame": 0,
      "Function": "More records follow",
      "Value": "",
      "Timestamp": "2022-06-29T10:58:44Z"
    },
    {
      "id": 12,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Power (1e-2 W)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 13,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Power (1e-2 W)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 14,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Power (1e-2 W)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 15,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Power (1e-2 W)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 16,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "1e-1  V",
      "Value": 2366,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 17,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "1e-1  V",
      "Value": 2369,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 18,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "1e-1  V",
      "Value": 2358,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 19,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "1e-1  V",
      "Value": 4105,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 20,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "1e-1  V",
      "Value": 4101,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 21,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "1e-1  V",
      "Value": 4079,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 22,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "m A",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 23,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "m A",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 24,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "m A",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 25,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 5004,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 26,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 27,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Manufacturer specific",
      "Value": 3,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 28,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Tariff": 0,
      "Device": 1,
      "Unit": "Digital output (binary)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 29,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Energy (10 Wh)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 30,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Energy (10 Wh)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 31,
      "frame": 1,
      "Function": "Instantaneous value",
      "StorageNumber": 0,
      "Unit": "Energy (10 Wh)",
      "Value": 0,
      "Timestamp": "2022-06-29T10:58:45Z"
    },
    {
      "id": 32,
      "frame": 1,
      "Function": "Manufacturer specific",
      "Value": "",
      "Timestamp": "2022-06-29T10:58:45Z"
    }
  ]
}
2022-06-29 12:58:46.116  - debug: mbus.0 (5565) Create State ABB-1478077.info.Id
2022-06-29 12:58:46.120  - debug: mbus.0 (5565) Create State ABB-1478077.info.Manufacturer
2022-06-29 12:58:46.124  - debug: mbus.0 (5565) Create State ABB-1478077.info.Version
2022-06-29 12:58:46.127  - debug: mbus.0 (5565) Create State ABB-1478077.info.ProductName
2022-06-29 12:58:46.131  - debug: mbus.0 (5565) Create State ABB-1478077.info.Medium
2022-06-29 12:58:46.136  - debug: mbus.0 (5565) Create State ABB-1478077.info.AccessNumber
2022-06-29 12:58:46.139  - debug: mbus.0 (5565) Create State ABB-1478077.info.Status
2022-06-29 12:58:46.142  - debug: mbus.0 (5565) Create State ABB-1478077.info.Signature
2022-06-29 12:58:46.144  - debug: mbus.0 (5565) Create State ABB-1478077.info.address
2022-06-29 12:58:46.147  - debug: mbus.0 (5565) Create State ABB-1478077.data.0-0-Current
2022-06-29 12:58:46.151  - debug: mbus.0 (5565) Create State ABB-1478077.data.1-0-Current
2022-06-29 12:58:46.154  - debug: mbus.0 (5565) Create State ABB-1478077.data.2-0-Current
2022-06-29 12:58:46.158  - debug: mbus.0 (5565) Create State ABB-1478077.data.3-0-Current
2022-06-29 12:58:46.161  - debug: mbus.0 (5565) Create State ABB-1478077.data.4-0-Current
2022-06-29 12:58:46.164  - debug: mbus.0 (5565) Create State ABB-1478077.data.5-0-Current
2022-06-29 12:58:46.167  - debug: mbus.0 (5565) Create State ABB-1478077.data.6-0-Current
2022-06-29 12:58:46.172  - debug: mbus.0 (5565) Create State ABB-1478077.data.7-0-Current
2022-06-29 12:58:46.174  - debug: mbus.0 (5565) Create State ABB-1478077.data.8-0-Current
2022-06-29 12:58:46.176  - debug: mbus.0 (5565) Create State ABB-1478077.data.9-0-Current
2022-06-29 12:58:46.179  - debug: mbus.0 (5565) Create State ABB-1478077.data.10-0-Current
2022-06-29 12:58:46.182  - debug: mbus.0 (5565) Create State ABB-1478077.data.11-More records follow
2022-06-29 12:58:46.185  - debug: mbus.0 (5565) Create State ABB-1478077.data.12-0-Current
2022-06-29 12:58:46.189  - debug: mbus.0 (5565) Create State ABB-1478077.data.13-0-Current
2022-06-29 12:58:46.193  - debug: mbus.0 (5565) Create State ABB-1478077.data.14-0-Current
2022-06-29 12:58:46.196  - debug: mbus.0 (5565) Create State ABB-1478077.data.15-0-Current
2022-06-29 12:58:46.199  - debug: mbus.0 (5565) Create State ABB-1478077.data.16-0-Current
2022-06-29 12:58:46.203  - debug: mbus.0 (5565) Create State ABB-1478077.data.17-0-Current
2022-06-29 12:58:46.207  - debug: mbus.0 (5565) Create State ABB-1478077.data.18-0-Current
2022-06-29 12:58:46.210  - debug: mbus.0 (5565) Create State ABB-1478077.data.19-0-Current
2022-06-29 12:58:46.213  - debug: mbus.0 (5565) Create State ABB-1478077.data.20-0-Current
2022-06-29 12:58:46.216  - debug: mbus.0 (5565) Create State ABB-1478077.data.21-0-Current
2022-06-29 12:58:46.220  - debug: mbus.0 (5565) Create State ABB-1478077.data.22-0-Current
2022-06-29 12:58:46.223  - debug: mbus.0 (5565) Create State ABB-1478077.data.23-0-Current
2022-06-29 12:58:46.227  - debug: mbus.0 (5565) Create State ABB-1478077.data.24-0-Current
2022-06-29 12:58:46.230  - debug: mbus.0 (5565) Create State ABB-1478077.data.25-0-Current
2022-06-29 12:58:46.233  - debug: mbus.0 (5565) Create State ABB-1478077.data.26-0-Current
2022-06-29 12:58:46.236  - debug: mbus.0 (5565) Create State ABB-1478077.data.27-0-Current
2022-06-29 12:58:46.240  - debug: mbus.0 (5565) Create State ABB-1478077.data.28-0-Current
2022-06-29 12:58:46.244  - debug: mbus.0 (5565) Create State ABB-1478077.data.29-0-Current
2022-06-29 12:58:46.247  - debug: mbus.0 (5565) Create State ABB-1478077.data.30-0-Current
2022-06-29 12:58:46.251  - debug: mbus.0 (5565) Create State ABB-1478077.data.31-0-Current
2022-06-29 12:58:46.255  - debug: mbus.0 (5565) Create State ABB-1478077.data.32
2022-06-29 12:58:46.258  - debug: mbus.0 (5565) Create State ABB-1478077.data.lastStatus
2022-06-29 12:58:46.263  - debug: mbus.0 (5565) Value ABB-1478077.data.0-0-Current: 0 (unit: 10 Wh) with factor 0.01
2022-06-29 12:58:46.264  - debug: mbus.0 (5565) Value ABB-1478077.data.1-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.265  - debug: mbus.0 (5565) Value ABB-1478077.data.2-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.265  - debug: mbus.0 (5565) Value ABB-1478077.data.3-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.265  - debug: mbus.0 (5565) Value ABB-1478077.data.4-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.266  - debug: mbus.0 (5565) Value ABB-1478077.data.5-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.267  - debug: mbus.0 (5565) Value ABB-1478077.data.6-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.267  - debug: mbus.0 (5565) Value ABB-1478077.data.7-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.268  - debug: mbus.0 (5565) Value ABB-1478077.data.8-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.268  - debug: mbus.0 (5565) Value ABB-1478077.data.9-0-Current: B1.50.0 (unit: Firmware version) with factor 0
2022-06-29 12:58:46.268  - debug: mbus.0 (5565) Value ABB-1478077.data.10-0-Current: B23 113-100 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.269  - debug: mbus.0 (5565) Value ABB-1478077.data.11-More records follow:  (unit: ) with factor 0
2022-06-29 12:58:46.269  - debug: mbus.0 (5565) Value ABB-1478077.data.12-0-Current: 0 (unit: 1e-2 W) with factor 0.01
2022-06-29 12:58:46.270  - debug: mbus.0 (5565) Value ABB-1478077.data.13-0-Current: 0 (unit: 1e-2 W) with factor 0.01
2022-06-29 12:58:46.270  - debug: mbus.0 (5565) Value ABB-1478077.data.14-0-Current: 0 (unit: 1e-2 W) with factor 0.01
2022-06-29 12:58:46.270  - debug: mbus.0 (5565) Value ABB-1478077.data.15-0-Current: 0 (unit: 1e-2 W) with factor 0.01
2022-06-29 12:58:46.271  - debug: mbus.0 (5565) Value ABB-1478077.data.16-0-Current: 2366 (unit: 1e-1  V) with factor 0.1
2022-06-29 12:58:46.271  - debug: mbus.0 (5565) Value ABB-1478077.data.17-0-Current: 2369 (unit: 1e-1  V) with factor 0.1
2022-06-29 12:58:46.272  - debug: mbus.0 (5565) Value ABB-1478077.data.18-0-Current: 2358 (unit: 1e-1  V) with factor 0.1
2022-06-29 12:58:46.272  - debug: mbus.0 (5565) Value ABB-1478077.data.19-0-Current: 4105 (unit: 1e-1  V) with factor 0.1
2022-06-29 12:58:46.272  - debug: mbus.0 (5565) Value ABB-1478077.data.20-0-Current: 4101 (unit: 1e-1  V) with factor 0.1
2022-06-29 12:58:46.273  - debug: mbus.0 (5565) Value ABB-1478077.data.21-0-Current: 4079 (unit: 1e-1  V) with factor 0.1
2022-06-29 12:58:46.273  - debug: mbus.0 (5565) Value ABB-1478077.data.22-0-Current: 0 (unit: m A) with factor 0.001
2022-06-29 12:58:46.274  - debug: mbus.0 (5565) Value ABB-1478077.data.23-0-Current: 0 (unit: m A) with factor 0.001
2022-06-29 12:58:46.274  - debug: mbus.0 (5565) Value ABB-1478077.data.24-0-Current: 0 (unit: m A) with factor 0.001
2022-06-29 12:58:46.274  - debug: mbus.0 (5565) Value ABB-1478077.data.25-0-Current: 5004 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.275  - debug: mbus.0 (5565) Value ABB-1478077.data.26-0-Current: 0 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.275  - debug: mbus.0 (5565) Value ABB-1478077.data.27-0-Current: 3 (unit: Manufacturer specific) with factor 0
2022-06-29 12:58:46.276  - debug: mbus.0 (5565) Value ABB-1478077.data.28-0-Current: 0 (unit: binary) with factor 0
2022-06-29 12:58:46.276  - debug: mbus.0 (5565) Value ABB-1478077.data.29-0-Current: 0 (unit: 10 Wh) with factor 0.01
2022-06-29 12:58:46.276  - debug: mbus.0 (5565) Value ABB-1478077.data.30-0-Current: 0 (unit: 10 Wh) with factor 0.01
2022-06-29 12:58:46.277  - debug: mbus.0 (5565) Value ABB-1478077.data.31-0-Current: 0 (unit: 10 Wh) with factor 0.01
2022-06-29 12:58:46.277  - debug: mbus.0 (5565) Value ABB-1478077.data.32:  (unit: ) with factor 0

Versions:

Additional context
Add any other context about the problem here.

Apollon77 commented 2 years ago

"Function": "More records follow",

... but removing it would be breaking ......

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.