General question to ESPEasy and Lora outdoor node

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

General question to ESPEasy and Lora outdoor node

#1 Post by UserChristian » 16 Jul 2020, 13:39

On my floor I’ve an LILYGO board with Lora module (SX1278) and the actual ESP Easy firmware installed.
The module is already connected to my wireless lan and the communication to Emoncms is also working.
Now I want to build up an outdoor sensor node and connect it to my ESPEasy-Board.
Therefore I have a few questions:
1. Is it possible to receive or communicate with Lora-Nodes?
2. If yes, could somebody send me please an example project?
In advance, thank you very much

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: General question to ESPEasy and Lora outdoor node

#2 Post by TD-er » 16 Jul 2020, 13:43

The SX12xx chips are not yet supported in ESPEasy.
The only TTN/LoRaWAN support yet available is for the Microchip RN2483 modules.

Just curious, in what country do you live since you have the 433 MHz LoRa modules (SX1278).

UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

Re: General question to ESPEasy and Lora outdoor node

#3 Post by UserChristian » 16 Jul 2020, 14:41

I am living in Germany but I have ordered the modules from China.
The module is only for testing, if there is an easy way to use other lora module on ESPEasy, I will switch to it. I need just an idea or an example, how I can connect different nodes to Emoncms.
The direct connection of sensors to ESPEasy I have already undertand, but not how to connect and integrate far away sensors to it.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: General question to ESPEasy and Lora outdoor node

#4 Post by TD-er » 16 Jul 2020, 14:54

I don't know what EmonCMS needs.
If you plan to use TTN (The Things Network), you may be able to read the values via MQTT, or one of the other options to get back the received data from the TTN servers.
Like I said, the only supported LoRaWAN option right now is to use the Microchip RN2483 modules and as far as I know there is no board available for sale that uses these. (I made my own boards for these)

UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

Re: General question to ESPEasy and Lora outdoor node

#5 Post by UserChristian » 16 Jul 2020, 15:17

As far as I know, EMONCMS is ultimately just an MQTT server. So the protocol to the server should work normally.
I already got some information about the TTN and also thought about building a Lora gateway. I found some instructions for this (e.g. on Youtube by Andreas Spiess #134). But how do I get the Data from my nodes to the gateway. I hope there is an easy way to use the EspEasy firmware for this, because I think the integration with the multitude of sensors is great and I don't want to do without it.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: General question to ESPEasy and Lora outdoor node

#6 Post by TD-er » 16 Jul 2020, 18:57

See here the 2 JavaScript files to decode the binary data sent to the TTN: https://github.com/letscontrolit/ESPEas ... a/misc/TTN
These should then be uploaded to your own TTN console in the decoder and converter script fields.
In the ESPEasy TTN/RN2483 controller you must set the used credentials and app key and then you're good to go.
It is just as any other controller, you send data to it and it will be compressed and sent to the TTN/LoRaWAN network
The JavaScript files help to decode the received data and interpret it.

It will then be made available on the TTN MQTT broker, from where you must then fetch the data.
No idea how that should be pre-processed in EmonCMS.

UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

Re: General question to ESPEasy and Lora outdoor node

#7 Post by UserChristian » 16 Jul 2020, 20:24

Okay, now it's clear to me.
Thank you very much.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: General question to ESPEasy and Lora outdoor node

#8 Post by TD-er » 16 Jul 2020, 22:55

Just for your information.
There is an indoor TTN gateway available which costs roughly 75 euro.
It is called the TTIG: https://www.thethingsnetwork.org/docs/g ... ngsindoor/

That's a cheap way to get started with LoRaWAN/TTN.

UserChristian
Normal user
Posts: 22
Joined: 17 Feb 2020, 12:43
Location: Germany

Re: General question to ESPEasy and Lora outdoor node

#9 Post by UserChristian » 17 Jul 2020, 07:46

The gateway is very interested, because it has the eight channel module, but I am using the old 433Mhz band, and for that it is not avaliable.
Maybe in the future I will change to that band.
But thank you for sharing that link.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: General question to ESPEasy and Lora outdoor node

#10 Post by TD-er » 17 Jul 2020, 12:07

433 MHz is not used here in Europe as far as I know.
At least not for TTN.

Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests