'How to set Google home device in “listen mode” with node red

Is there a way to make a node where you can "make" a conversation with google home mini device? You already can send TTS and it will anounce whatever you type, but is there a way to wait for a response from the end user and receive (his response) STT back into node red?

The end goal is to let Google home mini ask you for input and based on the response you can activate a flow within Node red. But for that you need to activate your speaker into some kind of "listen mode", like you do when saying "hey google"



Solution 1:[1]

That depends on what you want the flow to do

If it can be triggered by trying to control a "device" e.g. " hey Google, turn on kitchen light" then there are 3 or 4 nodes/services that will do that. e.g. node-red-contrib-googlehome (full disclosure I wrote and run this one)

There are also some nodes to help with none smart home actions e.g. node-red-contrib-gactions-fulfillment

But you will have to trigger it, you cannot have the device initiate the interaction iirc

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 hardillb