Page 1 of 1

Play audio file on Google home

Posted: Saturday 01 September 2018 9:24
by thecosmicgate
Can somebody tell me or assist me how it's possible to play some kind of an audio file on Google home using domoticz.
I want to push a button (dummy switch) on domoticz which would play a sound on Google home.

At the end I should use this as a chime so when somebody presses the doorbell (z-wave) Google home plays the chosen file =sound

Thnx for helping

Sent from my ONEPLUS A6003 using Tapatalk


Re: Play audio file on Google home

Posted: Saturday 01 September 2018 17:48
by sincze
Have a look around at the forum and look for 'stream2chromecast'.
After installing that you can for sure call a script from within domoticz that will play the sound for you when somebody presses the doorbell.

Re: Play audio file on Google home

Posted: Saturday 01 September 2018 17:55
by thecosmicgate
sincze wrote:Have a look around at the forum and look for 'stream2chromecast'.
After installing that you can for sure call a script from within domoticz that will play the sound for you when somebody presses the doorbell.
Thnx @sincze , will have a look

Sent from my ONEPLUS A6003 using Tapatalk


Re: Play audio file on Google home

Posted: Wednesday 28 November 2018 23:57
by pvm
Did you get this to work? Stream to Google home (mini?) and not chromecast?

Re: Play audio file on Google home

Posted: Thursday 29 November 2018 11:27
by freijn
Yeah, Please note Google Home has its own speaker :-) interested too

Re: Play audio file on Google home

Posted: Thursday 29 November 2018 15:05
by alanlsmith
The easiest way is probably to put the mp3 files in '/var/www/html/mp3/xxx.mp3' so that they can be reached in a browser at
'<your IP address>/mp3'

This way the 'built-in to the system' Apache server (not the web-server in Domoticz)is being used to store and stream the audio files.

Then create a Node-Red flow that can be triggered by a switch in Domoticz and use a 'node-red-contrib-cast' node to play the audio file.