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

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:

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?

Welcome to the forums @WarrenL

See the authors READ ME: node-bacnet-contrib-extended (node) - Node-RED

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

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

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)

The src has some good clues:

1 Like

Seems my network-wide filtering duped me into thinking it was unavailable - it gets blocked on my network :man_shrugging:

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.