02-11-2024 11:03 AM
I am trying to set a routing at a specific time. The only action is to anounce a message "It is time to take your medication" .
The problem is that it doesn't work at all. What am I doing wrong?
02-11-2024 11:05 AM
in general, I haven't found the way to trigger voice reminders (or tasks if you want) at a specific time by any means. It is very frustrating.
02-11-2024 01:19 PM
Hi, this code works. You also can do it in the Google Home App.
metadata:
name: Time Scheduled Message
description: P. Stephan
automations:
- starters:
- type: time.schedule
# Required. Time to schedule automation. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
at: 22:15:00 # HH:MM (24 hours format)
# Optional
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN
actions:
- type: assistant.command.Broadcast
devices: Nest - Wohnzimmer
message: Testmessage
02-11-2024 02:03 PM
Interesting. I am a programmer but I don't know about this type of script. Where does this code go?
02-11-2024 02:57 PM
You have to go to Google Home Web. home.google.com
Use the script editor and paste the code. Validate Save and Aktivate the Script.
02-11-2024 01:57 PM
In my experience, the Home Automation Scripts do not currently do this reliably; however, the Google Home App works flawlessly for this. I set this up for my elderly mother and it works perfectly everyday. Just create a 'Household routine', choose a 'time of day' and 'day of the week' starter, and choose 'Announce to household' action.
02-11-2024 02:04 PM
Does it announce the message out loud on the google nest mini device
02-11-2024 02:09 PM
It announces it on both of her speakers. One is a nest mini and the other is a nest audio (the bigger one).
02-12-2024 10:17 AM
Hi,
In Google Automation (https://home.google.com/), you can also set the volume.