Wiki source code of Mydevices

Version 6.1 by Xiaoling on 2022/05/26 15:51

Hide last authors
Xiaoling 1.3 1 **~ Contents:**
Xiaoling 1.1 2
Xiaoling 1.3 3 {{toc/}}
Xiaoling 1.1 4
Xiaoling 1.3 5
Xiaoling 1.2 6 = 1. My devices =
Xiaoling 1.1 7
Xiaoling 1.2 8 == 1.1 Introduction ==
Xiaoling 1.1 9
Xiaoling 1.2 10 (((
11 The Dragino LoRaWAN gateway amd end node can commuicate with Mydevices LoRaWAN Network Server: [[Mydevices>>url:https://console.mydevices.thethings.industries/]]
Xiaoling 5.2 12
13
Xiaoling 1.2 14 )))
Xiaoling 1.1 15
Xiaoling 1.2 16 == 1.2 Gateway Registered ==
Xiaoling 1.1 17
Xiaoling 1.2 18 Step 1: Get the GWID of the gateway and set the correct service address
Xiaoling 1.1 19
Xiaoling 5.2 20 [[image:image-20220526154956-1.png]]
Xiaoling 1.1 21
Xiaoling 1.2 22 Configure the gateway
Xiaoling 1.1 23
24
Xiaoling 1.2 25 Step 2: Select Gateway in the mydevice console
Xiaoling 1.1 26
Xiaoling 5.2 27 [[image:image-20220526155036-2.png]]
Xiaoling 1.1 28
Xiaoling 1.2 29 Select Gateway
Xiaoling 1.1 30
31
Xiaoling 5.2 32 Step 3: Registered gateway for mydevice
Xiaoling 1.1 33
Xiaoling 5.2 34 [[image:image-20220526155114-3.png]]
Xiaoling 1.2 35
36 Registered gateway for mydevice
37
Xiaoling 5.2 38
Xiaoling 1.2 39 == 1.3 Check Gateway connection ==
40
41 Users can check if the gateway is properly connected according to 'Satus' or check the gateway WEB like below
42
43 [[image:https://wiki.dragino.com/images/thumb/7/78/Check_connected1.png/600px-Check_connected1.png||height="278" width="600"]]
44
45 Check Status1
46
47
48 [[image:https://wiki.dragino.com/images/thumb/b/bc/Check_connected.png/600px-Check_connected.png||height="314" width="600"]]
49
50 Check statis2
51
52 == 1.4 Check Gateway traffic from Mydevie ==
53
54 user can see the gateway traffic
55
56 [[image:https://wiki.dragino.com/images/thumb/3/38/Gateway_trafiic_of_mydevice.png/600px-Gateway_trafiic_of_mydevice.png||height="544" width="600"]]
57
58 Gateway trafiic
59
60 == 1.5 Add up End node for mydevice ==
61
62 (((
63 Step 1 :Create a device in TTN with the OTAA keys from LT IO controller. Each end node is shipped with a sticker with the default device EUI as below:
64 )))
65
66 (% class="box infomessage" %)
67 (((
Xiaoling 1.4 68 AT+DEUI=a8 40 41 08 01 81 87 49
Xiaoling 1.2 69 AT+APPKEY=01 8e e4 c9 b6 c9 d6 86 3a 6f 48 5e db cc 6d 69
70 AT+APPEUI=70 b3 d5 7e d0 01 5f 25
71 )))
72
73 (((
74 User can enter this key in their LoRaWAN Server portal. Below is mydevice screen shot: Add APP EUI in the application.
75 )))
76
Xiaoling 1.5 77 [[image:https://wiki.dragino.com/images/thumb/3/3d/Add_App_EUI_of_mydevice.png/800px-Add_App_EUI_of_mydevice.png||alt="File:Add App EUI of mydevice.png" height="193" width="641"]]
Xiaoling 1.2 78
79 Add App EUI
80
81
82 Add APP KEY and DEV EUI
83
Xiaoling 1.5 84 [[image:https://wiki.dragino.com/images/thumb/a/a0/Add_App_key_and_App_DEUI_of_mydevice.png/800px-Add_App_key_and_App_DEUI_of_mydevice.png||alt="File:Add App key and App DEUI of mydevice.png" height="440" width="635"]]
Xiaoling 1.2 85
86 Add App key and App DEUI
87
88
89 (((
90 Step 2 :Power on end node and it will auto join to the TTN network. After join success, it will start to upload message to Mydevice and user can see in the panel and analyze the data
91 )))
92
93 [[image:https://wiki.dragino.com/images/thumb/e/e8/Join_mydevice_of_end_node.png/600px-Join_mydevice_of_end_node.png||height="287" width="600"]]
94
95 Join mydevice of end node