Hi,
Does this software:
tftelkamp/single_chan_pkt_fwd
on github still work on ttn?
I got it working on the rPi, but am not able to see anything on ttn in my console
Regards
Hans
Hi,
Does this software:
tftelkamp/single_chan_pkt_fwd
on github still work on ttn?
I got it working on the rPi, but am not able to see anything on ttn in my console
Regards
Hans
Good question. I have exactly the same problem. In the meantime I will try the Dragino LG01.
Br Peter
I made a single gateway with RPI and RFM95. Does this single gateway only listen or also transmit RF out?
Yes, I finally got it working on 13.66.213.36:1700
Hi ItParadyske
I used https://github.com/hallard/single_chan_pkt_fwd with my Lorawan Hat. It is working well with 6 commands.
cd /home/pi
git clone https://github.com/hallard/single_chan_pkt_fwd
cd ~/single_chan_pkt_fwd
sudo nano global_conf.json
make
sudo /home/pi/single_chan_pkt_fwd/single_chan_pkt_fwd
Somsak
I can confirm that hallard’s version for Raspberry Pi works well.
It has 4 advantages over tftelkamp’s original version (latter is no longer maintained):
Below is a list of actual, up-to-date RFM9x / SX127x-based single channel gateway implementations:
(Last updated on: 2017-12-05)
For Raspberry Pi
For ESP8266
https://github.com/things4u/ESP-1ch-Gateway-v5.0
Supports ABP and OTAA activation, downstream messages(?), single frequency with multiple spreading factors, Web interface, WifiManager, OTA, I2C OLED display and ‘use gateway as a node’. Configuration is (partially) hard-coded (some configuration changes require recompilation while others can be changed via web interface, if enabled). (Written in C++.)
https://github.com/JaapBraam/LoRaWanGateway
Supports ABP and OTAA activation, downstream messages and single frequency with multiple spreading factors. Configuration via separate file (but file also contains code). (Written in Lua.)
For ESP32
https://github.com/kersing/ESP-1ch-Gateway-v5.0
This fork of ‘things4u ESP-1ch-Gateway-v5.0’ for ESP8266 has added support for ESP32 and (Heltec) Wifi LoRa 32 modules.
Supports the same features as things4u’s implementation but currently does not support WifiManager and OTA. (Written in C++.)
https://github.com/pycom/pycom-libraries/tree/master/examples/lorawan-nano-gateway for the LoPy (ESP32 board running MicroPython interpreter).
Supports ABP and OTAA activation, downstream messages, single frequency (not clear if multiple spreading factors are supported), configuration via separate configuration file that can be uploaded via USB or FTP. Lacks description / instructions / readme.md. (Written in MicroPython.)
.
NOTES:
For ESP8266
Good summary @bluejedi
If in the case it does not support OTAA, it means that gateway only have one way communication, right? It will be excepted by my country law if it does not transmit or transmit < 50mW (eirp).
Somsak
Thanks.
OTAA requires downstream traffic from gateway to node (‘end-device’). ABP only requires upstream traffic from node to gateway. So upstream only.
In practice it would be possible to support downstream messages but not support OTAA, but hallard’s gateway for Raspberry Pi (currently) supports neither OTAA nor downstream messages.
True, but only if the node does not use ADR or other downlinks. (For ABP, there is simply no joining phase as the “session” keys have already been programmed into the device, so no downlinks are needed to join the network. Once those keys are known, OTAA and ABP devices act the same for uplinks, downlinks, ADR, and so on, until an OTAA device somehow loses its keys and needs to join again.)
Hmmm, assuming we’re referring to gateways for TTN: I doubt that. If TTN thinks a gateway can do downlinks, I don’t think it’s going to use that only for “data” downlinks, and not for OTAA (or ADR, or other MAC commands)? Gateways just forward whatever the node or backend gives them; they don’t know if a downlink is some OTAA Join Accept or any other type of downlink.
Thanks I now have the whole chain working!
Node, single channel gateway, ttn configuration and http output to my own website…
regards
Hans
In the ESP32 section there also is the lorawan nano gateway code for the LoPy - written in µpython.
https://docs.pycom.io/chapter/tutorials/lopy/lorawan-nano-gateway.html
Thanks. If you or someone else can specify which features and MCU platforms this single channel gateway supports then I can update it in above list of single channel gateways.
It supports OTAA, ABP and downstream messages.
The configuration is kept separately in a dedicated file that can be uploaded to the board using USB or FTP - and maybe other network protocols on the wifi side like HTTP, haven’t tried.
It listens on a single frequency, but I’m not sure about multiple SF or not.
As for the MCU, this was written for a LoPy : ESP32 board running the micropython “interpreter” from pycom. I don’t know if it is possible to flash that on a different ESP32 board, but it should with some tweaking as it’s all opensource.
Thanks. Added it to the list.
Fixed.
(Pity that the code lacks any instructions in a readme.md.)
Thanks to LoRa ESP developers! Wanted to share idea to use Tic-Tac enclosure for the LORA ESP8266 single ch GW glued to the window glass and a Thing with Arduino and HTU21.
Also, Tic-Tac boxes can easily be cut to get a smaller size, while still fitting their white top:
Do you think this module can be used a non-solder single channel Lora Gateway?https://es.aliexpress.com/item/868-MHz-915-MHz-SX1276-ESP32-LoRa-0-96-Pulgadas-de-Pantalla-OLED-Azul-Kit-32/32836591865.html?spm=a219c.12010108.1000023.4.7012662dCWvGFn