I was trying to use BAC0 to get values of multiple points in BACnet system, I tried all the Posters and Getting starts, but no one works....
I can get value from BACnet tools which means the connection should be right: enter image description here
Then I move to BAC0, and I want to use this command:
bacnet.read('address object object_instance property')
In my case, BACnet (10.192.62.15/24) and my Raspberry pi (10.192.62.18/24) is connect with a same router, the Device id should be 2039307, objective name is "occupied_cool_setpoint_1" and objective type is "AnalogValue" with objective ID 1. I am little confused with "object and object_instance", what's this in my case?
Another question is about "Device":enter image description here, I have no idea why it always tell me unknow objective...
I also try to use this example:
***import BAC0
myIPAddr = '192.168.1.10/24'
bacnet = BAC0.connect(ip = myIPAddr)
bacnet.read('2:5 analogInput 1 presentValue')***
But what is 2:5 here, the ip address should be something like: 192.168.1.1, right?
In my case, when I run "discover": enter image description here And I want to know the points for device ID 2039307, should I use "20393:10.192.62.15/24" instead of "2:5"
Thanks for your patience help!!!!

I do not know neither 'BAC0' nor 'Python', but I will try to give you a possible head-start.
BACnet defines an 'Object Identifier' - that is composed of two parts, a left-hand/leading/high-order part that is the "object" type, and the right-hand/trailing/low-order part that is the "object instance #"; so I'm guessing "object" is really (the name of) the object-type.
I'm guessing "2:5" is the DNET (Destination Network #) & DADR (Destination Address) - 2 & 5, whereby a (child) device needs it's own (additional) address as it is routed-to/gatewayed-to/accessed via a BACnet router/gateway device. Whereas, if your targeting either a standalone device or a (parent) router/gateway device (& not one of its children/child devices), then I'm guessing you might have to specify the target IP(v4) address only/instead of this DNET:DADR/"2:5" combo/value.
If you need to specify/target a remote child device, then I'm guessing that (in the case of 'BAC0') you might have to use both addresses, e.g. possibly something like this '2:[email protected]'.