npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-lorawan-bacnet-server

v1.5.0

Published

Custom Node-RED nodes to interface LoRaWAN devices with BACnet protocol.

Downloads

936

Readme

LoRaBAC, an open-source LoRaWAN to BACnet interface

The LoRaBAC node is the configuration node of the LoRaBAC application.

1. Overview

1.1. What is LoRaBAC?

LoRaBAC is open-source application built on Node-RED. It allows you to integrate LoRaWAN devices with BACnet controllers, making it ideal for smart building applications.

LoRaBAC

Key Features:

  • Universal Compatibility:

    • [x] Works with all LoRaWAN end-devices and gateways.
    • [x] Supports ChirpStack, Actility, and The Things Stack (The Things Network / The Things Industries) Network Servers.
    • [x] Integrates with all BACnet controllers using native BACnet protocols (or Distech-Controls controllers when using Rest API).
  • Bidirectional Communication:

    • [x] Uplink: Writes LoRaWAN payloads to specific BACnet objects.
    • [x] Downlink: Writes BACnet objects to specific LoRaWAN payload.
  • Proven Use Cases:

    • [x] Thermostatic valves
    • [x] Temperature and humidity sensors
    • [x] Air quality sensors
    • [x] Current monitoring sensors
    • [x] Pilot wired electric heater controller

1.2. What Makes LoRaBAC Unique?

LoRaBAC is designed with a different approach compared to other LoRaWAN-BACnet interfaces. Here’s why it stands out:

Advantages :

  1. BACnet Client Architecture:

    • Unlike most interfaces that act as BACnet servers, LoRaBAC operates as a BACnet client. It only interacts with the controller when a LoRaWAN payload is received, reducing unnecessary traffic.
  2. Flexible Deployment:

    • LoRaBAC can be installed anywhere:
      • On the LoRaWAN Gateway
      • Within the local network
      • Directly on the BACnet controller
  3. Open Source and Free:

    • LoRaBAC is free to use and open-source under the MIT License, offering full transparency and customization.

Drawbacks:

  1. No "Who-is" Service Support:

    • LoRaBAC does not respond to the "Who-is" service, which can be useful for discovering BACnet devices in some setups.
  2. Manual Configuration Required:

    • Each new LoRaWAN device type requires manual configuration. It is not a "Plug and Play" solution.

1.3. Support

To get support on LoRaWAN or LoRaBAC, please refers to the following ressources, or reach us out.

:tv: Webinar Replay: LoRaWAN and BACnet interfaces for Smart Building

:notebook: Free ebook:LoRaWAN for beginers books

:tv: E-learning platform: LoRaWAN for beginers videos

:tv: E-learning platform for Advanced users: LoRaWAN for Advanced users videos

:bulb: 2 days training sessions: LoRaWAN and IoT Training

2. Prerequisites

2.1. LoRaWAN End-Device

To use LoRaBAC you will need:

  • a LoRaWAN Network Server (ChirpStack, TTN or Actility).
  • The device payload decoders (for uplink).
  • the device payload encoders (for downlink, if needed).

Payload decoder and encoders should be provided by your device manufacturer, however, in this repository you will find the payload codec of the tested devices.

2.2. MQTT Broker

LoRaBAC relies on an MQTT broker for communication. You can use:

  • The built-in MQTT broker provided by ChirpStack, Actility, or The Things Stack.
  • Your own custom MQTT broker.

2.3. Node-RED Setup

LoRaBAC is a Node-RED flow, so you need a Node-RED instance to run it. Ensure the following packages are installed:

  • @montagny/node-red-contrib-lorawan-bacnet

Additional Packages for ChirpStackV4:

If you’re using ChirpStackV4 and want to enable the "Flush Downlink Queue" feature, install:

  • @grpc/grpc-js
  • @chirpstack/chirpstack-api

Quick Start with Docker:

A pre-configured Node-RED Docker image is available on Docker Hub. It includes all required packages for easy deployment.

3. Getting Started

Please, follow the information given in the LoRaBAC application.