Warning: This project is under active development and could break at any time!
These steps are a bit convoluted at the moment but I plan to add scripts to automate it soon (PRs welcome).
Assuming Nerves and Phoenix (and npm and brunch) are installed:
git clone https://github.com/electricshaman/squitter.git
(takes a little bit)cd squitter/web
mix deps.get
cd assets
npm install
brunch build --production
cd ../../firmware
export MIX_TARGET=rpi3
export SQUITTER_NETWORK_SSID="White Government Van"
export SQUITTER_NETWORK_PSK="nothingtoseehere"
- Edit site location in
config/config.exs
for your site location's GPS coordinates. Also change this insquitter/web/lib/squitter_web/views/aircraft_view.ex
(temporarily hard coded). mix deps.get
mix firmware && mix firmware.burn
Assuming Nerves and Phoenix (and npm and brunch) are installed. Nerves is still needed even if you are running squitter locally.
git clone https://github.com/electricshaman/squitter.git
(takes a little bit)cd squitter/web
mix deps.get
cd assets
npm install
brunch build --production
cd ../../firmware
- Edit site location in
config/config.exs
for your site location's GPS coordinates. Also change this insquitter/web/lib/squitter_web/views/aircraft_view.ex
(temporarily hard coded). - If dump1090 is not available on your PATH, change the dump1090_path config to point to it.
export MIX_TARGET=host
# Only needed if you previously set MIX_TARGET to rpi3mix deps.get
iex -S mix
Assuming Nerves and Phoenix (and npm and brunch) are installed. Nerves is still needed even if you are running squitter locally.
git clone https://github.com/electricshaman/squitter.git
(takes a little bit)cd squitter/web
mix deps.get
cd assets
npm install
brunch build --production
cd ../../firmware
- Edit site location in
config/config.exs
for your site location's GPS coordinates. Also change this insquitter/web/lib/squitter_web/views/aircraft_view.ex
(temporarily hard coded). - Point
avr_host
to the host which has dump1090 running (it should be running on the remote host with the--net
option so that it exposes raw frames over port 30002). export MIX_TARGET=host
# Only needed if you previously set MIX_TARGET to rpi3mix deps.get
iex -S mix
Copyright (C) 2017-2020 Jeff Smith
Squitter source code is licensed under the MIT License.