cancel
Showing results for 
Search instead for 
Did you mean: 

Google Home Web Automation and Nest Protect Smoke Detectors not Triggering

BostonChas
Community Member

Following the Google "Flash lights when smoke alarm is active" example at 

Flash lights when smoke alarm is active example , I created a web based automation to signal to my Home Automation Hub that a 2nd Gen Nest Protect is alarming smoke or CO.
 
I had an unscheduled test of the automation and the actions never ran.  The actions run fine if I manually run the automation from the top level automations screen.  See next post for details.
3 REPLIES 3

BostonChas
Community Member

Here is the automation YAML:

metadata:
  name: Apt Living Rm nr Bathroom Smoke or CO Sensor Activates
  description: Turn on Hubitat virtual switch if the smoke or CO sensor activates.
automations:
  # Smoke or CO Sensor activates.
  - starters:
      - type: device.state.SensorState
        device: Guest House(Living Rm nr Bathrm) - Guest House
        state: currentSensorStateData.SmokeLevel.currentSensorState
        is: high
      - type: device.state.SensorState
        device: Guest House(Living Rm nr Bathrm) - Guest House
        state: currentSensorStateData.CarbonMonoxideLevel.currentSensorState
        is: high
    actions:
      - type: device.command.OnOff
        devices:
          - Nest Smoke/CO Sensor - Apt Living Rm nr Bathroom - Guest House
        on: true

BostonChas
Community Member

Logs.jpg

BostonChas
Community Member

Was being blocked from posting execution logs.  Taking a screen shot seemed to work.  There is nothing in the logs for a day or two prior to the smoke detector going off.