0

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.

jared chong
  • 127
  • 1
  • 6

2 Answers2

1

While a Google Home device is a Google Cast surface the platform does not support programmatic broadcasts. At the same time, casting audio that is the text-to-speech output to a device should be functionally the same.

Nick Felker
  • 11,536
  • 1
  • 21
  • 35
1

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

Ryan780
  • 26
  • 1