AUDIOPHONICS SABRE on/off e display

A few years have passed and volumio 3 has arrived.
Those who use AUDIOPHONICS SABER with the Button and Display have to make do, waiting for the new PLUGINS.

Follow these instructions everything will work
First you need to enable Volumio’s SSH connection
See here SSH - Volumio Documentation

Download from the network PUTTY and connect.
First we enable the on / off button here are the instructions:

cd /home/volumio   
       
wget https://raw.githubusercontent.com/audiophonics/Raspberry-pwr-management/master/sds.sh
sudo nano /etc/rc.local

Once in the editor copy before “exit 0”

sudo bash /home/volumio/sds.sh &

Then Save with CTRL + O (letter) And confirm with ENTER Then exit with CTRL + X

wget https://raw.githubusercontent.com/audiophonics/Raspberry-pwr-management/master/softshutdown.sh
wget https://raw.githubusercontent.com/audiophonics/Raspberry-pwr-management/master/softreboot.sh
chmod 744 softshutdown.sh
chmod 744 softreboot.sh
chmod 744 sds.sh

Edit the softshutdown.sh file

sudo nano softshutdown.sh

Make these changes

echo "Setting pin GPIO4 High"
#gpio mode 7 out
gpio -g mode 4 out
#gpio write 7 1
gpio -g write 4 1
/ bin / sleep 1
echo "Setting pin GPIO4 Low"
#gpio write 7 0
gpio -g write 4 0

IF YOU ARE ONLY INTERESTED IN THE BUTTON YOU CAN STOP HERE AND RESTART

Install Pydpiper for Display Management

cd /home/volumio
git clone https://github.com/dhrone/pydPiper.git
cd pydPiper
./install_docker.sh

Grab a cup of tea or coffee, it takes time and wait for the prompt

wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pydPiper.cfg
wget https://raw.githubusercontent.com/audiophonics/Pydpiper-Raspdac/master/pages_raspdac_16x2.py

Modify according to your needs

sudo nano pydPiper.cfg
timezone = Europe/Paris
time24hour = true
temperature = celsius
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper

Finished if you did everything right it will work.
All this is not all my own work, but I have copied it on the web

Greetings gmarconi2 :grinning:

I have an all tube system with single ended power amps of 211 turntables but with Volumio 3 the difference with vinyl is minimal

For the button add these instructions, they are used to make volumio turn off the Raspberry

cd /volumio/app/

This makes a copy of the file we replace

sudo mv platformSpecific.js platformSpecific.sav

Download the modified file for volumio interface

wget https://raw.githubusercontent.com/audiophonics/Raspberry-pwr-management/master/platformSpecific.j

Restart volumio

sudo reboot

If volumio fails to turn off the raspberry from the browser, change this and restore it to its origins

Edit the softshutdown.sh file

sudo nano softshutdown.sh

Make these changes

echo "Setting pin GPIO4 High"
gpio mode 7 out
gpio write 7 1
/ bin / sleep 1
echo "Setting pin GPIO4 Low"
gpio write 7 0

For the button there is nothing else to do, in a clean installation, the button works perfectly, and even the volumio browser, restart and turn off the raspberry

Changes could also be made to the display, specifically my LCD is a 16x2 raspdac and the changes are these

Modify according to your needs

sudo nano pydPiper.cfg
pagefile = pages_raspdac_16x2.py
sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper
sudo reboot