@plus4nodered/ts-node-bacnet
v1.0.0-beta.2
Published
A BACnet® protocol stack written in pure TypeScript.
Downloads
221
Maintainers
Readme
TS Node BACstack
A BACnet® protocol stack written in pure TypeScript from contributors and maintained by PLUS for Node-RED. BACnet® is a protocol to interact with building automation devices defined by ASHRAE.
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install ts-node-bacnet
try these options on npm install to build from source if you have problems to install
--unsafe-perm --build-from-source
Features
The BACnet standard defines a wide variety of services as part of it's specification. While Node BACstack tries to be as complete as possible, following services are already supported at this point in time:
| Service | Execute | Handle | |--------------------------------|:---------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------:| | Who Is | yes | yes | | I Am | yes¹ | yes | | Who Has | yes¹ | yes¹ | | I Have | yes¹ | yes¹ | | Time Sync | yes | yes | | UTC Time Sync | yes | yes | | Read Property | yes | yes¹ | | Read Property Multiple | yes | yes¹ | | Read Range | yes | yes¹ | | Write Property | yes | yes¹ | | Write Property Multiple | yes | yes¹ | | Add List Element | yes¹ | yes¹ | | Remove List Element | yes¹ | yes¹ | | Create Object | yes¹ | yes¹ | | Delete Object | yes | yes¹ | | Subscribe COV | yes | yes¹ | | Subscribe Property | yes | yes¹ | | Atomic Read File | yes | yes¹ | | Atomic Write File | yes | yes¹ | | Reinitialize Device | yes | yes¹ | | Device Communication Control | yes | yes¹ | | Get Alarm Summary² | yes | yes¹ | | Get Event Information | yes | yes¹ | | Get Enrollment Summary² | yes | yes¹ | | Acknowledge Alarm | yes¹ | yes¹ | | Confirmed Event Notification | yes¹ | yes¹ | | Unconfirmed Event Notification | yes¹ | yes¹ | | Unconfirmed Private Transfer | yes | yes¹ | | Confirmed Private Transfer | yes | yes¹ |
¹ Support implemented as Beta (untested, undocumented, breaking interface) ² Deprecated BACnet® function, available for backwards compatibility
Contribution
Special thanks to Fabio Huser for the fundamental work. Yes, sure! Please help us to make it even better and become a community member of PLUS for Node-RED!
Happy coding!
License
MIT Copyright (c) 2022-present PLUS for Node-RED origin Copyright (c) 2017-2021 Fabio Huser [email protected]
Note
This is not an official product of the BACnet Advocacy Group. BACnet® is a registered trademark of American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE). We're buying the specifications of ASHARE to programm for this library.