Needing Help with : LDS30A / DS03A door open sensor w/ Helium .

15 views
Skip to first unread message

Faisal Imtiaz

unread,
Jun 14, 2024, 9:06:50 PMJun 14
to dragin...@googlegroups.com

Hello,

 

We have the follwing door sensors  lds30a  and ds03a , which are sending us data  upon door open / door close events.

 

We are needing them to generate alarm when the door goes from close to open status and stays there for 10 min.

 

Based on the Wiki,  sending the followign code to the sensors should do the trick .

 

AT + TTRIG= 1,30   (  0xA9 01 00 1E) this should send us an uplink packet whe the keep status changes from close to open and the device remains in the open status for 30seconds.

 

We are sendging the following Base64 via Helium downlink  = (  A9 01 00 1E  which is Base64  qQEAHg==  )


However this is not having the desired change.

 

Anyone who can help us or point to us what we are doing wrong would be greatly appreciated.

 

Thank you.

 

 

Regards,

 

Faisal Imtiaz

 

Mengting

unread,
Jun 15, 2024, 3:32:51 AMJun 15
to Faisal Imtiaz, dragino-user, 邮件技术支持
Hi, Faisal,

What is your firmware version?
Changed AT+TTRIG since firmware V1.2.0, and added the alarm interval setting instruction.

10min: AT+TTRIG1=1,600  Downlink payload: A9 01 01 02 58 ---->Base64:qQEBAlg=

  • First, set the door on/off state mode: AT+MOD=1
  • Default: AT+TTRCHANNEL=1
AT+TTRIG1=0,0 ---------------> In single channel mode, only TTRIG1 needs to be configured: AT+TTRIG1=1,30 Downlink payload: A9 01 01 00 1E      ---->Base64:qQEBAB4=
                                                                                                                                                                                                                                                    A9:  Command Type Code 
                                                                                                                                                                                                                                                    01: Channel 1 
                                                                                                                                                                                                                                                    01:  Monitor Close to Open event
                                                                                                                                                                                                                                                    00 1E:  1E(H)=30(D)=30s

AT+TTRIG2=0,0

AT+TTRALARM=1

AT+COUNTMOD=1 ---------------->AT+COUNTMOD=0 Downlink payload: 0B 00

Note: Downlink instructions only take effect after the node successfully uplinks data next time.

  • Example of uplink of test node after above instruction takes effect (TTN):


  • Please refer to the user manual for more detailed instructions
      

Best Regards
Ting
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123






------------------------------------------------------------------
发件人:Faisal Imtiaz <fai...@snappytelecom.net>
发送时间:2024年6月15日(星期六) 09:06
主 题:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .
--
You received this message because you are subscribed to the Google Groups "Dragino-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dragino-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dragino-user/LV2PR12MB5800BEEDBFB36AE637B94C0AC7C22%40LV2PR12MB5800.namprd12.prod.outlook.com.

temp4cj.png
temp4cj.png
temp4cj.png
temp4cj.png
InsertPic_CD64%2804-16-15-32-48%29%281%29.png

Faisal Imtiaz

unread,
Jun 16, 2024, 8:39:22 PMJun 16
to Mengting, dragino-user, 邮件技术支持

Thank you very much Mengting,

 

I believe the firmware version is older and varied.

 

A couple of quick additional follow-up questions.

 

  1. What is the best downlink code to query the firmware version and settings on the sensor ?  (0x26 01 ? )
  2. What would be the downlink code for wanting the alarm packet to be repeated every 10min as long as the Alarm is TRUE … (AT+TTRALARM=10 ? .. 0x0C 0A ? )

 

Regards,

 

Faisal Imtiaz

Mengting

unread,
Jun 16, 2024, 9:06:34 PMJun 16
to Faisal Imtiaz, dragino-user, 邮件技术支持
Hi, Faisal,

----->What is the best downlink code to query the firmware version and settings on the sensor ?  (0x26 01 ? )
Yes, the downlink command 0x2601 is used to query the device status, and the uplink payload contains version information.

