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