Tasmota LoraWan after Join, no communication #22880
Replies: 2 comments 17 replies
-
I happen to have the same hardware and were able to join the LDS01 with Tasmota but.... As Tasmota uses a fixed frequency most Lora devices will fail to connect during Join as they try different frequencies Tasmota does not support. So you'll have to tell the LDS01 first to stay on one frequency while trying to join. To configure the LDS01 you'll have to serial connect to it and perform the following commands:
Then try to join and aftwerwards perform:
This will fix the join frequency to 868.1 |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I will update the code in the next few days with the battery status and timestamp. Thx @sfromis @s-hadinger @arendst for your help!
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
first of all I want to apologize for my English, if it's hard to understand, it's the fault of DeepL.
I have been trying to install Tasmota 14.4.1 on an ESP32
LILYGO TTGO Lora 868Mhz OLED 0.96 to run.
I have also tried it on another ESP Lora board, but it didn't work either. The error pattern is identical.
As a Lora device or LoraWan device, I use an LDS02 door contact sensor from Dragino (I have several of them, none of them work with Tasmota).
My problem is as follows.
I am configuring Tasmota correctly as far as I can tell, as I can see the “Join” attempt in the console and also receive other LoraWan devices from time to time if they are transmitting on the correct frequency and have the correct “SpreadingFactor”.
After the device has connected to Tasmota (after add the device with the command LoraWanAppKey1 ec91633879e14b9a87bad7c4ba4a9aee), it is unfortunately over. When I open or close the door contact, it sends a message, but Tasmota does not receive it because the frequency with which the sensor sends the message and the “SpreadingFactor (SF)” do not match the value set in Tasmota (868.1 / SF 7).
I am also a bit confused about the message
“Send (577032) ‘207BF45F2DB1091B88821D6714D101CD33’, Invert 1, Time 53”
what does this mean, I have not found anything in the documentation.I have various screenshots and logs available, I hope someone has an idea why this is happening.
I still have a Dragino Gateway and Chirpstack active here, the sensor is not connected to ChiprStack/Gateway, but I can use it to check whether the messages were sent by the sensor and on which frequency/SF.
The timestamp in Chipstack is unfortunately offset by 2 minutes and a few seconds, but you can see that the message in Chipstack changes from “Join” to “UnconfirmedDataUp” after the door contact sensor has communicated with Tasmota.
The sensor has the devEUI: “a84041709189509f” and the devAddr: “00c9e970”
If I send messages via a second ESP/Lora using the “LoraSend” command, they arrive without any problems. Only the LoraWan messages are not displayed because of the frequency/SF “hopping”.
If the sensor transmits on the correct frequency/SF, then I get the entry as in the Tasmota documentation
Example from Theo (as I don't have one available as I write this)
{“LwReceived”:{“LDS01”:{“Node”:1,“Device”:“0x4AD6”,“Name”:“LDS01”,“RSSI”:-49.0,“SNR”:9.5,“DevEUIh”:“A840410E”,“DevEUIl”:“71894AD6”,“FPort”:10,“Payload”:[11,196,1,0,0,2,0,0,19,0]}}}
I would be very grateful for any tips. I'm not a programmer, so please take this into account if you have any questions or tips 😊
Regards Eddy
Beta Was this translation helpful? Give feedback.
All reactions