----->What would be the downlink code for wanting the alarm packet to be repeated every 10min as long as the Alarm is TRUE … (AT+TTRALARM=10 ? .. 0x0C 0A ? )
Yes, the AT command typically uses decimal values, so its downlink command(Hexadecimal format) needs to convert the decimal format to hexadecimal first.
AT+TTRALARM=10    (unit: minutes)
10min: 10(D)=0x0A(H)       Downlink payload:   0C0A


Best Regards
Ting
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123






------------------------------------------------------------------
发件人:Faisal Imtiaz <fai...@snappytelecom.net>
发送时间:2024年6月16日(星期日) 12:40
收件人:Qiu MengTing<ti...@dragino.cc>; "dragino-user"<dragin...@googlegroups.com>
抄 送:"邮件技术支持"<sup...@dragino.cc>
主 题:RE: 回复:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .
InsertPic_CD64%2804-16-15-32-48%29%281%29.png
image001.png
image002.png
image003.png
image004.png
image005.png

Faisal Imtiaz

unread,
Jun 17, 2024, 8:36:02 PMJun 17
to Mengting, dragino-user, 邮件技术支持

Hi Ting,


I am seeing something odd ..

 

Having the unit setup for   AT& TTRIG1=1,600 …

 

10min: AT+TTRIG1=1,600  Downlink payload: A9 01 01 02 58 ---->Base64qQEBAlg=

 

  • First, set the door on/off state mode: AT+MOD=1
  • Default: AT+TTRCHANNEL=1

AT+TTRIG1=0,0 ---------------> In single channel mode, only TTRIG1 needs to be configured: AT+TTRIG1=1,30 Downlink payload: A9 01 01 00 1E      ---->Base64qQEBAB4=

------------------------------------

 

And

AT+TTRALARM=10   (0x0C 0A)

 

I receive the alarm set to TRUE  after the door is goes from Close to Open and 10min have passed.

However after another 10 min I get a packet from the sensor, where the Door Open status is Open but the Alarm is set to FALSE.

 

Any idea on what I am missing ?

 

I want to have an alarm go TRUE, when the door goes from Close to Open position and 10min have passed.

And I would like to have  periodic packets every 5min or 10min with the Alarm = TRUE as long as the door is still open..

 

Thank you in advance.

 

Regards,

 

Faisal Imtiaz

 

From: Mengting <ti...@dragino.cc>
Sent: Sunday, June 16, 2024 9:06 PM
To: Faisal Imtiaz <fai...@snappytelecom.net>; dragino-user <dragin...@googlegroups.com>
Cc:
邮件技术支持 <sup...@dragino.cc>
Subject:
回复:回复:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .

 

Hi, Faisal,

 

----->What is the best downlink code to query the firmware version and settings on the sensor ?  (0x26 01 ? )

Yes, the downlink command 0x2601 is used to query the device status, and the uplink payload contains version information.

 

----->What would be the downlink code for wanting the alarm packet to be repeated every 10min as long as the Alarm is TRUE … (AT+TTRALARM=10 ? .. 0x0C 0A ? )

Yes, the AT command typically uses decimal values, so its downlink command(Hexadecimal format) needs to convert the decimal format to hexadecimal first.

AT+TTRALARM=10    (unit: minutes)

10min: 10(D)=0x0A(H)       Downlink payload:   0C0A

 

 

Best Regards
Ting
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123

 

 

 

 

 

------------------------------------------------------------------

发件人:Faisal Imtiaz <fai...@snappytelecom.net>

发送时间:2024616(星期日) 12:40

收件人:Qiu MengTing<ti...@dragino.cc>; "dragino-user"<dragin...@googlegroups.com>

抄 送:"邮件技术支持"<sup...@dragino.cc>

主 题:RE: 回复:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .

 

Thank you very much Mengting,

 

I believe the firmware version is older and varied.

 

A couple of quick additional follow-up questions.

 

1.     What is the best downlink code to query the firmware version and settings on the sensor ?  (0x26 01 ? )

2.     What would be the downlink code for wanting the alarm packet to be repeated every 10min as long as the Alarm is TRUE … (AT+TTRALARM=10 ? .. 0x0C 0A ? )

Mengting

unread,
Jun 17, 2024, 11:27:40 PMJun 17
to Faisal Imtiaz, dragino-user, 邮件技术支持
Hi, Faisal,

