Skip to content

Reno989/lorawan-map-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRK LoRaWAN Map App

This is an LoRaWAN Map App which implements an public facing interface for the LoRaWAN GPS Tracker using leaflet and OpenStreetMap.

How it works

The data of the LoRaWAN Trackers get passed to the "uplink.php" file which stores them in the gps_data.json file, with the text_mappings.json additional texts for the tracker device IDs can be stored. From that two files the map application gets its data to be displyed on the OSM Map.

How to setup

  • ssh to your webserver
  • Create an folder
  • Run git clone https://github.com/zero-24/lorawan-map-app.git . inside the folder
  • Point your domain to the www folder
  • cp etc/constants.dist.php etc/constants.php
  • nano etc/constants.php -> Setup the constants within this file
  • composer install --no-dev
  • Create within "The Things Network" an webhook to the uplink.php (Integrations -> Webhooks -> Add webhook -> Custom Webhook)
  • Set the secret from the constants.php in the webhook config uplink.php?uplink_secret=<your-secret>
  • Save the webhook and let the data come

Optional Setup

Custom Favicon

Special Thanks

Alex @ AEQ-WEB & René Wildemann

About

zero-24 DRK LoRaWAN Map App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.6%
  • CSS 0.4%