I implemented an "Emergency Button" that I think is worth sharing. I have two school age children that sometimes are home alone, but this idea has several applications.
To use it, they simply press the button. To reset, they press it a second time.
I wrote two simple programs called "Emergency" and "Emergency Clear" I use a KeyPadLinc-8 near the front door and will get a red button to activate it, both programs use "Status" is "On" to monitor the button in the 'if' area.
I have placed both my wife's and my phone text message as recipients for notifications.
The "Emergency" program 'then' area sends notification to all. The next line uses "Set Scene My Lighting On", turning on every light in the house. The 'else' area runs certain daily programs I have to restore "normal" settings (optional).
The "Emergency Clear" program 'then' area turns an outside front door light fast on, waits a second, turns it fast off, then calls itself as a program. In other words, the last line is 'Run Program Emergency Clear". This causes the program to loop continuously, flashing the front door light, attracting the attention of emergency responders if they are needed. The 'else' area only sends notification to all.
The messages received on the cell phone are pretty clear if the button is activated or reset. We can then take appropriate action to see what is going on.
Hope you like the idea!