MangoAutomation/BACnet4J

Some Analog Values are getting missed in COV subscription using BACnet4j library

yashjaswani1606 opened this issue · 1 comments

Problem Statement: Some Analog Values are getting missed in COV subscription using BACnet4j library

Observation: It's been observed in BACnet4j library that some Notification values for Analog Value (AV) Objects are getting missed while using the subscription of a particular Object.

Case: Let's assume that the thermostat supports .1 floating value of temprature,
if we will set 23.2 in thermostat
COV response : will get the response as 23.2
if we will set 23.3 in thermostat
COV Response : Will not get the response from thermostat
if we will set 23.4 in thermostat
COV response : will get the response as 23.4
if we will set 23.5 in thermostat
COV Response : Will not get the response from thermostat

Can refer the below logs for the same :

`TRACE | 31 Jan 16:08:09.603 | [ReadFromBacnet-97] | BACNet Response( COV Notification ) Object Identifier : analog-value 47 | Value : 23.2 | Remote Id : 2098185

TRACE | 31 Jan 16:08:16.358 | [ReadFromBacnet-97] | BACNet Response( COV Notification ) Object Identifier : analog-value 47 | Value : 23.400002 | Remote Id : 2098185

TRACE | 31 Jan 16:08:52.368 | [ReadFromBacnet-97] | BACNet Response( COV Notification ) Object Identifier : analog-value 47 | Value : 23.600002 | Remote Id : 2098185

TRACE | 31 Jan 16:09:00.117 | [ReadFromBacnet-97] | BACNet Response( COV Notification ) Object Identifier : analog-value 47 | Value : 23.800003 | Remote Id : 2098185`

For Example in this case, 23.1, 23.3, 23.5, 23.7, 23.9 values are missing

Kindly suggest a solution for that and thanks in advance for your kind support.

What is the COV-Increment property of AV object? COV Notification is based on present-value and COV-Increment Property.