cancel
Showing results for 
Search instead for 
Did you mean: 

Can Google Nest Doorbell be automated to turn on my front porch lights when it detects motion?

rblack335
Community Member

I would like to use my Google Nest doorbell to turn on my front porch lights when it detects motion. I have a light switch that is Z Wave compatible but do not a Z Wave hub yet. If there is an easier way than with Z wave i am open to suggestions.     

3 REPLIES 3

OpethNJ
Community Member

I have a similar scenario at my apt leveraging a Google Nest (Battery) and a Govee lightbullb outside of my front door.  If its after Sunset but before Sunrise and the doorbell picks up motion or a ring condition then it turns on the Govee lightbulb.  The requirement there , as it is with just about all smart bulbs, is leaving the bulb on at the switch level and controlling it through the app. 

Anyway, lemme know if the following makes sense. 

 

metadata:
  name: Front Door
  description: Person detected then turn on lights if it is after sunset.
automations:
  - starters:
      - type: device.event.DoorbellPress
        device: Doorbell - Front door
      - type: device.event.PersonDetection
        device: Doorbell - Front door
      - type: device.event.FaceUnfamiliarDetection
        device: Doorbell - Front door
      - type: device.event.FaceFamiliarDetection
        device: Doorbell - Front door
    condition:
      type: time.between
      after: sunset
      before: sunrise
    actions:
      - type: device.command.OnOff
        on: true
        devices: Outside Front - Front door #Govee H6003 Bulb

What are you using to Control the light bulbs and to connect to you nest doorbell? 

The code above is taken from the Google Automations Script Editor:  Google Automations Script Editor  . 

Documentation starts here: https://support.google.com/googlenest/topic/13460474?hl=en&ref_topic=13685161&sjid=11014924202194882...

From within that I have access to the camera as a starter event. This is my Nest Battery Doorbell just with leveraging the name I have applied to both it and the room it is located in.   

device: Doorbell - Front door

 Also from script editor I have access to pretty much all my 3rd party devices via either service integrations or over Matter. This includes all my Govee lights, all but a few unique Aqara sensors, Kasa power plugs\strips, smart tower fan, Tuya, Aqara app and Smartthings.  

From within Script Editor you can do simple things like power on or off lights but also change colors and implement scenes. 

A lot of words to say I run the whole thing through the Automations Script Editor