balbuze / volumio-plugins

volumio's plugins from balbuze
190 stars 60 forks source link

gpio plugin for volumio #321

Open Jonathanr67 opened 2 years ago

Jonathanr67 commented 2 years ago

Hi, do you think it's possible to create an gpio button plugin for control volumio 3. At moment there are not this kind of plugin. Thank you

awasson commented 2 years ago

@Jonathanr67, You can still build the button plugin using your terminal using SSH to connect remotely to your volumio device. Then you would run the following:

sudo apt-get update
sudo apt-get -y install build-essential
cd ~
wget http://plugins.volumio.org/plugins/volumio/armhf/system_controller/gpio-buttons/gpio-buttons.zip
mkdir ./gpio-buttons
miniunzip gpio-buttons.zip -d ./gpio-buttons
cd gpio-buttons
npm install --save onoff@6.0.0
volumio plugin install
Jonathanr67 commented 2 years ago

Ok thank you. Will try this