Notification if door left open and nobody home - Working but add functionality


#1

I’ve built this piston, and it works. But I’m trying to figure out how to send the name of what device is left open in the SMS.

Is it possible to store the name of the open device in a variable and put it in the message?
I see you can in the if statement add matching devices to a variable. But I can’t figure out what type of variable I need to define. It won’t let me make one of Device but blank.


#2

Figured it out.

Posting here for future users. Also if anyone wants to add input to make improvements.


#3

I believe line 24 can be modified to:

If all of {People}'s presence are not present (webcore will still subscribe to the presence events)

then you can skip, line 27