Skip to content
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

Add LoRa/LoRaWAN #35

Open
roberbike opened this issue Dec 8, 2021 · 8 comments
Open

Add LoRa/LoRaWAN #35

roberbike opened this issue Dec 8, 2021 · 8 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@roberbike
Copy link

Add LoRa protocol to connect sensors over long distances and send data if no wifi network is available.

@melkati melkati added enhancement New feature or request good first issue Good for newcomers labels Dec 8, 2021
@melkati
Copy link
Owner

melkati commented Dec 8, 2021

Very good idea! Thank you for your suggestion! 😀

In fact I already bought some LoRa modules to start testing.

As soon as ESP-Now is working I'll start working on LoRa.

I guess ESP-Now will not be very difficult as I already have the communications code for ESP-Now write in the "Ultra Low Power Co2 Monitor" (unpublished by now, sorry). Left... to add to preferences, configuration menu, etc...

@melkati melkati removed the good first issue Good for newcomers label Dec 21, 2021
@freddujour
Copy link

Hi, If you need some testers, I can support with the lora heltec development board and rfm95 chipset

@melkati
Copy link
Owner

melkati commented Jan 11, 2022

Guys, I would like to know more from you about this feature request.

AFAIK (I'm not a LoRa expert, just had some play with TinyGS project) there may be two "levels" to implement it:

  1. A basic level where CO2 Gadget only has to send the data via LoRa and "some receiver" (probably the one I already have on development for the ESP Now implementation) receives the data, decodes the payload format and re-sends it some other way (MQTT, for example, as the ESP Now Gateway is doing right now). Note that this level is not LoRaWAN, just LoRa.
  2. An "advanced level" where CO2 Gadget can be integrated in a LoRaWAN network (as The Things Networks or another) so it must talk the official LoRaWAN protocol. Much more complex to do than basic level.

In order to better understand this, I need some more information.

  • What are your use cases?
  • Do you need real LoRaWAN implemented or just the basic LoRa.
  • If LoraWAN, do you have a real LoRaWAN Gateway to test the implementation and are willing to invest some time on helping the development (as I don't have a LoRaWAN Gateway myself)?

Many thanks in advance.

@melkati melkati pinned this issue Jan 11, 2022
@roberbike
Copy link
Author

roberbike commented Jan 12, 2022

I have 2 ttgo Lora and 1 ttgo t-beam. My target will be make 1 mono channel gateway connect to chirpstack, or TTN V3, and other Lora device with co2 gadget. Lorawan is needed for the gateway, this is the easy part. The co2 gadget only need to be Lora, I think, gateway is the device to receipt the datas and resent to the iot net.
I had an TTN V2 gateway, but with the changue to V3 , I lost my gateway. I need to restart with a new one.

@melkati
Copy link
Owner

melkati commented Jan 12, 2022

I will, probably, do some testing in the next few days.

After some help received in the Spanish LoRa / LoRaWAN Telegram group, looks like the way to go is to support full LoRaWAN and use the mcci-catena/arduino-lmic library.

I already have some different LoRa modules (raw modules and modems) and boards (the LoRa 32 from Heltec) so I think I'm ready for testing.

I'm a little worried about ESP32 memory use and if it will fit with the rest of features on CO2 Gadget (as WiFi, BLE and ESP Now). Maybe a different compiled flavor is necessary to exclude some features. Testing will say...

@melkati melkati added the help wanted Extra attention is needed label Jan 12, 2022
@freddujour
Copy link

freddujour commented Jan 12, 2022 via email

@melkati melkati changed the title Add LoRa connexion. Add LoRa/LoRaWAN Jan 16, 2022
@melkati
Copy link
Owner

melkati commented Jan 7, 2024

After two years, with limited interest or assistance, I have decided to close this. I will reopen it in the future if there is renewed interest.

@melkati melkati closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2024
@melkati melkati unpinned this issue Jan 12, 2024
@melkati
Copy link
Owner

melkati commented Jun 5, 2024

He construido e instalado en casa un Gateway LoraWAN conectado a TTN con la única intención de incluir esta funcionalidad en CO2 Gadget (bueno, y de paso contribuir a incrementar la cobertura de TTN en mi ciudad).

Retomará la inclusión de esta funcionalidad en cuanto tenga algo de tiempo.

@melkati melkati reopened this Jun 5, 2024
@melkati melkati self-assigned this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

3 participants