Need help building a piston that will play a song thru echo speaks when someone breaks into my home and trips shm. Any help would be great.
Play song thru echo speaks
Llha63
#2
This is only a small part of a much larger piston i created for SHM but this portion of the piston should do what you want or at least give you a idea on creating what you want.
I created a device global variable called @DoorOutsideSensors and put the contact sensors of all my doors leading to the outside in that global variable. I use smartthings multipurpose sensors so they can detect when someone knocks on the door as well as opening it. So this plays a dog barking sound.
Hope this helps
Llha63
#4
yes. Not only that any of your pistons can use the global variables. Check ou this link to understand variables better https://wiki.webcore.co/Variable