Hi there! I’m a complete newbie on home assistant. I’m trying to set up an automation where a play a sound whenever the main door is open. I managed to glue the trigger and automation steps, displaying a persistent notification when the door is open.
However, I’m experiencing problems playing audio. I’m using a Raspberry Pi, where I installed the home assistant OS. As a first step, I tried to make the speakers work through ssh (I installed the SSH addon), both through a USB+minijack speaker and RPi internal speaker. However, when I run speaker-test
, I get the following error:
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
ALSA lib pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create stream: No such entity
Unable to set hw params for playback: I/O error
Setting of hwparams failed: I/O error
Any clue about how could I fix it?
Thanks in advance