# BACnet read issue

**URL:** <https://discourse.nodered.org/t/bacnet-read-issue/67770>\
**Category:** Industrial\
**Created:** [15 September 2022 20:51 UTC](https://discourse.nodered.org/t/bacnet-read-issue/67770 "2022-09-15T20:51:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vantech](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@vantech](https://discourse.nodered.org/u/vantech)\
**Post date:** [15 September 2022 20:51 UTC](https://discourse.nodered.org/t/bacnet-read-issue/67770/1 "2022-09-15T20:51:00Z")

</div>

Hi,

I am using the BACnet integration. I have a virtual BACnet device setup, with a binary input as shown below hosted on 192.168.10.119.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/dfcb2ad1154edee8b23ea5a5ee5dc457824899ec.png)

And I have this code in Node-RED:

```auto
[
    {
        "id": "16d448de43b736aa",
        "type": "BACnet-Read",
        "z": "55b4538ddc27384f",
        "name": "",
        "objectType": "3",
        "instance": "3a2c102cd631893f",
        "propertyId": "85",
        "device": "0b38fd2fc12a911a",
        "server": "3effe912e7670a06",
        "multipleRead": false,
        "x": 300,
        "y": 260,
        "wires": [
            [
                "fefccd6a2db92a07"
            ]
        ]
    },
    {
        "id": "3a2c102cd631893f",
        "type": "BACnet-Instance",
        "name": "Binary Input",
        "instanceAddress": "0"
    },
    {
        "id": "0b38fd2fc12a911a",
        "type": "BACnet-Device",
        "name": "PC",
        "deviceAddress": "192.168.10.119:47808"
    },
    {
        "id": "3effe912e7670a06",
        "type": "BACnet-Client",
        "name": "Node-RED",
        "adpuTimeout": "6000",
        "port": "47808",
        "interface": "192.168.10.113",
        "broadcastAddress": "192.168.10.255"
    }
]

```

Whenever I try and read the device, I get the following responses:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/235ec34fbdeaf9785b92dda1f112c1437385574c.png)

To test my config, I switched the IP addresses as follows:

Node-RED server as "device" and the host running the BACnet simulator, as "client", After doing this, I receive this response:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/1/3174fd2311ec0b3cfffd953c0c100d94babe8905.png)

I have Node-RED installed as a snap package on Ubuntu, running on Hyper-V, which works fine, and all firewalls have been disabled on the VM and also the machine hosting the BACnet device simulator.

Any ideas?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 November 2022 20:51 UTC](https://discourse.nodered.org/t/bacnet-read-issue/67770/2 "2022-11-14T20:51:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
