Changes for page Node-RED_Install and Use
Last modified by Mengting Qiu on 2024/11/29 10:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -169,6 +169,8 @@ 169 169 170 170 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519152956-17.png?rev=1.1||alt="image-20220519152956-17.png"]] 171 171 172 + 173 + 172 172 After the installation is successful, nodered will show the following node icon 173 173 174 174 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519153335-19.png?rev=1.1||alt="image-20220519153335-19.png"]] ... ... @@ -184,14 +184,21 @@ 184 184 185 185 The demo uses 3 kinds. Voltage, temperature, humidity 186 186 189 + 187 187 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519154521-20.png?rev=1.1||alt="image-20220519154521-20.png"]] 188 188 192 + 193 + 189 189 double click function 190 190 196 + 191 191 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519154640-21.png?rev=1.1||alt="image-20220519154640-21.png"]] 192 192 199 + 200 + 193 193 Adjusted to 3, because we need to display 3 charts 194 194 203 + 195 195 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519154812-22.png?rev=1.1||alt="image-20220519154812-22.png"]] 196 196 197 197 ... ... @@ -201,28 +201,42 @@ 201 201 202 202 Double-click while setting up the node as above 203 203 213 + 204 204 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519160314-23.png?rev=1.1||alt="image-20220519160314-23.png"]] 205 205 216 + 206 206 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519160412-24.png?rev=1.1||alt="image-20220519160412-24.png"]] 207 207 219 + 208 208 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519160759-27.png?rev=1.1||alt="image-20220519160759-27.png"]] 209 209 222 + 210 210 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519161326-30.png?rev=1.1||alt="image-20220519161326-30.png"]] 211 211 225 + 212 212 [[image:image-20220525185746-2.png]] 213 213 228 + 214 214 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519161650-32.png?rev=1.1||alt="image-20220519161650-32.png"]] 215 215 231 + 232 + 216 216 After the display interface is defined for the first time, subsequent charts can directly select the display interface 217 217 218 -[[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519162039-34.png?rev=1.1||alt="image-20220519162039-34.png"]] 219 219 236 +[[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519162039-34.png?rev=1.1||alt="image-20220519162039-34.png"]] 237 + 238 + 239 + 220 220 [[image:image-20220525190106-3.png]] 221 221 242 + 243 + 222 222 Connect graph nodes to functions with lines 223 223 224 224 Click to deploy 225 225 248 + 226 226 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519162412-36.png?rev=1.1||alt="image-20220519162412-36.png"]] 227 227 228 228 Enter the server public IP + port 1880/ui ... ... @@ -229,6 +229,8 @@ 229 229 230 230 example:[[http:~~/~~/xxx.xx.xx.xx:1880/ui>>url:http://119.91.62.30:1880/ui/#!/18?socketid=WY1MCE0RFEKHey8KAADj]] 231 231 255 + 256 + 232 232 [[image:http://8.211.40.43:8080/xwiki/bin/download/Main/Node-RED/node_red%20usage%20example/WebHome/image-20220519163141-37.png?rev=1.1||alt="image-20220519163141-37.png"]] 233 233 234 234 At this point, the basic demonstration of nodered is completed. If you need to beautify the chart and various visualizations, you can go to the official documentation of nodered for further understanding. ... ... @@ -238,12 +238,13 @@ 238 238 == 2.4 Store Value == 239 239 240 240 241 -Regarding storage, we recommend two ways 266 +Regarding storage, we recommend two ways. 242 242 243 243 244 244 245 245 === 2.4.1 1. Generate txt document directly === 246 246 272 + 247 247 Sample JSON file:链接转到示例JSON文件[[image:image-20220713102658-1.png]] 248 248 249 249 ... ... @@ -251,7 +251,7 @@ 251 251 === 2.4.2 2. Use sqlite database === 252 252 253 253 254 -==== **1. Install SQLite** ==== 280 +==== (% style="color:blue" %)**1. Install SQLite**(%%) ==== 255 255 256 256 257 257 [[image:image-20220713111030-2.png]] ... ... @@ -258,7 +258,7 @@ 258 258 259 259 260 260 261 -==== **2. After the installation is successful, the nodes in the picture will appear** ==== 287 +==== (% style="color:blue" %)**2. After the installation is successful, the nodes in the picture will appear**(%%) ==== 262 262 263 263 264 264 [[image:image-20220713111200-3.png]] ... ... @@ -265,9 +265,10 @@ 265 265 266 266 267 267 268 -==== **3. Import sample flow** ==== 294 +==== (% style="color:blue" %)**3. Import sample flow**(%%) ==== 269 269 270 270 297 + 271 271 == 2.5 Email Notification == 272 272 273 273