From ee73aaa6341d93088b89123d9e622a7d25cfac48 Mon Sep 17 00:00:00 2001 From: "David M. Raker" Date: Fri, 28 Jun 2024 13:24:47 -0700 Subject: [PATCH] Added on_property method to get_point and set_point. Replaced and extended broken functionality to get_priortity_array on get_point. --- .../PlatformDriverAgent/platform_driver/interfaces/bacnet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py b/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py index d591bc8b45..6ae4a4c8fa 100644 --- a/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py +++ b/services/core/PlatformDriverAgent/platform_driver/interfaces/bacnet.py @@ -97,9 +97,10 @@ def ping_target(self): self.vip.rpc.call(self.proxy_address, 'ping_device', self.target_address, self.device_id).get(timeout=self.timeout) pinged = True except errors.Unreachable: - _log.warning("Unable to reach BACnet proxy.") + _log.warning(f"Unable to reach BACnet proxy at: {self.proxy_address}.") except (Exception, gevent.Timeout) as e: - _log.warning(f"Error trying to ping device with device_id '{self.device_id}' at {self.target_address}: {e}") + _log.warning(f"Error trying to ping device with device_id '{self.device_id}' at {self.target_address}" + f"through proxy {self.proxy_address}: {e}") self.scheduled_ping = None