How do I get the device name into the push notification?


#1

When a contact sensor is open I want to send a push notification to my phone with the contact sensor name in it. I tried $Device + " is open" but that returns “EmptyDeviceList is open”


#2

$currentEventDevice is what you are looking for


#3

Hi. Trying to accomplish a similar thing but my newbie mind having trouble making it work. Do you have working example you can post. Thanx


#4

Here is a working example for you. Granted it is long but it has the $currentEventDevice option that you are looking for in it.


Push notification
#5

Thank you very much.


#6

Can you take a look at my Piston below? My keeps sending me the name of my Hub and and IP address rather than the name of the device and percentage. Thank you!