Changes for page Monitor Gateway

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

From version 1.6
edited by Xiaoling
on 2022/05/12 15:29
Change comment: There is no comment for this version
To version 1.7
edited by Xiaoling
on 2022/05/12 15:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -14,9 +14,13 @@
14 14  
15 15  = 2. Steps =
16 16  
17 +(((
17 17  ~1. Create account in ThingsSpeak and creat channel.
19 +)))
18 18  
21 +(((
19 19  2. Download script from dragino site and move it to properly directory
23 +)))
20 20  
21 21  (% class="box" %)
22 22  (((
... ... @@ -31,7 +31,9 @@
31 31  root@dragino-1baf44:~~#
32 32  )))
33 33  
38 +(((
34 34  3. change the script monitor_gateway.sh with properly users setting:
40 +)))
35 35  
36 36  (% class="box" %)
37 37  (((
... ... @@ -45,9 +45,13 @@
45 45  CHAN_KEY='xxxxx'   #Channel Write API  of the channel for this gateway
46 46  )))
47 47  
54 +(((
48 48  ~1. run **/usr/bin/monitor_gateway.sh** to test if upload is good.
56 +)))
49 49  
58 +(((
50 50  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
60 +)))
51 51  
52 52  (% class="box" %)
53 53  (((
... ... @@ -65,7 +65,9 @@
65 65  */20 * * * *  /usr/bin/monitor_gateway.sh 
66 66  )))
67 67  
78 +(((
68 68  3. Reboot device.
80 +)))
69 69  
70 70  = 3. Monitor Public IP =
71 71