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