Jump to content

Getting Garage Door Status Kit to Play Nice


isyrocks!

Recommended Posts

Posted

Since upgrading to the ISY 994 my Garage Door Status Kit hasn't been preforming the way I would like it to.

 

Equipment:

ISY 994i PRO

(2) Seco-Larm SM-226L w/ I/O Linc

MobileLinc PRO for IOS

Keypad Linc to control garage and monitor status. I prefer the Keypad Linc to show LED On when door is open.

Plain old craftsman garage door controllers in the car

 

Goal:

A scene to control my garage door that also report's status. Scene is off when door is closed and scene is on when door is opened. That way in MobileLinc you get visual feedback by looking at the scene as to whether the garage door is opened or closed. I had this working flawlessly with my ISY 99i.

 

Previous Setup ISY 99i

  • I had everything working great with my ISY 99i. This is how I had things setup previously:
    -I/O Linc setup - Momentary Hold Time 2 seconds. Momentary C. LED on TX.
    -One Scene for Status - Seco-Larm (Status) setup as controller and Keypad Linc setup as responder
    -Once Scene for Control - Keypad Linc setup as controller and I/O linc setup as relay
    -Scene for Control - ON Levels = Keypad Linc was set to on level of 100% and I/O Linc relay was set to on level of 0%.
    -Keypad Linc - was left in regular toggle mode
    -With Garage Door Closed - Relay status = Off and Sensor Status = Off
    -Scene for Control - was set as a favorite in MobileLinc. The scene would show visual indication of whether the garage door was opened or closed. I could tap on the scene to control the garage.
    -2 Special Programs to Update Status - I ran two programs to update status in case I used a non Insteon controller to open/close garage. If the garage sensor reported the door as open or sensor switched on it would turn the "Control" scene to on. If the sensor reported the door is closed I had a seperate program to ensure the "Control" scene was set to off. This worked great because then the icon in the MobilLinc app was always accurate.

 

What I have tried under the ISY 994i

- I tried Xathros setup and programs found here: viewtopic.php?p=87673#p87673

However, my setup didn't seem to stay in Sync. My Keypad Linc buttons would only sporadically show the right status and control the door. I tried adjusting my setup to Momentary A and putting my Keypad Linc button to Toggle On. However, I was still having issues under this setup with getting the right control and status. It would be helpful to know what status should the relay and the sensor show when the garage door is closed.

-I tried my same setup that I had working under the ISY 99i but my "status updater" programs don't work the same way. They get out of sync real quickly. The Scenes also would not work to open/close the garage like they did with the ISY 99i.

-I tried updating my programs to update the relay status instead of the scene status. This only made the garage door instantly stop as soon as I tried to open it.

-I tried playing with my scenes and adjusting the "on" levels for the relay. No Luck.

 

Can someone share with me a detailed working scenario or how they are dealing with these devices?

-What do the relay and status sensors report when the door is closed

-What programs are they using to make MobilLinc work w/ Status?

-What "On" Levels do they have for each device in their scenes?

 

Thanks in advance!

 

I have already overheated my garage motor testing and trying to figure this out in the hot summer evenings.

Posted

The fact that neither my programs or your previous ones work as they should leads me to think you are having either link record or comm problems between the IOLincs, KPL and PLM.

 

With the KPL-Relay and Sensor-KPL scenes set up, run a cycle or two with the event log running at level 3 and post the result.

 

-Xathros

Posted

If I go with my original setup my kepad linc buttons work just fine in conjuction with my I/O linc. It's when I try to make everything work with MobilLinc is when I start to have trouble. No matter what programs I put in to try and get the scenes to update correctly I run into trouble.

 

I tried implementing your programs to get things to play nice with mobile link. Here is the code that I used for the programs: When using these porgrams I switch my relay to Momentary A.

 

If
       Status  'Garage / 1car-Sensor' is Off

Then
       Set Scene 'Garage / 1car Garage - Open-Close' Off
       $OneCar_GD_Status  = 0
       $OneCar_GD_Status Init To $OneCar_GD_Status
       Run Program '1Car Open/Close' (Else Path)

Else
       Set Scene 'Garage / 1car Garage - Open-Close' On
       $OneCar_GD_Status  = 1
       $OneCar_GD_Status Init To $OneCar_GD_Status


 

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Set 'Garage / 1car-OpenClose-Relay' On

Else
  - No Actions - (To add one, press 'Action')


