This repository contains the MicroMPX setup for ZuidWest FM in the Netherlands. It is compatible with Raspberry Pi 4 or 5 and uses a HiFiBerry DAC2 Pro XLR for MPX output. The repository facilitates downloading the latest version of the MicroMPX decoder from Thimeo, which systemd manages as a service.
- Install Raspberry Pi OS Lite 12 (Bookworm).
- Ensure you are root by executing
sudo su
. - Download and execute the installation script with the command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/oszuidwest/rpi-umpx-decoder/main/setup.sh)"
. - After rebooting, MicroMPX should be accessible at
http://{{ip}}:8080
.
MicroMPX and HiFiBerry boards are compatible with the Raspberry Pi 5. Currently, there is a firmware bug that necessitates manually editing the /boot/firmware/config.txt
file. Add ,slave
to the dtoverlay
line for the HiFiBerry, such as dtoverlay=hifiberry-dacplus,slave
.
Optionally, heartbeat monitoring can be integrated. In this configuration, the Pi will execute wget --spider
on a specified URL every minute to serve as a heartbeat. This can be any URL, but testing was conducted with Uptime Robot. Note that a paid Uptime Robot account is required for heartbeat monitoring.
This script introduces several modifications to the default MicroMPX behavior, which we believe enhance the setup:
- Logs are automatically deleted after 7 days instead of the default 30 days in MicroMPX. A cron job is set up to manage this.
- To preserve the SD card from excessive writes, logs are written to a RAM disk instead of the SD card. MicroMPX logs can be quite verbose, and without this modification, we have experienced failures with some SD cards.
- The HDMI audio output is disabled, allowing the analog output to be used for signal monitoring. Therefore, we recommend using a Raspberry Pi 4, as it still offers an analog output.
This project is licensed under the GPLv3 License - see the LICENSE file for details.
For bugs, feedback, and ideas, please contact us at techniek@zuidwesttv.nl
or file a pull request with your idea.