amixer-webui icon indicating copy to clipboard operation
amixer-webui copied to clipboard

how to install on raspberry pi

Open bachoo786 opened this issue 6 years ago • 5 comments

Hi I am a total noob.

Just wondering I tried to install amixer-webui on my raspberrypi zero w and I am using phat dac by pimroni. I am using alsa as well.

I cloned the whole directory to my pi and ran install command. I believe amixer-webui has been installed and I tried to configure the conf file in which I wrote my address of the pi running amixer-webui and the port.

But I cannot connect to it at all, on Chrome it says something went wrong and I have also tried the android app. None of them work all I get is a spin and after a while a blank white page.

Can someone please help me?

Thanks.

bachoo786 avatar Sep 28 '18 12:09 bachoo786

did You actually started the service? see output of „/etc/init.d/amixer-webui status”. if it doesn't run „/etc/init.d/amixer-webui start” and check status again. also in android app make sure You have given it the right ip address.

alekksander avatar Jan 02 '19 13:01 alekksander

I have the exact same combination as you do, here was my solution: sudo apt-get install python-flask

therion23 avatar Feb 27 '19 13:02 therion23

@alekksander ok so after cloning the directory what shall i do next?

@therion23 I did install the python-flask as per your instruction but what shall I do next?

I am doing this:

pi@raspberrypi:~/amixer-webui $ python alsamixer_webui.py [-p <port=8080>] [-l <host=0.0.0.0>]
-bash: port=8080: No such file or directory

and when I try to start the service I get this:

pi@raspberrypi:~/amixer-webui $ sudo update-rc.d amixer-webui defaults
update-rc.d: error: unable to read /etc/init.d/amixer-webui
pi@raspberrypi:~/amixer-webui $ sudo /etc/init.d/amixer-webui start
sudo: /etc/init.d/amixer-webui: command not found

bachoo786 avatar Aug 22 '19 12:08 bachoo786

ok I think I resolved it I had to run make install command.

quick question will the service run automatically when I reboot the raspberry?

bachoo786 avatar Aug 22 '19 12:08 bachoo786

Not if you use systemd - have a look at issue #16 . Works fine with SysV init though.

therion23 avatar Aug 29 '19 21:08 therion23