Can you reset the node or downlink 0x2601 to check your firmware version?

If it is the latest version V1.2.2, please update the decoding, the latest version of the decoding has been added in the attachment.
Latest version decoding:
The TDC flag is added. For TDC packets, the TDC flag is YES.
In single-channel mode, information about one channel is displayed. In dual-channel mode, information about two channels is displayed.

If you still have the same problem, please print the configuration (AT+CFG) or downlink 0X2602 to check the current configuration, and send me some screenshots of the platform details to check.


Best Regards
Ting
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123






------------------------------------------------------------------
发件人:Faisal Imtiaz <fai...@snappytelecom.net>
发送时间:2024年6月17日(星期一) 23:19
收件人:Qiu MengTing<ti...@dragino.cc>; "dragino-user"<dragin...@googlegroups.com>
抄 送:"邮件技术支持"<sup...@dragino.cc>
主 题:RE: 回复:回复:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .
LDS03A_V1.2.2decoder.txt
temp4cj.png
InsertPic_CD64%2804-16-15-32-48%29%281%29.png
image001.png
image002.png
image003.png
image004.png
image005.png

Mengting

unread,
Jun 18, 2024, 8:53:03 PMJun 18
to Faisal Imtiaz, dragino-user, 邮件技术支持
Hi, Faisal,

Please update the firmware first, otherwise the command configuration is invalid.
You will need a USB-TTL adapter, then follow the linked instructions for firmware update:

Please download the latest V1.2.2 firmware package from the link on the official website and select the correct frequency.

Best Regards
Ting
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123






------------------------------------------------------------------
发件人:Faisal Imtiaz <fai...@snappytelecom.net>
发送时间:2024年6月19日(星期三) 07:27
收件人:Qiu MengTing<ti...@dragino.cc>; "dragino-user"<dragin...@googlegroups.com>
抄 送:"邮件技术支持"<sup...@dragino.cc>
主 题:RE: 回复:回复:回复:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .

Hi Ting,
Enclosed are the three payload packets  

 

One shows the Alarm being TRUE (desired behavior).

But subsequent packets based on TDC interval .. show ALARM=FALSE, even though the DOOR is OPEN.

 

Thanks.

InsertPic_CD64%2804-16-15-32-48%29%281%29.png
image001.png
image002.png
image003.png
image004.png
image005.png
image006.png

Faisal Imtiaz

unread,
Jun 18, 2024, 8:57:29 PMJun 18
to Mengting, dragino-user, 邮件技术支持

Thank you Ting,

 

The current version of my test sensor is 

 "variable": "FIRMWARE_VERSION", "value": "1.1.0",

 

Question:- what is the method for updating the firmware ?

 

 

----

The config is:- 

------------------------- "variable": "metadata", "metadata": { "adr_allowed": true, "cf_list_enabled": true, "labels": [ { "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxeferred_hotspots": [], "rx_delay": 2, "rx_delay_actual": 2, "rx_delay_state": "rx_delay_established" }, "group": "1718725552559" }, { "variable": "DISALARM", "value": 0, "group": "1718725552559" }, { "variable": "KEEP_STATUS", "value": 1, "group": "1718725552559" }, { "variable": "KEEP_TIME", "value": 600, "group": "1718725552559" }, { "variable": "TDC", "value": 7200, "group": "1718725552559" }, { "variable": "dc_balance", "value": 3086512, "group": "1718725552559" }, { "variable": "dc_nonce", "value": 3, "group": "1718725552559" }, { "variable": "hotspot_0_channel", "value": 1, "group": "1718725552559" }, { "variable": "hotspot_0_frequency", "value": 904.1, "group": "1718725552559" }, { "variable": "hotspot_0_id", "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "group": "1718725552559" }, { "variable": "hotspot_0_location",

 

"1718725552559" }, { "variable": "fcnt", "value": 160, "group": "1718725552559" }, { "variable": "name", "value": "SNPY-IOT-319", "group": "1718725552559" }, { "variable": "payload", "value": "001c2000010258", "group": "1718725552559" }, { "variable": "port", "value": 4, "group": "1718725552559" }, { "variable": "reported_at", "value": 1718725550379, "group": "1718725552559" }, { "variable": "dev_eui", "value": "A840411981860C4E", "group": "1718725552559" }, { "variable": "raw_packet", "value": "QHMIAEigoAAEGuWIzoViP1J2dUE=", "group": "1718725552559" }, { "variable": "replay", "value": false, "group": "1718725552559" }, { "variable": "type", "value": "uplink", "group": "1718725552559" }, { "variable": "tdc", "value": 7200, "serie": 1718725552595 }, { "variable": "disalarm", "value": 0, "serie": 1718725552595 }, { "variable": "keep_status", "value": 1, "serie": 1718725552595 }, { "variable": "keep_time", "value": 600, "serie": 1718725552595 } ]

 

