<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic action after delay doesn't start in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/669683#M8192</link>
    <description>&lt;P&gt;Hi, I've started experimenting with scripts and tried to insert a pause between two actions. However, if I set a 5 min delay, the first action is interrupted and the next one (spotify) starts. But if I set a longer delay (e.g. 15 min) the action before the delay is executed completely, but spotify simply doesn't run! Any ideas? I launch the routine on my google mini (v2) speaker.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;metadata:
  name: Début de journée au travail # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
  description: routine du matin lorsque je travail # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”

automations:
  # “starters” and “actions” are required; “conditions” are optional.
  # Use Ctrl + Space to see autocomplete suggestions.

  # ---- STARTERS ---- #
  # Starters describe events that will start the automation.
  # To add more than one starter, duplicate the "- type" section under "starters".
  # If you add multiple starter events, any one of them happening will start the automation.
  starters:
    - type: assistant.event.OkGoogle
      eventData: query
      is: "Hi"

  # ---- CONDITIONS ---- #
  # Conditions are optional. Delete this section if it’s empty.
  # Conditions will prevent an automation from starting if the conditions aren’t met.
  # See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
  # condition:
  #  type:

  # ---- ACTIONS ---- #
  # Actions will start when a starter event takes place and all conditions are met.
  # Actions will start in the order they appear in the script and with any delay specified.
  # To add more than one action, duplicate the "- type" section under "actions".
  actions:
    - type: assistant.command.OkGoogle
      okGoogle: "avoir le programme de la journée"
      devices: Bureau - Bureau
    - type: assistant.command.OkGoogle
      okGoogle: "Météo pour aujourd'hui?"
      devices: Bureau - Bureau
    - type: assistant.command.OkGoogle
      okGoogle: "Me dire les tâches d'aujourd'hui?"
      devices: Bureau - Bureau
    - type: assistant.command.OkGoogle
      devices:
        - Bureau - Bureau
      okGoogle: "joue l'actualité"
    - type: time.delay
      # Adjust duration as needed. Supported units: sec, min, hour
      for: 15min
    - type: assistant.command.OkGoogle
      devices:
        - Bureau - Bureau
      okGoogle: "Play music I like on spotify"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2025 22:03:46 GMT</pubDate>
    <dc:creator>namelessthing</dc:creator>
    <dc:date>2025-01-14T22:03:46Z</dc:date>
    <item>
      <title>action after delay doesn't start</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/669683#M8192</link>
      <description>&lt;P&gt;Hi, I've started experimenting with scripts and tried to insert a pause between two actions. However, if I set a 5 min delay, the first action is interrupted and the next one (spotify) starts. But if I set a longer delay (e.g. 15 min) the action before the delay is executed completely, but spotify simply doesn't run! Any ideas? I launch the routine on my google mini (v2) speaker.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;metadata:
  name: Début de journée au travail # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
  description: routine du matin lorsque je travail # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”

automations:
  # “starters” and “actions” are required; “conditions” are optional.
  # Use Ctrl + Space to see autocomplete suggestions.

  # ---- STARTERS ---- #
  # Starters describe events that will start the automation.
  # To add more than one starter, duplicate the "- type" section under "starters".
  # If you add multiple starter events, any one of them happening will start the automation.
  starters:
    - type: assistant.event.OkGoogle
      eventData: query
      is: "Hi"

  # ---- CONDITIONS ---- #
  # Conditions are optional. Delete this section if it’s empty.
  # Conditions will prevent an automation from starting if the conditions aren’t met.
  # See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
  # condition:
  #  type:

  # ---- ACTIONS ---- #
  # Actions will start when a starter event takes place and all conditions are met.
  # Actions will start in the order they appear in the script and with any delay specified.
  # To add more than one action, duplicate the "- type" section under "actions".
  actions:
    - type: assistant.command.OkGoogle
      okGoogle: "avoir le programme de la journée"
      devices: Bureau - Bureau
    - type: assistant.command.OkGoogle
      okGoogle: "Météo pour aujourd'hui?"
      devices: Bureau - Bureau
    - type: assistant.command.OkGoogle
      okGoogle: "Me dire les tâches d'aujourd'hui?"
      devices: Bureau - Bureau
    - type: assistant.command.OkGoogle
      devices:
        - Bureau - Bureau
      okGoogle: "joue l'actualité"
    - type: time.delay
      # Adjust duration as needed. Supported units: sec, min, hour
      for: 15min
    - type: assistant.command.OkGoogle
      devices:
        - Bureau - Bureau
      okGoogle: "Play music I like on spotify"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 22:03:46 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/669683#M8192</guid>
      <dc:creator>namelessthing</dc:creator>
      <dc:date>2025-01-14T22:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: action after delay doesn't start</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/670332#M8202</link>
      <description>&lt;P&gt;Google Assistant might interrupt the action ("playing news") if the delay is short (e.g., 5 minutes) because it's busy processing the entire automation sequence and may not get the correct data like how long is the news section?&lt;/P&gt;
&lt;P&gt;Can you replace news with other command like weather and see if issue still remain with playing Spotify command?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 16:47:58 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/670332#M8202</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2025-01-17T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: action after delay doesn't start</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/671250#M8217</link>
      <description>&lt;P&gt;Indeed, if I switch news with weather it work!&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 21:50:11 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/671250#M8217</guid>
      <dc:creator>namelessthing</dc:creator>
      <dc:date>2025-01-21T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: action after delay doesn't start</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/671659#M8233</link>
      <description>&lt;P&gt;Finally, I tested a little more, so it seems that the problem is playing the news. No matter in which order I place this action, it becomes problematic.&lt;/P&gt;&lt;P&gt;For example, if I place it in the middle of different actions. Then it starts playing and is immediately interrupted by the next action. I can't wait for Google to improve this behavior...&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 13:12:42 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/671659#M8233</guid>
      <dc:creator>namelessthing</dc:creator>
      <dc:date>2025-01-23T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: action after delay doesn't start</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/784956#M12269</link>
      <description>&lt;P&gt;It sounds like the behavior you’re seeing is less about the script itself and more about how Google Assistant routines are handled in the background, especially when they’re triggered from a Google Mini. From an &lt;A href="https://nbiappointmentonline.ph/" target="_self"&gt;NBI&lt;/A&gt; perspective (non-blocking vs. blocking execution), delays in Assistant routines don’t behave like true blocking waits.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 18:45:39 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/784956#M12269</guid>
      <dc:creator>BillieJaskolsk</dc:creator>
      <dc:date>2026-01-19T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: action after delay doesn't start</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/802599#M13033</link>
      <description>&lt;DIV&gt;yeah bro i think this is not script issue, more like google routine system problem. long delay break the flow so last action not run. better you split into 2 routine instead of 15min delay.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;same like process in &lt;A href="https://nbiclear.ph/nbi-clearance-centers/" target="_self"&gt;NBI Clearance Centers&lt;/A&gt;, they also not depend on long waiting step, everything go step by step.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Apr 2026 07:00:58 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/action-after-delay-doesn-t-start/m-p/802599#M13033</guid>
      <dc:creator>JoseRizal</dc:creator>
      <dc:date>2026-04-28T07:00:58Z</dc:date>
    </item>
  </channel>
</rss>

