New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LORA] Improvements #1742
[LORA] Improvements #1742
Conversation
Merge of the 2 environments for TTGO V1
I just sorta of glanced through the changes, and have a couple of questions:
|
It should display packet received, I have tested it with the reception of packets until now, LORAtoMQTT
Yes I could do that, I'm curious about the use cases around changing the sync word ? |
Here is a copy of a write-up I did on the Sync word: I think in general it should only be x12, but I have seen others change it (example, "Priceless Toolkit" changed it for his LoRa mail-box sensor). |
Wow, thank you very much!! I will test it this week. What structure should the sent data "LoRa" have, Json? |
Here is an example of json that should be sent by the node: {
"model": "ESP32TEMP",
"id": "ESP32_MAC_ADDRESS",
"tempc": "TEMPERATURE_IN_CELSIUS"
} You can also refer to the example with this PR I added OpenMQTTGateway/main/config_mqttDiscovery.h Line 139 in bfca747
|
@PricelessToolkit @tommyjlong any feedback before I merge this ? |
Hi, unfortunately, I have not tested it yet, I don't have time "disaster in my lab" I'll do a test as soon as I have time. |
I will test it later 👍 |
Last time I tried sync word is ignored. Maybe we can use it in future for detect encryption. |
Hi, unfortunately, no time to test this out either (and so no further comments). |
@nikito7 I introduced the support as a byte September 15th, not sure if you did your test before or after |
Before. Can we ignore this?
|
Yes I can add a boolean to do so |
It work. Sender code is mine.
|
Thanks, I will add the capability to ignore raw message and merge it |
This enables to filter only the lora message recognized
Description:
id
and one of the following keystempc
,hum
, ormoi
, it will be auto-discovered into Home Assistant as a device. Note that amodel
can also be sent optionally.Checklist: