Change comment:
Uploaded new attachment "LHT65N_TTN_to_BACnet.json", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Kilight - Content
-
... ... @@ -35,10 +35,9 @@ 35 35 36 36 == 1.3 Configure BACnet == 37 37 38 - 39 39 After BACnet is installed, run commands to modify BACnet configurations 40 40 41 - (% style="color:red" %)**Note: device_port and bacnet_ip_port are not set to the same**40 +**Note: device_port and bacnet_ip_port are not set to the same** 42 42 43 43 (% class="box infomessage" %) 44 44 ((( ... ... @@ -73,10 +73,8 @@ 73 73 option device_port '47913' 74 74 ))) 75 75 76 - 77 77 == 1.4 Run BACnet == 78 78 79 - 80 80 After the configuration is complete, run the following command to start BACnet, The following are two ways to run BACnet: 81 81 82 82 (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): ... ... @@ -86,7 +86,6 @@ 86 86 bacserver -c -s 87 87 ))) 88 88 89 - 90 90 (2) Without /etc/config/bacnet, and to run the registration server on the current machine, start it with the following command: 91 91 92 92 (% class="box infomessage" %) ... ... @@ -105,10 +105,8 @@ 105 105 106 106 [[image:image-20230401114458-2.png]] 107 107 108 - 109 109 == 1.5 Read devices and modify devices == 110 110 111 - 112 112 Enter baccli -h to output help 113 113 114 114 (% class="box infomessage" %) ... ... @@ -140,7 +140,6 @@ 140 140 141 141 [[image:image-20230401114706-5.png]] 142 142 143 - 144 144 (3) List the device details by device ID: 145 145 146 146 (% class="box infomessage" %) ... ... @@ -148,7 +148,6 @@ 148 148 baccli -l -v -i id 149 149 ))) 150 150 151 - 152 152 (4) Modify the specified attribute value based on the device ID: 153 153 154 154 (% class="box infomessage" %) ... ... @@ -159,7 +159,7 @@ 159 159 [[image:image-20230401114720-6.png]] 160 160 161 161 162 -(5) 154 +(5)Check the results using the BACnet tool 163 163 164 164 The user can check the data of the device by using the **[[yabe BACnet tool>>https://sourceforge.net/projects/yetanotherbacnetexplorer/]]** 165 165 ... ... @@ -166,9 +166,8 @@ 166 166 [[image:image-20230401114729-7.png||height="521" width="1077"]] 167 167 168 168 169 -= =1.6 Example: How to transfer data to BACnet via LoRaWAN in LPS8v2 ==161 += 1.6 Example: How to transfer data to BACnet via LoRaWAN in LPS8v2 = 170 170 171 - 172 172 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: 173 173 174 174 * LHT65N register on LPS8v2 Built-In TTN server already ... ... @@ -177,32 +177,4 @@ 177 177 178 178 Below are the steps to plot the sensor data on LPS8v2 BACnet. 179 179 180 - 181 -=== 1.6.1 Link BACnet to Local TTN === 182 - 183 - 184 -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"]]** 185 - 186 -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]]** 187 - 188 - 189 -After importing the Input Flow is complete, the user needs to edit the MQTT in the node 190 - 191 -Users can edit the MQTT node red color by referring to the following link: 192 - 193 -[[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]] 194 - 195 -[[image:image-20230401144951-10.png||height="814" width="1223"]] 196 - 197 - 198 -=== 1.6.2 Check result === 199 - 200 - 201 -[[image:image-20230401142357-8.png||height="677" width="1232"]] 202 - 203 - 204 -The BACnet tool displays the temperature, humidity and battery voltage of the LHT65N 205 - 206 -[[image:image-20230401144525-9.png||height="487" width="1237"]] 207 - 208 208
- image-20230401142357-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -134.1 KB - Content
- image-20230401144525-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.4 KB - Content
- image-20230401144951-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -78.2 KB - Content