infra_wiki

radiopi0

A Raspberry Pi Zero W with a pHAT BEAT that runs Raspbian and a CloudEvents LED service that is not in git.

off-git

vendorRaspberry Pi
modelRaspberry Pi Zero W Rev 1.1
serial0000000056f8a6ff
revision9000c1
cpuBCM2835, ARM1176 (1c, armv6l)
ram512 MB LPDDR2
gpuBroadcom VideoCore IV
storage32 GB microSD
osRaspbian 10 (buster)
hatPimoroni pHAT BEAT (audio DAC, two 7-pixel LED bars)
casePimoroni Pirate Radio

radiopi0 is a Raspberry Pi Zero W on the Anchor network, folly's network for lab hosts. It lights its pHAT BEAT LEDs when it receives a CloudEvent. It runs Raspbian, and its NixOS config is not applied.

What it runs#

  • cloudevents-receiver, a Flask service that drives the LEDs on a dev.pulsifer.radio.request CloudEvent. Its code is in /usr/local/bin on the host and is not in git.
  • A node exporter, which clusters/folly/monitoring/local-node-exporters.yaml declares as a Prometheus target on folly at RADIOPI0_IP

Reach#

Reach it at radiopi0.lolwtf.ca as the user pi.

Quirks#

  • nix/hosts/radiopi0.nix builds on forge and has no LED service and no node exporter. If you apply it, folly fires PrometheusTargetMissing.
  • phatbeatd, the pHAT BEAT audio daemon, fails at boot.

Edit on GitHub

↑↓ move ↵ open esc close