Wiki source code of Notes for Data Cake
Version 86.1 by Bei Jinggeng on 2022/06/27 16:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **~ Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | |||
7 | |||
8 | = 1. Introduction = | ||
9 | |||
10 | Notes for using Dragino Devices with Datacake. | ||
11 | |||
12 | |||
13 | = 2. Create a platform on TTN = | ||
14 | |||
15 | First, users create devices in TTN and join the network, and then enter integration. | ||
16 | |||
17 | [[image:image-20220531180446-1.png]] | ||
18 | |||
19 | |||
20 | [[image:image-20220531180514-2.png]] | ||
21 | |||
22 | [[image:image-20220531180547-3.png]] | ||
23 | |||
24 | ((( | ||
25 | Here to enter the TTL Webhook URL. | ||
26 | |||
27 | |||
28 | ))) | ||
29 | |||
30 | ((( | ||
31 | TTL URL:[[https:~~/~~/api.datacake.co/integrations/lorawan/ttn/>>url:https://api.datacake.co/integrations/lorawan/ttn/]] | ||
32 | ))) | ||
33 | |||
34 | ((( | ||
35 | Webhook URL should be found in datacake, which also contains URLs of other servers. | ||
36 | ))) | ||
37 | |||
38 | [[image:image-20220531180623-4.png]] | ||
39 | |||
40 | |||
41 | [[image:image-20220531180659-5.png]] | ||
42 | |||
43 | |||
44 | status: | ||
45 | |||
46 | [[image:image-20220531180733-6.png]] | ||
47 | |||
48 | |||
49 | = 3. Create device steps at Datacake = | ||
50 | |||
51 | Take the creation of LHT65 as an example | ||
52 | |||
53 | [[image:image-20220531180806-7.png]] | ||
54 | |||
55 | |||
56 | [[image:image-20220531180830-8.png]] | ||
57 | |||
58 | |||
59 | [[image:image-20220531181023-12.png]] | ||
60 | |||
61 | |||
62 | [[image:image-20220531180931-10.png]] | ||
63 | |||
64 | |||
65 | [[image:image-20220531181102-13.png]] | ||
66 | |||
67 | |||
68 | [[image:image-20220531181134-14.png]] | ||
69 | |||
70 | |||
71 | [[image:image-20220531181231-15.png]] | ||
72 | |||
73 | |||
74 | [[image:image-20220526104905-3.png||height="675" width="1265"]] | ||
75 | |||
76 | |||
77 | = 4. Debug and Payload decoder = | ||
78 | |||
79 | Debug: | ||
80 | |||
81 | [[image:image-20220526105125-4.png]] | ||
82 | |||
83 | |||
84 | |||
85 | Here you can test the payload decoding: | ||
86 | |||
87 | [[image:image-20220526105405-6.png]] | ||
88 | |||
89 | |||
90 | |||
91 | [[image:image-20220530150750-2.png]] | ||
92 | |||
93 | |||
94 | [[image:image-20220530150857-3.png]] | ||
95 | |||
96 | |||
97 | = 5. Dashboard of other models = | ||
98 | |||
99 | Other devices operate in the same way as above. | ||
100 | |||
101 | LSE01: | ||
102 | |||
103 | [[image:image-20220531181344-16.png]] | ||
104 | |||
105 | |||
106 | LGT92: | ||
107 | |||
108 | [[image:image-20220531181422-17.png]] | ||
109 | |||
110 | |||
111 | LDS01: | ||
112 | |||
113 | [[image:image-20220531181454-18.png]] | ||
114 | |||
115 | |||
116 | LT22222-L: | ||
117 | |||
118 | [[image:image-20220531181520-19.png]] | ||
119 | |||
120 | |||
121 | LWL01: | ||
122 | |||
123 | [[image:image-20220531181556-20.png]] | ||
124 | |||
125 | |||
126 | LDDS75: | ||
127 | |||
128 | [[image:image-20220531181635-21.png]] | ||
129 | |||
130 | |||
131 | = 6. Downlinks = | ||
132 | |||
133 | ((( | ||
134 | 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: | ||
135 | ))) | ||
136 | |||
137 | [[image:image-20220531181715-22.png]] | ||
138 | |||
139 | |||
140 | This is the ID of your Device in your TTI Application. You find it here: | ||
141 | |||
142 | [[image:image-20220526110050-10.png||height="455" width="1321"]] | ||
143 | |||
144 | ((( | ||
145 | This is the URL of your TTI Instance as available to the public. | ||
146 | ))) | ||
147 | |||
148 | ((( | ||
149 | This is the ID of your Application on TTI: | ||
150 | ))) | ||
151 | |||
152 | [[image:image-20220526110150-11.png||height="454" width="1335"]] | ||
153 | |||
154 | |||
155 | |||
156 | To create a new API Key on TTI head over to the "API keys" page using the left sidebar: | ||
157 | |||
158 | [[image:image-20220526110227-12.png||height="525" width="1334"]] | ||
159 | |||
160 | ((( | ||
161 | Now click on "Add API Key" | ||
162 | |||
163 | |||
164 | |||
165 | ))) | ||
166 | |||
167 | ((( | ||
168 | The following dialog will appear: | ||
169 | ))) | ||
170 | |||
171 | [[image:image-20220526110530-13.png]] | ||
172 | |||
173 | ((( | ||
174 | Set a custom name (like "datacake-api-key") | ||
175 | ))) | ||
176 | |||
177 | ((( | ||
178 | And set corresponding rights to allow queuing up downlinks | ||
179 | ))) | ||
180 | |||
181 | ((( | ||
182 | Create the API Key by clicking on "Create API key" | ||
183 | ))) | ||
184 | |||
185 | [[image:image-20220526110653-14.png||height="720" width="1034"]] | ||
186 | |||
187 | ((( | ||
188 | After you created your API Key you will see the above notification | ||
189 | ))) | ||
190 | |||
191 | ((( | ||
192 | Please copy your key to your clipboard as it will only be shown once! | ||
193 | ))) | ||
194 | |||
195 | ((( | ||
196 | Paste this key into the device settings on Datacake | ||
197 | |||
198 | |||
199 | ))) | ||
200 | |||
201 | ((( | ||
202 | Configure downlink here. Use TDC downlink as an example. 01 00 00 3C: | ||
203 | ))) | ||
204 | |||
205 | [[image:image-20220524173733-32.png]] | ||
206 | |||
207 | |||
208 | [[image:image-20220526110743-15.png||height="307" width="1274"]] | ||
209 | |||
210 | |||
211 | Successfully sent TDC donwlink. | ||
212 | |||
213 | [[image:image-20220526110835-16.png]] | ||
214 | |||
215 | |||
216 | [[image:image-20220526110912-17.png||height="517" width="999"]] | ||
217 | |||
218 | |||
219 | [[image:image-20220526110940-18.png]] | ||
220 | |||
221 | |||
222 | |||
223 | = 7. Example ~-~- Add TrackerD GPS Tracking In DataCake = | ||
224 | |||
225 | |||
226 |