Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Kilight1 +XWiki.Xiaoling - Content
-
... ... @@ -35,9 +35,10 @@ 35 35 36 36 == 1.3 Configure BACnet == 37 37 38 + 38 38 After BACnet is installed, run commands to modify BACnet configurations 39 39 40 -**Note: device_port and bacnet_ip_port are not set to the same** 41 +(% style="color:red" %)**Note: device_port and bacnet_ip_port are not set to the same** 41 41 42 42 (% class="box infomessage" %) 43 43 ((( ... ... @@ -72,8 +72,10 @@ 72 72 option device_port '47913' 73 73 ))) 74 74 76 + 75 75 == 1.4 Run BACnet == 76 76 79 + 77 77 After the configuration is complete, run the following command to start BACnet, The following are two ways to run BACnet: 78 78 79 79 (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): ... ... @@ -83,6 +83,7 @@ 83 83 bacserver -c -s 84 84 ))) 85 85 89 + 86 86 (2) Without /etc/config/bacnet, and to run the registration server on the current machine, start it with the following command: 87 87 88 88 (% class="box infomessage" %) ... ... @@ -101,8 +101,10 @@ 101 101 102 102 [[image:image-20230401114458-2.png]] 103 103 108 + 104 104 == 1.5 Read devices and modify devices == 105 105 111 + 106 106 Enter baccli -h to output help 107 107 108 108 (% class="box infomessage" %) ... ... @@ -134,6 +134,7 @@ 134 134 135 135 [[image:image-20230401114706-5.png]] 136 136 143 + 137 137 (3) List the device details by device ID: 138 138 139 139 (% class="box infomessage" %) ... ... @@ -141,6 +141,7 @@ 141 141 baccli -l -v -i id 142 142 ))) 143 143 151 + 144 144 (4) Modify the specified attribute value based on the device ID: 145 145 146 146 (% class="box infomessage" %) ... ... @@ -151,7 +151,7 @@ 151 151 [[image:image-20230401114720-6.png]] 152 152 153 153 154 -(5)Check the results using the BACnet tool 162 +(5) Check the results using the BACnet tool 155 155 156 156 The user can check the data of the device by using the **[[yabe BACnet tool>>https://sourceforge.net/projects/yetanotherbacnetexplorer/]]** 157 157 ... ... @@ -158,8 +158,9 @@ 158 158 [[image:image-20230401114729-7.png||height="521" width="1077"]] 159 159 160 160 161 -= 1.6 Example: How to transfer data to BACnet via LoRaWAN in LPS8v2 = 169 +== 1.6 Example: How to transfer data to BACnet via LoRaWAN in LPS8v2 == 162 162 171 + 163 163 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: 164 164 165 165 * LHT65N register on LPS8v2 Built-In TTN server already ... ... @@ -169,8 +169,9 @@ 169 169 Below are the steps to plot the sensor data on LPS8v2 BACnet. 170 170 171 171 172 -== 1.6.1 Link BACnet to Local TTN == 181 +=== 1.6.1 Link BACnet to Local TTN === 173 173 183 + 174 174 Users can download the Node-Red decoder from this link and import it into the Node-Red platform: **[[attach:LHT65N_TTN_to_BACnet.json||target="_blank"]]** 175 175 176 176 For more information on importing Input Flow, check out this link:**[[Import Input Flow for Dragino Sensors>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0ImportInputFlowforDraginoSensors]]** ... ... @@ -178,12 +178,16 @@ 178 178 179 179 After importing the Input Flow is complete, the user needs to edit the MQTT in the node 180 180 181 -Users can edit MQTT innode-red by following the linkbelow:191 +Users can edit the MQTT node red color by referring to the following link: 182 182 183 183 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20TTN/#H6.3A0Example:UseLocalServerTTNandNode-RedinLPS8v2>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20TTN/#H6.3A0Example:UseLocalServerTTNandNode-RedinLPS8v2]] 184 184 185 - ==1.6.2 Check result.==195 +[[image:image-20230401144951-10.png||height="814" width="1223"]] 186 186 197 + 198 +=== 1.6.2 Check result === 199 + 200 + 187 187 [[image:image-20230401142357-8.png||height="677" width="1232"]] 188 188 189 189