Custom Node-RED nodes to interface LoRaWAN devices with BACnet protocol.
npm install node-red-contrib-lorawan-bacnet-server
- LoRaBAC, an open-source LoRaWAN to BACnet interface
- 1. Overview
- 1.1. What is LoRaBAC?
- Key Features:
- 1.2. What Makes LoRaBAC Unique?
- Drawbacks:
- 1.3. Support
- 2. Prerequisites
- 2.1. LoRaWAN End-Device
- 2.2. MQTT Broker
- 2.3. Node-RED Setup
- Additional Packages for ChirpStackV4:
- Quick Start with Docker:
- 3. Getting Started
!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
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.
: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
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.
- @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.