This repository contains my add-ons for hass.io
.
This add-on eliminates the problem of Device or resource busy
on computers with an external ALSA and PULSEAUDIO caused by the docker container hassio_audio
.
This project forked from home-assistant/addons
:heavy_plus_sign: Docker add-ons for Hass.io
License: Apache License 2.0
This repository contains my add-ons for hass.io
.
This add-on eliminates the problem of Device or resource busy
on computers with an external ALSA and PULSEAUDIO caused by the docker container hassio_audio
.
Thank you for creating this really useful piece of software!
But, with HA 2021.2.1 I get the following message:
Failed to install addon
The command '/bin/bash -o pipefail -c apk add --no-cache alsa-plugins-pulse alsa-utils pulseaudio-utils python3' returned a non-zero code: 4
i just install the addon and irt works, the sound is back but just when a get the sound back, the screen is flickering randomly
which version should I use with Debian 11? Why the two versions?
Hi
I have HA Supervised running on a Raspberry Pi4 and the addon is not working for me.
Addon log as per below:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
13
[ALSA&PULSEAUDIO FIX][INFO] Module `module-suspend-on-idle` loaded successfully!
[cmd] python3 exited 0
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Docker image versions are:
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
d4868bb1/armv7-addon-pulseaudio_fix 3.4 a54e584f1228 36 minutes ago 113MB
homeassistant/armv7-base latest 10752e4b7705 5 days ago 63.2MB
homeassistant/raspberrypi4-homeassistant 0.112.4 441f34b52823 6 days ago 1.27GB
hassioaddons/node-red-armv7 7.0.0 4fe755abd9d1 7 days ago 235MB
homeassistant/armv7-hassio-audio 16 cfd5e36ab35e 12 days ago 79.6MB
homeassistant/armv7-hassio-supervisor 228 7eafddcedd6a 2 weeks ago 259MB
homeassistant/armv7-hassio-supervisor latest 7eafddcedd6a 2 weeks ago 259MB
esphome/esphome-hassio-armv7 1.14.5 c391754c635f 2 weeks ago 768MB
homeassistant/armv7-addon-ssh 8.6.0 d5daf2ca450c 6 weeks ago 92.4MB
hassioaddons/log-viewer-armv7 0.8.1 67f3d54b8d75 2 months ago 69.4MB
homeassistant/armv7-addon-configurator 5.0.0 8dc221d584a8 3 months ago 93.1MB
homeassistant/armv7-hassio-dns 9 d0cc9e8fc08a 3 months ago 62.9MB
homeassistant/armv7-hassio-cli 25 4d61cbe54290 3 months ago 36.1MB
homeassistant/armv7-hassio-cli latest 4d61cbe54290 3 months ago 36.1MB
homeassistant/armv7-hassio-multicast 2 b0d5d6582258 3 months ago 27.3MB
Pulseaudio is still running as per below:
$ ps aux | grep pulse
root 23395 0.0 0.0 200 4 ? S 10:38 0:00 s6-supervise pulseaudio
root 23399 0.0 0.3 80484 6276 ? S<sl 10:38 0:00 pulseaudio --system -vvv --disallow-exit --exit-idle-time=-1 --disable-shm
root 23736 0.0 0.0 7348 532 pts/0 S+ 10:45 0:00 grep --color=auto pulse
If I kill the two processes they both restart again.
Can you please assist with this?
Thanks
Gary
I cannot start addon, tired in Portainer as well and no luck.
This is the error I am getting:
s6-overlay-suexec: fatal: can only run as pid 1
When trying to install the addon get this error code:
The command '/bin/bash -o pipefail -c apk add --no-cache alsa-plugins-pulse alsa-utils pulseaudio-utils python3' returned a non-zero code: 4
HA versions:
Home Assistant 2022.7.2
Supervisor 2022.07.0
Frontend 20220707.0 - latest
Unfortunatelly, when I start a movie in kodi, pulse switch a bitrate probably which causes the sound pitch shift and image stutter - eventhugh the resampling is disabled and bitrate fixed in /etc/pulse/daemon.conf
Any idea how to fix that pls?
Hi,
I have just installed and tried to run but get the error:
error is s6-overlay-suexec: fatal: can only run as pid 1
Appreciate your help please.
Thanks
Tim
Hello, I get this error when starting the module:
400 Client Error for http+docker://localhost/v1.38/containers/e5995588e5c493324bca0da8cf11cf170c3c61aa776e720834c70ec1009e1318/start: Bad Request ("OCI runtime create failed: container_linux.go:348: starting container process caused "exec: "/dev/init": stat /dev/init: no such file or directory": unknown")
Hi, I'm trying to install the ALSA PulseAudio fix but the standard version doesn't work. When I click install, it loads and returns to the install button. So I tried the DEV version, it installs and it works, but after some hours running, it continuously activate and deactivate audio output, so the result is that when I listen to music it blocks or stops randomly or totally crash.
Can you please check it?
thanks! :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.