post-4104-14047416012_thumb.jpg

post-4104-140474160121_thumb.jpg

Posted

In my setup, I only use scenes to control the KPL LED's. The Sensors and Relays are not in the scenes - everything is linked via programs. Keep in mind that the stratus of the relay is meaningless and only the sensor status should be looked at for door status.

 

In your case, having the sensor be controller of a scene containing the KPL LED as responder should be fine and Mobilinc should correctly display the status.

 

What mode is your KPL button in? Toggle, Non-Toggle On or Non-Toggle Off?

 

-Xathros

Posted

Xathros, thanks for your help that totally makes sense now why I was having inconsistent results when using your programs.

 

My keypadlinc is in toggle mode.

 

The root of my problem is this:

-I use the open/close scene as a favorite MobileLinc

-If I use a non insteon controller to manipulate garage door i.e. a craftsman remote the relay status get's out of sync.

-The scene favortie in MobileLinc shows status based on relay. If relay is open garage door icon shows open.

 

In my isy99i I used two programs to update status:

 

If
       Control 'Garage / 1car-Sensor' is switched Off

Then
       Set Scene 'Garage / 1car Garage - Open-Close' Off

Else
  - No Actions - (To add one, press 'Action')

 

If
       Control 'Garage / 1car-Sensor' is switched On

Then
       Set Scene 'Garage / 1car Garage - Open-Close' On

Else
  - No Actions - (To add one, press 'Action')

 

I have been playing back and forth with adjusting the On levels for the relay in scene. Right now I have the relay set to an on level of 0% (which I believe is how I had it in my 99i when things worked) So in this scenario the Off program works but the On program updater when turning the scene on doesn't set the relay status to on so the icon doesn't update in MobileLinc. If I change the on level of the relay to 100% then when it attempts to update the On Status it stops the garage from opening because when the update program runs the relay gets switched.

 

I am going to try and find some time to play with it a bit more this weekend to see if I can come up with any more solutions. I might go back to your programs and remove my keypadlinc/relay as controllers in the scense and set my keypadlinc to run the program instead of the scene.

Posted

You shouldn't care (or monitor) the relay status. It is meaningless. It is the Sensor status that defines the door condition. Try removing the scene with the relay and button. Now, create a program that says:

 

If Control KPL button is switched On 
  or
  Control KPL Button is switched Off

Then
  Set IOLinc.Relay On
  wait 5 seconds
  Set IOLinc Relay Off

 

You will want to set this as a Mobilinc Favorite (run then) along with the Sensor/KPL scene. The sensor scene is your door status, the program is the open/close button.

 

-Xathros

Posted

Ok the program method in conjunction with your monitoring program works perfectly.

 

Just one more question. In MobileLinc my favorite Garage Door icon (under programs) only shows open while it's opening. Once the door is open it shows a closed door icon even though the status is being updated correctly with True (Open). Is this the same for you?

 

Thanks so much!

 

 

 

post-4104-140474160127_thumb.jpg

post-4104-140474160128_thumb.jpg

Posted

isyrocks!,

 

I had the same issue with Mobilinc, but you can reverse the icon:

 

Go to the garage sensor device in Mobilinc, hit the arrow on the right to view options, hit Advanced Options, hit the right arrow by the Selected Icon, change from Garage Door to Garage Door Reverse. I hope that fixes it.

 

I just upgraded from ISY 99i to 994i today, and my relay now shows as backward on my garage doors, but the sensor looks fine. Everything else seems to be normal.

 

Any ideas? I wonder if the doors needed to be open when I restored the ISY. I'll likely open the doors, remove the relays from the scenes and re-add them. Does this sound right to you folks?

 

Thanks,

Alan

Posted

AlanF,

 

You should be able to click on your sensor/relay go to porperties and just check the box that says "trigger reverse" I believe.

 

Yes I know that tip in Mobilinc to switch the icon. The problem is the icon shows closed when the door is open and the icon shows closed with the door is closed. It only show's open while it's opening.

Posted

isyrocks-

 

Sorry for the delay - was away on vacation.

 

My door icon works as it should.

 

What is in the If section of that program?

 

-Xathros

Posted

Thanks Xathros

 

If
       Control 'Mud Room / Garage KL (load) / Garage KL (E) 1car Garage' is switched On
    Or Control 'Mud Room / Garage KL (load) / Garage KL (E) 1car Garage' is switched Off

