grpcactions-on-googlebroadcastgoogle-assistant-sdkgoogle-home

Is it possible to send from a server (not via mobile) a message to a Google Home device?


I want to write a web app where if a user presses a certain button, it would cause the google nest in my room to say something.

Essentially I want to use an API to send this command to my google nest: "broadcast to bedroom speaker 'button has been pressed' ".

Is this possible with the Assistant / Home API / Actions? I'm reading the documentations, but it's hard to understand what they're capable of.


Solution

  • Yes, you can use Google Assistant Relay to relay broadcast messages the same as you would a broadcast message with your voice.

    https://github.com/greghesp/assistant-relay