Changes for page Monitor Gateway

Last modified by Xiaoling on 2022/07/14 15:37

From version 4.3
edited by Xiaoling
on 2022/07/14 15:23
Change comment: There is no comment for this version
To version 4.4
edited by Xiaoling
on 2022/07/14 15:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -22,11 +22,13 @@
22 22  
23 23  
24 24  (((
25 -~1. Create account in ThingsSpeak and creat channel.
25 +(% style="color:blue" %)**1. Create account in ThingsSpeak and creat channel.**
26 +
27 +
26 26  )))
27 27  
28 28  (((
29 -2. Download script from dragino site and move it to properly directory
31 +(% style="color:blue" %)**2. Download script from dragino site and move it to properly directory**
30 30  )))
31 31  
32 32  (% class="box" %)
... ... @@ -42,28 +42,29 @@
42 42  root@dragino-1baf44:~~#
43 43  )))
44 44  
47 +
45 45  (((
46 -3. change the script monitor_gateway.sh with properly users setting:
49 +(% style="color:blue" %)**3. change the script monitor_gateway.sh with properly users setting:**
47 47  )))
48 48  
49 49  (% class="box" %)
50 50  (((
51 -USER='xxxxx'             # user name in your thinkspeak ~-~-> Profile
52 -PASS='xxxxx'     #MQTT_API_KEY in your thinkspeak ~-~-> Profile
54 +**USER='xxxxx'  # user name in your thinkspeak  ~-~-> Profile
55 +PASS='xxxxx'     # MQTT_API_KEY in your thinkspeak ~-~-> Profile**
53 53  )))
54 54  
55 55  (% class="box" %)
56 56  (((
57 -CHAN_ID='xxxx'    #Channel ID   of the channel for this gateway
58 -CHAN_KEY='xxxxx'   #Channel Write API  of the channel for this gateway
60 +**CHAN_ID='xxxx'  # Channel ID   of the channel for this gateway
61 +CHAN_KEY='xxxxx'   # Channel Write API  of the channel for this gateway**
59 59  )))
60 60  
61 61  (((
62 -~1. run **/usr/bin/monitor_gateway.sh** to test if upload is good.
65 +1).  run **/usr/bin/monitor_gateway.sh** to test if upload is good.
63 63  )))
64 64  
65 65  (((
66 -2. Add monitor_gateway.sh to cron work **/etc/crontabs/root** to make this script runs perdiocally, below is an example to update every 20 minutes
69 +2).  Add monitor_gateway.sh to cron work **/etc/crontabs/root** to make this script runs perdiocally, below is an example to update every 20 minutes
67 67  )))
68 68  
69 69  (% class="box" %)
... ... @@ -83,10 +83,11 @@
83 83  )))
84 84  
85 85  (((
86 -3. Reboot device.
89 +3). Reboot device.
87 87  )))
88 88  
89 89  
93 +
90 90  = **3.  Monitor Public IP** =
91 91  
92 92  
... ... @@ -99,3 +99,5 @@
99 99  [[image:image-20220527111850-2.png]]
100 100  
101 101  Find Public IP
106 +
107 +