Show last authors
1 [[image:image-20250509194759-2.jpeg||height="503" width="503"]] (% style="display:none" %) (%%) (% style="display:none" %) (%%) (% style="display:none" %) [[image:image-20250507162148-1.jpeg||height="528" width="528"]](%%) [[image:image-20250509194713-1.jpeg||height="503" width="503"]]
2
3
4
5 **Table of Contents:**
6
7 {{toc/}}
8
9
10
11
12
13
14 = 1. Introduction =
15
16 == 1.1 What is LC01 LoRaWAN Relay ==
17
18
19 The Dragino LC01 is a (% style="color:blue" %)**LoRaWAN Relay**(%%) for Internet of Things solution. It controls the relay switch via a downlink from the IoT server via the LoRaWAN wireless protocol.
20
21 It can be applied to (% style="color:blue" %)**smart agricultural irrigation, smart home, industrial automation and other industries**(%%).
22
23 The LoRa wireless technology used in the LC01 allows devices to send data at low rates and reach extremely long transmission distances. The technology provides ultra-long-range spread spectrum communication and high anti-interference capabilities while minimizing current consumption.
24
25 LC01 (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use.
26
27 Each LC01 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
28
29
30 == 1.2 ​Features ==
31
32
33 * LoRaWAN Class C modes
34 * Optional Customized LoRa Protocol
35 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
36 * AT Commands to change parameters
37 * Remotely configure parameters via LoRaWAN Downlink
38 * Firmware upgradable via program port
39 * Support wireless OTA update firmware
40 * Uplink on periodically
41 * Downlink to change configure
42
43 == 1.3 Specification ==
44
45
46 (% style="color:#037691" %)**Common DC Characteristics:**
47
48 * Supply Voltage: 80-275V AC
49 * Operating Temperature: -40~~+70°C
50 * (((
51 Current : 15A Resistive load
52 )))
53
54 (% style="color:#037691" %)**LoRa Spec:**
55
56 * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
57 * Max +22 dBm constant RF output vs.
58 * RX sensitivity: down to -139 dBm.
59 * Excellent blocking immunity
60
61 == 1.4 Applications ==
62
63
64 * Smart buildings & home automation
65 * Logistics and supply chain management
66 * Smart metering
67 * Smart agriculture
68 * Smart cities
69 * Smart factory
70
71 == 1.5 Working mode ==
72
73
74 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode).
75
76
77 == 1.6 Button & LEDs ==
78
79 [[image:image-20250510085336-2.png||height="591" width="387"]]
80
81
82 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
83 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action**
84 |(% style="width:167px" %)Press the Reset button once|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
85 (% style="color:red" %)**Red led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**Bootloader mode**(%%) for 5 seconds. And then start to JOIN LoRaWAN network.
86 (% style="color:red" %)**Red led**(%%) will solidly turn on for 5 seconds after joined in network.
87 )))
88
89 (% style="display:none" %)
90
91
92 == 1.7 Mechanical ==
93
94 (% class="wikigeneratedid" id="H" %)
95 [[image:image-20250510085050-1.png]]
96
97
98
99
100 = 2. Configure LC01 to connect to LoRaWAN network =
101
102 == 2.1 How it works ==
103
104
105 The LC01 is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class C**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the LC01. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 1 hour.
106
107
108 == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
109
110
111 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
112
113 The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
114
115 [[image:image-20250510090205-3.png]]
116
117 (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from LC01.
118
119 Each LC01 is shipped with a sticker with the default device EUI as below:
120
121 [[image:image-20230426084152-1.png||alt="图片-20230426084152-1.png" height="233" width="502"]]
122
123
124 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
125
126 **Create the application.**
127
128 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SAC01L_LoRaWAN_Temperature%26Humidity_Sensor_User_Manual/WebHome/image-20250423093843-1.png?width=756&height=264&rev=1.1||alt="image-20250423093843-1.png"]]
129
130 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]]
131
132
133 **Add devices to the created Application.**
134
135 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]]
136
137 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]]
138
139
140 **Enter end device specifics manually.**
141
142 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]]
143
144
145 **Add DevEUI and AppKey.**
146
147 **Customize a platform ID for the device.**
148
149 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]]
150
151
152 (% style="color:blue" %)**Step 2:**(%%) Add decoder.
153
154 In TTN, user can add a custom payload so it shows friendly reading.
155
156 Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]]
157
158 Below is TTN screen shot:
159
160 [[image:image-20250510090425-4.png||height="502" width="1080"]]
161
162 [[image:image-20250510090555-5.png||height="545" width="1071"]]
163
164
165 (% style="color:blue" %)**Step 3:**(%%) Activate on LC01
166
167 Press the reset button once to activate the LC01.
168
169 (% style="color:red" %)**Red led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**bootloader mode**(%%) for 5 seconds. And then start to JOIN LoRaWAN network. (% style="color:red" %)**Red led**(%%) will solidly turn on for 5 seconds after joined in network.
170
171 After join success, it will start to upload messages to TTN and you can see the messages in the panel.
172
173
174 == 2.3 ​Uplink Payload ==
175
176 === 2.3.1 Device Status, FPORT~=5 ===
177
178
179 Users can use the downlink command(**0x26 01**) to ask LC01 to send device configure detail, include device configure status. LC01 will uplink a payload via FPort=5 to server.
180
181 The Payload format is as below.
182
183 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
184 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
185 |(% style="width:103px" %)**Size (bytes)**|(% style="width:89px" %)**1**|(% style="width:98px" %)**2**|(% style="width:102px" %)**1**|(% style="width:116px" %)**1**
186 |(% style="width:103px" %)Value|(% style="width:89px" %)Sensor Model|(% style="width:98px" %)Firmware Version|(% style="width:102px" %)Frequency Band|(% style="width:116px" %)Sub-band
187
188 Example parse in TTNv3
189
190 [[image:image-20250510091326-6.png]]
191
192
193 (% style="color:#037691" %)**Sensor Model**(%%): For LC01, this value is 0x47
194
195 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
196
197 (% style="color:#037691" %)**Frequency Band**:
198
199 0x01: EU868
200
201 0x02: US915
202
203 0x03: IN865
204
205 0x04: AU915
206
207 0x05: KZ865
208
209 0x06: RU864
210
211 0x07: AS923
212
213 0x08: AS923-1
214
215 0x09: AS923-2
216
217 0x0a: AS923-3
218
219 0x0b: CN470
220
221 0x0c: EU433
222
223 0x0d: KR920
224
225 0x0e: MA869
226
227
228 (% style="color:#037691" %)**Sub-Band**:
229
230 AU915 and US915:value 0x00 ~~ 0x08
231
232 CN470: value 0x0B ~~ 0x0C
233
234 Other Bands: Always 0x00
235
236
237 === 2.3.2  Sensor Data. FPORT~=2 ===
238
239
240 Sensor Data is uplink via FPORT=2
241
242 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
243 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
244 **Size(bytes)**
245 )))|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 139px; background-color: rgb(79, 129, 189); color: white;" %)1|=(% style="width: 136px; background-color: rgb(79, 129, 189); color: white;" %)1
246 |(% style="width:99px" %)Value|(% style="width:130px" %)(((
247 Unix TimeStamp
248 )))|(% style="width:139px" %)EventType|(% style="width:136px" %)Relaystatus
249
250 [[image:image-20250510092453-7.png||height="173" width="1245"]]
251
252
253 ==== (% style="color:#4472c4" %)**Unit timestamp**(%%) ====
254
255 Unit TimeStamp Example: 681EAB65(H) = 1746840421(D)
256
257 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time.
258
259
260 ==== (% style="color:#4472c4" %)**Event**(%%) ====
261
262 **Example**:
263
264 If payload is: 01H:  PLUG_INSERT_EVENT
265
266 If payload is: 02H : PLUG_PULL_EVNET
267
268 If payload is: 03H :HEARTBEAT_EVNET
269
270 If payload is: 04H :RELAY_ACK_EVENT
271
272
273 ==== (% style="color:#4472c4" %)**Relaystatus**(%%) ====
274
275 **Example**:
276
277 If payload is: 01H:  Relay open
278
279 If payload is: 00H : Relay closed
280
281
282
283 == 2.4 Payload Decoder file ==
284
285
286 In TTN, use can add a custom payload so it shows friendly reading
287
288 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from:
289
290 [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main>>https://github.com/dragino/dragino-end-node-decoder/tree/main]]
291
292
293 == 2.5 Datalog Feature ==
294
295
296 Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LC01 will store the reading for future retrieving purposes.
297
298
299 === 2.5.1 Ways to get datalog via LoRaWAN ===
300
301
302 With the platform downlink **07 01**, turn on the device to send None-ACK message function automatically, LC01 will wait for every upstream ACK, when there is no LoRaWAN network, LC01 will mark these records as non ack message and store the sensor data, and wait for the network to be restored (10s interval) to send all the messages.
303
304 * (((
305 a) LC01 will do an ACK check for data records sending to make sure every data arrive server.
306 )))
307 * (((
308 b) When automatic sending of None-ACK messages is enabled, the LC01 will send data in CONFIRMED mode, but if an ACK is not received, the LC01 will not resend the packet, it will only mark it as a NONE-ACK message. On subsequent uplinks, if the LC01 receives an ACK, the LC01 will consider the network connected and resend all NONE-ACK messages.
309 )))
310
311 === 2.5.2 Unix TimeStamp ===
312
313
314 LC01 uses Unix TimeStamp format based on
315
316 [[image:image-20250328173339-5.jpeg]]
317
318 User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
319
320 Below is the converter example
321
322 [[image:image-20250328173355-6.jpeg]]
323
324
325 So, we can use downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
326
327
328 === 2.5.3 Set Device Time ===
329
330
331 Users need to run downlink command (% style="color:blue" %)**28 01**(%%) to enable the synchronization time.
332
333 Once LC01 Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LC01. If LC01 fails to get the time from the server, LC01 will use the internal time and wait for next time request (The default time is once every 10 days.).
334
335 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if when the automatic time synchronization function is turned on.**
336
337
338 (% style="color:#4f81bd" %)**Downlink Command: 0x28**
339
340 * Example: 0x28 01  ~/~/ Automatic time synchronization Enabled
341 * Exampie: 0x28 00  ~/~/  Automatic time synchronization Disable.
342
343 === 2.5.4 Datalog Uplink payload (FPORT~=3) ===
344
345
346 The Datalog uplinks will use below payload format.
347
348 **Retrieval data payload:**
349
350 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
351 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
352 **Size(bytes)**
353 )))|=(% style="width: 40px; background-color:#4F81BD;color:white" %)4|=(% style="width: 65px; background-color: rgb(79, 129, 189); color: white;" %)1|=(% style="width: 89px; background-color: rgb(79, 129, 189); color: white;" %)1|=(% style="width: 94px; background-color: rgb(79, 129, 189); color: white;" %)1
354 |(% style="width:103px" %)Value|(% style="width:68px" %)(((
355 Unix Time Stamp
356 )))|(% style="width:65px" %)Event|(% style="width:89px" %)Relaystatus|(% style="width:94px" %)DatalogReply
357
358 **No ACK Message**:  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **Automatically send None-ACK** feature)
359
360 **DatalogReply**: 1: This message is a poll message reply.
361
362 * Poll Message Flag is set to 1.
363
364 * Each data entry is 7 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
365
366 For example, in US915 band, the max payload for different DR is:
367
368 **a) DR0:** max is 11 bytes so one entry of data
369
370 **b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
371
372 **c) DR2:** total payload includes 11 entries of data
373
374 **d) DR3: **total payload includes 22 entries of data.
375
376 If devise doesn't have any data in the polling time. Device will uplink 7 bytes of 0   
377
378 **Example:**
379
380 If user sends below downlink command: 31681D4580681D6FB005
381
382 Where : Start time: 681D4580 = time 25/5/9 08:00:00
383
384 Stop time: 681D6FB0 = time 25/5/9 11:00:00
385
386
387 **LC01 will uplink this payload.**
388
389 [[image:image-20250510101025-8.png||height="487" width="1027"]]
390
391 (((
392 68 1E A7 AF 03 00 40 68 1E A8 C3 03 00 40 68 1E A8 FF 03 00 40 68 1E A9 3E 03 00 40 68 1E A9 5C 03 00 40 68 1E A9 7A 03 00 40 68 1E A9 98 03 00 40 68 1E A9 B6 03 00 40
393 )))
394
395 (((
396 Where the first 8 bytes is for the first entry:
397 )))
398
399 (((
400 68 1E A7 AF 03 00 40
401 )))
402
403 (((
404 **Unix time** is 0x68 1E A7 AF = 1746839471s=25/5/10 09:11:00(GMT+8)
405
406 (((
407 **Event**=0x03 = HEARTBEAT_EVNET
408 )))
409
410 (((
411 **Relaystatus = **0x00 = Relay closed
412
413 **DatalogReply = **0x40 = Represents the current data as polled data
414
415
416 )))
417 )))
418
419 (% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的
420
421 == 2.6 Frequency Plans ==
422
423
424 The LC01 uses OTAA mode and below frequency plans by default. Each frequency band use different firmware, user update the firmware to the corresponding band for their country.
425
426 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
427
428
429 == 2.7 ​Firmware Change Log ==
430
431
432 **Firmware download link: **[[Dropbox~~-~~-firmware>>https://www.dropbox.com/scl/fo/ztlw35a9xbkomu71u31im/ANtJIIrJmAdKJeLCSWxB3tE/LoRaWAN%20End%20Node/LC01?dl=0&rlkey=ojjcsw927eaow01dgooldq3nu]]
433
434
435 = 3. Configure LC01 =
436
437 == 3.1 Configure Methods ==
438
439
440 LC01 supports below configure method:
441
442 * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
443
444 == 3.2 General Commands ==
445
446
447 These commands are to configure:
448
449 * General system settings like: uplink interval.
450 * LoRaWAN protocol & radio related command.
451
452 They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
453
454 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
455
456
457 == 3.3 Commands special design for LC01 ==
458
459
460 These commands only valid for LC01, as below:
461
462
463 === 3.3.1 Set Transmit Interval Time ===
464
465
466 (% style="color:#037691" %)**AT Command:**
467
468 There is no AT command to set TDC time.
469
470
471 Feature: Change LoRaWAN End Node Transmit Interval.
472
473 (% style="color:blue" %)**Downlink Command: 0x01**
474
475 Format: Command Code (0x01) followed by 3 bytes time value.
476
477 If the downlink payload=**0100003C**, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
478
479 * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
480 * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
481
482 === 3.3.2 Get Device Status ===
483
484
485 Send a LoRaWAN downlink to ask device send Alarm settings.
486
487 (% style="color:blue" %)**Downlink Payload:  **(%%)**0x26 01**
488
489 Sensor will upload Device Status via FPORT=5. See payload section for detail.
490
491
492 === 3.3.3 Clear Flash Record ===
493
494
495 (% style="color:#037691" %)**AT Command:**
496
497 No AT command to control relay enable or disable
498
499
500 Feature: Clear flash storage for data log feature.
501
502 (% style="color:#4f81bd" %)**Downlink Command: 0x08**
503
504 * Example: 0x0801  ~/~/ Clear all saved data in flash.
505
506 === 3.3.4 Relay enable or disable ===
507
508
509 (% style="color:#037691" %)**AT Command:**
510
511 There is no AT Command to control the Relay Output
512
513
514 Feature: Controls the turning on and off of appliances plugged into the socket
515
516 (% style="color:#4f81bd" %)**Downlink Command: 0x06**
517
518 * Example: 0x06 01  ~/~/ Relay Enabled.
519 * Exampie: 0x06 00  ~/~/  Relay Disable.
520
521 === 3.3.5 Relay ~-~- Control Relay Output time ===
522
523
524 Feature: Controls the relay output time.
525
526
527 (% style="color:#037691" %)**AT Command:**
528
529 There is no AT Command to control the Relay Output
530
531
532 (% style="color:#037691" %)**Downlink Payload (prefix 0x09):**
533
534 (% style="color:blue" %)**0x09 aa bb cc dd ee ff     ** (%%)~/~/ Sets relays with time control
535
536
537 This controls the relay output time and includes 4 bytes:
538
539 (% style="color:#4f81bd" %)**First byte **(%%)**:** Type code (0x09)
540
541 (% style="color:#4f81bd" %)**Second byte (aa)**(%%): Inverter Mode
542
543 01: Relays will change back to their original state after a timeout.
544
545 00: Relays will change to the inverter state after a timeout.
546
547
548 (% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
549
550 [[image:image-20250509161958-1.png||height="151" width="606"]]
551
552
553 (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc dd ee ff)**(%%): Latching time. (Min:6 seconds ,Unit: seconds)
554
555
556 (% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
557
558
559 **Example payload:**
560
561 **~1. 09 01 01 00 00 00 06**
562
563 Relay will be set to NC, lasting 6 seconds, then revert to their original state
564
565 **2. 09 01 00 00 00 00 06**
566
567 Relay will change to NC, lasting 6 seconds, and then will will change to NO.
568
569 **3. 09 00 01 00 00 00 06**
570
571 Relay1 will change to NO, lasting 6 seconds, and then Relay will change to NC.
572
573 **4. 09 01 01 00 00 00 06**
574
575 Relay will change to NO, lasting 6 seconds, and then will revert to their original state.
576
577
578 === 3.3.6 Confirmed Mode ===
579
580
581 (% style="color:#037691" %)**AT Command:**
582
583 There is no AT command to control whether Confirmed mode is enabled or disabled.
584
585
586 Feature: Mode for sending data for which acknowledgment was not received
587
588 (% style="color:#4f81bd" %)**Downlink Command: 0x07**
589
590 * Example: 0x07 01  ~/~/ Confirmed Mode enabled.
591 * Exampie: 0x07 00  ~/~/  Confirmed Mode Disable.
592
593
594 === 3.3.8 Set the time synchronization interval ===
595
596
597 Feature: Set how often to perform time synchronization.(default is 10 days, Unit: days)
598
599
600 (% style="color:#4f81bd" %)**Downlink Command: 0x28**
601
602 * Example: 0x28 01  ~/~/ Synchronize once a day
603 * Exampie: 0x28 03  ~/~/  Synchronize once every three days
604
605 = 4. OTA Firmware update =
606
607
608 (% class="wikigeneratedid" %)
609 User can change firmware LC01 to:
610
611 * Change Frequency band/ region.
612 * Update with new features.
613 * Fix bugs.
614
615 Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/fis3g6nmhv0eokg/AAC6BcCZaX4BdqZkduUvZ3jIa?dl=0]]**
616
617
618 Methods to Update Firmware:
619
620 * (Recommanded way) OTA firmware update via wireless : **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
621
622 = 5. FAQ =
623
624
625
626 = 6. Order Info =
627
628
629 Part Number: (% style="color:blue" %)**LC01-XX**
630
631 (% style="color:red" %)**XX**(%%): The default frequency band
632
633 * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
634
635 * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
636
637 * (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
638
639 * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
640
641 * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
642
643 * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
644
645 * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
646
647 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
648
649 = 7. ​Packing Info =
650
651
652 (% style="color:#037691" %)**Package Includes**:
653
654 * LC01 LoRaWAN Socket User Manual
655
656 (% style="color:#037691" %)**Dimension and weight**:
657
658 * Device Size: cm
659
660 * Device Weight: g
661
662 * Package Size / pcs : cm
663
664 * Weight / pcs : g
665
666 = 8. Support =
667
668
669 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
670
671 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[Support@dragino.cc>>mailto:Support@dragino.cc]].
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0