Then
       Set 'Garage / 1car-OpenClose-Relay' On
       Wait  5 seconds
       Set 'Garage / 1car-OpenClose-Relay' Off

Else
  - No Actions - (To add one, press 'Action')

Posted

Well that will always evaluate true. So the Icon will always be the same regardless of the door position.

 

Here is my open/close program: .Dad-Open-Close

If


Then
       Set 'Garage / Garage Door IOLinks / GD- Dad Garage Door Relay' 100%
       Wait  10 seconds
       Set 'Garage / Garage Door IOLinks / GD- Dad Garage Door Relay' Off
       Wait 8 seconds

Else
  - No Actions - (To add one, press 'Action')

I "Run Then" from Mobilinc on the above program to Open/Close. True Status is "Open" False Status is "Closed" Running Then is "Door in motion..." The last wait is to allow time for the door to complete it's travel thus keeping the status of "Door In motion" for the duration of it's travel.

 

And my status program: Dad Garage Door Status Lights

If
       Status  'Garage / Garage Door IOLinks / GD- Dad Garage Door Sensor' is Off

Then
       Set Scene 'Garage / Garage-Dad' Off
       $i.Dad_GD_Status  = 0
       $i.Dad_GD_Status Init To $i.Dad_GD_Status
       Run Program '.Dad-Open-Close' (Else Path)

Else
       Set Scene 'Garage / Garage-Dad' 100%
       $i.Dad_GD_Status  = 1
       $i.Dad_GD_Status Init To $i.Dad_GD_Status


 

Notice the Then section of the status program calls the Else of the Open/Close program when the door is closed. This is what fixes the door Icon on Mobilinc for the closed status.

 

Hope this helps.

 

-Xathros

  • 1 year later...
Posted

Well that will always evaluate true. So the Icon will always be the same regardless of the door position.

 

Here is my open/close program: .Dad-Open-Close

If

 
Then
        Set 'Garage / Garage Door IOLinks / GD- Dad Garage Door Relay' 100%
        Wait  10 seconds
        Set 'Garage / Garage Door IOLinks / GD- Dad Garage Door Relay' Off
        Wait 8 seconds

Else
   - No Actions - (To add one, press 'Action')
 
I "Run Then" from Mobilinc on the above program to Open/Close. True Status is "Open" False Status is "Closed" Running Then is "Door in motion..." The last wait is to allow time for the door to complete it's travel thus keeping the status of "Door In motion" for the duration of it's travel.

 

And my status program: Dad Garage Door Status Lights

If
        Status  'Garage / Garage Door IOLinks / GD- Dad Garage Door Sensor' is Off
 
Then
        Set Scene 'Garage / Garage-Dad' Off
        $i.Dad_GD_Status  = 0
        $i.Dad_GD_Status Init To $i.Dad_GD_Status
        Run Program '.Dad-Open-Close' (Else Path)
 
Else
        Set Scene 'Garage / Garage-Dad' 100%
        $i.Dad_GD_Status  = 1
        $i.Dad_GD_Status Init To $i.Dad_GD_Status
 

Notice the Then section of the status program calls the Else of the Open/Close program when the door is closed. This is what fixes the door Icon on Mobilinc for the closed status.

 

Hope this helps.

 

-Xathros

 

 

Xathros,

 

I am trying to setup my garage door in mobilinc but can't get my door icon correct. You say that what keeps the icon correct is to run the Else of the open/close program. There is nothing in the else portion of the open/close program. Am I missing something?

 

open/close

 

If

        $i_LDG_Status is 1

 

Then

        Set 'GarageLarge-Sensor / GarageLarge-Relay' On

        Wait  10 seconds

        Set 'GarageLarge-Sensor / GarageLarge-Relay' Off

        Wait  8 seconds

 

Else

   - No Actions - (To add one, press 'Action')

 

 

 

Status:

 

If

        Status  'GarageLarge-Sensor' is Off

 

Then

        $i_LDG_Status  = 0

        $i_LDG_Status Init To $i_LDG_Status

        Run Program 'LGD_OPen/Close' (Else Path)

 

Else

        $i_LDG_Status  = 1

        $i_LDG_Status Init To $i_LDG_Status

 

 

 

Thanks, Mike

Posted (edited)

Xathros,

 

