Wiki source code of BACnet

Version 30.1 by Kilight Cao on 2025/06/03 14:07

Hide last authors
Kilight Cao 10.1 1 **Table of Contents:**
Kilight Cao 2.1 2
Kilight Cao 10.1 3 {{toc/}}
4
5
6 = 1. BACnet =
7
8 == 1.1  Introduction ==
9
10 === 1.1.1 What is BACnet ===
11
12
13 BACnet, short for Building Automation and Control networks.
14
15 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.
16
17
18 === 1.1.2 List supported products and requirements ===
19
20
Kilight Cao 20.1 21 Gateway model: LPS8v2,LG01v2,MS20,MS48-LR
Kilight Cao 10.1 22
23
Kilight Cao 20.1 24 = 2. Bridge LoRaWAN network to BACnet network =
Kilight Cao 10.1 25
26
Kilight Cao 20.1 27 By following the steps below in the configuration example, Users can convert the uplink data of the lorawan sensor to BACnet data
Kilight Cao 2.1 28
Kilight Cao 20.1 29 LPS8v2 includes a local ChirpStack Server. This example shows how to configure LHT65N to use with BACnet. This example assumes users already have:
Kilight Cao 2.1 30
Kilight Cao 20.1 31 * LHT65N register on LPS8v2 Built-In ChirpStack server already
32 * The user is able to see the data on the built-in ChirpStack server device page.
Kilight Cao 2.1 33
Kilight Cao 20.1 34 Below are the steps to configure lps8v2 BACnet.
Kilight Cao 10.1 35
Xiaoling 19.2 36
Kilight Cao 20.1 37 == 2.1 Register gateway ==
Kilight Cao 2.1 38
39
Kilight Cao 20.1 40 For information on how to register a gateway connection to chirpstack, please refer to the link:
Kilight Cao 2.1 41
Kilight Cao 20.1 42 **[[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.A0SemtechUDPforChirpStackv4>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.A0SemtechUDPforChirpStackv4]]**
Kilight Cao 2.1 43
44
Kilight Cao 20.1 45 == 2.2  Register Node ==
Kilight Cao 2.1 46
Kilight Cao 20.1 47 For information on how to register a Node connection to chirpstack, please refer to the link:
Kilight Cao 2.1 48
Kilight Cao 20.1 49 **[[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H2.A0Nodeusageintroduction>>https://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H2.A0Nodeusageintroduction]]**
Xiaoling 19.2 50
Kilight Cao 2.1 51
Kilight Cao 20.1 52 == 2.3 Configure BACnet ==
Xiaoling 19.2 53
Kilight Cao 20.1 54 After completing the steps of registering the gateway and nodes as mentioned above, start configuring BACnet
Kilight Cao 2.1 55
Kilight Cao 20.1 56 Video on the configuration of BACnet:
Kilight Cao 2.1 57
58
Kilight Cao 21.1 59 === Step 1. Enable BACnet ===
Xiaoling 19.2 60
Kilight Cao 2.1 61
Kilight Cao 23.1 62 1.Enable BACnet:
Kilight Cao 2.1 63
Kilight Cao 23.1 64 2.Mode:
65
66 3.UDP Port:
67
68 4.Device ID:
69
70 5.Device Name:
71
72 6.Enable BBMD:
73
74 7.BBMD IP Address:
75
76 8.BBMD IP Port:
77
78 9.BBMD Subnet Mask:
79
80 10.BBMD TimeToLive:
81
82 11.Save&Apply:
83
84 12.Refresh:
85
86 [[image:image-20250603115501-1.png]]
87
88
89 === Step 2. Configure BACnet Object ===
90
91
92
93 === step 3. Check Result ===
94
95
Xiaoling 19.2 96