Last Code Revision Date: 03-Sep-2025
This project bridges BACnet devices to MQTT, allowing BACnet data to be published to an MQTT broker for integration with other systems.
config.json
Edit the config.json
file to set:
Example config.json
:
{
"bacnet": {
"deviceIp": "192.168.1.19",
"tags": [
{ "objectType": 0, "objectInstance": 0, "name": "Indoor Temperature" },
{ "objectType": 0, "objectInstance": 1, "name": "Glycol Water Temperature" }
]
},
"mqtt": {
"hostname": "127.0.0.1",
"port": 1883,
"topic": "bacnet_data",
"retryInterval": 5000
},
"interval": 1000
}
npm install
node index.js
index.js
– Main application logicconfig.json
– Configuration for BACnet and MQTTpackage.json
– Project metadata and dependencies79.41$