----------------------

 

Regards,

 

Faisal Imtiaz
Snappy Internet & Telecom
http://www.snappytelecom.net
Tel: 305 663 5518 x 232

Help-desk: (305)663-5518 Option 2 or Email: Sup...@Snappytelecom.net

Faisal Imtiaz

unread,
Jun 18, 2024, 8:57:32 PMJun 18
to Mengting, dragino-user, 邮件技术支持

Hi Ting,
Enclosed are the three payload packets  

 

One shows the Alarm being TRUE (desired behavior).

But subsequent packets based on TDC interval .. show ALARM=FALSE, even though the DOOR is OPEN.

 

Thanks.

 

Regards,

Alarm=TRUE fist notification.txt
Subsequent TDC packet show Alarm=FA.txt
Subsequent TDC packet 2 show Alarm=FA.txt

Faisal Imtiaz

unread,
Jun 30, 2024, 6:24:24 PMJun 30
to Mengting, dragino-user, sup...@dragino.cc

Hi Ting,

 

Thank you for the instructions.  I was able to upgrade the firmware and have the unit behave as desired.

 

A quick question:

>>>>  First, set the door on/off state mode: AT+MOD=1

 

Is it possible to do this via download packet ?   what is the hex payload for this ?

I was not able to find it in the manual.

 

Best Regards,

 

Faisal Imtiaz
Snappy Internet & Telecom
http://www.snappytelecom.net
Tel: 305 663 5518 x 232

Help-desk: (305)663-5518 Option 2 or Email: Sup...@Snappytelecom.net

 

Mengting

unread,
Jul 5, 2024, 9:42:35 PM (10 days ago) Jul 5
to Faisal Imtiaz, dragino-user, 邮件技术支持
Hi, Faisal,

LDS03A and CPL01 are different operating modes using the same firmware, the default AT+MOD=1 is LDS03A, and the corresponding downlink instruction is 0A 01.
I'm sorry for missing this explanation. 
Thank you for your reminding and I have added this explanation in the LDS03A user manual.


Best Regards
Ting
Technical Support Engineer

说明: 说明: DRAGINO-LOGO-签名 

Dragino Technology Co., Limited

Room 202, Block B, BCT Incubation Bases (BaoChengTai),  No.8 CaiYunRoad

LongCheng Street, LongGang District ; Shenzhen 518101,China

Direct: +86 755 86610829 |Fax: +86 755 86647123






------------------------------------------------------------------
发件人:Faisal Imtiaz <fai...@snappytelecom.net>
发送时间:2024年7月1日(星期一) 06:24
收件人:Qiu MengTing<ti...@dragino.cc>; "dragino-user"<dragin...@googlegroups.com>
抄 送:"邮件技术支持"<sup...@dragino.cc>
主 题:RE: 回复:回复:回复:回复:Needing Help with : LDS30A / DS03A door open sensor w/ Helium .

1.What is the best downlink code to query the firmware version and settings on the sensor ? (0x26 01 ? )

2.What would be the downlink code for wanting the alarm packet to be repeated every 10min as long as the Alarm is TRUE … (AT+TTRALARM=10 ? .. 0x0C 0A ? )

temp4cj.png
InsertPic_CD64%2804-16-15-32-48%29%281%29.png
image001.png
image002.png
image003.png
image004.png
image005.png
image006.png
Reply all
Reply to author
Forward
0 new messages