Playing audio with ffmpeg - MiguelRipoll23/homebridge-securitysystem GitHub Wiki
Requirements:
- ffmpeg installed.
- Wired/wireless speaker connected.
Installation:
- Execute:
sudo apt update
- Execute:
sudo apt install ffmpeg
- Enable the
Play audio
option using the Homebridge UI.
Sound not playing?
-
Edit your ~/.bashsrc
-
Add the following lines at the end of the file:
export AUDIODEV=hw:1,0
export SDL_AUDIODRIVER=alsa
Note: try hw:2,0, hw:3,0... if still not working.