Change smart home monitor status?


#1

Any idea why this script won’t change the status of Smart Home Monitor?


execute
if
Front Door, Schlage Century Touchscreen Deadbolt Door Lock’s lock changes to unlocked
then
if
then
if
Smart Home Monitor status changes to Disarmed
end if;
end if;
end if;
if
Front Door, Schlage Century Touchscreen Deadbolt Door Lock’s lock changes to locked
then
if
Smart Home Monitor status changes to Armed/Stay
end if;
end if;
end execute;


(Robin) #2

Because you don’t have a command in there to change SHM… only conditions And triggers.

Post a green snapshot of your piston as well please.


(Mark) #3

You need to put some kind of action after THEN.

IF door unlocks THEN change smart home monitor state to disarmed.

IF door locks THEN change smart home monitor state to armed.

Something like that.


#4

So this is working:

Do you know if there’s a way to send an sms alarm alert to more than one phone number with smart home monitor?


(Robin) #5

I think you would have to setup some custom rules in SHM, one for each number you want to send an SMS to.

It’s beem a very long time since I used SHM automations… I just use SHM as a 3-state switch and I let WC do all the monitoring / automation / alerts.