1

I have a smart speaker with buit-in Google Assistant which I want to automatically make announcements at specific times. The times are determined by a program I wrote running in the cloud which can send HTTP POST requests at those times (e.g. to trigger a Telegram bot or anything else with a usable API).

Is there a way to send POST requests directly to my smart speaker with a message to announce? Or would I need some intermediary app/service to integrate with Google Assistant?

J-J
  • 219
  • 2
  • 7
  • I am looking for the same answer. I want to tell the speaker saying "bed time, kids" at 20:30 for example. @J-J, have you figured this out? – Ali Ok Feb 12 '23 at 21:27
  • I have not. However, your requirement seems simple: if it's a regular bed time then just set up a routine on your phone which broadcasts to your specified home device(s). My difficulty is the times of my broadcasts are determined in code each day. – J-J Feb 13 '23 at 22:11

1 Answers1

0

You can make use of the Google Assistant SDK to send POST requests directly to your smart speaker with a message to announce. The Google Assistant SDK lets you add voice control, natural language understanding and Google’s smarts to your ideas. Your project captures an utterance (a spoken audio request, such as What's on my calendar?), sends it to the Google Assistant, and receives a spoken audio response in addition to the raw text of the utterance.

You can also refer to the Google Broadcast and Routines feature using which you can make announcements at specific times .