<?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: thermostat script not working in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/467385#M20926</link>
    <description>&lt;P&gt;Thank you for posting the solution. I was using the ambient temperature with greaterThan/lessThan with limited success. This fixed so many frustrations during the heatwave!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 21:24:46 GMT</pubDate>
    <dc:creator>Kaeris</dc:creator>
    <dc:date>2023-08-10T21:24:46Z</dc:date>
    <item>
      <title>thermostat script not working</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/465540#M20814</link>
      <description>&lt;P&gt;I have a Nest thermostat in my basement, I also have a home theater with a vent coming in from the AC unit.&amp;nbsp; The theater is sound proofed so there is no return vent for the AC so I put in a fan that draws the air out of the room into another room.&amp;nbsp; When the AC is on and the fan is on the air circulates just fine...&lt;/P&gt;&lt;P&gt;What I'm trying to do with script editor is automate it so that when the AC comes on the fan also turns on.&lt;/P&gt;&lt;P&gt;I have the fan attached to a Tapo outlet that works find with google home independently of the script.&lt;/P&gt;&lt;P&gt;The script I tried to write does not work and I'm trying to understand why.&lt;/P&gt;&lt;P&gt;Here's the script:&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Scheduled fan&lt;BR /&gt;description: Turn the theater fan on when the basement AC Cools&lt;BR /&gt;automations:&lt;BR /&gt;- starters:&lt;BR /&gt;- type: device.state.TemperatureSetting&lt;BR /&gt;device: Basement Nest - Basement&lt;BR /&gt;state: thermostatTemperatureAmbient&lt;BR /&gt;greaterThanOrEqualTo: 69F&lt;BR /&gt;conditions:&lt;BR /&gt;- type: device.state.TemperatureSetting # Handles temperature points and modes of a thermostat device.&lt;BR /&gt;state: thermostatMode&lt;BR /&gt;is: cool&lt;BR /&gt;device: Basement Nest - Basement&lt;BR /&gt;&lt;BR /&gt;actions:&lt;BR /&gt;- type: device.command.OnOff&lt;BR /&gt;devices: Theater fan plug - Theater&lt;BR /&gt;on: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 05:20:01 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/465540#M20814</guid>
      <dc:creator>LSG13</dc:creator>
      <dc:date>2023-08-07T05:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: thermostat script not working</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/465556#M20816</link>
      <description>&lt;P&gt;Ok I figured it out, I just changed what starter I was using, much simpler...&lt;/P&gt;&lt;P&gt;here's the revised working code:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;metadata:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;name: Scheduled fan&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;description: Turn the theater fan on when the basement AC Cools&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;automations:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;# Turn on fan when AC unit starts to cool&lt;BR /&gt;&lt;SPAN&gt;- starters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- type: device.state.TemperatureSetting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;device: Basement Nest - Basement&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;state: activeThermostatMode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is: cool&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;actions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- type: device.command.OnOff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;devices: Theater fan plug - Theater&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on: true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;# Turn off fan when AC unit turns off.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- starters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- type: device.state.TemperatureSetting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;device: Basement Nest - Basement&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;state: activeThermostatMode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;isNot: cool&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;actions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- type: device.command.OnOff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;devices: Theater fan plug - Theater&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on: false&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 07:29:05 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/465556#M20816</guid>
      <dc:creator>LSG13</dc:creator>
      <dc:date>2023-08-07T07:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: thermostat script not working</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/465835#M20833</link>
      <description>&lt;P&gt;Thank you! I was actually looking exactly for this kind of script for my Lutron switch for the ceiling fan with my learning thermostat!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 00:35:06 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/465835#M20833</guid>
      <dc:creator>Anteal</dc:creator>
      <dc:date>2023-08-08T00:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: thermostat script not working</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/466872#M20892</link>
      <description>&lt;P&gt;Glad it helped, I also added some code operate the fan when the heat comes on and off as well... basically just added another starter and action.&lt;/P&gt;&lt;P&gt;It's all been working great so far&lt;/P&gt;&lt;P&gt;Kudos to Google for this feature, looking forward to more improvements to come.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 21:56:48 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/466872#M20892</guid>
      <dc:creator>LSG13</dc:creator>
      <dc:date>2023-08-09T21:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: thermostat script not working</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/467385#M20926</link>
      <description>&lt;P&gt;Thank you for posting the solution. I was using the ambient temperature with greaterThan/lessThan with limited success. This fixed so many frustrations during the heatwave!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 21:24:46 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/467385#M20926</guid>
      <dc:creator>Kaeris</dc:creator>
      <dc:date>2023-08-10T21:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: thermostat script not working</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/594085#M44396</link>
      <description>&lt;P&gt;I’m not familiar with exactly how to use that? If &amp;nbsp;you could help me out with this I’d really appreciate it&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need to automate a kasa smart plug (hvac in line fan plugged into that) turning on somehow when The nest (air conditioning) turns and when &amp;nbsp;the nest (fan only on ac) turns on &amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I accomplish this?&lt;/P&gt;&lt;P&gt;I did see IFTTT had an applet with nest fan/wemo plug but not for mine…here it is&amp;nbsp;&lt;A href="https://ift.tt/wf8Ng4H" target="_self"&gt;https://ift.tt/wf8Ng4H&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it tells me there’s gotta be a script or coder some way to do it. I just need it in simple language&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;plz and thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 05:46:15 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/thermostat-script-not-working/m-p/594085#M44396</guid>
      <dc:creator>SmittyKen12</dc:creator>
      <dc:date>2024-02-08T05:46:15Z</dc:date>
    </item>
  </channel>
</rss>

