Page 1 of 1
send voice command to Google Home Mini
Posted: Tuesday 08 September 2020 21:23
by ropske
Hi,
is it somehow possible to send an external command to a google home (mini) to let it speak?
For example if my humidity is getting to high in the bathroom, i send a voicecommand to a specific Google Home device?
Thanks!
Re: send voice command to Google Home Mini
Posted: Tuesday 08 September 2020 21:42
by FireWizard
Hi,
is it somehow possible to send an external command to a google home (mini) to let it speak?
For example if my humidity is getting to high in the bathroom, i send a voice command to a specific Google Home device?
I think, you mean that in case of an event, you want to send a message to your Google Home speaker or Google Home Hub.
It is not exactly a command, because it does nothing, except a voice message.
Yes, that is possible.
If you send a message, easiest by MQTT, to Node Red, it is very simple to send it to your Google Home device.
You need the node: node-red-contrib-cast
If you need more I'm happy to support you.
Regards
Re: send voice command to Google Home Mini
Posted: Tuesday 08 September 2020 22:12
by ropske
Hi mate, that's exactly what i would love todo.
I've got node red installed, and installed now the lib you say: node-red-contrib-cast
allready trying todo some stuff, thanks a lot. when i send a message to speak, first thing i hear is a beep and then the text, is it possible to disable that 'beep'?
i also noticed there is a v2 version of it.
Re: send voice command to Google Home Mini
Posted: Wednesday 09 September 2020 13:35
by FireWizard
Hi,
@ropske
I have tested this Google cast node, but I did not test v2. It works and it is possible to send text.
However I do not use it currently. I am not aware of a beep, but that might be useful to draw your attention.
Perhaps it is similar to a "dingdong", if an announcement has to be made in public places.
But you can try v2. Perhaps it has more functionality or functions better. I cannot tell you.
Could be based on the newer castv2 protocol
See:
https://developer.aliyun.com/mirror/npm ... tv2-client
Regards
Re: send voice command to Google Home Mini
Posted: Thursday 10 September 2020 7:18
by DewGew
Try this one
https://github.com/harperreed/google-ho ... ier-python. I dont use node red but it might worth a try.