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 | |
![]() |
62.2 | 17 | [[image:image-20220531180446-1.png]] |
![]() |
1.1 | 18 | |
19 | |||
![]() |
63.2 | 20 | [[image:image-20220531180514-2.png]] |
21 | |||
![]() |
6.2 | 22 | [[image:image-20220524172249-3.png]] |
![]() |
1.1 | 23 | |
![]() |
1.2 | 24 | ((( |
25 | Here to enter the TTL Webhook URL. | ||
![]() |
59.8 | 26 | |
27 | |||
![]() |
1.2 | 28 | ))) |
![]() |
1.1 | 29 | |
![]() |
1.2 | 30 | ((( |
31 | TTL URL:[[https:~~/~~/api.datacake.co/integrations/lorawan/ttn/>>url:https://api.datacake.co/integrations/lorawan/ttn/]] | ||
32 | ))) | ||
![]() |
1.1 | 33 | |
![]() |
1.2 | 34 | ((( |
35 | Webhook URL should be found in datacake, which also contains URLs of other servers. | ||
36 | ))) | ||
![]() |
1.1 | 37 | |
![]() |
20.2 | 38 | [[image:image-20220524172323-4.png]] |
![]() |
1.1 | 39 | |
![]() |
61.15 | 40 | |
![]() |
20.2 | 41 | [[image:image-20220524172356-5.png]] |
![]() |
1.1 | 42 | |
![]() |
59.9 | 43 | |
![]() |
1.2 | 44 | status: |
![]() |
1.1 | 45 | |
![]() |
20.2 | 46 | [[image:image-20220524172421-6.png]] |
![]() |
1.2 | 47 | |
![]() |
45.2 | 48 | |
![]() |
1.2 | 49 | = 3. Create device steps at Datacake = |
50 | |||
51 | Take the creation of LHT65 as an example | ||
52 | |||
![]() |
20.2 | 53 | [[image:image-20220524172507-7.png]] |
![]() |
1.2 | 54 | |
![]() |
59.13 | 55 | |
![]() |
20.2 | 56 | [[image:image-20220524172522-8.png]] |
![]() |
1.2 | 57 | |
![]() |
59.12 | 58 | |
![]() |
20.2 | 59 | [[image:image-20220524172648-9.png]] |
![]() |
1.2 | 60 | |
![]() |
59.11 | 61 | |
![]() |
20.2 | 62 | [[image:image-20220524172717-10.png]] |
![]() |
1.2 | 63 | |
![]() |
59.10 | 64 | |
![]() |
20.2 | 65 | [[image:image-20220524172749-11.png]] |
![]() |
1.2 | 66 | |
67 | |||
![]() |
45.2 | 68 | [[image:image-20220526104623-1.png]] |
![]() |
1.2 | 69 | |
![]() |
59.15 | 70 | |
![]() |
45.2 | 71 | [[image:image-20220526104805-2.png||height="347" width="1263"]] |
![]() |
1.2 | 72 | |
![]() |
45.2 | 73 | |
74 | [[image:image-20220526104905-3.png||height="675" width="1265"]] | ||
75 | |||
76 | |||
![]() |
1.2 | 77 | = 4. Debug and Payload decoder = |
78 | |||
79 | Debug: | ||
80 | |||
![]() |
45.2 | 81 | [[image:image-20220526105125-4.png]] |
![]() |
1.2 | 82 | |
![]() |
45.2 | 83 | |
![]() |
61.16 | 84 | |
![]() |
1.2 | 85 | Here you can test the payload decoding: |
86 | |||
![]() |
48.2 | 87 | [[image:image-20220526105405-6.png]] |
![]() |
1.2 | 88 | |
89 | |||
![]() |
61.17 | 90 | |
![]() |
60.2 | 91 | [[image:image-20220530150750-2.png]] |
92 | |||
![]() |
1.2 | 93 | |
![]() |
61.2 | 94 | [[image:image-20220530150857-3.png]] |
![]() |
54.2 | 95 | |
![]() |
61.2 | 96 | |
![]() |
1.2 | 97 | = 5. Dashboard of other models = |
98 | |||
99 | Other devices operate in the same way as above. | ||
100 | |||
101 | LSE01: | ||
102 | |||
![]() |
26.2 | 103 | [[image:image-20220524173149-19.png]] |
![]() |
1.2 | 104 | |
![]() |
61.3 | 105 | |
![]() |
1.2 | 106 | LGT92: |
107 | |||
![]() |
26.2 | 108 | [[image:image-20220524173209-20.png]] |
![]() |
1.2 | 109 | |
![]() |
61.4 | 110 | |
![]() |
1.2 | 111 | LDS01: |
112 | |||
![]() |
26.2 | 113 | [[image:image-20220524173231-21.png]] |
![]() |
1.2 | 114 | |
![]() |
61.6 | 115 | |
![]() |
1.2 | 116 | LT22222-L: |
117 | |||
![]() |
26.2 | 118 | [[image:image-20220524173249-22.png]] |
![]() |
1.2 | 119 | |
![]() |
61.7 | 120 | |
![]() |
1.2 | 121 | LWL01: |
122 | |||
![]() |
26.2 | 123 | [[image:image-20220524173310-23.png]] |
![]() |
1.2 | 124 | |
![]() |
61.8 | 125 | |
![]() |
1.2 | 126 | LDDS75: |
127 | |||
![]() |
26.2 | 128 | [[image:image-20220524173332-24.png]] |
![]() |
1.2 | 129 | |
![]() |
54.2 | 130 | |
![]() |
1.2 | 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 | |||
![]() |
32.2 | 137 | [[image:image-20220524173401-25.png]] |
![]() |
1.2 | 138 | |
![]() |
61.9 | 139 | |
![]() |
1.2 | 140 | This is the ID of your Device in your TTI Application. You find it here: |
141 | |||
![]() |
59.4 | 142 | [[image:image-20220526110050-10.png||height="455" width="1321"]] |
![]() |
1.2 | 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 | |||
![]() |
59.4 | 152 | [[image:image-20220526110150-11.png||height="454" width="1335"]] |
![]() |
1.2 | 153 | |
![]() |
54.2 | 154 | |
![]() |
61.18 | 155 | |
![]() |
1.2 | 156 | To create a new API Key on TTI head over to the "API keys" page using the left sidebar: |
157 | |||
![]() |
59.4 | 158 | [[image:image-20220526110227-12.png||height="525" width="1334"]] |
![]() |
1.2 | 159 | |
160 | ((( | ||
161 | Now click on "Add API Key" | ||
![]() |
61.10 | 162 | |
![]() |
61.18 | 163 | |
![]() |
61.10 | 164 | |
![]() |
1.2 | 165 | ))) |
166 | |||
167 | ((( | ||
168 | The following dialog will appear: | ||
169 | ))) | ||
170 | |||
![]() |
54.2 | 171 | [[image:image-20220526110530-13.png]] |
![]() |
1.2 | 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 | |||
![]() |
59.2 | 185 | [[image:image-20220526110653-14.png||height="720" width="1034"]] |
![]() |
1.2 | 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 | ||
![]() |
61.19 | 197 | |
198 | |||
![]() |
1.2 | 199 | ))) |
200 | |||
201 | ((( | ||
202 | Configure downlink here. Use TDC downlink as an example. 01 00 00 3C: | ||
203 | ))) | ||
204 | |||
![]() |
38.2 | 205 | [[image:image-20220524173733-32.png]] |
![]() |
1.2 | 206 | |
![]() |
61.11 | 207 | |
![]() |
59.2 | 208 | [[image:image-20220526110743-15.png||height="307" width="1274"]] |
![]() |
1.2 | 209 | |
![]() |
61.12 | 210 | |
![]() |
1.2 | 211 | Successfully sent TDC donwlink. |
212 | |||
![]() |
59.2 | 213 | [[image:image-20220526110835-16.png]] |
![]() |
1.2 | 214 | |
215 | |||
![]() |
59.3 | 216 | [[image:image-20220526110912-17.png||height="517" width="999"]] |
![]() |
38.2 | 217 | |
![]() |
61.13 | 218 | |
![]() |
59.2 | 219 | [[image:image-20220526110940-18.png]] |