@mocelet could you explain how you are doing the following:
“I have a routine in Google Home to notify me if a sensor went offline”
@mocelet could you explain how you are doing the following:
“I have a routine in Google Home to notify me if a sensor went offline”
Sure thing! Assuming you have SmartThings added to Google Home and the device is visible there, you can use the script editor of Google Home to send you a push notification when SmartThings tells Google Home the device is offline.
The script editor is at home.google.com/automations (use a desktop browser and make sure to be logged in your Google account, more info here) and the script would look like this:
metadata:
name: Door sensor offline notification
description: _
automations:
starters:
- type: device.state.Online
state: online
is: false
device: Entrance sensor - Pasillo
actions:
- type: home.command.Notification
title: Aqara door sensor offline!
Thanks, I will give it a try.
I searched Google but can’t find a script to send a notification if ANY device goes offline? Is it possible? Thanks
That’s not possible, you’d have to add more blocks inside the “starters” for each device. Mind if you do that you may get multiple notifications if multiple devices go offline.