Table of Contents:
BACnet, short for Building Automation and Control networks.
The BACnet communication protocol defines a number of services for communication between devices, and services can be divided into five categories: services related to device object management including Who-Is, I-Am, Who-Has, and other services, services related to object access including reading attributes, writing attributes and other services, and services related to alarms and events include acknowledgment alarms, change of state reports, etc. In addition, there are services related to file reading and writing and virtual terminals.
Gateway model: LPS8v2,LG01v2,MS20
After BACnet is installed, run commands to modify BACnet configurations
Note: device_port and bacnet_ip_port are not set to the same
Examples:
After the configuration is complete, run the following command to start BACnet, The following are two ways to run BACnet:
(1) With /etc/config/bacnet configuration, and to run the registration server on the current machine, start it with the following command (configure the /etc/config/bacnet file correctly):
(2) Without /etc/config/bacnet, and to run the registration server on the current machine, start it with the following command:
This command simulates two devices, with device IDs 47910 and 47911
Enter bacserver -h to output help
Enter baccli -h to output help
Examples:
(1) List the current Bacnet devices:
(2) List device information based on device ID:
(3) List the device details by device ID:
(4) Modify the specified attribute value based on the device ID:
(5) Check the results using the BACnet tool
The user can check the data of the device by using the yabe BACnet tool
LPS8v2 includes a local TTN Server and Node-Red. This example shows how to configure LHT65N to use with the BACnet. This example assumes users already have:
Below are the steps to plot the sensor data on LPS8v2 BACnet.
Users can download the Node-Red decoder from this link and import it into the Node-Red platform:
For more information on importing Input Flow, check out this link: Import Input Flow for Dragino Sensors
After importing the Input Flow is complete, the user needs to edit the MQTT in the node
Users can edit the MQTT node red color by referring to the following link:
The BACnet tool displays the temperature, humidity and battery voltage of the LHT65N