Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apexskier/mifi-gps
GPS logging from a Inseego 5G MiFi M2000
https://github.com/apexskier/mifi-gps
Last synced: 6 days ago
JSON representation
GPS logging from a Inseego 5G MiFi M2000
- Host: GitHub
- URL: https://github.com/apexskier/mifi-gps
- Owner: apexskier
- Created: 2022-07-01T22:46:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-09T00:48:59.000Z (over 2 years ago)
- Last Synced: 2024-06-19T22:57:52.261Z (5 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Stores a history of GPS locations from a Inseego 5G MiFi M2000 device in a remote Postgres database.
Setup:
1. Set up the database with the [setup script](./db.psql).
2. Build the binary `go build .`
3. Run the binary with `./mifi-gps`, with the following environment variables set
* `MIFI_GPS_DBCONNSTR` set to your DB connection string (this'll have address and credentials)
* `MIFI_GPS_MAPSAPIKEY` set to a google static maps api keyA web server will be exposed at http://0.0.0.0:8080. Protect it as you like.
The Mifi is expected to be available at http://192.168.1.1:11010 (that's the standard port, and standard IP if you're directly connected to it).