Jump to content

Please help me program my Insteon Garage Door Control & Status Kit


Athlon

Recommended Posts

You guys helped me choose the Insteon Garage Door Control & Status Kit ( here in this thread ).  Thank you!  It's easy to do simple programming with it, like most other Insteon devices.

I have our Alexa devices 'Announcing' a door opens or closes using 'Routines' in the Alexa app. I have the Alexa app checking for when a sensor opens or closes. That's working just fine for me.

What I would like to do, however, is have Alexa 'Announce' a door is open every 20 minutes until it closes, as well as send me a text message after the second 'Announcement'.  After reading through the forums, it looks like IFTTT is the best way for the text piece?

I've been playing with different programs to get Alexa to continue to make the announcements until the door closes, but just can't figure it out.  Any help would be greatly appreciated!

 

Link to comment
51 minutes ago, ENCJP said:

If you don't mind sharing, I'd be interested in hearing how you have this setup.

Sure - I have two doors, one for my wife (JoAnn) and one for me (Dave).  I'll show you what I did for her door. 

Let me say at the outset that I have no idea if I could have done it with fewer steps, more elegant programming or anything else that would be better, however I will say it works.

First, here's a screenshot of my main page - JoAnn's IO Link and sensors are circled:

mainscreen.thumb.png.30485a5b06c44782c964010bc723c88b.png

 

Here is a screenshot of the three programs I use to make this happen:

programs.thumb.png.b87f7d5eab5a6596bc96f6a7d5201efa.png

 

Here is a screenshot of the three State Variables used to cause Alexa to make her three different announcements:

Announcement 1 - "hello, joanns garage door just opened"  (some characters not allowed, btw)

Announcement 2 - "hello, joanns garage door is still open"

Announcement 3 - "hello, final warning, joanns garage door is still open, you should consider closing it"

variables.thumb.png.be750a91c2089e85d09fbf0f70fc14ef.png

 

Screenshots of my Network Resources page and Resource Editor:

networkresources.thumb.png.8108147adf1fa20f4f0ef1364f37f0e8.png

resourceeditor2.thumb.png.446b43f3cf2a7e620d1ef09ddfdf1dd6.png

 

JoAnn's Garage Door Opens program:

JoAnn's Garage Door Opens - [ID 002C][Parent 0001]

If
        'IO Link-Sensor - JoAnn' is switched Off
 
Then
        Run Program 'JoAnn's Garage Door Is Open' (If)
 
Else
   - No Actions - (To add one, press 'Action')

 

JoAnn's Garage Door Is Open program (disabled):

(The Resource 'JoannsDoorLeftOpen' causes a text to be sent to my cell phone.)

JoAnn's Garage Door Is Open - [ID 002E][Parent 0001][Not Enabled]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        $JoAnn_Garage_Door_Open_1st_Announcement  = 1
        Wait  20 minutes 
        $JoAnn_Garage_Door_Open_2nd_Announcement  = 1
        Resource 'JoannsDoorLeftOpen'
        Wait  20 minutes 
        $JoAnn_Garage_Door_Open_3rd_Announcement  = 1
 
Else
   - No Actions - (To add one, press 'Action')
 

 

JoAnn's Garage Door Closes program:

JoAnn's Garage Door Closes - [ID 002D][Parent 0001]

If
        'IO Link-Sensor - JoAnn' is switched On
 
Then
        Stop program 'JoAnn's Garage Door Is Open'
        $JoAnn_Garage_Door_Open_1st_Announcement  = 0
        $JoAnn_Garage_Door_Open_2nd_Announcement  = 0
        $JoAnn_Garage_Door_Open_3rd_Announcement  = 0
 
Else
   - No Actions - (To add one, press 'Action')

Alexa makes the following announcement when the door closes - "hello, joanns garage door just closed, all is well"

Let me know if you have any questions. 

Adding spokens for Alexa in the ISY Portal is easy once you have the State Variables set up. I can expand on that if you would like.

The integration with IFTTT is covered in the Wiki.  I can expand on that if you would like.

resourceeditor.png

Link to comment
19 hours ago, ENCJP said:

Thanks for sharing @Athlon, this is very clever!

You're welcome.

18 hours ago, drprm1 said:

I would appreciate this

I did the following three times in the Portal, one for each of the three Routines in my Alexa app. Each of the three uses one of the three State Variables I refer to in my post above.

Here is how I set up the one for 'JoAnn_Garage_Door_Is_Open_1st_Announcement'

Go to your portal, then go to Select tool/Connectivity/Amazon Echo

Click 'Variable'

My state variable: Use the drop down box to choose your 'State Variable' ('JoAnn_Garage_Door_Is_Open_1st_Announcement' in my case)

Room is optional

Alexa Category: choose 'Contact Sensor'

Contact closed value: for me, 0 works

Spoken: I used 'J Gar Dr One'

Click 'Save'

+++

I created four Routines in my Alexa app, one for each of the State Variables, and one for when her door closes.  Here's how I did the Routine for the first announcement.

In your Alexa app choose 'Routines'

Click the + button to create a new Routine

Click the + button to choose a 'When This Happens'

Click 'Device'

In my case, I chose 'J Gar Dr One' (created above)

Finishing the 'When This Happens' section is self explanatory

In the 'Add Action' section, choose 'Messaging', then 'Send Announcement'

Finishing the 'Add Action' section is self explanatory

I did one of these for each of the three announcements triggered by the 'JoAnn's Garage Door Is Open program' detailed in my previous post.

I also did one for when the door closes. A State Variable is not needed for that one because Alexa 'sees' the sensor directly, in my case 'Joann Door Sensor' (see images in my previous post).

One last thing, when testing the program 'JoAnn's Garage Door Is Open', rather than use 20 minutes between actions, I used 45 seconds so I didn't have to wait 40 minutes to see if it all worked together like I hoped, especially the text sent after the second announcement. The reason for 45 seconds is that you have to let Alexa rest at least 30 seconds between announcements or they risk being delayed.

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...