BACnet custom properties
-
Can Mango read custom properties of BACnet objects?
Peter
-
Hi petermcs,
I have limited experience in trying, but I believe the answer currently would be "possibly, but only through scripting data sources." I believe the property ID number will be set in your device for the custom property, so if you create a property identifier with the number you have assigned to your custom property, the read may work.
In this thread, https://forum.infiniteautomation.com/topic/3117/bacnet-scheduler/5 I got the weekly schedule property identifier, but I could also have instantiated it like,
var proptertyIdentifier = new com.serotonin.bacnet4j.type.enumerated.PropertyIdentifier(678); //new property identifier for property number 678
I think you could have it work through the API if you modified com.serotonin.bacnet4j.type.enumerated.PropertyIdentifier to include your custom property numbers, and throughout Mango if declared that and associated to data types and whatnot in com.serotonin.bacnet4j.obj.ObjectProperties