Power ON/OFF button - AudioPhonics - How to install a plugin?

Hi,
I had a very good Volumio version 2 running on an Audiophonics box

Recently I have touched the upgrade button to Volumio version 3. Since that moment, the power on/off button is not working anymore.

It seems that there is a plugin available on this website

This is in fact a zip file for version 2.

My questions :

  • Will this also work on the Volumio Version 3 ?
  • Is this also compatible with my Hifiberry card ?
  • MOST IMPORTANT QUESTION: Can somebody explain me (for dummies procedure) on how to install this zip file after downloading the file to my PC ?

Many thanks in advance for your help.
With kind regards,

Pieter

seems more people requested this. As I don;t have the hardware its dangerous to tell you what to do.
You can try to reach out to the author

Or if you want to take a walk on the wild side, I’ll take no ownership or support if it goes wrong or even fail your current installation.

sudo apt -y install build-essential
cd ~
wget https://github.com/Saiyato/volumio-audiophonicsonoff-plugin/raw/master/volumio-audiophonicsonoff-plugin.zip
mkdir ./onoff
miniunzip volumio-audiophonicsonoff-plugin.zip -d ./onoff
cd onoff
npm update  (it might be possible that this is not even needed)
npm install --save onoff@6.0.0
volumio plugin install
cd ..
rm onoff
rm volumio-audiophonicsonoff-plugin.zip

and see what happens.

Hello
I have the same device and I asked audiophonics for this plugin. For the moment, the plugin is not working, but they proposed to edit some configuration files so you can invoke directly a dtoverlay and have 90% of the functionality of the power manager without using a plugin or installing anything. Just add these two lines in /boot/userconfig.txt:

dtoverlay=gpio-poweroff,gpiopin=22,active_low
dtoverlay=gpio-shutdown,gpio_pin=17,active_low=0,gpio_pull=down
and the power manager should be functional on the next reboot. This method works on almost any system running on Raspberry Pi (but does not react to reboot / poweroff initiated from another source than the on/off button).

Christian

1 Like

Just FYI: There is a PR on GitHub for a Volumio 3 version. I have no idea if it works though.

Many thanks Christianrablay,

My power button is working again. :slight_smile:

Thanks Christian, now it’s perfect for me. The button work.

1 Like

Hello!
I’m very happy. Since the version 3.378, Saiyato have made the plugin in Volumio directly.
It works perfectly.

I updates yesterday. Since then the Audiophonics plugin isn’t working. The light is just blinking, I can’t switch off the system.

The install process were running well but the system refuses to activate the plugin. Where can I pull a log?

Thanks guy’s.

System Information

  • Version of Volumio: 3.779
  • Kernel: 6.6.56-v7+
  • Governor: performance

> * Manufacturer: Raspberry Pi Foundation

  • Model: Raspberry Pi 3 Model B Rev 1.2 Raspberry Pi / 3B - 1.2 /
  • Version: a02082 / 3B - 1.2
  • Firmware Version: Sep 13 2024 16:00:01 version ddfba3e3c234500025b545512b4b214f28e453e9 (clean) (release) (start)

> * CPU info>

  • Brand: BCM2837

  • Speed: 1.2 GHz

  • Family: Cortex-A53

  • Model: 4

  • Number of cores: 4

  • Physical cores: 4

  • Average load: 3%

  • Temperature: 39°C

  • Memory info>

  • Memory: 890636 Ko

  • Free: 120228 Ko

  • Used: 770408 Ko

> * Software info>

  • Mpd version: Music Player Daemon 0.23.15 (0.23.15)

Same here, just blinking, no more one Button start up or shut down…

Thank for your confirmation @Butters1. Let’s hope the we are getting an update soon.

Dear Volumionauts,

We have already notified plugin’s developer of the problems with kernel 6.6.59, where GPIO addressing is different.

Unfortunately we do not have any ETA when this will be fixed. As such, we are discussing how to support seemingly obsoleted plugins with our internal resources.

Kind Regards,

1 Like

Thanks @nerd

Whilst devs are busy with priority tasks, you could help testing plugin change prototype. This is unsupported, ensure that you have backup of your settings, libraries, etc.

Extract attached file, where extracted file name should be index.js

index.zip (1.9 KB)

Copy extracted file replacing existing to /data/plugins/system_controller/audiophonicsonoff

Assuming that you will place extracted index file in /home/volumio:

cp -vf index.js /data/plugins/system_controller/audiophonicsonoff

Reboot your system and report test result.

Kind Regards,

It is shown as inactive for me since the update to 3.779 and no option to activate it.

Thanks a lot. Great, your fix was doing the trick.

Hey @Frodo,

Thank you for reporting. Can you confirm that all functions are working as expected?

Kind Regards,

Updated plugin (1.0.5) should be available in the plugins store. Thank you @balbuze.

Please report issues if any.

Kind Regards,

I have a request, could someone send a photo in high resolution?

Hi, I have the 1.0.5 edition installed on rel. 3.785 with Audiophonics I-Sabre v4 ES9023. It’s a
clean install and also have the same issue. cannot power down via the button, the light flashes continuously and the add-in is shown as inactive. Did not have an issue prior to this.

Hey,

Which Raspberry Pi PCB your Volumio player is based on?

Kind Regards,