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 | |
![]() |
1.2 | 9 | = 2. Create a platform on TTN = |
![]() |
1.1 | 10 | |
![]() |
1.2 | 11 | First, users create devices in TTN and join the network, and then enter integration. |
![]() |
1.1 | 12 | |
![]() |
6.2 | 13 | [[image:image-20220524172202-1.png]] |
![]() |
1.1 | 14 | |
![]() |
6.2 | 15 | [[image:image-20220524172221-2.png]] |
![]() |
1.1 | 16 | |
![]() |
6.2 | 17 | [[image:image-20220524172249-3.png]] |
![]() |
1.1 | 18 | |
![]() |
1.2 | 19 | ((( |
20 | Here to enter the TTL Webhook URL. | ||
21 | ))) | ||
![]() |
1.1 | 22 | |
![]() |
1.2 | 23 | ((( |
24 | TTL URL:[[https:~~/~~/api.datacake.co/integrations/lorawan/ttn/>>url:https://api.datacake.co/integrations/lorawan/ttn/]] | ||
25 | ))) | ||
![]() |
1.1 | 26 | |
![]() |
1.2 | 27 | ((( |
28 | Webhook URL should be found in datacake, which also contains URLs of other servers. | ||
29 | ))) | ||
![]() |
1.1 | 30 | |
![]() |
20.2 | 31 | [[image:image-20220524172323-4.png]] |
![]() |
1.1 | 32 | |
![]() |
20.2 | 33 | [[image:image-20220524172356-5.png]] |
![]() |
1.1 | 34 | |
![]() |
1.2 | 35 | status: |
![]() |
1.1 | 36 | |
![]() |
20.2 | 37 | [[image:image-20220524172421-6.png]] |
![]() |
1.2 | 38 | |
39 | = 3. Create device steps at Datacake = | ||
40 | |||
41 | Take the creation of LHT65 as an example | ||
42 | |||
![]() |
20.2 | 43 | [[image:image-20220524172507-7.png]] |
![]() |
1.2 | 44 | |
![]() |
20.2 | 45 | [[image:image-20220524172522-8.png]] |
![]() |
1.2 | 46 | |
![]() |
20.2 | 47 | [[image:image-20220524172648-9.png]] |
![]() |
1.2 | 48 | |
![]() |
20.2 | 49 | [[image:image-20220524172717-10.png]] |
![]() |
1.2 | 50 | |
![]() |
20.2 | 51 | [[image:image-20220524172749-11.png]] |
![]() |
1.2 | 52 | |
![]() |
20.2 | 53 | [[image:image-20220524172841-12.png]] |
![]() |
1.2 | 54 | |
![]() |
20.2 | 55 | [[image:image-20220524172903-13.png]] |
![]() |
1.2 | 56 | |
![]() |
20.2 | 57 | [[image:image-20220524172924-14.png]] |
![]() |
1.2 | 58 | |
59 | = 4. Debug and Payload decoder = | ||
60 | |||
61 | Debug: | ||
62 | |||
![]() |
20.2 | 63 | [[image:image-20220524172940-15.png]] |
![]() |
1.2 | 64 | |
65 | Here you can test the payload decoding: | ||
66 | |||
![]() |
20.2 | 67 | [[image:image-20220524173007-16.png]] |
![]() |
1.2 | 68 | |
![]() |
20.2 | 69 | [[image:image-20220524173031-17.png]] |
![]() |
1.2 | 70 | |
![]() |
20.2 | 71 | [[image:image-20220524173055-18.png]] |
![]() |
1.2 | 72 | |
73 | = 5. Dashboard of other models = | ||
74 | |||
75 | Other devices operate in the same way as above. | ||
76 | |||
77 | LSE01: | ||
78 | |||
79 | [[image:https://wiki.dragino.com/images/thumb/8/82/Datacakelse01.png/600px-Datacakelse01.png||alt="Datacakelse01.png" height="220" width="600"]] | ||
80 | |||
81 | LGT92: | ||
82 | |||
83 | [[image:https://wiki.dragino.com/images/thumb/2/2e/Datacakelgt92.png/600px-Datacakelgt92.png||alt="Datacakelgt92.png" height="340" width="600"]] | ||
84 | |||
85 | LDS01: | ||
86 | |||
87 | [[image:https://wiki.dragino.com/images/thumb/2/23/Datacakelds01.png/600px-Datacakelds01.png||alt="Datacakelds01.png" height="342" width="600"]] | ||
88 | |||
89 | LT22222-L: | ||
90 | |||
91 | [[image:https://wiki.dragino.com/images/thumb/8/8e/DatacakeLT22222.png/600px-DatacakeLT22222.png||alt="DatacakeLT22222.png" height="338" width="600"]] | ||
92 | |||
93 | LWL01: | ||
94 | |||
95 | [[image:https://wiki.dragino.com/images/thumb/3/35/Datacakelwl01.png/600px-Datacakelwl01.png||alt="Datacakelwl01.png" height="343" width="600"]] | ||
96 | |||
97 | LDDS75: | ||
98 | |||
99 | [[image:https://wiki.dragino.com/images/thumb/c/c0/Datacakeldds75.png/600px-Datacakeldds75.png||alt="Datacakeldds75.png" height="324" width="600"]] | ||
100 | |||
101 | = 6. Downlinks = | ||
102 | |||
103 | ((( | ||
104 | 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: | ||
105 | ))) | ||
106 | |||
107 | [[image:https://wiki.dragino.com/images/thumb/a/a2/Datacake_downlinks1.png/600px-Datacake_downlinks1.png||alt="Datacake downlinks1.png" height="241" width="600"]] | ||
108 | |||
109 | This is the ID of your Device in your TTI Application. You find it here: | ||
110 | |||
111 | [[image:https://wiki.dragino.com/images/thumb/3/37/Datacake_downlinks9.png/600px-Datacake_downlinks9.png||alt="Datacake downlinks9.png" height="214" width="600"]] | ||
112 | |||
113 | ((( | ||
114 | This is the URL of your TTI Instance as available to the public. | ||
115 | ))) | ||
116 | |||
117 | ((( | ||
118 | This is the ID of your Application on TTI: | ||
119 | ))) | ||
120 | |||
121 | [[image:https://wiki.dragino.com/images/thumb/d/de/Datacake_downlinks2.png/600px-Datacake_downlinks2.png||alt="Datacake downlinks2.png" height="226" width="600"]] | ||
122 | |||
123 | To create a new API Key on TTI head over to the "API keys" page using the left sidebar: | ||
124 | |||
125 | [[image:https://wiki.dragino.com/images/thumb/7/70/Datacake_downlinks3.png/600px-Datacake_downlinks3.png||alt="Datacake downlinks3.png" height="268" width="600"]] | ||
126 | |||
127 | ((( | ||
128 | Now click on "Add API Key" | ||
129 | ))) | ||
130 | |||
131 | ((( | ||
132 | The following dialog will appear: | ||
133 | ))) | ||
134 | |||
135 | [[image:https://wiki.dragino.com/images/thumb/0/05/Datacake_downlinks4.png/600px-Datacake_downlinks4.png||alt="Datacake downlinks4.png" height="445" width="600"]] | ||
136 | |||
137 | ((( | ||
138 | Set a custom name (like "datacake-api-key") | ||
139 | ))) | ||
140 | |||
141 | ((( | ||
142 | And set corresponding rights to allow queuing up downlinks | ||
143 | ))) | ||
144 | |||
145 | ((( | ||
146 | Create the API Key by clicking on "Create API key" | ||
147 | ))) | ||
148 | |||
149 | [[image:https://wiki.dragino.com/images/thumb/4/4b/Datacake_downlinks5.png/600px-Datacake_downlinks5.png||alt="Datacake downlinks5.png" height="394" width="600"]] | ||
150 | |||
151 | ((( | ||
152 | After you created your API Key you will see the above notification | ||
153 | ))) | ||
154 | |||
155 | ((( | ||
156 | Please copy your key to your clipboard as it will only be shown once! | ||
157 | ))) | ||
158 | |||
159 | ((( | ||
160 | Paste this key into the device settings on Datacake | ||
161 | ))) | ||
162 | |||
163 | ((( | ||
164 | Configure downlink here. Use TDC downlink as an example. 01 00 00 3C: | ||
165 | ))) | ||
166 | |||
167 | [[image:https://wiki.dragino.com/images/thumb/f/f1/Datacake_downlinks10.png/600px-Datacake_downlinks10.png||alt="Datacake downlinks10.png" height="565" width="600"]] | ||
168 | |||
169 | [[image:https://wiki.dragino.com/images/thumb/8/83/Datacake_downlinks11.png/600px-Datacake_downlinks11.png||alt="Datacake downlinks11.png" height="199" width="600"]] | ||
170 | |||
171 | Successfully sent TDC donwlink. | ||
172 | |||
173 | [[image:https://wiki.dragino.com/images/b/ba/Datacake_downlinks6.png||alt="Datacake downlinks6.png" height="697" width="409"]] | ||
174 | |||
175 | [[image:https://wiki.dragino.com/images/thumb/8/84/Datacake_downlinks7.png/600px-Datacake_downlinks7.png||alt="Datacake downlinks7.png" height="306" width="600"]] | ||
176 | |||
177 | [[image:https://wiki.dragino.com/images/thumb/a/aa/Datacake_downlinks8.png/600px-Datacake_downlinks8.png||alt="Datacake downlinks8.png" height="400" width="600"]] |