I am trying to setup my garage door in mobilinc but can't get my door icon correct. You say that what keeps the icon correct is to run the Else of the open/close program. There is nothing in the else portion of the open/close program. Am I missing something?

 

open/close

 

If

        $i_LDG_Status is 1

 

Then

        Set 'GarageLarge-Sensor / GarageLarge-Relay' On

        Wait  10 seconds

        Set 'GarageLarge-Sensor / GarageLarge-Relay' Off

        Wait  8 seconds

 

Else

   - No Actions - (To add one, press 'Action')

 

 

 

Status:

 

If

        Status  'GarageLarge-Sensor' is Off

 

Then

        $i_LDG_Status  = 0

        $i_LDG_Status Init To $i_LDG_Status

        Run Program 'LGD_OPen/Close' (Else Path)

 

Else

        $i_LDG_Status  = 1

        $i_LDG_Status Init To $i_LDG_Status

 

 

 

Thanks, Mike

Mike-

 

I know it seems strange but...

 

Mobilinc displays the Icon based on the status of the program (True or False = Then/Else).

 

Running the empty Else section makes the program False which causes ML to display the opposite Icon.  It doesn't matter that there is nothing in the else to run, simply that the else WAS the last thing to run.  Make sense?

 

-Xathros

Edited by Xathros
Posted

I am going crazy trying to get the Icon correct. If the it is set to Garage Door the icon shows open when door is open, shows closed when door is moving, shows open when door is closed. Icon is revered when Garage Door Revers is selected. I just can't seem to get it to display opened and closed accordingly. Any ideas looking at my programing?

 

Thanks, Mike

Posted

It is the icon status of my Open/Close program on my Dashboard. I assume the Dashboard is the same as favorites?

 

Thanks for the help.

 

-Mike

Posted

Mike,

 

I will need to review all of my code to determine exactly what I did to make it work.  I have quite a few programs related to the garage doors.  Some for ML and others for local control from KPL buttons and even more for proximity related stuff.  

 

Here is the ML stuff as I remember it:

 

My Open/Close program on the ML dashboard is a disabled program that uses a State variable to represent the condition of the garage door.  1=open, 0=closed.

 

The program (Dad_Door_Open/Close) is Disabled so that it doesn't auto trigger.  I used a state variable so that I can trigger other programs/events based on the change in door states.  For this example I believe an integer variable would work just as well.

If 
   $s.Dad_Door = 1

Then
   Set Dad_Garage_Door_Relay On
   Wait 15 Seconds
   Set Dad_Garage_Door_Relay Off

Else
   Set Dad_Garage_Door_Relay On
   Wait 15 Seconds
   Set Dad_Garage_Door_Relay Off

I have a second program that monitors the sensor and sets the variable among other things.

If
  Control Dad_Garage_Door_Sensor is switched On
   and Dad_Garage_Door_Sensor is not switched Off

Then
   $s.Dad_Door =1

Else
   $s.Dad_Door =0

The Custom status for the Open/Close are set:

True - Open

False - Closed

Running Then - Door in Motion

Running Else - Door in Motion

 

I don't remember if I set the Icon as Door or Door Reversed but one of them works correctly and the other is backwards.

 

Hope this helps.

 

-Xathros

Posted

I have things all screwed up and now my Opener has stopped working from overheating. I am going to take a break from this and try again this weekend. If you come up with anything, or others have this working please let me know.

 

Thanks again, Mike

  • 9 months later...
Posted

Ok the program method in conjunction with your monitoring program works perfectly.

 

Just one more question. In MobileLinc my favorite Garage Door icon (under programs) only shows open while it's opening. Once the door is open it shows a closed door icon even though the status is being updated correctly with True (Open). Is this the same for you?

 

Thanks so much!

 

attachicon.gif1.jpg

 

attachicon.gif2.jpg

Did you ever get this figured out? I have the exact same issue trying to setup a status/button toggle under a single icon on Mobilinc.

 

I have used Xathros programs/posts and the program evaluates properly (true/open when really open, false/closed when really closed) but the icon only changes to open while it is running the Then statements, then it reverts back to closed regardless of if the door is open/closed or the program is true/false.

it seems it isn't true that Mobilinc determines the icon based on the program state.

Posted

It turns out that I was correct. When you use a program in the dashboard of ML, the icon is determined by the program run state. If it is running, the icon is the ON icon and OFF for not running.

 

So this method will not work

Guest
This topic is now closed to further replies.

×
×
  • Create New...