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