From 8934f1f744554bafca82f2bfd20e6d7e19bb5f53 Mon Sep 17 00:00:00 2001 From: samson0v Date: Thu, 9 Nov 2023 13:01:33 +0200 Subject: [PATCH] Fixed BACnet application --- .../bacnet/bacnet_utilities/tb_gateway_bacnet_application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py b/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py index bea8bd118..c0a8d4688 100644 --- a/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py +++ b/thingsboard_gateway/connectors/bacnet/bacnet_utilities/tb_gateway_bacnet_application.py @@ -164,7 +164,7 @@ def __iam_cb(self, iocb: IOCB, vendor_id=None): self._log.debug("Received IAm Response: %s", str(apdu)) if self.discovered_devices.get(apdu.pduSource) is None: self.discovered_devices[apdu.pduSource] = {} - value = self.__connector.default_converters["uplink_converter"]("{}").convert(None, apdu) + value = self.__connector.default_converters["uplink_converter"]("{}", self._log).convert(None, apdu) self._log.debug("Property: %s is %s", apdu.propertyIdentifier, value) self.discovered_devices[apdu.pduSource].update({apdu.propertyIdentifier: value}) data_to_connector = {