GPS Pulse-Per-Second drives hardware interrupt. #Rpi traccar software, and reports to traccar software via OSMAND HTTP protocol (all done on loopback interface) #Rpi traccar codePython code receives position and battery reports via the LoRa radio (For the HopeRf RFM98 lora module you have to adapt the DIO and SPI port definitions - instructions here: Offline openstreetmap tiles are created with software and saved to the Pi See here for rough instructions (basically overwrite any reference to servers with your Pi tilestache server - editing the traccar.war file in ubuntu File Roller (archive manager) works quite well) #Rpi traccar modThe off-the-shelf tracking portal can accept our offline tilestache maps quite easily (need to define the custom map source in the Config section AND configure the user accounts to use the custom map source), but the litvak.su traccar-web mod required some butchering. or any URL would work when connected to the Pi AP)Īpache2 on Pi gives some flexibility in redirecting http requests to localhost to our auto-logon guest URL Running modified 'traccar-web' UI to allow auto-login as guest on mobile devices:ĭnsmasq on Raspberry pi acts as DNS and DHCP server for connected clients.ĭnsmasq also catches all HTTP requests and redirects to localhost - end users just connect to the hostpot then browse to any (non-https) web address - good for catchy marketing! (e.g. Tracker server software configuration at 16:36.This way no internet connection is needed at any point for tracking, logging or displaying positions on a map. The Raspberry pi is set up as a WiFi hotspot with DHCP and DNS, and serves the GPS map server to any connected devices (mobile phones, tablets) as a captive portal. mbtile format are created beforehand using and Openstreetmap data overlayed with GPX trails of race route if required, and then stored on the Pi SD card. Openstreetmap tiles or other custom map tiles are downloaded to the Pi ahead of time, and served on the Pi via installed on the Pi. Open-source GPS tracker software or receives the reconstructed GPS position reports and displays on webpage map interface. Python code on the Pi adapted from receives LoRa telemetry, formats and fowards it over loopback connection to GPS tracker server running on the same device. The service will automatically start on boot so it’s not required to perform any other steps at this point.HopeRF RFM98W modem on uputronics shield is mounted on a Raspberry Pi. #Rpi traccar passwordYou should be greeted with a web interface, the default username and password is admin. When finished open a browser on the same network and try to connect to server using the ip address and port 8082. #Rpi traccar installNext all of the commands needed to install the server are described below: sudo mkdir /opt/traccar & cd /opt/traccar sudo wget Grab the download link, connect to the raspberry pi using your favorite method, I used SSH on the local network. We’re going to be using the linux arm release, because the raspberry pi runs on an arm processor. Next step is to setup the tracking server, the name of the software is Traccar and here is their website.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |