cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Need automation to turn on smart plug when nest (ac turns on)

SmittyKen12
Community Member

IMG_2885.png

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  the nest (fan only on ac) turns on  

How can I accomplish this?   Google automate?  

 

Or IFTTT?  

I did see IFTTT had an applet with nest fan/wemo plug but not for mine…here it is https://ift.tt/wf8Ng4H 

 

But it tells me there’s gotta be a script or coder some way to do it. I just need it in simple language

 

plz and thanks 

9 REPLIES 9

Pitsom
Community Member

Example:

 

metadata:

  name: Cool weather heating

  description: If it is cool, open blinds, turn on fans, and adjust thermostats.

automations:

- starters:

  - type: device.state.TemperatureSetting

    state: thermostatTemperatureAmbient

    device: thermostat - Family Room

    lessThan: 18C

  actions:

  - type: device.command.OpenClose

    devices:

    - blinds - Bedroom

    openPercent: 100

  - type: device.command.OnOff

    devices: fan - Bedroom

    on: true

  - type: device.command.ThermostatTemperatureSetpoint

    devices:

    - thermostat - Family Room

    thermostatTemperatureSetpoint: 21C

SmittyKen12
Community Member

That doesn’t help respectfully- 

I only want the smart plug to turn on when the nest turns on the air conditioner

Pitsom
Community Member

Do you use the Google Home App or the Google Home web page?

I could use either

Pitsom
Community Member

OK. I use the Google Home App on my Smartphone to see my Home and all the Devices. There you can Edit simple automations too. If you wont writing scripts you have to go to the Google Home web page.

slh2213
Community Member

 I have the same question - want to power on a whole home scent diffuser connected to my hvac but only when hvac (via Nest thermostat) is on

Tressielman
Community Member

I’m trying to do the same thing.  Did you ever figure this out?

maxthekojo
Community Member

Google Home allows it but only through Script Coder in the desktop version. Phone app will not allow it. I wanted to turn on and off my HVAC scent diffuser when the HVAC was running / not running and achieved it using the following code. This is the code for turning the outlet ON:

metadata:
  name: Turn on Diffuser when the temperature rises above 77.9.
  description: Turn on Diffuser when the temperature rises above 77.9.
automations:
  - starters:
      - type: device.state.TemperatureSetting
        device: Downstairs - Downstairs
        state: thermostatTemperatureAmbient
        greaterThan: 77.9F
    actions:
      - type: device.command.OnOff
        devices:
          - Smart Plug Scent Diffuser - AC Cabinet
        on: true

awill14
Community Member

Hello everyone, 

If anyone can help, I would really appreciate it.

I am trying to do the same thing but trying to use the state of the fan from my heat pump controlled by my nest thermostat to activate a booster fan.

 

   Gemini assistant is trying to have me use the state fanOn, but that isn't a valid state for type device.state.OnOff

   The name of the thermostat is upstairs and that seems to be correct 

Below is the script and I've bolded the error

metadata:
  name: Turn on AC booster when the thermostat fan is on
  description: When the thermostat fan is on then turn on the AC booster
automations:
  - starters:
      - type: device.state.OnOff
        device: Upstairs - Upstairs
        state: fanOn
        is: true
    actions:
      - type: device.command.OnOff
        devices:
          - AC booster supply - Master Bedroom
        on: true