Overview of objects & properties #409
Replies: 1 comment 1 reply
-
I'm not sure what problem you are trying to solve, but this information is available by looking into the objects and properties in the bacpypes.object module: from bacpypes.object import registered_object_types
for obj in registered_object_types.values():
print(obj.__name__)
for prop in obj.properties:
print(" ", prop.identifier)
print("") And the property enumerations are For property names to line up with the standard, your In the examples in ANNEX E you see even more conventions like It is, as we say, "a dog's breakfast", or as a friend of mine from South America called it "fiesta de cumpleaños de mono" or a "monkey's birthday party". Every few years someone thinks it would be a good idea to make an editorial change to the standard and make them all consistent (including ASHRAE 135.1 for testing) and us old timers smile, nod, and patiently await proposals. I probably should have back in '94! |
Beta Was this translation helpful? Give feedback.
-
Hello there,
I have just started with BACnet. I was blown away by all the possibilities. One of my biggest problems was to get a simple list of properties of objects. So I have now worked my way through "objects.py" & created 2 enums that simply list the different properties for the different objects.
Since I can imagine that others are also confronted with the same problem, I wanted to offer them here: bac.zip
First the enum of all properties:
Second the enum of all objects connected to properties & at the very bottom a list of that objects connected to the enums them self:
Beta Was this translation helpful? Give feedback.
All reactions