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
AT+TTRIG2=0,0
AT+TTRALARM=1
AT+COUNTMOD=1 ---------------->AT+COUNTMOD=0 Downlink payload: 0B 00
Best Regards
Ting
Technical Support Engineer
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.
Thank you very much Mengting,
I believe the firmware version is older and varied.
A couple of quick additional follow-up questions.
Regards,
Faisal Imtiaz
Best Regards
Ting
Technical Support Engineer
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 .
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 ---->Base64:qQEBAlg=
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=
------------------------------------
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 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 .
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 ? )
Best Regards
Ting
Technical Support Engineer
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 .
Best Regards
Ting
Technical Support Engineer
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.
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
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,
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
Best Regards
Ting
Technical Support Engineer
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 ? )
To view this discussion on the web visit https://groups.google.com/d/msgid/dragino-user/LV2PR12MB58008248BCC2102F271CD2A8C7D02%40LV2PR12MB5800.namprd12.prod.outlook.com.