<?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 Script editor validating; no errors, but not running certain routines in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580398#M42306</link>
    <description>&lt;P&gt;This has happened a few times.&amp;nbsp; The latest script which was validated and activated does not work in which a Wyze door sensor is open for 5 minutes to announce on 2x google Hubs that the door is open.&amp;nbsp; Here it is (generated by the "help me write a script") section:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;metadata:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;name: Laundry open for 5 min&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;description: When the door is open for 5 min announce on display&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automations:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- starters:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- type: device.state.OpenClose&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;device: Laundry garage door - Laundry Room&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;state: openPercent&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;is: 100&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;for: 5min&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;actions:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- type: assistant.command.Broadcast&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;devices:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- Beach Room display - Beach Room&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- Basement Hub - Basement&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;message: The laundry room door has been open for 5 minutes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Are there some things that are being validated but just aren't supported?&amp;nbsp; I doesn't even have to be an announcement on the hubs; I just need to figure out a way to alert me AFTER 5 MINUTES that the door is still open In 2 different areas of the house.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 22:04:43 GMT</pubDate>
    <dc:creator>chaybee</dc:creator>
    <dc:date>2024-01-25T22:04:43Z</dc:date>
    <item>
      <title>Script editor validating; no errors, but not running certain routines</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580398#M42306</link>
      <description>&lt;P&gt;This has happened a few times.&amp;nbsp; The latest script which was validated and activated does not work in which a Wyze door sensor is open for 5 minutes to announce on 2x google Hubs that the door is open.&amp;nbsp; Here it is (generated by the "help me write a script") section:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;metadata:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;name: Laundry open for 5 min&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;description: When the door is open for 5 min announce on display&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;automations:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- starters:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- type: device.state.OpenClose&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;device: Laundry garage door - Laundry Room&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;state: openPercent&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;is: 100&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;for: 5min&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;actions:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- type: assistant.command.Broadcast&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;devices:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- Beach Room display - Beach Room&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- Basement Hub - Basement&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;message: The laundry room door has been open for 5 minutes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Are there some things that are being validated but just aren't supported?&amp;nbsp; I doesn't even have to be an announcement on the hubs; I just need to figure out a way to alert me AFTER 5 MINUTES that the door is still open In 2 different areas of the house.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 22:04:43 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580398#M42306</guid>
      <dc:creator>chaybee</dc:creator>
      <dc:date>2024-01-25T22:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Script editor validating; no errors, but not running certain routines</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580607#M42329</link>
      <description>&lt;P&gt;I would suggest that you open the script and click on "View execution logs" (the clock looking thing with the circular arrow around it). See if it says anything like "Starter check: conditions met". After you see what is happening, try a different starter condition other than "is". For example, you might try "greaterThan" and choose zero. It might trigger for anything other than a closed door.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 14:58:25 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580607#M42329</guid>
      <dc:creator>salbando</dc:creator>
      <dc:date>2024-01-26T14:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script editor validating; no errors, but not running certain routines</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580739#M42349</link>
      <description>&lt;P&gt;Thanks for the suggestion!&amp;nbsp; I tried this and it did not work.&amp;nbsp; I first tried to do the routine physically, nothing at all.&amp;nbsp; Would not show any information in the logs.&amp;nbsp; I then hit enter on the routine to start it on my PC.&amp;nbsp; It immediately did the announcement on the hubs part, therefore, I can only assume that even though the script is permitting me to enter the sensor as the trigger, it is not recognizing it which leads me to believe it is built into the code somewhere but Google has yet to implement support.&amp;nbsp; This coincides with the actual Home app in which sensors started showing up and you can seemingly start an automation with them however, once you click next there are no options to move forward.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 18:55:57 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-editor-validating-no-errors-but-not-running-certain-routines/m-p/580739#M42349</guid>
      <dc:creator>chaybee</dc:creator>
      <dc:date>2024-01-26T18:55:57Z</dc:date>
    </item>
  </channel>
</rss>

