My solution isn’t the preferred integration but if you want to link one or more Nest Protect Smoke & CO Alarms to SmartThings without having to buy more hardware, then you can use the Google Home Script Editor and the vEdge Creator. However, since there currently isn’t a vEdge carbon monoxide detector, or a combined smoke and CO detector, you won’t be able to use the script editor to write an automation based on the Protect’s carbon monoxide alarm events.
- Use the vEdge Creator to create a virtual smoke detector. After device creation, rename and move the virtual smoke detector to the room that your Nest Protect is located.
- Use the Google Home Script Editor to write an automation script which will trigger the virtual smoke detector (which GH identifies as a switch) when the Nest Protect detects smoke.
As an example, one of my automation scripts looks like this:
metadata:
name: Nest Protect Alarm - SmokeLevel High
description: IF the Nest Protect detects high level of smoke, THEN it will trigger the SmartThings vEdge smoke detector
automations:
starters:
- type: device.state.SensorState
state: currentSensorStateData.SmokeLevel.currentSensorState
is: high
device: Bedroom(Protect) - Bedroom
condition:
type: home.state.HomePresence
state: homePresenceMode
is: AWAY
actions:
- type: device.command.OnOff # Turn the device on or off.
on: true
devices: Protect - Bedroom
The currently supported SmokeLevel capabilities are either numeric parts per million or descriptive values. Last but not least, if you’re using SmartThings Home Monitor, don’t forget to add the vEdge smoke detector and configure Home Monitor’s response (e.g. Unlock doors, Sound sirens, etc.)