Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| iolinc_garage_door_alert [2015/06/20 17:30] – [Level Of Difficulty: Moderate] jay | iolinc_garage_door_alert [2026/04/07 18:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How to create alerts when your garage door is open with the IO-Linc and the Garage Door Kit====== | ||
| + | There are several options for alerting you when your garage door is open. The intent of this page is to show you those options. | ||
| + | |||
| + | ===== How to create an email or SMS alert if a garage door is left open at night ===== | ||
| + | === Level Of Difficulty: Moderate === | ||
| + | This wiki is intended to enable the [[http:// | ||
| + | |||
| + | In this example, Indigo will check the garage door state at 11 PM every night. If the door is open, it will send an alert email or SMS (via an [[http:// | ||
| + | |||
| + | - Install the I/O Linc Garage Door Kit following the included [[http:// | ||
| + | - Add the I/O Linc as a new device in Indigo: | ||
| + | - Choose **'' | ||
| + | - Click **'' | ||
| + | - Name the device **Garage Door** | ||
| + | - Select **'' | ||
| + | - Choose **'' | ||
| + | - **'' | ||
| + | - **'' | ||
| + | - **'' | ||
| + | - Verify that when the garage door is closed, the bottom of the Garage Door device window shows **'' | ||
| + | - Create a new variable. | ||
| + | - Go **'' | ||
| + | - Select **'' | ||
| + | - Name the new variable **isGarageDoorOpen**. | ||
| + | - Make sure your garage door is closed. | ||
| + | - Give the variable the initial value **false**. | ||
| + | - Create a Trigger Action: | ||
| + | - Choose **'' | ||
| + | - Click **'' | ||
| + | - Trigger Tab: Name: **Garage Door is closed** Type: | ||
| + | - Condition Tab: **'' | ||
| + | - Actions Tab: Type: | ||
| + | - Create a Trigger Action: | ||
| + | - Choose **'' | ||
| + | - Click **'' | ||
| + | - Trigger Tab: Name: | ||
| + | - Condition Tab: **'' | ||
| + | - Actions Tab: Type: | ||
| + | - Create a Schedule: | ||
| + | - Choose **'' | ||
| + | - Click **'' | ||
| + | - Schedule Tab: Name: **Garage Door Open 11 PM Alert** Time: **11:00 PM** Date: Every **1** days | ||
| + | - Condition Tab: If variable **'' | ||
| + | - Actions Tab: Type: **'' | ||
| + | |||
| + | Good luck! =) | ||
| + | |||
| + | ===== How to create an email or SMS alert if your garage door is open longer than 30 minutes ===== | ||
| + | If you are forgetful and/or absentminded like me, sometimes you just forget to close the garage door. This can be a problem if you leave your house and leave the door open - you may find that you're missing some stuff when you return! So I cooked up this little solution that will email you or SMS (via the email-SMS bridge that your cell provider supplies) if the door is open for longer than 30 minutes (or whatever length of time you choose). This solution assumes you have a correctly installed I/O-Linc with a garage door kit, named " | ||
| + | |||
| + | - Select **'' | ||
| + | - Click on the **'' | ||
| + | - In the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Copy the following script into the large script text box just under the **'' | ||
| + | if not dev.states[" | ||
| + | indigo.server.sendEmailTo(" | ||
| + | - Select the **'' | ||
| + | - Select the **'' | ||
| + | - Click the **'' | ||
| + | |||
| + | That's it. Now, whenever the garage door opens, it automatically creates a delayed action, and when that action fires, it runs the script that checks to see if the garage door is still open and if it is, it sends out the email. | ||