Raspberry Pi 3 as wifi hotspot with captive portal.
Saving OpenSteetMap tiles for offline serving
Maperitive (http://maperitive.net/) used to download openstreetmap tiles to raspberry pi.
Linux (ubuntu 14.x x64) failed with error when running generate-mbtiles , so used Windows version to generate mbtiles instead.
Serving OSM tiles offline on raspberry pi
Trying out Tilestache to serve the mbtiles locally on the pi, for consumption by tracking app.
tilestache.org (installed via pip)
http://tilestache.org/
config file for tilestache:
GPS Tracking application / user portal
trying Traccar.org in the first instance. Server install for ARM is available. Hopefully will be able to configure it to consume the locally served OSM tiles. Alternatively will try OpenGTS.
Receiving race unit positions
Race unit positions are received by HopeRF RFM98 modem on the same Raspberry pi, and converted into suitable sentences by python script.
LoRa Receiver board for Raspberry pi
hardware: https://store.uputronics.com/
software: Python: base don https://github.com/mayeranalytics/pySX127x
Python needs to be adapted for uputronics board pinouts - got it working but with a random crash of Pi every now and then when running for the first time.....will post code on git when I get a minute.
Raspberry Pi as Wifi access point and captive portal (redirecting users straight to tracking server web front end)
I have used this method in the past: DHCP+DNS+hostapd server
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/overview
Captive portal via DNS catchall - probably a better way to do it.
No comments:
Post a Comment