LoRaGateway: Difference between revisions

From RevSpace
Jump to navigation Jump to search
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
   {{Project
   {{Project
   |Name=LoRaGateway
   |Name=LoRaGateway
   |Picture=Nog_geen_plaatje.png
   |Picture=LoRaGateway-Dak-Overgoo.jpeg
   |Omschrijving=Een LoRa gateway voor the-things-network
   |Omschrijving=Een LoRa gateway voor the-things-network
   |Status=In progress
   |Status=Completed
   |Contact=bertrik
   |Contact=bertrik
   |Contact1=User:Dave_o
   |Contact1=User:Dave_o
Line 10: Line 10:


=== Introduction ===
=== Introduction ===
This page is about a LoRa gateway at RevSpace configured for the-things-network (TTN).
This page is about a LoRaWAN gateway at RevSpace configured for [https://www.thethingsnetwork.org/ The-Things-Network (TTN)], kindly provided by Dave_O.


It's a Kerlink, some essentials properties:
With this piece of hardware we are able to receive LoRaWAN packets and forward them to The Things Network.
* LoRaWAN EUI: 0000024B080606AC
 
The Things Network act as hub and collects all these packets from hundreds of receivers world-wide. Read more about their network [https://www.thethingsnetwork.org/wiki/Home on their wiki]. Why do we "team up" with The Things Network? [https://github.com/TheThingsNetwork/Manifest].
 
=== Hardware ===
It's a Kerlink, some essential properties:
* LoRaWAN EUI: <strike>0000024B080606AC</strike> revspace-kerlink
* eth0 MAC address: 02:4B:08:06:06:AC
* eth0 MAC address: 02:4B:08:06:06:AC
* Last known IPv4 in the RevSpace LAN: 10.42.45.15
* Last known IPv4 in the RevSpace LAN: 10.42.45.15 (perhaps 10.42.43.95)


=== Hardware ===
The gateway is currently mounted on top of the roof.
The gateway itself is physically mounted in the ceiling of a disused lavatory on the second floor (with a broken light and a sign that says "Beware of the Leopard").
It's connected to our discone antenna.


=== Configuration ===
=== Configuration ===
Configuration files for TTN in general can be found here:
Configuration files for TTN in general can be found in /mnt/fsuser-1/ttn-packet-forwarder
* in /mnt/fsuser-1/thethingsnetwork


The gateway is configured for NTP in /etc/ntp.conf to use X.nl.pool.ntp.org where X goes from 0 to 3.
The gateway is configured for NTP in /etc/ntp.conf to use X.nl.pool.ntp.org where X goes from 0 to 3.


The gateway has been configured for "poly"-packet forward, also sending it's data to the gatewaystats.org website where statistics are kept
The gateway uses the [https://github.com/TheThingsNetwork/packet_forwarder packet forwarder].
(number of unique nodes, log of all received packets, etc.)


=== Status and diagnostics ===
=== Status and diagnostics ===
Online status:
Online status:
* [https://staging.thethingsnetwork.org/gatewaystatus official TTN gateway status] page and search for 0000024B080606AC
* https://mapper.packetbroker.net/api/v2/gateways/netID=000013,tenantID=ttn,id=revspace
* [https://gatewaystats.org/gateways/0000024b080606ac gateway stats page] (requires login)
* [https://ttnmapper.org/heatmap/private/?gateway=revspace&network=NS_TTS_V3://ttn@000013 TTN mapper page]
* [http://ttnmapper.org/?gateway=0000024b080606ac TTN mapper page]
* grafana graphs showing usage by SF, time, etc https://revspace.nl/grafiekjes/d/000000004/lora-gateway?orgId=1&refresh=1m
 
To see what the gateway is communicating with the TTN, run the following on the gateway:
<pre>
tcpdump -i eth0 -n -vvvX host router.eu.thethings.network
</pre>
This should show a packet once every 30 seconds with some stats.
 
You'll also see some JSON packets for each packet received.

Latest revision as of 20:15, 24 May 2024

Project LoRaGateway
LoRaGateway-Dak-Overgoo.jpeg
Een LoRa gateway voor the-things-network
Status Completed
Contact bertrik, User:Dave_o, Maxell
Last Update 2024-05-24

Introduction

This page is about a LoRaWAN gateway at RevSpace configured for The-Things-Network (TTN), kindly provided by Dave_O.

With this piece of hardware we are able to receive LoRaWAN packets and forward them to The Things Network.

The Things Network act as hub and collects all these packets from hundreds of receivers world-wide. Read more about their network on their wiki. Why do we "team up" with The Things Network? [1].

Hardware

It's a Kerlink, some essential properties:

  • LoRaWAN EUI: 0000024B080606AC revspace-kerlink
  • eth0 MAC address: 02:4B:08:06:06:AC
  • Last known IPv4 in the RevSpace LAN: 10.42.45.15 (perhaps 10.42.43.95)

The gateway is currently mounted on top of the roof.

Configuration

Configuration files for TTN in general can be found in /mnt/fsuser-1/ttn-packet-forwarder

The gateway is configured for NTP in /etc/ntp.conf to use X.nl.pool.ntp.org where X goes from 0 to 3.

The gateway uses the packet forwarder.

Status and diagnostics

Online status: