Go through Volumio set-up. If the UI becomes unresponsive after connecting to your wifi, click next, next, done, and wait a moment to let it connect to wifi
Open Volumio app, click on device name, click Next Next... of quick onboarding. The UI might go gray after this, simply wait until it comes back. After another while, the Terms of Service pop up, click accept. Make a free Volumio account and log in (useful! With it you can access the Plugin store)
In the Volumio UI, open Menu --> Network to see IP address. If the UI is lacking menu text, simply wait a bit, and/or go out by swiping right from left edge of screen, and go back in
Go to 192.168.0.###/dev with browser, under SSH click ENABLE / feels like nothing happened. Don't worry, it did
In the Volumio app, go to menu --> button with on/off icon, select Power Off, and wait until shut down is complete (green led on Pi stops blinking). Pull out the USB C cable (this is the only time you need to do it) TO SET-UP THE ORANGE ON-OFF BUTTON
Take out SDCARD and put in PC/MAC
Download userconfig.txt (save link as...) and copy to SDCARD
Put SDCARD back in the Pi and press the orange button to turn on (From now on, pressing the orange button turns on the Pi when it is off and initiates shut down when its on. After shut down is complete, the power to the Pi is turned off (yes!) TO INSTALL FAN CONTROL
Open Windows File Explorer or Mac Finder
Go to \\yourplayername.local
Download fan_sw_PWM (save link as...), unzip, and copy to Internal Storage SOFTWARE PWM Works fine! And it is more easy to configure the temperature limits. But for the inclined, hardware PWM is available, too. Jump to step 22 to set it up with hardware PWM. SSH TO PI
SSH to 192.168.0.### with PuTTY or PiHelper (username: volumio, password: volumio, port 22)
RUN THE COMMANDS /hint/ commands can be copied to the terminal by CTRL-C, then right mouse click into the terminal sudo apt update sudo apt install python3-rpi.gpio sudo cp -R /mnt/INTERNAL/fan_sw_PWM /home EDIT rc.local FOR AUTOSTART sudo nano /etc/rc.local
The parameter can be set in the file fan_control.py, by sudo nano fan_control.py
SET-UP BUTTON FUNCTION within Volumio app with the Plugin 'GPIO Buttons', under System Hardware Enable Play/Pause GPIO Pin 4 Enable Vol+ GPIO Pin 24 Enable Vol- GPIO Pin 23 ALTERNATIVE FAN CONTROL: HARDWARE PWM
Download fan_hw_PWM (save link as...), unzip, and copy contents to \\yourplayername.local\USB (attention: not into the folder named after the connected SSD)
SSH to Pi, run commands: sudo apt update sudo apt install zip cd /media/fan_hw_PWM sudo unzip -o WiringPi-master.zip -d WiringPi /Must unzip from within terminal. Unzipping in windows causes fail/ sudo apt-get install build-essential cd WiringPi/WiringPi-master sudo ./build sudo mkdir -p /opt/gpio/fan cd /media/fan_hw_PWM/raspberrypi-fan-control-main/build sudo cp params.conf /opt/gpio/fan sudo cp fan-control /opt/gpio/fan cd /media/fan_hw_PWM/raspberrypi-fan-control-main/service sudo cp fan-control.service /etc/systemd/system sudo apt install libsystemd-dev sudo systemctl enable fan-control sudo systemctl start fan-control
Go through Volumio set-up. If the UI becomes unresponsive after connecting to your wifi, click next, next, done, and wait a moment to let it connect to wifi
Open Volumio app, click on device name, click Next Next... of quick onboarding. The UI may go gray after this, simply wait until it comes back. After another while, the Terms of Service pop up, click accept. Make a free Volumio account and log in (useful! With it you can access the Plugin store)
In the Volumio UI, open Menu --> Network to see IP address. If the UI is lacking menu text, simply wait a bit, and/or go out by swiping right from left edge of screen, and go back in
Go to 192.168.0.###/dev with browser, under SSH click ENABLE / feels like nothing happened. Don't worry, it did
In the Volumio app, go to menu --> button with on/off icon, select Power Off, and wait until shut down is complete (green led on Pi stops blinking). Pull out the USB C cable (this is the only time you need to do it) TO SET-UP THE ORANGE ON-OFF BUTTON
Take out SDCARD and put in PC/MAC
Download userconfigPi5.txt (save link as...). Rename to userconfig.txt, then copy to SDCARD
Put SDCARD back in the Pi and press the orange button to turn on (From now on, pressing the orange button turns on the Pi when it is off and initiates shut down when its on. After shut down is complete, the power to the Pi is turned off (yes!) TO INSTALL FAN CONTROL
Open Windows File Explorer or Mac Finder
Go to \\yourplayername.local
Dowload fan_sw_PWM (save link as...), unzip, then copy to Internal Storage SOFTWARE PWM. /The Hardware PWM code for the Pi 3 or 4 does not work on the Pi 5./ SSH TO PI
SSH to 192.168.0.### with PuTTY or PiHelper (username: volumio, password: volumio, port 22)
RUN THE COMMANDS /hint/ commands can be copied to the terminal by CTRL-C, then right mouse click into the terminal sudo apt update sudo apt install python3-rpi.gpio sudo apt install python3-pip sudo apt install zip sudo cp -R /mnt/INTERNAL/fan_sw_PWM /home WIZARDRY TO MAKE THE RPI.GPIO library work with the Pi5 SSH to the Pi /hint/ triple mouse click on the text to mark sudo apt install swig python-dev python3-dev sudo apt install python-setuptools python3-setuptools wget http://abyz.me.uk/lg/lg.zip unzip lg.zip cd lg sudo make sudo make install sudo pip3 install rpi-lgpio
EDIT rc.local FOR AUTOSTART sudo nano /etc/rc.local
The parameter can be set in the file fan_control.py, by sudo nano fan_control.py
INSTALL BUTTON CONTROL sudo nano /etc/triggerhappy/triggers.d/audio.conf
PUT BELOW TEXT AT TOP OF FILE #PLAY PAUSE TOGGLE KEY_SPACE 1 /usr/local/bin/volumio toggle #VOLUME DOWN KEY_DOWN 1 /usr/local/bin/volumio volume minus #VOLUME UP KEY_UP 1 /usr/local/bin/volumio volume plus
CTRL-X, Y, ENTER sudo systemctl restart triggerhappy
TO SEE IN THE TERMINAL IF IT WORKS, TYPE sudo thd --dump /dev/input/event*
PRESS BUTTONS AND WATCH THE MAGIC HAPPEN ENJOY
Choosing a selection results in a full page refresh.