Wiki source code of Notes for Data Cake
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.2 | 1 | **~ 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 | |
![]() |
1.2 | 15 | First, users create devices in TTN and join the network, and then enter integration. |
![]() |
1.1 | 16 | |
![]() |
6.2 | 17 | [[image:image-20220524172202-1.png]] |
![]() |
1.1 | 18 | |
![]() |
6.2 | 19 | [[image:image-20220524172221-2.png]] |
![]() |
1.1 | 20 | |
![]() |
6.2 | 21 | [[image:image-20220524172249-3.png]] |
![]() |
1.1 | 22 | |
![]() |
1.2 | 23 | ((( |
24 | Here to enter the TTL Webhook URL. | ||
![]() |
59.8 | 25 | |
26 | |||
![]() |
1.2 | 27 | ))) |
![]() |
1.1 | 28 | |
![]() |
1.2 | 29 | ((( |
30 | TTL URL:[[https:~~/~~/api.datacake.co/integrations/lorawan/ttn/>>url:https://api.datacake.co/integrations/lorawan/ttn/]] | ||
31 | ))) | ||
![]() |
1.1 | 32 | |
![]() |
1.2 | 33 | ((( |
34 | Webhook URL should be found in datacake, which also contains URLs of other servers. | ||
35 | ))) | ||
![]() |
1.1 | 36 | |
![]() |
20.2 | 37 | [[image:image-20220524172323-4.png]] |
![]() |
1.1 | 38 | |
![]() |
61.15 | 39 | |
![]() |
20.2 | 40 | [[image:image-20220524172356-5.png]] |
![]() |
1.1 | 41 | |
![]() |
59.9 | 42 | |
![]() |
1.2 | 43 | status: |
![]() |
1.1 | 44 | |
![]() |
20.2 | 45 | [[image:image-20220524172421-6.png]] |
![]() |
1.2 | 46 | |
![]() |
45.2 | 47 | |
![]() |
1.2 | 48 | = 3. Create device steps at Datacake = |
49 | |||
50 | Take the creation of LHT65 as an example | ||
51 | |||
![]() |
20.2 | 52 | [[image:image-20220524172507-7.png]] |
![]() |
1.2 | 53 | |
![]() |
59.13 | 54 | |
![]() |
20.2 | 55 | [[image:image-20220524172522-8.png]] |
![]() |
1.2 | 56 | |
![]() |
59.12 | 57 | |
![]() |
20.2 | 58 | [[image:image-20220524172648-9.png]] |
![]() |
1.2 | 59 | |
![]() |
59.11 | 60 | |
![]() |
20.2 | 61 | [[image:image-20220524172717-10.png]] |
![]() |
1.2 | 62 | |
![]() |
59.10 | 63 | |
![]() |
20.2 | 64 | [[image:image-20220524172749-11.png]] |
![]() |
1.2 | 65 | |
66 | |||
![]() |
45.2 | 67 | [[image:image-20220526104623-1.png]] |
![]() |
1.2 | 68 | |
![]() |
59.15 | 69 | |
![]() |
45.2 | 70 | [[image:image-20220526104805-2.png||height="347" width="1263"]] |
![]() |
1.2 | 71 | |
![]() |
45.2 | 72 | |
73 | [[image:image-20220526104905-3.png||height="675" width="1265"]] | ||
74 | |||
75 | |||
![]() |
1.2 | 76 | = 4. Debug and Payload decoder = |
77 | |||
78 | Debug: | ||
79 | |||
![]() |
45.2 | 80 | [[image:image-20220526105125-4.png]] |
![]() |
1.2 | 81 | |
![]() |
45.2 | 82 | |
![]() |
61.16 | 83 | |
![]() |
1.2 | 84 | Here you can test the payload decoding: |
85 | |||
![]() |
48.2 | 86 | [[image:image-20220526105405-6.png]] |
![]() |
1.2 | 87 | |
88 | |||
![]() |
61.17 | 89 | |
![]() |
60.2 | 90 | [[image:image-20220530150750-2.png]] |
91 | |||
![]() |
1.2 | 92 | |
![]() |
61.2 | 93 | [[image:image-20220530150857-3.png]] |
![]() |
54.2 | 94 | |
![]() |
61.2 | 95 | |
![]() |
1.2 | 96 | = 5. Dashboard of other models = |
97 | |||
98 | Other devices operate in the same way as above. | ||
99 | |||
100 | LSE01: | ||
101 | |||
![]() |
26.2 | 102 | [[image:image-20220524173149-19.png]] |
![]() |
1.2 | 103 | |
![]() |
61.3 | 104 | |
![]() |
1.2 | 105 | LGT92: |
106 | |||
![]() |
26.2 | 107 | [[image:image-20220524173209-20.png]] |
![]() |
1.2 | 108 | |
![]() |
61.4 | 109 | |
![]() |
1.2 | 110 | LDS01: |
111 | |||
![]() |
26.2 | 112 | [[image:image-20220524173231-21.png]] |
![]() |
1.2 | 113 | |
![]() |
61.6 | 114 | |
![]() |
1.2 | 115 | LT22222-L: |
116 | |||
![]() |
26.2 | 117 | [[image:image-20220524173249-22.png]] |
![]() |
1.2 | 118 | |
![]() |
61.7 | 119 | |
![]() |
1.2 | 120 | LWL01: |
121 | |||
![]() |
26.2 | 122 | [[image:image-20220524173310-23.png]] |
![]() |
1.2 | 123 | |
![]() |
61.8 | 124 | |
![]() |
1.2 | 125 | LDDS75: |
126 | |||
![]() |
26.2 | 127 | [[image:image-20220524173332-24.png]] |
![]() |
1.2 | 128 | |
![]() |
54.2 | 129 | |
![]() |
1.2 | 130 | = 6. Downlinks = |
131 | |||
132 | ((( | ||
133 | 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: | ||
134 | ))) | ||
135 | |||
![]() |
32.2 | 136 | [[image:image-20220524173401-25.png]] |
![]() |
1.2 | 137 | |
![]() |
61.9 | 138 | |
![]() |
1.2 | 139 | This is the ID of your Device in your TTI Application. You find it here: |
140 | |||
![]() |
59.4 | 141 | [[image:image-20220526110050-10.png||height="455" width="1321"]] |
![]() |
1.2 | 142 | |
143 | ((( | ||
144 | This is the URL of your TTI Instance as available to the public. | ||
145 | ))) | ||
146 | |||
147 | ((( | ||
148 | This is the ID of your Application on TTI: | ||
149 | ))) | ||
150 | |||
![]() |
59.4 | 151 | [[image:image-20220526110150-11.png||height="454" width="1335"]] |
![]() |
1.2 | 152 | |
![]() |
54.2 | 153 | |
![]() |
61.18 | 154 | |
![]() |
1.2 | 155 | To create a new API Key on TTI head over to the "API keys" page using the left sidebar: |
156 | |||
![]() |
59.4 | 157 | [[image:image-20220526110227-12.png||height="525" width="1334"]] |
![]() |
1.2 | 158 | |
159 | ((( | ||
160 | Now click on "Add API Key" | ||
![]() |
61.10 | 161 | |
![]() |
61.18 | 162 | |
![]() |
61.10 | 163 | |
![]() |
1.2 | 164 | ))) |
165 | |||
166 | ((( | ||
167 | The following dialog will appear: | ||
168 | ))) | ||
169 | |||
![]() |
54.2 | 170 | [[image:image-20220526110530-13.png]] |
![]() |
1.2 | 171 | |
172 | ((( | ||
173 | Set a custom name (like "datacake-api-key") | ||
174 | ))) | ||
175 | |||
176 | ((( | ||
177 | And set corresponding rights to allow queuing up downlinks | ||
178 | ))) | ||
179 | |||
180 | ((( | ||
181 | Create the API Key by clicking on "Create API key" | ||
182 | ))) | ||
183 | |||
![]() |
59.2 | 184 | [[image:image-20220526110653-14.png||height="720" width="1034"]] |
![]() |
1.2 | 185 | |
186 | ((( | ||
187 | After you created your API Key you will see the above notification | ||
188 | ))) | ||
189 | |||
190 | ((( | ||
191 | Please copy your key to your clipboard as it will only be shown once! | ||
192 | ))) | ||
193 | |||
194 | ((( | ||
195 | Paste this key into the device settings on Datacake | ||
![]() |
61.19 | 196 | |
197 | |||
![]() |
1.2 | 198 | ))) |
199 | |||
200 | ((( | ||
201 | Configure downlink here. Use TDC downlink as an example. 01 00 00 3C: | ||
202 | ))) | ||
203 | |||
![]() |
38.2 | 204 | [[image:image-20220524173733-32.png]] |
![]() |
1.2 | 205 | |
![]() |
61.11 | 206 | |
![]() |
59.2 | 207 | [[image:image-20220526110743-15.png||height="307" width="1274"]] |
![]() |
1.2 | 208 | |
![]() |
61.12 | 209 | |
![]() |
1.2 | 210 | Successfully sent TDC donwlink. |
211 | |||
![]() |
59.2 | 212 | [[image:image-20220526110835-16.png]] |
![]() |
1.2 | 213 | |
214 | |||
![]() |
59.3 | 215 | [[image:image-20220526110912-17.png||height="517" width="999"]] |
![]() |
38.2 | 216 | |
![]() |
61.13 | 217 | |
![]() |
59.2 | 218 | [[image:image-20220526110940-18.png]] |