<?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: Script Automation AC on/off in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630910#M47261</link>
    <description>&lt;P&gt;Try using the OK google command instead of device.command&lt;/P&gt;&lt;P&gt;actions:&lt;BR /&gt;- type: assistant.command.OkGoogle&lt;BR /&gt;okGoogle: Turn off Split Mitsubishi 1 and Split Mitsubishi 2&lt;BR /&gt;devices: (Any nest speaker or hub in your home)&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 12:14:18 GMT</pubDate>
    <dc:creator>GBD</dc:creator>
    <dc:date>2024-07-12T12:14:18Z</dc:date>
    <item>
      <title>Script Automation AC on/off</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630907#M47260</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I created this script to make my two splits of the Mitsubishi air conditioner automatically activate when the nest thermostat detects a temperature higher than 29 degrees&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;metadata:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;name: Turn on AC when hot&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;description: Turn on AC when hot&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;automations:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- starters:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- type: device.state.TemperatureSetting&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;device: Nest&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;state: thermostatTemperatureAmbient&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;greaterThan: 29C&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;actions:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- type: device.command.OnOff&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;devices:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- Split Mitsubishi&amp;nbsp;1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- Split Mitsubishi&amp;nbsp;2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;on: true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;it works perfectly&lt;/P&gt;&lt;P&gt;I created another script that does the opposite, i.e. when the nest thermostat detects a temperature below 26 degrees it sends a command to turn off the air conditioners&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;metadata:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;name: Turn off air conditioner when the temperature rises above 25C.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;description: Turn off air conditioner when the living room temperature rises above&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;25C.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;automations:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- starters:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- type: device.state.TemperatureSetting&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;device: Nest&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;state: thermostatTemperatureAmbient&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;lessThan: 26C&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;actions:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- type: device.command.OnOff&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;devices:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- Split Mitsubishi&amp;nbsp;1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;- Split Mitsubishi&amp;nbsp;2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;on: false&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;in this case, however, the script cannot be activated because it generates an error&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the command [OnOff] with [action.devices.types.AC_UNIT] at this time is not supported.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;why does it give me this error when there are no errors for ignition?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 10:13:47 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630907#M47260</guid>
      <dc:creator>Lelix2603</dc:creator>
      <dc:date>2024-07-12T10:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Script Automation AC on/off</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630910#M47261</link>
      <description>&lt;P&gt;Try using the OK google command instead of device.command&lt;/P&gt;&lt;P&gt;actions:&lt;BR /&gt;- type: assistant.command.OkGoogle&lt;BR /&gt;okGoogle: Turn off Split Mitsubishi 1 and Split Mitsubishi 2&lt;BR /&gt;devices: (Any nest speaker or hub in your home)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 12:14:18 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630910#M47261</guid>
      <dc:creator>GBD</dc:creator>
      <dc:date>2024-07-12T12:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Script Automation AC on/off</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630912#M47262</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much for your reply but I don't have a speaker or a google hub at home, I would like to make everything fully automated&lt;BR /&gt;the particular thing is that the script does not give errors for switching on for high temperature but the same script does not work for switching off if the temperature is too low&lt;/P&gt;&lt;P&gt;in practice the on command works while the off command does not work&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 12:22:13 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630912#M47262</guid>
      <dc:creator>Lelix2603</dc:creator>
      <dc:date>2024-07-12T12:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script Automation AC on/off</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630924#M47263</link>
      <description>&lt;P&gt;The problem is that not all devices will accept all possible commands available from the script. For example, when I try to use motion detection from my nest cameras, they pop up in the list when creating the script but won't verify because they are not compatible with being used as a motion starter. It's most likely that the&amp;nbsp;&lt;SPAN&gt;Mitsubishi integration is what's rejecting the off command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In that case, the only other way I can think of to deliver the off commands would be to use something like a Broadlink RM mini in each room to send IR commands to the units as if they were the remotes that came with the heads, or, if the remotes are RF units you could get away with one RM Pro. Just be warned though that if this is the way you want to go, it's not as simple as sending an off command. You would need to install the devices with the Broadlink app, Integrate Boadlink within the Google Home app, then you would then create a couple of scenes in the Broadlink app called Mitsubishi 1 off and Mitsubishi 2 off. These scenes would be programed using the Mitsubishi remote controls. Then to turn them off, you would call the scene within your script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;actions:&lt;BR /&gt;- type: device.command.ActivateScene&lt;BR /&gt;activate: true&lt;BR /&gt;devices:&lt;/P&gt;&lt;P&gt;- Mitsubishi 1 off&lt;/P&gt;&lt;P&gt;- Mitsubishi 2 off&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 13:45:06 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630924#M47263</guid>
      <dc:creator>GBD</dc:creator>
      <dc:date>2024-07-12T13:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Automation AC on/off</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630925#M47264</link>
      <description>&lt;P&gt;Hello GBD&lt;/P&gt;&lt;P&gt;yes it could be a solution, perhaps a little too complicated for a simple shutdown command that does not work&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but at the moment it may be the only possible solution&lt;/P&gt;&lt;P&gt;thanks for your reply&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 13:51:09 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/630925#M47264</guid>
      <dc:creator>Lelix2603</dc:creator>
      <dc:date>2024-07-12T13:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Script Automation AC on/off</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/641226#M48186</link>
      <description>&lt;P&gt;This is exactly what happened to me yesterday.&lt;BR /&gt;I agree with the temporary solution, but I hope the mistake will be corrected ASAP: strange that the "true" is working and the "false" no.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 14:54:44 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Script-Automation-AC-on-off/m-p/641226#M48186</guid>
      <dc:creator>Cesare-Esposito</dc:creator>
      <dc:date>2024-09-01T14:54:44Z</dc:date>
    </item>
  </channel>
</rss>

