# Configuring the write-object-property node in node-bacnet-contrib-extended

**URL:** <https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227>\
**Category:** General\
**Tags:** bacnet\
**Created:** [7 February 2025 21:20 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227 "2025-02-07T21:20:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WarrenL](https://avatars.discourse-cdn.com/v4/letter/w/eb9ed0/32.png) [@WarrenL](https://discourse.nodered.org/u/WarrenL)\
**Post date:** [7 February 2025 21:20 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/1 "2025-02-07T21:20:36Z")

</div>

Good morning everybody,

I am using node-bacnet-contrib-extended in Node-RED 4.08.

To read a particular property in a BACnet object using read-object-property, the preceding function node must be configured like this:

```auto
msg.deviceId = 100
msg.address = "172.26.0.130"
msg.bacnetID = 101 //msg.instance
msg.inputType = 2

const bacnetProperties = [
  { id: 85 }, // Present_Value
  ];

const requestArray = [
  { objectId: { type: msg.inputType, instance: msg.bacnetID }, properties: bacnetProperties }
];

msg.requestArray = requestArray        
        
return msg;

```

There is a lack of documentation though, and I haven't been able to work out how to come up with an equivalent for **writing** a value to point. Can anybody help, please?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [7 February 2025 21:28 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/2 "2025-02-07T21:28:17Z")

</div>

Welcome to the forums @WarrenL

See the authors READ ME: [node-bacnet-contrib-extended (node) - Node-RED](https://flows.nodered.org/node/node-bacnet-contrib-extended)

But good luck - the link doesn't work.  
This will need someone who uses the node or can understand BACNET, to provide a meaningful answer

---

<div class="post-metadata">

**Author:** ![WarrenL](https://avatars.discourse-cdn.com/v4/letter/w/eb9ed0/32.png) [@WarrenL](https://discourse.nodered.org/u/WarrenL)\
**Post date:** [7 February 2025 21:38 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/3 "2025-02-07T21:38:44Z")

</div>

Thanks Marcus.

It's easy enough to configure for reading a property, but for some reason there is no example or how-to for writing one, and I've drawn a blank hunting around.

I've been using this module to read BACnet points because I don't get all the timeouts that occur when I use node-red-bacnet-contrib to read and write to properties. Now I want to write something but I'm in a fix!

Warren

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 February 2025 08:43 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/4 "2025-02-08T08:43:13Z")

</div>

> [@marcus-j-davies](#):
>
> See the authors READ ME: [node-bacnet-contrib-extended (node) - Node-RED](https://flows.nodered.org/node/node-bacnet-contrib-extended)
> 
> But good luck - the link doesn't work

Link worked for me.

It has a full demo flow (but I've not imported it so don't know if it has a write example)

> [@WarrenL](#):
>
> There is a lack of documentation though, and I haven't been able to work out how to come up with an equivalent for **writing** a value to point

The src has some good clues:

> <https://github.com/asad-boutique/node-bacnet-contrib-extended/blob/d599d10b14d05fd6ea7386bfa9a96ea3f856b9d7/write-object-property.js#L48-L51>

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [8 February 2025 09:18 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/5 "2025-02-08T09:18:34Z")

</div>

> [@Steve-Mcl](#):
>
> Link worked for me.
> 
> It has a full demo flow (but I've not imported it so don't know if it has a write example)

Seems my network-wide filtering duped me into thinking it was unavailable - it gets blocked on my network 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![ThingsTinkerer](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Post date:** [8 February 2025 11:19 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/6 "2025-02-08T11:19:35Z")

</div>

We had the similar if not identical problem.We decided to drop it all together and now use a standalone bacnet-stack program directly from CLI via command node.

---

<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:** [9 May 2025 11:20 UTC](https://discourse.nodered.org/t/configuring-the-write-object-property-node-in-node-bacnet-contrib-extended/95227/7 "2025-05-09T11:20:24Z")

</div>

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