MeidokonWiki:

makarov

Build notes

Now the hardware support, I stole bits of this from Mopidy's install docs.

Now reboot and cross your fingers.

network

Static DHCP assignment in IOT VLAN, it should have minimal access privileges, it literally only needs web access. No IPv6 apart from usual linklocal stuff.

services

apps

Muzak app

Runs mpv with a playlist of Youtube links, super basic. Audio goes out through an I2S soundcard. Playlist loops forever as you'd expect. Playlist and extra stuff is in /home/pi

Frontpanel app

A python script with some basic GPIO interfacing, controls mpv by talking to its JSON-IPC socket. Displays images and UI on the LCD screen.

Optimisation

Aim to disable as much stuff as possible, to reduce CPU load and boot times.

Try to disable:

Read only system

Make the filesystems read-only, as much as possible. Refer to this: https://medium.com/@andreas.schallwig/make-your-raspberry-pi-file-system-read-only-raspbian-buster-c558694de79

apt purge triggerhappy
systemctl disable console-setup
apt purge logrotate

apt install busybox-syslogd
apt purge rsyslog

systemctl stop dphys-swapfile.service
apt purge dphys-swapfile

apt autoremove -y

MeidokonWiki: servers/makarov (last edited 2022-04-14 12:57:52 by furinkan)