Wiki source code of Node-RED_Install and Use

Version 19.1 by Edwin Chen on 2022/05/25 15:42

Hide last authors
Edwin Chen 14.1 1 (% class="wikigeneratedid" id="HEndDeviceFrequencyBand" %)
2 **Contents:**
Edwin Chen 13.1 3
Edwin Chen 14.1 4 {{toc/}}
5
Edwin Chen 11.1 6 = Installation =
Herong Lu 2.1 7
Edwin Chen 11.1 8 Check installation instruction for different OS from this link: [[https:~~/~~/nodered.org/docs/getting-started/>>https://nodered.org/docs/getting-started/]]
Herong Lu 2.1 9
Edwin Chen 11.1 10 == Install Example for CENTOS ==
Herong Lu 2.1 11
Edwin Chen 12.1 12 === Installation ===
13
Edwin Chen 11.1 14 (% class="box infomessage" %)
15 (((
16 Reference Instruction from this link: ~_~_~_~_~_~_~_~_~_~_~_~_~_~__-
17 Run below commands and wait for installation complete.
18 )))
Herong Lu 9.1 19
20 [[image:image-20220519102228-2.png]]
21
Edwin Chen 11.1 22 **Verify if the installation was successful**
Herong Lu 9.1 23
Herong Lu 10.1 24 Type in the command line interface  node-red  
Herong Lu 9.1 25
26 The following information appears to prove that the installation has been successful
27
28 [[image:image-20220519103318-3.png]]
29
30
Edwin Chen 12.1 31 === If you want to start Node-RED as a background process ===
Herong Lu 9.1 32
33 Type in the command line interface  nohup node-red &
34
35 It will prompt after startup
36
37 [[image:image-20220519104601-5.png]]
38
39 After seeing the above information, press enter
40
41 Type in the command line  exit
42
43 The above is the installation and startup process of nodered. If you don't understand anything, you can go to the nodered official website. There are installation instructions for various systems. The address has a link at the top
Edwin Chen 12.1 44
Edwin Chen 15.1 45 == Install in Dragino Gataway ==
Edwin Chen 12.1 46
Edwin Chen 15.1 47
48 = Use Node-RED =
49
Edwin Chen 12.1 50 == Login to Node-RED interface ==
51
52 Enter your public IP address followed by the port number 1880
53
54 example:[[http:~~/~~/xxx.xx.xx.xx:1880/>>http://119.91.62.30:1880/]]
55
56 [[image:image-20220519104115-4.png]]
57
58
Edwin Chen 16.1 59 == Add Sensor & Payload ==
60
61
62 == Plot Chart for sensors ==
63
64
65 == Store Value ==
66
67
68 == Email Notification ==
Edwin Chen 17.1 69
70
71 = Input Data Flow =
72
73 == MQTT ==
74
75 == UDP ==
76
77 == TCP ==
78
79 == Get data from LoRaWAN Server (TTN) ==
Edwin Chen 18.1 80
81
82 = Example =