Files
ansible/host_vars/musicdolphin.yml
Martin Bauer f434429dd1 Switch musicdolphin from a Pi 4 to a Pi 5
The SD card moves over as is, so:
- pi_standard_setup can install the Pi 5 kernel (linux-image-rpi-2712, an arm64
  package on the armhf userland), which a Pi 4 image lacks. Opt-in via
  pi_standard_setup_install_pi5_kernel.
- The Pi is powered through the HiFiBerry board's GPIO header, so it cannot negotiate
  a 5A supply and would cap USB at 600mA. pi_hifiberry_amp sets
  usb_max_current_enable=1 when hifiberry_powers_pi is true (default false).
- The DHT22 poller is off: Adafruit_DHT bit-bangs BCM283x registers, which the Pi 5
  no longer has (GPIO sits behind the RP1 chip).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-21 12:17:53 +02:00

38 lines
1.8 KiB
YAML

---
squeezelite_name: Wohnzimmer
pi_shairport_name: _Oben_Wohnzimmer
alsa_card_name: sndrpihifiberry
sensor_room_name_ascii: wohnzimmeroben
sensor_room_name: WohnzimmerOben
hifiberry_overlay: hifiberry-dacplus
main_user: root
mediapi_has_hifiberry_amp: true
mediapi_ir_control: irserver
# Off for the Pi 5: the legacy Adafruit_DHT library bit-bangs the BCM283x registers,
# which the Pi 5 no longer has (GPIO sits behind the RP1 chip), so the poller cannot
# work there. Needs a libgpiod-based replacement before this goes back to true.
mediapi_has_dhtsensor: false
# Raspberry Pi 5. The SD card came from a Pi 4, whose image has no Pi 5 kernel.
pi_standard_setup_install_pi5_kernel: true
# The Pi is fed 5V through the HiFiBerry board's GPIO header, not USB-C, so it cannot
# negotiate a 5A supply and would cap USB current at 600mA.
hifiberry_powers_pi: true
# Display-only MusicMouse instance: no physical mouse attached, shown on the monitor
# via pi_kiosk instead. See roles/pi_musicmouse/files/config-musicdolphin.yml.
mediapi_install_kidsmusic: true
# The native Slint front-end is not deployed here; the browser kiosk is the front-end.
mediapi_install_slint_frontend: false
mediapi_has_monitor: true
# Temporarily a debuggable desktop rather than a locked-down kiosk: Openbox root menu,
# visible pointer, Firefox in a normal window. Set back to "kiosk" when done.
pi_kiosk_mode: debug
# ?pi=1 is the front-end's Raspberry Pi profile (web/src/lib/lowPower.ts): the ambient
# canvas at a quarter of the pixels and 30fps, the progress bar re-rendering ten times
# a second instead of sixty, and no backdrop blur. Drop the parameter in the address
# bar to compare against the full-fat version on the same machine.
pi_kiosk_url: "http://localhost:8080/?pi=1"
musicmouse_version: deploy/musicdolphin