Show last authors
1 **~ Contents:**
2
3 {{toc/}}
4
5 = 1. Introduction =
6
7 Notes for using Dragino Devices with Datacake.
8
9 = 2. Create a platform on TTN =
10
11 First, users create devices in TTN and join the network, and then enter integration.
12
13 [[image:image-20220524172202-1.png]]
14
15 [[image:image-20220524172221-2.png]]
16
17 [[image:image-20220524172249-3.png]]
18
19 (((
20 Here to enter the TTL Webhook URL.
21 )))
22
23 (((
24 TTL URL:[[https:~~/~~/api.datacake.co/integrations/lorawan/ttn/>>url:https://api.datacake.co/integrations/lorawan/ttn/]]
25 )))
26
27 (((
28 Webhook URL should be found in datacake, which also contains URLs of other servers.
29 )))
30
31
32 [[image:https://wiki.dragino.com/images/thumb/0/09/Datacake3.png/600px-Datacake3.png||alt="Datacake3.png" height="456" width="600"]]
33
34 status:
35
36 [[image:https://wiki.dragino.com/images/thumb/0/00/Datacake4.png/600px-Datacake4.png||alt="Datacake4.png" height="249" width="600"]]
37
38 = 3. Create device steps at Datacake =
39
40 Take the creation of LHT65 as an example
41
42 [[image:https://wiki.dragino.com/images/thumb/b/b6/Datacake5.png/600px-Datacake5.png||alt="Datacake5.png" height="218" width="600"]]
43
44 [[image:https://wiki.dragino.com/images/thumb/4/42/Datacake6.png/600px-Datacake6.png||alt="Datacake6.png" height="69" width="600"]]
45
46 [[image:https://wiki.dragino.com/images/thumb/b/be/Datacake7.png/600px-Datacake7.png||alt="Datacake7.png" height="570" width="600"]]
47
48 [[image:https://wiki.dragino.com/images/thumb/3/32/Datacake8.png/600px-Datacake8.png||alt="Datacake8.png" height="421" width="600"]]
49
50 [[image:https://wiki.dragino.com/images/thumb/0/05/Datacake9_.png/600px-Datacake9_.png||alt="Datacake9 .png" height="533" width="600"]]
51
52 [[image:https://wiki.dragino.com/images/thumb/2/2b/Datacake10.png/600px-Datacake10.png||alt="Datacake10.png" height="563" width="600"]]
53
54 [[image:https://wiki.dragino.com/images/thumb/4/4d/Datacake11.png/600px-Datacake11.png||alt="Datacake11.png" height="187" width="600"]]
55
56 [[image:https://wiki.dragino.com/images/thumb/c/c7/Datacake21.png/600px-Datacake21.png||alt="Datacake21.png" height="296" width="600"]]
57
58 = 4. Debug and Payload decoder =
59
60 Debug:
61
62 [[image:https://wiki.dragino.com/images/thumb/e/e3/Datacake22.png/600px-Datacake22.png||alt="Datacake22.png" height="336" width="600"]]
63
64 Here you can test the payload decoding:
65
66 [[image:https://wiki.dragino.com/images/thumb/7/7d/Datacake23.png/600px-Datacake23.png||alt="Datacake23.png" height="304" width="600"]]
67
68 [[image:https://wiki.dragino.com/images/thumb/7/74/Oooo.png/600px-Oooo.png||alt="Oooo.png" height="345" width="600"]]
69
70 [[image:https://wiki.dragino.com/images/thumb/4/47/Datacake25.png/600px-Datacake25.png||alt="Datacake25.png" height="320" width="600"]]
71
72 = 5. Dashboard of other models =
73
74 Other devices operate in the same way as above.
75
76 LSE01:
77
78 [[image:https://wiki.dragino.com/images/thumb/8/82/Datacakelse01.png/600px-Datacakelse01.png||alt="Datacakelse01.png" height="220" width="600"]]
79
80 LGT92:
81
82 [[image:https://wiki.dragino.com/images/thumb/2/2e/Datacakelgt92.png/600px-Datacakelgt92.png||alt="Datacakelgt92.png" height="340" width="600"]]
83
84 LDS01:
85
86 [[image:https://wiki.dragino.com/images/thumb/2/23/Datacakelds01.png/600px-Datacakelds01.png||alt="Datacakelds01.png" height="342" width="600"]]
87
88 LT22222-L:
89
90 [[image:https://wiki.dragino.com/images/thumb/8/8e/DatacakeLT22222.png/600px-DatacakeLT22222.png||alt="DatacakeLT22222.png" height="338" width="600"]]
91
92 LWL01:
93
94 [[image:https://wiki.dragino.com/images/thumb/3/35/Datacakelwl01.png/600px-Datacakelwl01.png||alt="Datacakelwl01.png" height="343" width="600"]]
95
96 LDDS75:
97
98 [[image:https://wiki.dragino.com/images/thumb/c/c0/Datacakeldds75.png/600px-Datacakeldds75.png||alt="Datacakeldds75.png" height="324" width="600"]]
99
100 = 6. Downlinks =
101
102 (((
103 In order to be able to queue up Downlinks on your TTI Application you need to provide additional detail on your Datacake-Device. To set the configuration please move into the LoRaWAN settings on the corresponding device:
104 )))
105
106 [[image:https://wiki.dragino.com/images/thumb/a/a2/Datacake_downlinks1.png/600px-Datacake_downlinks1.png||alt="Datacake downlinks1.png" height="241" width="600"]]
107
108 This is the ID of your Device in your TTI Application. You find it here:
109
110 [[image:https://wiki.dragino.com/images/thumb/3/37/Datacake_downlinks9.png/600px-Datacake_downlinks9.png||alt="Datacake downlinks9.png" height="214" width="600"]]
111
112 (((
113 This is the URL of your TTI Instance as available to the public.
114 )))
115
116 (((
117 This is the ID of your Application on TTI:
118 )))
119
120 [[image:https://wiki.dragino.com/images/thumb/d/de/Datacake_downlinks2.png/600px-Datacake_downlinks2.png||alt="Datacake downlinks2.png" height="226" width="600"]]
121
122 To create a new API Key on TTI head over to the "API keys" page using the left sidebar:
123
124 [[image:https://wiki.dragino.com/images/thumb/7/70/Datacake_downlinks3.png/600px-Datacake_downlinks3.png||alt="Datacake downlinks3.png" height="268" width="600"]]
125
126 (((
127 Now click on "Add API Key"
128 )))
129
130 (((
131 The following dialog will appear:
132 )))
133
134 [[image:https://wiki.dragino.com/images/thumb/0/05/Datacake_downlinks4.png/600px-Datacake_downlinks4.png||alt="Datacake downlinks4.png" height="445" width="600"]]
135
136 (((
137 Set a custom name (like "datacake-api-key")
138 )))
139
140 (((
141 And set corresponding rights to allow queuing up downlinks
142 )))
143
144 (((
145 Create the API Key by clicking on "Create API key"
146 )))
147
148 [[image:https://wiki.dragino.com/images/thumb/4/4b/Datacake_downlinks5.png/600px-Datacake_downlinks5.png||alt="Datacake downlinks5.png" height="394" width="600"]]
149
150 (((
151 After you created your API Key you will see the above notification
152 )))
153
154 (((
155 Please copy your key to your clipboard as it will only be shown once!
156 )))
157
158 (((
159 Paste this key into the device settings on Datacake
160 )))
161
162 (((
163 Configure downlink here. Use TDC downlink as an example. 01 00 00 3C:
164 )))
165
166 [[image:https://wiki.dragino.com/images/thumb/f/f1/Datacake_downlinks10.png/600px-Datacake_downlinks10.png||alt="Datacake downlinks10.png" height="565" width="600"]]
167
168 [[image:https://wiki.dragino.com/images/thumb/8/83/Datacake_downlinks11.png/600px-Datacake_downlinks11.png||alt="Datacake downlinks11.png" height="199" width="600"]]
169
170 Successfully sent TDC donwlink.
171
172 [[image:https://wiki.dragino.com/images/b/ba/Datacake_downlinks6.png||alt="Datacake downlinks6.png" height="697" width="409"]]
173
174 [[image:https://wiki.dragino.com/images/thumb/8/84/Datacake_downlinks7.png/600px-Datacake_downlinks7.png||alt="Datacake downlinks7.png" height="306" width="600"]]
175
176 [[image:https://wiki.dragino.com/images/thumb/a/aa/Datacake_downlinks8.png/600px-Datacake_downlinks8.png||alt="Datacake downlinks8.png" height="400" width="600"]]
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0