<?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 Vacuum Reminder Script in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Vacuum-Reminder-Script/m-p/489412#M22814</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am attempting to create an automation in the script editor that reminds my wife and I if the vacuum has not run in three days or more. It looks like my starter is failing, but I cannot use device.state.Dock for: 72hours as a condition since "for:" is not allowed as a condition. I also tried a scheduled time as the starter and device.state.Dock as a condition with the "greaterthanorequalto: 72hours" as a condition, however it said 72hours was an invalid format. Does anyone have any ideas on how to fix this? I have pasted my code below.&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Vacuum Reminder # Choose a short name that summarizes important starters and actions, like “Sunset lights”.&lt;BR /&gt;description: Reminder to run the vacuum every three days. # 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.”&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;# “starters” and “actions” are required; “conditions” are optional.&lt;BR /&gt;# Use Ctrl + Space to see autocomplete suggestions.&lt;/P&gt;&lt;P&gt;# ---- STARTERS ---- #&lt;BR /&gt;# Starters describe events that will start the automation.&lt;BR /&gt;# To add more than one starter, duplicate the "- type" section under "starters".&lt;BR /&gt;# If you add multiple starter events, any one of them happening will start the automation.&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.Dock&lt;BR /&gt;state: isDocked&lt;BR /&gt;# [available operators: is, isNot]&lt;BR /&gt;is: true&lt;BR /&gt;for: 72hour&lt;BR /&gt;device: Roborock Q7 Max - Living Room&lt;/P&gt;&lt;P&gt;# ---- CONDITIONS ---- #&lt;BR /&gt;# Conditions are optional. Delete this section if it’s empty.&lt;BR /&gt;# Conditions will prevent an automation from starting if the conditions aren’t met.&lt;BR /&gt;# See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.&lt;BR /&gt;condition:&lt;BR /&gt;type: and&lt;BR /&gt;# "AND" together two or more conditionals&lt;BR /&gt;conditions:&lt;BR /&gt;- type: home.state.HomePresence&lt;BR /&gt;state: homePresenceMode&lt;BR /&gt;# [available operators: is, isNot]&lt;BR /&gt;is: HOME&lt;/P&gt;&lt;P&gt;- type: time.between&lt;BR /&gt;# Optional. 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)&lt;BR /&gt;before: 19:00 # HH:MM (24 hours format). Adjust time as needed&lt;BR /&gt;# Optional. 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)&lt;BR /&gt;after: 11:00 # HH:MM (24 hours format). Adjust time as needed&lt;BR /&gt;# Optional. Days of the week to apply condition on.&lt;BR /&gt;weekdays:&lt;BR /&gt;- MON&lt;BR /&gt;- TUE&lt;BR /&gt;- WED&lt;BR /&gt;- THU&lt;BR /&gt;- FRI&lt;BR /&gt;- SAT&lt;BR /&gt;- SUN&lt;BR /&gt;# ---- ACTIONS ---- #&lt;BR /&gt;# Actions will start when a starter event takes place and all conditions are met.&lt;BR /&gt;# Actions will start in the order they appear in the script and with any delay specified.&lt;BR /&gt;# To add more than one action, duplicate the "- type" section under "actions".&lt;BR /&gt;actions:&lt;BR /&gt;- type: home.command.Notification&lt;BR /&gt;title: Vacuum&lt;BR /&gt;body: It has been 3 days since the vacuum has run.&lt;BR /&gt;members:&lt;BR /&gt;- #&lt;BR /&gt;- #&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 17:05:24 GMT</pubDate>
    <dc:creator>SilentWeasel</dc:creator>
    <dc:date>2023-10-09T17:05:24Z</dc:date>
    <item>
      <title>Vacuum Reminder Script</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Vacuum-Reminder-Script/m-p/489412#M22814</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am attempting to create an automation in the script editor that reminds my wife and I if the vacuum has not run in three days or more. It looks like my starter is failing, but I cannot use device.state.Dock for: 72hours as a condition since "for:" is not allowed as a condition. I also tried a scheduled time as the starter and device.state.Dock as a condition with the "greaterthanorequalto: 72hours" as a condition, however it said 72hours was an invalid format. Does anyone have any ideas on how to fix this? I have pasted my code below.&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Vacuum Reminder # Choose a short name that summarizes important starters and actions, like “Sunset lights”.&lt;BR /&gt;description: Reminder to run the vacuum every three days. # 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.”&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;# “starters” and “actions” are required; “conditions” are optional.&lt;BR /&gt;# Use Ctrl + Space to see autocomplete suggestions.&lt;/P&gt;&lt;P&gt;# ---- STARTERS ---- #&lt;BR /&gt;# Starters describe events that will start the automation.&lt;BR /&gt;# To add more than one starter, duplicate the "- type" section under "starters".&lt;BR /&gt;# If you add multiple starter events, any one of them happening will start the automation.&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.Dock&lt;BR /&gt;state: isDocked&lt;BR /&gt;# [available operators: is, isNot]&lt;BR /&gt;is: true&lt;BR /&gt;for: 72hour&lt;BR /&gt;device: Roborock Q7 Max - Living Room&lt;/P&gt;&lt;P&gt;# ---- CONDITIONS ---- #&lt;BR /&gt;# Conditions are optional. Delete this section if it’s empty.&lt;BR /&gt;# Conditions will prevent an automation from starting if the conditions aren’t met.&lt;BR /&gt;# See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.&lt;BR /&gt;condition:&lt;BR /&gt;type: and&lt;BR /&gt;# "AND" together two or more conditionals&lt;BR /&gt;conditions:&lt;BR /&gt;- type: home.state.HomePresence&lt;BR /&gt;state: homePresenceMode&lt;BR /&gt;# [available operators: is, isNot]&lt;BR /&gt;is: HOME&lt;/P&gt;&lt;P&gt;- type: time.between&lt;BR /&gt;# Optional. 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)&lt;BR /&gt;before: 19:00 # HH:MM (24 hours format). Adjust time as needed&lt;BR /&gt;# Optional. 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)&lt;BR /&gt;after: 11:00 # HH:MM (24 hours format). Adjust time as needed&lt;BR /&gt;# Optional. Days of the week to apply condition on.&lt;BR /&gt;weekdays:&lt;BR /&gt;- MON&lt;BR /&gt;- TUE&lt;BR /&gt;- WED&lt;BR /&gt;- THU&lt;BR /&gt;- FRI&lt;BR /&gt;- SAT&lt;BR /&gt;- SUN&lt;BR /&gt;# ---- ACTIONS ---- #&lt;BR /&gt;# Actions will start when a starter event takes place and all conditions are met.&lt;BR /&gt;# Actions will start in the order they appear in the script and with any delay specified.&lt;BR /&gt;# To add more than one action, duplicate the "- type" section under "actions".&lt;BR /&gt;actions:&lt;BR /&gt;- type: home.command.Notification&lt;BR /&gt;title: Vacuum&lt;BR /&gt;body: It has been 3 days since the vacuum has run.&lt;BR /&gt;members:&lt;BR /&gt;- #&lt;BR /&gt;- #&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 17:05:24 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Vacuum-Reminder-Script/m-p/489412#M22814</guid>
      <dc:creator>SilentWeasel</dc:creator>
      <dc:date>2023-10-09T17:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Vacuum Reminder Script</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Vacuum-Reminder-Script/m-p/560366#M37873</link>
      <description>&lt;P&gt;I have a similar problem with my vacuum and I now assume the state.Dock is not recognized/triggering.&lt;BR /&gt;If I remove the condition, replace it with other conditions, the script is working...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does your script work if you remove the for.. ?&lt;/P&gt;&lt;P&gt;starters:&lt;BR /&gt;- type: time.schedule&lt;BR /&gt;at: 20:15&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ---- CONDITIONS ---- #&lt;BR /&gt;condition:&lt;BR /&gt;type: device.state.Dock&amp;nbsp;&lt;BR /&gt;is: false&lt;BR /&gt;state: isDocked&lt;BR /&gt;device: Rosie&lt;/P&gt;&lt;P&gt;# ---- ACTIONS ---- #&lt;BR /&gt;actions:&lt;BR /&gt;- type: assistant.command.Broadcast&lt;BR /&gt;message: Vergeet Rosie niet schoon te maken en op te laden&lt;BR /&gt;devices: Speaker&lt;BR /&gt;- type: time.delay&lt;BR /&gt;for: 6sec&lt;BR /&gt;- type: device.command.StartStop&lt;BR /&gt;start: true&lt;BR /&gt;devices: Rosie&lt;BR /&gt;- type: time.delay&lt;BR /&gt;for: 9sec&lt;BR /&gt;- type: device.command.StartStop&lt;BR /&gt;start: false&lt;BR /&gt;devices: Rosie&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 20:14:25 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Vacuum-Reminder-Script/m-p/560366#M37873</guid>
      <dc:creator>PurDee</dc:creator>
      <dc:date>2023-12-12T20:14:25Z</dc:date>
    </item>
  </channel>
</rss>

