Skip to content

Can't read BACnet value directly when device is known (BAC0 fails but BACpypes3/Node-RED succeed) #548

@billybboy

Description

@billybboy

I'm attempting to read a BACnet value directly from a known device IP (192.168.226.191) using BAC0 v2025.06.10 (Lite), but the request consistently fails with NoResponseFromController. However, the same operation succeeds using bacpypes3 or Node-RED with identical device configuration .

  • Environment
    BAC0 Version: 2025.06.10
    Python Version: 3.10
    Host IP/Subnet: 192.168.225.36/24
    Device IP (target): 192.168.226.191
    Tested on: Linux
import BAC0
import asyncio


address = '192.168.226.191'
host_ip = "192.168.225.36"

async def read_values():
    async with BAC0.start() as b:
        print("BACnet started. Reading devices...")
        res = await b.read(f"{address} analog-value 100151 presentValue")
        print(res)

if __name__ == "__main__":
    asyncio.run(read_values())

Image

Image

it worked using bacpype3:

Image
Image

Am I doing something incorrectly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions