This is a Nerves project to display the weather conditions at local airports using LEDs. Here's a photo gallery.
It was designed to run on a Raspberry Pi Zero W with a string of WS2811 LEDs.
- asdf installs of:
- Elixir 1.13.1
- Erlang 24.1.7
- Nerves installation
- direnv (optional)
-
Copy an existing map config file, e.g.
config/maps/ny_rpi0.exs
, and modify. -
Copy
.envrc-example
to.envrc
and modify the environment variables. -
Set up the environment.
direnv allow brew install fwup squashfs coreutils xz pkg-config asdf install mix archive.install hex nerves_bootstrap 1.11.5 mix deps.get
-
Build and upload the firmware.
mix firmware # Burn to an SD card mix burn # -OR- upload to an existing Pi mix upload metar-map.local
MIX_TARGET=host iex -S mix phx.server