send voice command to Google Home Mini

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

send voice command to Google Home Mini

Post 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!
User avatar
FireWizard
Posts: 1968
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: send voice command to Google Home Mini

Post 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
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: send voice command to Google Home Mini

Post 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.
User avatar
FireWizard
Posts: 1968
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: send voice command to Google Home Mini

Post 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
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: send voice command to Google Home Mini

Post by DewGew »

Try this one https://github.com/harperreed/google-ho ... ier-python. I dont use node red but it might worth a try.
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests