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