Skip to content

[BUG] BACNET Connector: something broke from Version 3.7.8 to 3.8.0 #2042

@hoffi085

Description

@hoffi085

Connector name (If bug in the some connector):
BACNET Connector

Describe the bug
When I use thingsboard gateway 3.7.8, my bacnet connector to multiple devices is working, when using 3.8.0 it isn't.
Most of the connected BACNET devices are working in 3.8.0. It is just one which does not deliver any datapoints anymore.

Steps to Reproduce
Steps to reproduce the behavior:

  1. using BACNET config in 3.7.8 all BACNET devices work
  2. updating to gateway to 3.8.0
  3. suddenly one device is not connecting and delivering datapoints

Versions (please complete the following information):

  • OS: Debian 12
  • Thingsboard IoT Gateway version 3.7.8 / 3.8.0
  • Python version 3.11.2
{
  "application": {
    "objectName": "BACNET",
    "host": "XX.XX.XX.XX",
    "port": "47808",
    "objectIdentifier": 599,
    "vendorIdentifier": 15,
    "maxApduLengthAccepted": 1476,
    "segmentationSupported": "segmentedBoth",
    "networkNumber": 5,
    "deviceDiscoveryTimeoutInSec": 5
  },
  "devices": [
    {
      "altResponsesAddresses": [],
      "reportStrategy": {
        "type": "ON_CHANGE_OR_REPORT_PERIOD",
        "reportPeriod": 900000
      },
      "host": "XX.XX.XX.XX",
      "port": 47808,
      "deviceInfo": {
        "deviceNameExpression": "Schuetzenstraße 48",
        "deviceNameExpressionSource": "constant",
        "deviceProfileExpressionSource": "constant",
        "deviceProfileExpression": "default"
      },
      "pollPeriod": 60000,
      "timeseries": "*",
      "attributes": [],
      "attributeUpdates": [],
      "serverSideRpc": []
    },
    {
      "altResponsesAddresses": [],
      "reportStrategy": {
        "type": "ON_CHANGE_OR_REPORT_PERIOD",
        "reportPeriod": 900000
      },
      "host": "XX.XX.XX.XX",
      "port": 47808,
      "deviceInfo": {
        "deviceNameExpression": "Bundesstrasse 23",
        "deviceNameExpressionSource": "constant",
        "deviceProfileExpressionSource": "constant",
        "deviceProfileExpression": "default"
      },
      "pollPeriod": 60000,
      "timeseries": "*",
      "attributes": [],
      "attributeUpdates": [],
      "serverSideRpc": []
    },
    {
      "altResponsesAddresses": [],
      "reportStrategy": {
        "type": "ON_CHANGE_OR_REPORT_PERIOD",
        "reportPeriod": 900000
      },
      "host": "XX.XX.XX.XX",
      "port": 47808,
      "deviceInfo": {
        "deviceNameExpression": "Hotel Sailer",
        "deviceNameExpressionSource": "constant",
        "deviceProfileExpressionSource": "constant",
        "deviceProfileExpression": "default"
      },
      "pollPeriod": 60000,
      "timeseries": "*",
      "attributes": [],
      "attributeUpdates": [],
      "serverSideRpc": []
    },
    {
      "altResponsesAddresses": [],
      "reportStrategy": {
        "type": "ON_CHANGE_OR_REPORT_PERIOD",
        "reportPeriod": 900000
      },
      "host": "XX.XX.XX.XX",
      "port": 47808,
      "deviceInfo": {
        "deviceNameExpression": "Resselstrasse",
        "deviceNameExpressionSource": "constant",
        "deviceProfileExpressionSource": "constant",
        "deviceProfileExpression": "default"
      },
      "pollPeriod": 60000,
      "timeseries": "*",
      "attributes": [],
      "attributeUpdates": [],
      "serverSideRpc": []
    },
    {
      "altResponsesAddresses": [
        "10.70.0.232"
      ],
      "reportStrategy": {
        "type": "ON_CHANGE_OR_REPORT_PERIOD",
        "reportPeriod": 900000
      },
      "host": "XX.XX.XX.XX",
      "port": 47808,
      "deviceInfo": {
        "deviceNameExpression": "Juffinger",
        "deviceNameExpressionSource": "constant",
        "deviceProfileExpressionSource": "constant",
        "deviceProfileExpression": "Juffinger"
      },
      "pollPeriod": 10000,
      "timeseries": "*",
      "attributes": [],
      "attributeUpdates": [],
      "serverSideRpc": []
    }
  ],
  "name": "BACNET",
  "id": "69ce3587-0a78-453c-98f1-d55768e67986",
  "logLevel": "DEBUG",
  "enableRemoteLogging": false,
  "configVersion": "3.7.7"
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions