For the life of me I can’t figure out why these announcements are coming 30 seconds - 1 min late.
- Running on a Mac mini, 16gb ram, in Docker, Docker allocated with more than enough resources. Time is correct.
- Running just the announcement action runs immediately.
- An Automation with an exact time runs immediately, yes with a little lag on the cloud notify, understandable.
- I’ve adjusted the Minutes, Seconds, Hours in the time pattern.
alias: Hourly Chimes
description: ""
trigger:
- platform: time_pattern
minutes: "0"
seconds: "1"
hours: /1
condition:
- condition: state
entity_id: input_boolean.chime_announce
state: "on"
- condition: time
after: "08:00:00"
before: "22:00:00"
action:
- service: notify.alexa_media
data:
message: >-
<speak><voice name='{{ ['Brian', 'Amy', 'Joey', 'Salli', 'Aditi',
'Nicole', 'Kimberly', 'Justin'] | random }}'>It is now, {{
now().strftime('%-I') }} a clock.</voice><audio
src="soundbank://soundlibrary/bell/chimes/chimes_07"/></speak>
target:
- media_player.catherine
- media_player.craft_room_echo
- media_player.dining_room
- media_player.garage
- media_player.guest_room
- media_player.kitchen
- media_player.living_room_basement
- media_player.living_room_echo
- media_player.master
- media_player.scott_s_ecobee_smartthermostat_with_voice_control
- media_player.scott_s_office
- media_player.screen_porch
- media_player.shop
- media_player.squirrel
- media_player.groggy_gym_echo
mode: queued
max: 18