This is a beginners question, so please be gentle. Recently I acquired two second-hand LDS01 door sensors as my first devices. The gateway they are supposed to connect to is a Dragino LPS8 indoor-gateway. Unfortunately I am unable to make them join.
Both devices keep sending join requests which are approved:
But they never receive the answer. This is what the console on the devices keeps saying:
[644596]***** UpLinkCounter= 0 *****
[644600]TX on freq 868100000 Hz at DR 5
[644674]txDone
[649661]RX on freq 868100000 Hz at DR 5
[649696]rxTimeOut
[650701]RX on freq 869525000 Hz at DR 0
[650908]rxTimeOut
[651618]***** UpLinkCounter= 0 *****
[651622]TX on freq 868100000 Hz at DR 5
[651696]txDone
[656682]RX on freq 868100000 Hz at DR 5
[656717]rxTimeOut
[657724]RX on freq 869525000 Hz at DR 0
[657931]rxTimeOut
[658639]***** UpLinkCounter= 0 *****
[658644]TX on freq 868500000 Hz at DR 4
[658769]txDone
[663758]RX on freq 868500000 Hz at DR 4
[663797]rxTimeOut
[664796]RX on freq 869525000 Hz at DR 0
[665003]rxTimeOut
Right now I am at a loss. I have the suspicion that the devices have been re-configured by the previous owner in a way that makes them unable to receive the join accept messages. But maybe I am wrong there.
Can somebody point me in a direction where I can start troubleshooting this issue?
Almost always, failure to join when there is a join accept being sent is about distance from gateway - too close and it will overload the device receiver - 10m or more plus a wall is good - for such a small device with such a small antenna, maybe no more than a few hundred metres.
Can you look on the gateway console and tell us what the RSSI & SNR is for the Join Request please, that will give us an idea of signal strength etc.
Thank you for your reply. This is what I found in the gateway’s console:
Sun Dec 8 21:09:09 2024 daemon.info fwd[19285]: JOIN_REQ:{"Size":23, "Rssi":-91, "snr":8, "AppEUI":"0000000000000000", "DevEUI":"A84041FAB18298B8"}
Sun Dec 8 21:09:09 2024 daemon.info fwd[19285]: DEBUG~ [db] Unable to find key 'appskey' in family 'devinfo/00000000'
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]:
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]: PKT~ [server-down] {"txpk":{"imme":false,"tmst":716557467,"freq":868.5,"rfch":0,"powe":14,"modu":"LORA","datr":"SF7BW125","codr":"4/5","ipol":true,"size":33,"ncrc":true,"data":"IP3npQD/J3UgMuukt2z32uF70lMo25lQNFMijzuJazBT"}}
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]: DEBUG~ [server-down] A packet enqueue, us=716557467, cur_us=713415090
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]: #########DEBUG###########
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]: 20FDE7A500FF27752032EBA4B76CF7DAE17BD25328DB99503453228F3B896B3053
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]: #########DEBUG###########
Sun Dec 8 21:09:11 2024 daemon.info fwd[19285]: JOIN_ACCEPT:{"Size":33, "NetID":"00FF27", "DevAddr":"EB322075", "DLSettings":{"RX1DRoffset":2, "RX2DR":4}}
Sun Dec 8 21:09:12 2024 daemon.info fwd[19285]: [LBT-TTY] uart open /dev/ttyUSB0 failed!ERROR~ [LBT] cannot open tty path, continue
Sun Dec 8 21:09:13 2024 daemon.info fwd[19285]: INFO~ [server-down] PULL_ACK received in 33 ms
Sun Dec 8 21:09:14 2024 daemon.info fwd[19285]: WARNING~ [JIT] lgw_send failed, chan(868500000) unaviable(lbt)
So I moved one of the devices to the basement, the gateway is in the attic. Thats a couple of walls and ceilings, and should amount to a distance of about ten meters. I even connected it to a bench power supply to make sure the battery is not an issue. And it started to work.