winterscar / GoogleAssistantWebserver

A webserver interface to the google assistant. Useful for automating things only google assistant devices can do, such as broadcast messages in the home, or play spotify songs on a chromecast.
4 stars 0 forks source link

docker GoogleAssistantWebserver on synology diskstation #2

Open pet125 opened 5 years ago

pet125 commented 5 years ago

Hi, i tried to run the docker file on my synology diskstation, but it stops. the log says:

ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default [FATAL:audio_input_stream.cc(47)] Input device could not be opened: default Aborted

Is it because my synology diskstation has no audio device ?

Is there a way to get it to work on synology diskstation ?

thank you

winterscar commented 5 years ago

Could you share your docker-compose file with me, or just the docker command you used to run the image?

pet125 commented 5 years ago

Heres the docker-compose file:

version : '3'

services: google_assistant: container_name: gassist restart: unless-stopped image: winterscar/google-assistant-webserver environment:

winterscar commented 5 years ago

Hmmm. If you don't have a /dev/snd device, that might be the problem.

I'll do some research to find out if we can avoid having to mount that.

In the meanwhile, try replace /dev/snd with /dev/null to see if it does anything?

pet125 commented 5 years ago

Thank you, i will try that

pet125 commented 5 years ago

hi, i tried /dev/null but it ´s the same error