Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @uq-its-ss/bacnet-device with all npm packages installed. Try it out:

var bacnetDevice = require("@uq-its-ss/bacnet-device")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@uq-its-ss/bacnet-device v1.0.6

Interface for implementing a BACnet device

This is a NodeJS module that sits above the node-bacstack module and abstracts the interface somewhat, making it easier to implement a BACnet device in Node.

This module takes care of listening for and responding to BACnet packets, as well as managing subscriptions (push notifications), sending updates as values are changed.

The module is designed to function as a BACnet device only, providing data that is queried by another system, such as a Building Management System. There is no functionality for retrieving data from other BACnet devices, however there is nothing stopping you from using the underlying node-bacstack module for this if needed.

The BACnet device powered by this code can be addressed directly, or as if it were a BBMD with a single device behind it. This is mainly useful for interfacing it with JCI Metasys, which cannot talk to remote BACnet nodes directly, only BBMD nodes. By adding this to Metasys as a BBMD, the device you implement will appear as a single device in the subnet behind the BBMD.

This BBMD functionality is actually provided by node-bacstack rather than this module.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free