<?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 Re: Google Home for web - Issues with an automation I wrote in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/484680#M22465</link>
    <description>&lt;P&gt;Hello sipriyadarshi,&lt;/P&gt;&lt;P&gt;see below the metadata for the routine and attached the various screenshots. Couldn't find a way to upload a video recording of the process in this thread though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One last note: if I'm removing the "home.state.homepresence" starter (due to the warning), the routing presents the same issues (not starting at all).&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Warning message when saving routine" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29230i31BFA95A0064D158/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 09.59.56.png" alt="Warning message when saving routine" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Warning message when saving routine&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Detailed message on the warning (I've added two other starters to have some redundancies)" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29231i120DF0CC6F84C5EE/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.02.png" alt="Detailed message on the warning (I've added two other starters to have some redundancies)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Detailed message on the warning (I've added two other starters to have some redundancies)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After I close the script editor (and leaving the &amp;quot;Activate&amp;quot; on), it brings me back to the Automations spash page, but the routine is not ON" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29232i2E105C0217391AA0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.18.png" alt="After I close the script editor (and leaving the &amp;quot;Activate&amp;quot; on), it brings me back to the Automations spash page, but the routine is not ON" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;After I close the script editor (and leaving the "Activate" on), it brings me back to the Automations spash page, but the routine is not ON&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Activation message when I click on the &amp;quot;Play&amp;quot; button of the routine" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29233iECCF057E1AEA577A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.22.png" alt="Activation message when I click on the &amp;quot;Play&amp;quot; button of the routine" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Activation message when I click on the "Play" button of the routine&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After a few moments and with no other message, it deactivates itself" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29234i3ED8D1360F3AD77E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.25.png" alt="After a few moments and with no other message, it deactivates itself" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;After a few moments and with no other message, it deactivates itself&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Living Room light after sunset # Choose a short name that summarizes important starters and actions, like “Sunset lights”.&lt;BR /&gt;description: When home, turns on living room light at sunset # 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.OnOff&lt;BR /&gt;state: on&lt;BR /&gt;# [available operators: is, isNot]&lt;BR /&gt;is: true&lt;BR /&gt;device: Sonos TV Control Living Room - Living Room&lt;BR /&gt;- type: device.event.PersonDetection # A person has been detected by the camera.&lt;BR /&gt;device: Living Room camera - Living Room&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;BR /&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: 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: sunrise&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: sunset&lt;BR /&gt;# Optional. Days of the week to apply condition on.&lt;/P&gt;&lt;P&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: device.command.OnOff # Turn the device on or off.&lt;BR /&gt;on: true&lt;BR /&gt;devices: Smart Bulb Living Room - Living Room&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 09:09:56 GMT</pubDate>
    <dc:creator>DDP1986</dc:creator>
    <dc:date>2023-09-26T09:09:56Z</dc:date>
    <item>
      <title>Google Home for web - Issues with an automation I wrote</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/483353#M22452</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;a few days ago I wrote a simple automation via Google Home for Web. The purpose is for a smart bulb in the living room to turn on at sunset if I'm at home (or if the camera detect a person or if the tv is on).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I validated the automation successfully but, as I close the Script Editor with the "Activate" on, the automation is not active. I then try to turn on the relative automation in the Automation page in Google Home for Web by clicking on the "Play" button, the message "Starting the routine" pops up, the "Play" button becomes a "Tick" to show that is activated, but it goes back to "Play" button after a few seconds.&lt;/P&gt;&lt;P&gt;Finally, the automation I wrote is not showing anywhere in the Google Home app on my phone.&lt;/P&gt;&lt;P&gt;Could you please help me out? I don't understand what's the issue.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 11:39:40 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/483353#M22452</guid>
      <dc:creator>DDP1986</dc:creator>
      <dc:date>2023-09-22T11:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Google Home for web - Issues with an automation I wrote</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/484528#M22455</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/422624"&gt;@DDP1986&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please share the script editor (metadata) which you are using for your routine ? Also, can you provide a video recording of the process along with the necessary screenshots ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 20:54:02 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/484528#M22455</guid>
      <dc:creator>sipriyadarshi</dc:creator>
      <dc:date>2023-09-25T20:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Google Home for web - Issues with an automation I wrote</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/484680#M22465</link>
      <description>&lt;P&gt;Hello sipriyadarshi,&lt;/P&gt;&lt;P&gt;see below the metadata for the routine and attached the various screenshots. Couldn't find a way to upload a video recording of the process in this thread though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One last note: if I'm removing the "home.state.homepresence" starter (due to the warning), the routing presents the same issues (not starting at all).&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Warning message when saving routine" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29230i31BFA95A0064D158/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 09.59.56.png" alt="Warning message when saving routine" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Warning message when saving routine&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Detailed message on the warning (I've added two other starters to have some redundancies)" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29231i120DF0CC6F84C5EE/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.02.png" alt="Detailed message on the warning (I've added two other starters to have some redundancies)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Detailed message on the warning (I've added two other starters to have some redundancies)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After I close the script editor (and leaving the &amp;quot;Activate&amp;quot; on), it brings me back to the Automations spash page, but the routine is not ON" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29232i2E105C0217391AA0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.18.png" alt="After I close the script editor (and leaving the &amp;quot;Activate&amp;quot; on), it brings me back to the Automations spash page, but the routine is not ON" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;After I close the script editor (and leaving the "Activate" on), it brings me back to the Automations spash page, but the routine is not ON&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Activation message when I click on the &amp;quot;Play&amp;quot; button of the routine" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29233iECCF057E1AEA577A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.22.png" alt="Activation message when I click on the &amp;quot;Play&amp;quot; button of the routine" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Activation message when I click on the "Play" button of the routine&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After a few moments and with no other message, it deactivates itself" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/29234i3ED8D1360F3AD77E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-26 at 10.00.25.png" alt="After a few moments and with no other message, it deactivates itself" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;After a few moments and with no other message, it deactivates itself&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Living Room light after sunset # Choose a short name that summarizes important starters and actions, like “Sunset lights”.&lt;BR /&gt;description: When home, turns on living room light at sunset # 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.OnOff&lt;BR /&gt;state: on&lt;BR /&gt;# [available operators: is, isNot]&lt;BR /&gt;is: true&lt;BR /&gt;device: Sonos TV Control Living Room - Living Room&lt;BR /&gt;- type: device.event.PersonDetection # A person has been detected by the camera.&lt;BR /&gt;device: Living Room camera - Living Room&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;BR /&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: 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: sunrise&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: sunset&lt;BR /&gt;# Optional. Days of the week to apply condition on.&lt;/P&gt;&lt;P&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: device.command.OnOff # Turn the device on or off.&lt;BR /&gt;on: true&lt;BR /&gt;devices: Smart Bulb Living Room - Living Room&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 09:09:56 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/484680#M22465</guid>
      <dc:creator>DDP1986</dc:creator>
      <dc:date>2023-09-26T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Google Home for web - Issues with an automation I wrote</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/490061#M22858</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/137766"&gt;@sipriyadarshi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Any news on this? Were you able to identify the issue?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 14:20:50 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Google-Home-for-web-Issues-with-an-automation-I-wrote/m-p/490061#M22858</guid>
      <dc:creator>DDP1986</dc:creator>
      <dc:date>2023-10-11T14:20:50Z</dc:date>
    </item>
  </channel>
</rss>

