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