cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with an automation that turns on Phillips light when Nest Doorbell is pushed...

EmptyNester
Silver Product Expert
Silver Product Expert

Hello Everyone,  I'm still trying to wrap my head around the automation for Nest but it is just beyond my programming skills.  

I'm hoping that someone can get me close to what I need by copy/past the automation here that I can use.

I want to have my phillips light inside my house either turn ON or better yet FLASH 3 times when someone hits the button on my Nest doorbell (battery). 

Thanks everyone in advance for any help or guidance you can give me.

 

2 REPLIES 2

salbando
Community Member

Here is a script in Google Home Script Editor. If your are familiar with the Google Home Playground, then you can make some virtual switches to act as saved states and create the flashing effect, but that is much more involved. BTW, turning on a light with a doorbell press is easily done using the Google Home app "Household" automation.

metadata:
  name: Doorbell alert
  description: Turns on a light when doorbell is pressed
automations:
  starters:
    - type: device.event.DoorbellPress
      device: Front Yard doorbell - Front Yard
  actions:
    - type: device.command.OnOff
      on: true
      devices: Right side light - Family room

EmptyNester
Silver Product Expert
Silver Product Expert

That is perfect,  thank you!