The Vera Community forums have moved!

Advanced => Programming => Plugins & Plugin Development => Topic started by: woodsby on December 22, 2010, 06:11:39 pm

Title: Garage Door Plugin
Post by: woodsby on December 22, 2010, 06:11:39 pm
First, let me begin with a disclaimer - this code is to be used for recreational purposes and not to be used for life safety or non-UL/CE listed applications.  Use at your own risk, and test thoroughly before leaving unattended.
Attached is the garage door Imp file designed to work with the standard DoorLock dev file.  This is designed to work with a HRDS1 or similar battery powered sensor and a ZRF113 or similar relay device.  Once you have installed both these devices, note the device numbers.  Plug these device numbers into lines 4 and 5 of the attached file (SensorDevNum and ContactsDevNum).  Then upload the file to Vera through Mios Developers > Luup Files.  Check the box to restart luup after upload.  Then, add a new device through Mios Developers > Create Device.  Under Description, name your new device.  Under UpnpDevFilename, enter D_DoorLock1.xml  Under UpnpImplFilename, enter I_GarageDoor.xml, then click Create device.  Save, then power cycle vera, and your garage door device should now work like any other door lock.
Not very pretty, but works great.  If there is interest, I will clean it up, but it should be a good start for anyone else to clean up... just add a couple lines to the init to populate the status variable - I think that's what will eliminate the need to power cycle; and maybe add a couple state variable to represent Sensor and ContactClosure device numbers.
Title: Re: Garage Door Plugin
Post by: woodsby on December 22, 2010, 07:03:57 pm
Sorry... posted the wrong version... updating now.
Title: Re: Garage Door Plugin
Post by: mcardenas on December 23, 2010, 08:54:18 am
Hi Woodsby,

Sounds pretty interesting, but I don't fully understand what it does?
Title: Re: Garage Door Plugin
Post by: woodsby on December 23, 2010, 04:31:19 pm
This basically takes the combination of the door sensor device and the contact closure device on a garage door setup and consolidates them into a single device that behaves as a door lock - in the ui and iphone apps.  Locked means garage door is closed; unlocked means garage door is open.
Title: Re: Garage Door Plugin
Post by: rlmalisz on December 23, 2010, 04:34:48 pm
Hi Woodsby,

Sounds pretty interesting, but I don't fully understand what it does?

If I would have to guess:

The code uses the door sensor to tell whether it's open or closed, and then has logic based on that to know whether activating the ZRF113 is going to toggle the door open or closed.  And that's all wrapped up in code that can sit under Vera's (and therefore, SQ Connect and others') existing GUI.

How'd I do?  My question (wiring up the ZRF113s for all three garage doors is a project for this weekend) is whether this is straight-up code that will run on older Vera OSs (and specifically, Vera 1), or does it depend on new libraries or whizbang stuff that has shown up in later versions?

Regardless, I think it's cool and will avail myself of it as soon as it will run on our active Vera.  We have a V2, but have been waiting for the stable update to materialize.

--Richard
Title: Re: Garage Door Plugin
Post by: woodsby on December 23, 2010, 04:40:43 pm
I don't know why it wouldn't work on a previous UI or Vera 1, but I am running UI4 on both veras, but am not in a position to test on my vera 1 right now.  If it doesn't work on UI2 or 3, I'm sure a slight modification to the luup is all that would be needed.  And yes, that's a correct assessment.
Title: Re: Garage Door Plugin
Post by: strangely on December 24, 2010, 04:33:04 am
Nice one woodsby!

I'll install it tomorrow and see how it goes! Should clean up SQ remote a bit as it'll save having a scene and a status label!

*edit*

All installed and working great thanks!!
Title: Re: Garage Door Plugin
Post by: woodsby on December 24, 2010, 04:32:37 pm
@Strangely, just out of curiosity, did you have to power-cycle vera?
Title: Re: Garage Door Plugin
Post by: strangely on December 24, 2010, 07:18:44 pm
I had to do many things to get it to work as not only did I manage to include a space in the filename of the xml (somehow did this when saving) and it took me ages to work out why it kept on giving me an error when I toggled the lock! But I'd also gotten myself in a knot with the device ID versus node ID, after initially getting it correct, and then changing while troubleshooting the first problem (not known at the time) I'd brought on myself!

Needless to say there was much power cycling and cursing going on. I also wasn't sure it was going to work as I'm using my alarm systems sensors interfaced through Vera (just integrated it) and even though I could see the sensors tripping, I didn't have the confidence something wasn't coded correctly with MCV's DSC plugin :)
Title: Re: Garage Door Plugin
Post by: Boyo on December 27, 2010, 12:58:10 am
Ok, So I have a Genie garage door opener that uses Intellicode.
For my push button in the garage, there are two wires, black and white. Two buttons, door and light we shall call them, and a switch, lock/unlock.
According to the manual, it says if the wall control panel is not connected, the door will not function which leads me to believe that when it is set to 'lock' it is just breaking the circuit.
As for the two buttons, i'm not exactly sure how those are working.

In a caution block in the manual, it says "Use of any wall consoles other than the type included
will prevent the light from working properly and could
cause the door to operate on its own"

And for the relevant part, would I be able to use the ZRF113 to operate my door? As long as the light works when the door operates, it's not a big deal as there is other lighting in the garage.
Title: Re: Garage Door Plugin
Post by: strangely on December 27, 2010, 01:02:51 am
Mine is a Genie with intelicode; everything works fine including the light. You wont be disconnecting the wall controller... just wiring the local load of the relay in parallel. YMMV though as I have an old model!
Title: Re: Garage Door Plugin
Post by: Boyo on December 27, 2010, 01:06:16 am
So the wall controllers you have still work then? how about the lock? and one last question, with the ZRF113, I would just splice a blue wire into each white & black?

Title: Re: Garage Door Plugin
Post by: strangely on December 27, 2010, 01:51:38 am
Yep wall controller is still functional also, although I never tried the lock button... cant see why it wouldn't though, but I can confirm tomorrow!

Not sure about the ZRF113 as I couldn't get hold of one a while back and opted for hacking an appliance module instead. Looking at it's PDF I think you are correct and you can either splice it to the existing bell wire (in parallel) anywhere from the motor to the switch... the best place is just attach the wires at the screw terminals at the motor end!

You can wire up the 120V side , then include it, and then check with a multimeter that the blue wires give you continuity when the relay is switched and that it's isolated from the 120V! If it is then connected the blue wires and hope for the best :)

If you are going to use this, then make sure you have a door sensor also and maybe also a camera for double safety :)

Just remember that if you cant get @woodsbys plugin to work (or don't have a door sensor), that you need to create a scene that turns it on briefly then back to off!  
Title: Re: Garage Door Plugin
Post by: Boyo on December 27, 2010, 11:28:54 am
Yeah, I was concerned of if it got left "closed" and what that would do, and I was looking at the code for the plugin and see that it continuously checks the status until it is closed and then opens it back up so the circuit isn't kept closed all the time. I already have plans of putting a camera on the outside so I can see both garage doors as well as the cars when parked in the driveway if I can get it positioned right. 
Title: Re: Garage Door Plugin
Post by: akashk on December 30, 2010, 01:18:48 pm
Nice plugin woodsby. Works perfectly for me with my HRDS1 sensor and an outdoor module + power relay combo. BTW, I did not have to power-cycle my Vera2 UI4.
Title: Re: Garage Door Plugin
Post by: bfuqua on February 06, 2011, 01:56:09 am
I am setting my garage door up now.  Is there an update to the file?  Woodsby, I certainly appreciate the work you have done and shared witht he Vera community.
Title: Re: Garage Door Plugin
Post by: woodsby on February 06, 2011, 07:19:11 am
No update - the imp file should run fine on the latest beta (and previous versions). Post back if you have problems. Good luck.
Title: Re: Garage Door Plugin
Post by: burkle3 on February 17, 2011, 07:05:57 pm
Is there a code you could upload to simply know the status of the door?

Thank you, This is great!
Title: Re: Garage Door Plugin
Post by: strangely on February 17, 2011, 11:52:08 pm
Is there a code you could upload to simply know the status of the door?

Thank you, This is great!
Not sure I understand the question but...

You just need a door/window sensor such as a HRDS1 for that which will show you the status of the door . You would need the sensor anyway to also make this plugin function correctly!
Title: Re: Garage Door Plugin
Post by: RobertN on May 14, 2011, 12:03:41 am
Is there anyway someone can upload pictures of their set-up for this? I really want to get this done but am a little nervous starting this project as I am not exactly sure how everything is hooked up and put together. I would really appreciate it if someone can do this.
Title: Re: Garage Door Plugin
Post by: strangely on May 14, 2011, 12:46:42 am
There are some pictures in the following thread:

http://forum.micasaverde.com/index.php?topic=4773.0
Title: Re: Garage Door Plugin
Post by: mitch672 on June 04, 2011, 02:53:53 pm
Ok,let me state, this is somewhat of a tough question.

I have the "virtual" garage door lock working wth the code in post #1, works great.

Now, what I would like to do, is use the Wayne Dalton WHDA-12 Homelink-Zwave gateway to activate/deactivate the virtual lock.  In other words, instead of using my RF receiver on the door, have Vera take care of it.

I tried adding a scene, but the issue is, the scene has to be a "lock" or "unlock" scene, what I really want is a "toggle" scene.  So if the overhead door is open, close it, and if it is closed, open it.

I am already using Scene 1 for garage lights on, and Scene 2 for garage lights off, so I only have Scene 3 left on the WHDA-12 (off course if the toggling can be made to work, then the garage lights could also be 1 button as well :) )

Anyone have ideas on this?  If I can get it "working on the bench" (the components are not installed yet, just testing it right now), then I can remove the RF receiver I am using, program my "homelink" button 3 to the WHDA-12 Scene 3, , and just use the WD gateway.

Mitch
Title: Re: Garage Door Plugin
Post by: pgiron on June 04, 2011, 07:30:19 pm
This basically takes the combination of the door sensor device and the contact closure device on a garage door setup and consolidates them into a single device that behaves as a door lock - in the ui and iphone apps.  Locked means garage door is closed; unlocked means garage door is open.
Sensor is working...shows red or blue figure. Open door red figure but woodsby device says locked and doesn't change to unlocked. Closed door , sensor shows blue figure but woodsby plugin remains locked.
Any ideas?
Thanks

p.s. is it possible to rename the buttons open/closed? instead of locked/unlocked?
Title: Re: Garage Door Plugin
Post by: strangely on June 04, 2011, 07:38:44 pm
Did you edit the device number of your sensor before you uploaded it? Also make sure that you've used the device number rather than the Zwave node ID
Title: Re: Garage Door Plugin
Post by: pgiron on June 04, 2011, 08:26:34 pm
Did you edit the device number of your sensor before you uploaded it? Also make sure that you've used the device number rather than the Zwave node ID
it was id instead of device. thanks. can i change button names to closed/open?
Title: Re: Garage Door Plugin
Post by: strangely on June 04, 2011, 08:35:06 pm
Not easily, but you might be able to edit the .json file it uses to display it perhaps?! Even if this is possible then it would also affect other locks.
Title: Re: Garage Door Plugin
Post by: rlmalisz on June 10, 2011, 01:18:13 pm
So here's another (probably silly) question: if I have more than one garage door, since the sensor and relay device numbers are hard-coded in the "I" file, do I support multiple instances by giving the I files slightly different names, setting the values appropriately, and then uploading both?

--Richard
Title: Re: Garage Door Plugin
Post by: strangely on June 10, 2011, 10:38:53 pm
So long as you have different devices called out in the xml (assuming different sensors etc), and its named something different, then I think it will work OK.

The backup function is your friend here, in case anything breaks :)
Title: Re: Garage Door Plugin
Post by: N5NHL on June 14, 2011, 12:16:40 am
I finally found a Mercury switch from an old thermostat that got my HM-DW001 to work reliably.  Configuring this went very smooth and it worked on the first try (no restart required).

Best of all it makes the process easier for the wife.  Now she doesn't have to look at the camera to figure out if she closed or opened the garage.  Oh, and I like it too.

Thank you very much for posting this plugin.
Title: Re: Garage Door Plugin
Post by: tanahiro on October 03, 2011, 10:20:06 pm
i have i genie garage opener.  im new in all this and i want to control my garage door with vera.  can someone explaime how to do it like a baby.  what i need to buy, the step by step procedure and in the case that can include some picture will be good.  thanks
Title: Re: Garage Door Plugin
Post by: N5NHL on October 04, 2011, 05:34:20 pm
This thread deals more with controlling the garage door like a lock once you already have the ability to control your garage door with Vera.

There are several other posts that break the process down and explain in detail.  This is a link to my recent post that should point you in the right direction to complete the first part your project.  http://forum.micasaverde.com/index.php?topic=2757.msg51275#msg51275

Step 1: get Vera to command your garage door to open and/or close
Step 2: decide how you want to determine your garage door is open or closed (several products and methods to choose from)  You may have to engineer a personalized solution to work for your location.
Step 3: If you decide to use a window sensor, come back to this thread and configure this helpful plugin to open/close your garage door like you would lock/unlock a door lock.
Title: Re: Garage Door Plugin
Post by: shep29 on October 12, 2011, 11:44:42 am
Need a little guidance. I've installed an Evolve LFM-20 Z-Wave Relay and a Aeon Labs Door/Window sensor to my garage door. Both work fine independently.

But the relay keeps setting up an "Appliance_module" device on my dashboard with a new device #. Is this what you're supposed to use to control the garage door? If so, how do I modify the xml file to include that device #?

Also, how do you know the device number before you set it up on Vera? It seems like the "Include" step of the z-wave relay is missing here. What am I missing?

***EDIT*** It worked after setting the relay and sensor up as devices first on the z-wave network and Vera, recording their device #'s and then following Woodsby's directions. Sorry guys, but I'm new and needed to know a little more about the prep-work in fully installing and including the devices on the network. Also, you have to remember to shut off the Relay by pushing it's button after its included in the network or your hard-wired keypad won't work. Cheers Woodsby!

***EDIT # 2*** See attached image. The "device" that was created after adding the Relay to my z-wave network (step prior to following Woodsby's directions) landed on Dashboard in the Devices section. But I can't seem to mess with it. It doesn't want to be assigned a different room or change it's name. It's just sitting there like a stubborn child. Any ideas?
Title: Re: Garage Door Plugin
Post by: dratifk on November 30, 2011, 09:20:59 am
Hey guys I just set up my Ademco Vista Alarm System My next project is the garage doors. Ever since I had security cameras installed Electromagnetic interference has pretty much hobbled my HomeLinks from my Car. I had sears come out and they have no solution. Don't want to uninstall my cameras.

So this solution would work well. Just one question I havn't yet manipulated any LUUP files. Can someone please tell me exactly where do I add the id numbers for the sensor and relay into the Luup File. Can't figure that out. Lets say the ID number is 10sensor  and 11relay.

","urn:micasaverde-com:serviceId:SecuritySensor1","Tripped",SensorDevNum) GetSensorStatus() end function CloseContacts() luup.call_action("urn:upnp-org:serviceId:SwitchPower1","SetTarget",{ newTargetValue="1" },ContactsDevNum) repeat local ContactStatus = luup.variable_get("urn:upnp-org:serviceId:SwitchPower1","Status",ContactsDevNum) ContactStatus =
Title: Re: Garage Door Plugin
Post by: garrettwp on November 30, 2011, 01:12:19 pm
You want the device id of each device e.g. contact sensor and relay. At the top of the I_GarageDoor.xml you will see the following lines:

SensorDevNum = 40
ContactsDevNum = 24

SensorDevNum is your relay and ContactsDevNum is your contact sensor.

- Garrett

p.s. I just ordered a DSC panel and will eventually replace my zwave contact switch with the alarm contact switch. Should be way more reliable and not each batteries.

- Garrett
Title: Re: Garage Door Plugin
Post by: dratifk on November 30, 2011, 02:47:17 pm
Duh

Thats obvious enough. Guess I got confused with the instructions Saying

 "Plug these device numbers into lines 4 and 5 of the attached file (SensorDevNum and ContactsDevNum). "

This is actually Line 1

Will give it a try.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on November 30, 2011, 03:32:35 pm
p.s. I just ordered a DSC panel and will eventually replace my zwave contact switch with the alarm contact switch. Should be way more reliable and not each batteries.
I'm looking forward to trying this out, but in reading your comment, I had a thought; would it be possible to power the door/window sensor from the safety sensors?  They run off voltage from the logic board.  It should be possible to regulate down to (1.5V? 3V?) to power the door sensor.
Title: Re: Garage Door Plugin
Post by: strangely on December 27, 2011, 03:04:02 am
Anybody tried this in V3/UI5 yet? I just added it as new plugin and its not working?!
Title: Re: Garage Door Plugin
Post by: garrettwp on December 27, 2011, 03:05:12 am
I have it installed and it is working fine. I use it everyday.

- Garrett
Title: Re: Garage Door Plugin
Post by: strangely on December 27, 2011, 03:15:51 am
Installed as port from V2 though?
Title: Re: Garage Door Plugin
Post by: strangely on December 27, 2011, 03:24:57 am
Ok, Just removed and re-added and now its working?! Panic over :)
Title: Re: Garage Door Plugin
Post by: fire708 on January 13, 2012, 04:26:39 pm
got it working on my second restart of vera. Very cool.
Thanks for the work Woodsby!
Title: Re: Garage Door Plugin
Post by: macgeekbrian on January 30, 2012, 04:26:03 pm
Hey Woodsby...got this all installed and working, and it's awesome. One question...does the "armed/disarmed" state of the door sensor matter? I have some other scenes based on tripping the sensor if it's armed (at night)...so I want to make sure this plugin will work when it's not (during the day).

Thanks!

Brian
Title: Re: Garage Door Plugin
Post by: baxy_AU on February 06, 2012, 07:44:03 am
I have finally got all the bits I need to try this out ....but I am having issues creating the device as explained in the first post..can anyone help me out? I have edited the imp file to reflect that my door sensor is device 6 and the contact closure relay is device 33 and followed the rest of the instructions..then the new device appears on my dashboard for a few seconds and then it seem to get deleted?
I am using a vera2 on UI4
Title: Re: Garage Door Plugin
Post by: tommy on February 13, 2012, 09:32:22 pm
I have the same issue...the device gets created then disappears.

I also want to confirm - the SensorDevNum = the LFM-20 and the ContactDevNum = the SM103?  Or is this backwards?

Using vera3/UI5

Thanks!!

Title: Re: Garage Door Plugin
Post by: strangely on February 14, 2012, 12:57:13 am
I have the same issue...the device gets created then disappears.

I also want to confirm - the SensorDevNum = the LFM-20 and the ContactDevNum = the SM103?  Or is this backwards?

Using vera3/UI5

Thanks!!
Backwards :)
Title: Re: Garage Door Plugin
Post by: tommy on February 14, 2012, 06:09:03 am
Changed that, thanks.  (Garrett had (mistakenly?) posted: SensorDevNum is your relay and ContactsDevNum is your contact sensor.)

Nonetheless, the new Device keeps disappearing!
Title: Re: Garage Door Plugin
Post by: strangely on February 14, 2012, 11:55:36 am
Are you sure you used the device numbers and not the Zwave node IDs?
Title: Re: Garage Door Plugin
Post by: baxy_AU on February 14, 2012, 04:36:47 pm
I'm sure I used the device id num.
Title: Re: Garage Door Plugin
Post by: tommy on February 14, 2012, 09:19:50 pm
Me too...at first I used the node ID and had to change it.
Title: Re: Garage Door Plugin
Post by: baxy_AU on February 20, 2012, 09:23:29 am
Found my problem... I was selecting _scene controller in the DeviceNumParent box...I just left it as the default "No Parent" and it all works great.
Title: Re: Garage Door Plugin
Post by: baxy_AU on March 05, 2012, 09:48:53 pm
I have this plugin working great now but I'm now wondering if anyone also uses the manual switch on the appliance module to trigger their garage door? At the moment when I use the manual switch I press it twice quickly to turn it on and off again...what would be the best way to automate this so that I only need to press the button once?

Sent from my GT-I9100
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on March 06, 2012, 09:47:49 am
I have this plugin working great now but I'm now wondering if anyone also uses the manual switch on the appliance module to trigger their garage door? At the moment when I use the manual switch I press it twice quickly to turn it on and off again...what would be the best way to automate this so that I only need to press the button once?
You could set up a scene that turns it off if it's turned on (use the appliance module as the scene trigger)...  but I don't think it'll give you the speed you need.
Title: Re: Garage Door Plugin
Post by: woodsby on March 08, 2012, 05:30:37 am
Back before I used this plugin, my garage door setup was all scene based: on door sensor event, set the virtual device status; and on appliance module on event, turn appliance module off.  I don't recommend this, because if you manually hit the appliance module, and vera doesn't get the message, your module will be stuck in the on position, which will prevent your garage door buttons from working.

If you really want to do this, you can add a line of code to the garage door plugin I_ file to luup.variable_watch similar to the one already in the imp file for watching the door sensor device status.

Where is your appliance module installed?  I kept mine out of reach above the garage opener and inside a pvc enclosure - but I was a zrf113.
Title: Re: Garage Door Plugin
Post by: baxy_AU on March 13, 2012, 06:24:50 pm
I have one of these http://www.zwave.com.au/index.php?_a=viewProd&productId=30
Plugged in next to my garage door opener.
Title: Re: Garage Door Plugin
Post by: strangely on March 14, 2012, 12:05:03 am
I have one of these http://www.zwave.com.au/index.php?_a=viewProd&productId=30
Plugged in next to my garage door opener.
Did you modify it?
Title: Re: Garage Door Plugin
Post by: baxy_AU on March 14, 2012, 12:14:56 am
No....just plugged a 12v wall wart power supply into it an connected that to trigger a 12v automotive relay which is connected to the garage door opener.
Title: Re: Garage Door Plugin
Post by: davidd1205 on March 14, 2012, 05:47:43 am
Hey Woodsby...got this all installed and working, and it's awesome. One question...does the "armed/disarmed" state of the door sensor matter? I have some other scenes based on tripping the sensor if it's armed (at night)...so I want to make sure this plugin will work when it's not (during the day).

Thanks!

Brian

hello

i'have this problem


The plugin works well against by my sone alarm that is triggered when the sm103 but even if I bypass opens the garage with another button that I plug off the alarm while in my trigger I put year armed sensor is tripped

is it normal that if you open with the plugin not to do as he was tripped my sil sm103

thanks
Title: Re: Garage Door Plugin
Post by: woodsby on March 15, 2012, 09:36:44 am
Hey Woodsby...got this all installed and working, and it's awesome. One question...does the "armed/disarmed" state of the door sensor matter? I have some other scenes based on tripping the sensor if it's armed (at night)...so I want to make sure this plugin will work when it's not (during the day).

The garage door plugin shouldn't be affected by whether the sensor device is armed or bypassed, nor should the garage door plugin affect the sensor device.  Any scenes you have based on the sensor should operate as if the garage door plugin doesn't exist.

The only thing the plugin should be doing with the sensor is watch its status variable.
Title: Re: Garage Door Plugin
Post by: baxy_AU on March 15, 2012, 05:31:38 pm
Hi woodsby
I'm a bit of a noob . Can you please give me details on how to modify the I file to monitor the appliance module as well
Cheers
Title: Re: Garage Door Plugin
Post by: wildview on April 18, 2012, 06:53:50 pm
Question, I have added the correct device IDs to the .xml file and when I load it it says loaded successfully, but after I create a device with it, it reports delivery failed when I click the lock or unlock on the device. I noticed when I look at the list of luups the I_GarageDoor.xml luup file doesn't show up. Does this mean it never loaded like it said and maybe this is what is causing the delivery failure. I followed woodsby's directions to the 'T' too. What could be causing this problem with the plugin? I wished simple things weren't so dang complicated =)

Update: I loaded up the PuTTY software and looked in the cmh-ludl folder and there was a tmp folder and another folder referenced with a number and in that folder was the I_GarageDoor.xml.lzo file. I don't believe this plugin is compatible with the newer version Verde FW 1.1.1362 because every time it's uploaded up it just shoves the .xml file into a tmp directory =) I guess I'll just stand by to see if anyone has made this plugin work with the latest version of Verde, if not I'll just write my own luups I guess to control my door.

Thanks
Title: Re: Garage Door Plugin
Post by: jimpapa on April 23, 2012, 06:42:50 pm
Just a quick Thanks for this code ....  worked perfectly!
Breeze to install...  Very cool!!

Thanks!
Title: Re: Garage Door Plugin
Post by: undertoe on April 25, 2012, 08:11:08 am
Worked like a charm in UI5 and just to clarify a couple things because I was scratching my head a couple times.

SensorDevNum = ID of door sensor contact (ie. Aeon Labs door/window sensor)
ContactsDevNum = ID of the Relay Device (ie. turns the garage door open / close)

Also some screenshots of where to get id and what the device looks like installed.

Title: Garage Door Plugin
Post by: teonebello on April 25, 2012, 02:43:08 pm
I m not able to find any relais for the European zwave.

Somebody could help me?

Thank you in advance
Regards
Matteo
Title: Re: Garage Door Plugin
Post by: kt2102 on April 27, 2012, 02:19:52 pm
Anyone knows how to set so the garage door will automatic closed; if you forget to close the garage door for 30 minutes or so ? Thank you in advance;
Title: Re: Garage Door Plugin
Post by: strangely on April 27, 2012, 05:24:21 pm
Are you sure you'd want to do this? What happens if you need it open for some reason, or you have something half in or out? I think you may want to consider having it tell you if it's open after 30 mins or not via an
alert.
Title: Re: Garage Door Plugin
Post by: kt2102 on April 27, 2012, 06:51:52 pm
Thanks strangely; you are right. It is not a good idea if it is closed after 30 min or so. But do you know how to setup an alert to tell you after 30 min or so, if it is open.
Title: Re: Garage Door Plugin
Post by: strangely on April 27, 2012, 07:00:22 pm
Well some luup code work work, but maybe check out the countdown timer that @futzle wrote as it should be simpler to set up. Check out this thread for further details of it.


http://forum.micasaverde.com/index.php/topic,9425.0.html
Title: Re: Garage Door Plugin
Post by: kt2102 on April 27, 2012, 08:20:07 pm
Thank you strangely  :)
Title: Re: Garage Door Plugin
Post by: dj2020 on May 20, 2012, 10:40:12 pm
I want to say thanks to Woodsby for the plugin and the others who contributed to this thread.  I just installed the garage plugin with the Evolve LFM-20 relay and Everspring SM103 sensor.  It works like a charm!!

Curious for those who use the Everspring sensor, what kind of battery life are you guys getting . . . especially with the more extreme temperatures of a garage?

Title: Re: Garage Door Plugin
Post by: Aaron on May 26, 2012, 03:01:45 am
I just ran across this thread... I don't have the items to do this yet but I'm planning to.

I was also thinking it would be cool to have an addition to this code accommodate a zwave proximity sensor (12v / car powered zwave device) for your car...

Example Scenario: Leaving Home...
- garage door is closed
- you start the car & the zwave device powers up, sends a signal to the Vera
- vera sees the device is now in range and triggers event
- event checks your last 'check in', sees state is "home"
- event knows since you are now home, you must be leaving so it triggers the device to open the garage.
- once the proximity device is our of range, this triggers the garage to close.

Title: Re: Garage Door Plugin
Post by: garrettwp on May 26, 2012, 07:34:33 am
You may want to check the forum about using rfid tags. Some of the users on this forum were using it to show that they were home or away.

- Garrett
Title: Re: Garage Door Plugin
Post by: strangely on May 26, 2012, 04:35:47 pm
There was also some talk a while back about doing something using the ping sensor and something like a WiFi bridge in the car.
Title: Re: Garage Door Plugin
Post by: Aaron on May 26, 2012, 08:11:27 pm
RFID would probably work, but Zwave would be easier and I think cheaper.

What is a ping sensor?
Title: Re: Garage Door Plugin
Post by: guessed on May 26, 2012, 08:38:00 pm
The Ping Sensor is a plugin.  It periodically polls a (configurable) IP Address, and sets a virtual Security Sensor based upon whether the IP device is on the network or not.

Having some sort of low power IP enabled device in your car, that automatically joins your home network, would effectively let you see when you car is home.... And you could use standard scenes to trigger actions.

    http://forum.micasaverde.com/index.php/topic,1997.0.html
Title: Re: Garage Door Plugin
Post by: Aaron on May 26, 2012, 10:03:36 pm
sounds good, but do you know of an 12 volt, or battery, powered IP based device that is lower priced than a cheap zwave device?
Title: Re: Garage Door Plugin
Post by: 325xi on May 26, 2012, 11:43:14 pm
I had this idea in mind of video proximity sensor...
Use a camera connected to BlueIris, overlooking the place the car passes on the way to its parking spot.
Set motion detection masked to registed only relevant area on the entrance to garage

On motion event, Blueiris can run a script, which can do http request to run a scene. Playing with masking one can achieve low false alert rate
Title: Re: Garage Door Plugin
Post by: strangely on May 27, 2012, 12:08:35 am
There are many cheap routers that support bridge mode and run off of 12V. You can also use something that runs off of 5V. If you live in the USA then monoprice sells a $17 router; you would then just need a high enough power USB cigarette lighter adapter (I have one that supplies 2A) and the correct cable (USB to the applicable size DC barrel jack) and you are done for about 30 bucks! Probably easier to find a cheap 12V one though! Or an Ethernet to wireless bridge instead!

I'm seriously thinking about an actual driveway sensor though such as my post in the following:
http://forum.micasaverde.com/index.php/topic,5154.msg73034.html#msg73034
Title: Re: Garage Door Plugin
Post by: Aaron on May 27, 2012, 01:21:43 am
the device needs to be very small... a router, nope.
Title: Re: Garage Door Plugin
Post by: guessed on May 27, 2012, 01:30:48 am
How small are you targeting?  You can get cheap USB powered TP-link models which are about 2" square with the housing.  If you wanted smaller, you can use a number of different wifi-serial devices or chipsets (like those of RovingNetworks)... Although that route will cost you more.
Title: Re: Garage Door Plugin
Post by: Brientim on May 27, 2012, 02:36:20 am
Have a look at the TP-Link TL-WR702N.
http://www.tp-link.com/Common/Subject/wireless/TL-WR702N/?siteid=5
Title: Re: Garage Door Plugin
Post by: guessed on May 27, 2012, 11:15:41 am
Yeap, thats the one.  It's a lot smaller than you'd expect, it'll only have shortish radio xmit since the antenna isn't external.  In the US there are a few place flogging these off for $15-20ea, and they're low wattage during xmit operations.
Title: Re: Garage Door Plugin
Post by: Aaron on May 27, 2012, 11:49:32 am
Have a look at the TP-Link TL-WR702N.
http://www.tp-link.com/Common/Subject/wireless/TL-WR702N/?siteid=5

Yes, that would be small enough to make it a go. I just had a thought... what about a USB dongle sized 802.11 B or G adapter (client)? Those are even smaller, cheaper (nearly free) ... if they would transmit something to your existing Wifi AP that could be seen by the Vera we'd be good.

doable?
Title: Re: Garage Door Plugin
Post by: strangely on May 27, 2012, 11:51:38 am
@Aaron, the USB dongle on it own won't work as it would be dependent on a PC or something to get it up an running with drivers etc.

Doesn't get much cheaper than that! I thought I recognized them, they are the same routers that are linked from this post by the eBay vendor:
http://forum.micasaverde.com/index.php/topic,10159.msg69396.html#msg69396

More expensive there as I guess they are loaded with some custom firmware.

Cheaper one:
http://www.ebay.com/itm/TP-Link-TL-WR702N-150Mbps-Nano-Mini-Portable-Wireless-WIFI-b-g-n-Router-Repeater-/130667661458?pt=COMP_EN_Routers&hash=item1e6c664892#ht_4782wt_1159
Title: Re: Garage Door Plugin
Post by: strangely on May 27, 2012, 01:26:59 pm
For the ultimate in small (not really cheap) then an eye-fi card might work.
Title: Re: Garage Door Plugin
Post by: Aaron on May 27, 2012, 03:18:56 pm
So assuming the TPlink AP... is there code that would use it?

The code running on the vera will need to somehow detect/poll the access point (since most will be using an access point that is not the vera itself) and look for a specific MAC address or IP address.

thoughts on how to make this work?
Title: Re: Garage Door Plugin
Post by: strangely on May 27, 2012, 05:09:59 pm
Just need to load the Ping sensor from the app store, associate the wifi access point in bridge mode, give it a static address (or static DHCP assignment), then enter this address in the ping sensors configuration.
Title: Re: Garage Door Plugin
Post by: 325xi on May 27, 2012, 06:58:21 pm
I don't want to look paranoid, but this TPLink with not-so-clear sources makes me thinking... You know, plugging unknown boxes with customized firmware into your network can lead to some interesting experiences. They can open SSH tunnels too, just like Vera does, but to other places - giving outsiders nearly unlimited control over your network. People actually do that.

I'll probably get one - but I'll make sure to block it from opening any conection to the outside world (same should be done to all "uncontrolled" inexpensive IP cameras originating from the same place)
Title: Re: Garage Door Plugin
Post by: capjay on May 27, 2012, 07:06:59 pm
but do you really want to keep this device hooked up to the car's battery 24/7?  :-\
Title: Re: Garage Door Plugin
Post by: strangely on May 27, 2012, 07:11:18 pm
I doubt it would cause much drain!
Title: Re: Garage Door Plugin
Post by: Aaron on May 27, 2012, 07:32:58 pm
but do you really want to keep this device hooked up to the car's battery 24/7?  :-\

in most modern cars the 12v power plug is turned off when you turn off the car.
Title: Re: Garage Door Plugin
Post by: 325xi on May 27, 2012, 07:53:09 pm
Then how do you discern between events of coming back from work vs turning on the engine in the garage?
Title: Re: Garage Door Plugin
Post by: Aaron on May 27, 2012, 08:14:43 pm
Then how do you discern between events of coming back from work vs turning on the engine in the garage?

Easily. :)

I explain in one of my previous posts
Title: Re: Garage Door Plugin
Post by: 325xi on May 27, 2012, 11:04:56 pm
Well... if wifi power is off you have no way to know if it's just off or the car is away

This would be interesting and always on alternative
http://www.youtube.com/watch?v=E_GcoicsNJs
Title: Re: Garage Door Plugin
Post by: Aaron on May 28, 2012, 12:58:52 am
Well... if wifi power is off you have no way to know if it's just off or the car is away

This would be interesting and always on alternative
http://www.youtube.com/watch?v=E_GcoicsNJs

As I explained in my post,  the code tracks status.  It is dead simple for anyone who knows even basic coding.
Title: Re: Garage Door Plugin
Post by: Aaron on May 28, 2012, 08:06:37 pm
TP-Link TL-WR702N mini portable AP/bridge

$20 shipped!

http://www.focalprice.com/CN0008G/Mini_Portable_TPLink_TLWR702N_150_Mbps_WiFi_WLAN_USB_Wireless_Router_Green.html?s=cPAB8bHuQH9ylhjpUu%2FWFQ%3D%3D&t=VAxsbCGTWS6phWNNQdiPw7AjXjzQ5tvD&d=UPF4O9tILJfaA7SUgU7SS7SjxoR21ktMf7Nm5OqF7Ol8c%2FruemLcAQ%3D%3D&SSAID=82989

... I may just get one!

only downside is according to many posts (Amazon, Focalprice, etc) the UI is in Chinese and cannot be changed to English. BUT, I did confirm the docs posted online at TP-Links web site are fully in English. Very odd.
*update* ... just found the UK firmware posted... http://uk.tp-link.com/support/download/?model=TL-WR702N&version=V1

Title: Re: Garage Door Plugin
Post by: strangely on May 28, 2012, 11:51:00 pm
Good deal, I'd almost be tempted to buy one myself for a spare travel router, or to have a stab at something like this myself.

Make sure you post how you get on with this project!
Title: Re: Garage Door Plugin
Post by: capjay on May 29, 2012, 03:17:49 am
I would get the TL-WR703N model instead, it appears to be the exact size but has more memory and possible to run OpenWrt on: http://wiki.openwrt.org/toh/tp-link/tl-wr703n
Title: Re: Garage Door Plugin
Post by: drag0n on May 29, 2012, 04:14:51 am
For the ultimate in small (not really cheap) then an eye-fi card might work.
Great idea. I have an unused eye-fi card since I've replaced to a mini-sd based camera.
I will try to plug in the eye-fi card into the SD slot in my car's audio system and see how it works.
Title: Re: Garage Door Plugin
Post by: jimpapa on May 29, 2012, 02:01:40 pm
Please let us know if the eye-fi Card works.   I have one also.   
Title: Re: Garage Door Plugin
Post by: waltzer11 on June 12, 2012, 08:06:35 pm
I want to say thanks to Woodsby for the plugin and the others who contributed to this thread.  I just installed the garage plugin with the Evolve LFM-20 relay and Everspring SM103 sensor.  It works like a charm!!

Curious for those who use the Everspring sensor, what kind of battery life are you guys getting . . . especially with the more extreme temperatures of a garage?

hi dj2020, i am also planning to use LFM-20 and SM103-1. may i ask if you are  now able to  control your garage door through your smart phone? are you able to see the status in your smart phone. thanks in advance.
Title: Re: Garage Door Plugin
Post by: drag0n on June 13, 2012, 02:56:56 am
Please let us know if the eye-fi Card works.   I have one also.
The eye-fi card works fine.
The card will only connect to the network if it thinks it has some photo to upload. Therefore you must have at least one photo on your card, and you must disable any photo upload account in the eye-fi settings utility, so that the photo will always remain on your card.
I have plugged the eye-fi card into my car's radio/dvd unit. The only issue I have is that it takes a while for my DVD unit to power up the SD card slot after I start the car.
Title: Re: Garage Door Plugin
Post by: jimpapa on June 13, 2012, 11:51:55 am
Very cool.. thanks for the update!
Title: Re: Garage Door Plugin
Post by: strangely on June 13, 2012, 07:24:08 pm
I wonder if the card works in a regular USB card reader? I have one that was animpulse buy, and as I hardly ever use now, I may try this too!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 17, 2012, 10:12:28 am
I ask the following questions because single button garage doors I have owned have  a typical sequence of:
    open -> close -> open ...
when a single click is made and the operation is allowed to complete. If done quickly the sequence can be:
   open -> stop -> close -> stop ...
potentially resulting in a partially opened door.

What is the behavior of this plugin if the virtual switch is turned on/off quickly ? 

I.e. does it keep from activating the garage door switch device until the previous action has completed (The simple first sequence, What is the timeout?) ?  Otherwise it might think it's closing the door when the door actually gets stopped in mid position. (The second sequence)

If this can happen, does the plug-in continue to try to close the door at a later time ? 
In this case the door might open fully first. Then subsequently close.

Title: Re: Garage Door Plugin
Post by: dj2020 on July 02, 2012, 04:01:50 pm
@waltzer11:  Sorry, didn't reply to this thread earlier, I did not realize you had asked me a question.  To answer your question, the Evolve LFM-20 relay, Everspring SM103 sensor, along with the Woodsy garage door plugin was working perfectly with no hiccups for about 6 weeks.

@everyone:  Just recently, my garage door started to not work intermittently.  The door would not close or open all the way, either with the plugin or traditionally through the garage door remote or wall button.  It would take many tries for the door to open or close completely.  The frequency of this problem increased over time.  I initially thought that the door needed lubing or the tracks were misaligned.  Long story short, I called a garage door technician and it was determined that my Chamberlain Liftmaster Model 2280 relay board was shorted.  According to the technician, these boards sometime give out on their own; mine was 10 years old OR the Evolve relay some how could have shorted my Liftmaster.  He did say the Liftmaster board was uncharacteristically hot and smelled burnt when he moved it.  Now I'm wondering if the actual Evolve relay unit did short out my Liftmaster relay board during the span of the previous 6 weeks or if my install of the unit was at fault.  Right now, I have the Evolve unit unplugged for now, so no more z wave control of it.   :( 

Has anyone else had any problems after long term use?

Title: Re: Garage Door Plugin
Post by: N5NHL on July 02, 2012, 05:31:11 pm
Mine has worked flawlessly for well over a year.  The only issue I have is that the AAA batteries in my window sensor seem to run down every other month.  I blame the high temperatures here in Houston.  I wish I had an alternate way to power my sensor.
Woodsby's plug-in has been great!
Title: Re: Garage Door Plugin
Post by: dj2020 on July 02, 2012, 05:35:49 pm
@N5NHL:  The batteries for my Everspring SM103 sensor seem to be fine in this Vegas heat.  Then again, it's only been 6 weeks.

Do you or anyone else know how to test if my Evolve relay is operating properly?  I do have a multimeter but I do not know how I should use it to test the relay while it is operating.


Title: Re: Garage Door Plugin
Post by: N5NHL on July 02, 2012, 05:48:38 pm
I am not where I can look up the specs on that relay, but in general if you apply power to the 110v side the low voltage side should be shorted together.
To you test that low voltage side use the continuity setting on your meter.   When the relay is powered you should see a short.
Title: Re: Garage Door Plugin
Post by: electricessence on July 12, 2012, 05:19:50 pm
http://www.youtube.com/watch?v=W8RtzUgupDI
Was easy.

I just use scenes to control the door.  One scene for "Open" another for "Close".
Might not be as fun as a combo device, but it was easy no worries screwing up my current devices.
I use the sensor to check status and block the "Open" or "Close" based on that state.
Also added a global called "lastGarageTrigger" which allows me to block unnecessary repeated events.

I'm a little weary of this I_GarageDoor.xml since I don't want to modify my existing devices.
Would be nice to have plug-in that makes a configurable virtual device. ;)
Title: Re: Garage Door Plugin
Post by: electricessence on July 15, 2012, 03:31:58 pm
Woodsy!
I love this idea.  Not sure why someone can't make a 'switch'/'sensor' combo plug in.
I tried to get this to work with my VeraLite (UI5).  Not happening... I even tried adding the Door Lock device type.

Have you made any improvements to this?  Anyway we can make a real plug-in and submit it?
Are there other plug-ins that will do the job?
Would prefer to configure the variables outside the plug in. :/
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 10:48:20 am
@woodsby: Thanks so much for posting this plugin. I use it very day!!! :)

One question though. I am using the evolve relay switch for this plugin. Has anyone ever experienced any lockups with this relay???
The reason I am asking is that in the past week the relay locked up twice meaning that it was not responding to any z-wave command and I had to disconnect it from the power multiple times and use the switch many times to revive it.

Any ideas?  ???

Flo
Title: Re: Garage Door Plugin
Post by: oTi@ on July 17, 2012, 10:50:24 am
Has anyone ever experienced any lockups with this relay???
You're case #3, at best (http://forum.micasaverde.com/index.php/topic,10134.msg69186.html#msg69186).
Title: Re: Garage Door Plugin
Post by: garrettwp on July 17, 2012, 10:51:42 am
I have the evlove version of the relay for the garage door and have not experienced any sort of lock ups. I have been running this configuration for over a year now.

- Garrett
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 11:00:51 am
Thanks guys...

@oTi@ Thanks for the link....
I took the cover off and will see if its maybe heat related? If it happens again, I might just send it back for a replacement....
Title: Re: Garage Door Plugin
Post by: oTi@ on July 17, 2012, 11:11:16 am
Sounds like your case was particularly bad; I've had the issue exactly once, so far. Don't know about @rlmalisz.

Just to collect data / compare, can you state Vera model, Vera firmware version, Z-Wave firmware version, MiOS routing enabled, and Capabilities and Version strings from the LFM-20?
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 11:17:59 am
Sure,

I have the Vera light, newest Firmware (.408) and MIOS routing disabled. The same issue occured when MIOS routing was enabled though.
This is from the node, please let me know if you see anything unusual.

Capabilities   211,156,0,4,16,3,L,R,B,RS,|37,39,43,44,112,114,115,134,
Version   6,2,97,5,10
Manufacturer   ACT - Advanced Control Technologies
Model   
Neighbors   1,3,4,6,7,8,10,11,12,15,16,17,23,26,30,31,
Configured at   16-JUL-2012 20:50

Anyways, for some reason I have the feeling that it might be heat related. The relay gets warm to the touch and I had it in a enclosed box. But I am not sure though. The annoying part is that if this node fails, it takes my locks with it (routed via this node). Also, some of my other evolve dimmers on the second floor say bye as well. Ah well, the fun of z-wave :)

I will let you guys know how it goes. Thank you everyone for your feedback!
Flo
Title: Re: Garage Door Plugin
Post by: oTi@ on July 17, 2012, 11:20:41 am
This is from the node, please let me know if you see anything unusual.
Thanks. That's all the same as mine.
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 11:24:09 am
This is from the node, please let me know if you see anything unusual.
Thanks. That's all the same as mine.
Thanks!
Title: Re: Garage Door Plugin
Post by: JOD on July 17, 2012, 11:31:19 am
Quote
Has anyone ever experienced any lockups with this relay???
Not with the relay, but I did experience lockups with a GE receptacle that was installed in the ceiling above the garage door opener.

The receptacle lockups stopped after I changed the metal gang box it was mounted in, to a plastic one.
I've since added the relay to the same box, and for good measure, in case it's a radio reception issue, I drilled a small hole in the cover plate for the antenna to stick out of.
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 11:51:19 am
Quote
Has anyone ever experienced any lockups with this relay???
Not with the relay, but I did experience lockups with a GE receptacle that was installed in the ceiling above the garage door opener.

The receptacle lockups stopped after I changed the metal gang box it was mounted in, to a plastic one.
I've since added the relay to the same box, and for good measure, in case it's a radio reception issue, I drilled a small hole in the cover plate for the antenna to stick out of.

Thanks JOD.
That is interesting.... unfortunately I am using a plastic box already which is sitting on top of the garage door opener. Keeping my fingers crossed that the warm weather here causes the issues...
Title: Re: Garage Door Plugin
Post by: electricessence on July 17, 2012, 12:10:47 pm
@frichter09:
You use this every day?  I can't get mine to work.  Did he post an updated version?
I have a Vera Lite as well.  Is there any special step I missed?
Title: Re: Garage Door Plugin
Post by: garrettwp on July 17, 2012, 12:14:52 pm
I can tell you that I use mine almost every day. What can you not get working?

- Garrett
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 12:16:07 pm
@frichter09:
You use this every day?  I can't get mine to work.  Did he post an updated version?
I have a Vera Lite as well.  Is there any special step I missed?

Yeah, I do use it every day. And if it does not lock up it works perefctly!
What part exactly is it you have issues with?
Need a little bit more info here :)
Title: Re: Garage Door Plugin
Post by: JOD on July 17, 2012, 12:52:01 pm
Quote
Keeping my fingers crossed that the warm weather here causes the issues...
@JOD > S. Florida and recently I've seen my garage Schlage T-stat pegged at 99 degrees for weeks (I dont think the T-Stat will display over 99 degrees) but it had to have been in excess of 105 degrees but I've not noticed any outwardly obvious issues due to the heat (yet)
I'm willing to wager your device issue is radio/range/network communication related.

Out of curiosity, what version of Z-Wave are you running, 2.78 or 3.20?
Title: Re: Garage Door Plugin
Post by: oTi@ on July 17, 2012, 01:16:56 pm
Out of curiosity, what version of Z-Wave are you running, 2.78 or 3.20?
Presumably 3.20, as the issue was (also) reported as occurring with MiOS routing enabled.
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 01:20:57 pm
Dont crush my hopes JOD :) :) :)
Yes, I am on FW 3.20

Flo
Title: Re: Garage Door Plugin
Post by: JOD on July 17, 2012, 01:42:17 pm
Quote
Presumably 3.20, as the issue was (also) reported as occurring with MiOS routing enabled.
I did see that and thought maybe he had just checked the box but not actually gone through the conversion.

Quote
Dont crush my hopes JOD
OK, it's heat related.. ;)
And another curiosity question, what does your Z-Wave settings "Role" show?
Title: Re: Garage Door Plugin
Post by: frichter09 on July 17, 2012, 01:47:57 pm
Here you go:
Role   Master SIS:NO PRI:YES
Title: Re: Garage Door Plugin
Post by: electricessence on August 12, 2012, 10:55:10 pm
NEW SUCCESS STORY:

Physical setup: Everspring sensor, with Amseco switch.  Wired together by a 100ft 18-gauge speaker wire.  I brought the sensor itself as close to the Vera as I could get.  So far the sensor has been 100% reliable in this configuration.

Not using the garage door plugin... BUT, I used the Timer and Combination Switch plugin and it works beautifully!

#1 Must Have: a scene which resets the door switch when it is turned on.

The Combination Switch (100% configurable) by itself does the same thing the Garage Door Plugin does, but no code writing or altering.  As one device, it displays the status of the door, and the ability to trigger it (using a scene which listens for the trigger).

In VeraMobile, the the status of the door is displayed, but as of yet, attempting the change the status does nothing.  You'll simply see both devices next to each-other in the "Garage" room, which I'm happy enough with to still be able to trigger the door, and see it's status in the same place.  Other than that I have a scene called "Door" which simply turns on the switch: Just like a push button remote door opener.

More advanced fun stuff:
Using Timers (and Combo Switches), I can add a device called "Auto Close" (Combo Switch) and a scene called "[ Auto Close ]" (brackets indicate: should not be manually triggered).
The device is exactly the same as the "Door" (Combo Switch) device I described earlier.  It displays ON if the door is opened, and OFF if the door is closed.  The difference is that the "[ Auto Close ]" scene is only listening for if the device is triggered when it's ON.  Auto close then restarts a "Door Triggered Timer" (20 seconds is enough) which if not muted and completes, will trigger "[ Auto Close ]" again! The timer is cancelled and muted (by a scene) when the sensor indicates closed.  This is done because most garage doors you can't know what position it's in (or direction it's moving) unless the door is fully closed and your sensor is reporting correctly.  And so if it is triggered the first time, and either causes the door to open fully, or something stops it mid way (something passes under the door), it will retry until the sensor indicates closed.  Which typically may only be one extra retry.

To sum it up, I can now:
- Include triggering "Auto Close" as part of my "LOCK DOWN" scene for my home.
- Can reliably know (or automatically close) when someone has left the garage door open for too long.  Unmuting/muting the timer will decide if it auto closes, or just sends a notification.

Fun stuff.  Big thanks to futzle's plugins. :)
Title: My Everspring sensor is eating batteries - Can anything be done?
Post by: silvereagle2208 on August 19, 2012, 03:28:47 pm
The Everspring sensor that is used in my Garage Door plug-in has just devoured its second set of Energizer Ultimate Lithium batteries in two weeks.  Previously, it took several months for this to happen.

Has anyone found a good substitute for the Everspring sensor that is not such an energy hog?
Title: Re: Garage Door Plugin
Post by: garrettwp on August 19, 2012, 03:33:37 pm
I have and it is something that is not for everyone. I switched mine over using the DSC Alarm panel that I installed into my home. I am now using a door sensor of the alarm panel to provide the status of the garage door.

- Garrett
Title: Re: Re: Garage Door Plugin
Post by: Kyle on August 19, 2012, 03:53:05 pm
I have and it is something that is not for everyone. I switched mine over using the DSC Alarm panel that I installed into my home. I am now using a door sensor of the alarm panel to provide the status of the garage door.

- Garrett

hey Garrett, How did you hook it up to your garage door?

Title: Re: Garage Door Plugin
Post by: garrettwp on August 19, 2012, 04:08:30 pm
The door sensor has external contacts that I have hooked up to a large magnetic door plate that is installed onto the garage door.

- Garrett
Title: Re: Re: Garage Door Plugin
Post by: Kyle on August 19, 2012, 04:42:34 pm
The door sensor has external contacts that I have hooked up to a large magnetic door plate that is installed onto the garage door.

- Garrett

Nice...thanks!
Title: Garage Door Plugin
Post by: electricessence on August 20, 2012, 12:58:16 pm
Check out my posts in the combination switch topic. You don't need this plugin. No coding, copy/pasting, remembering ids. Works smart. 
Title: Re: Garage Door Plugin
Post by: frichter09 on August 31, 2012, 03:54:47 pm
Quote
Presumably 3.20, as the issue was (also) reported as occurring with MiOS routing enabled.
I did see that and thought maybe he had just checked the box but not actually gone through the conversion.

Quote
Dont crush my hopes JOD
OK, it's heat related.. ;)
And another curiosity question, what does your Z-Wave settings "Role" show?

Just to give you a quick update on the Evolve Lockups...
After removing the box cover it has been working fine for weeks now....
So.... I say heat related  :P
Have a good long weekend everyone!
Flo
Title: Re: Garage Door Plugin
Post by: PurdueGuy on August 31, 2012, 09:28:00 pm
Consider me another satisfied customer, woodsby!  Thanks!

I used a Z-Wave receptacle (Intermatic HAO1) and the relay from RadioShack.   Everything worked the first time!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 15, 2012, 09:50:17 am
I have released this with woodsby's permission to the App store.

See: http://RTS-Services.com/Vera/Plugin/GarageDoor (http://RTS-Services.com/Vera/Plugin/GarageDoor) for details.

There are variables to set the Door And Sensor Devices ID's ... So no need to edit the file. I have two doors I use this plugin for.

I have a fix for the GC100 that I still need to release if you want to use an  iTach to trigger the Garage Door.
Title: Garage Door Plugin - Where to find a stronger magnet
Post by: silvereagle2208 on January 07, 2013, 03:04:13 pm
I installed RichardTSchaefer's version of the Garage Door app yesterday.  Previously I had run woodsby's version of the app for over a year.   Both versions work, but the RTS version is better because it allows me to use the Aeon Window sensor instead of the Everspring sensor.   The Everspring sensor was less than ideal because it went through batteries an an unacceptable rate and it did not interact well with a Vera unit: it did not list neighboring Z-wave units.   Also, since I initially installed the app, I replaced my wooden garage door with a metal door.   The Everspring sensor would not respond when I attached it to a metal door.

The Aeon sensor also was not as effective with a metal door, but I found that if I narrowed the spacing a much as possible, I could get the Aeon sensor to respond.  I have read on other websites that if one installs a stronger magnet with the Aeon sensor, it will work better because one can us a larger gap between the magnet and the sensor.  I wonder if anyone has tried to use a stronger magnet in conjunction with the Aeon window sensor installed on a garage door?   If they have, what type of magnet did they use and where did they find it?

In the meantime, thanks to woodsby and RTS for creating a very useful Vera app.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on January 20, 2013, 02:46:40 pm
I downloaded the plugin today from the first post this morning.  I've been wanting to do this for awhile, and I've had the hardware just sitting around waiting for the right time.  The plugin works flawlessly, thanks woodsby!
Title: Re: Garage Door Plugin
Post by: Fitzy on February 24, 2013, 08:39:43 am
Is there anyway to do a simple name change from lock / unlocked to just open / closed?

Thanks
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on February 24, 2013, 09:00:55 am
Of course it is simple to change it ... but it has consequences.

Currently it looks and behave just like a Lock and all of the 3rd party mobile apps know how to handle a Lock.  In order to change it I would have to give it a different device type. This would break some/many of these. So the risk/reward does not justify it.

Title: Re: Garage Door Plugin
Post by: Fitzy on February 25, 2013, 05:57:37 am
Of course it is simple to change it ... but it has consequences.

Currently it looks and behave just like a Lock and all of the 3rd party mobile apps know how to handle a Lock.  In order to change it I would have to give it a different device type. This would break some/many of these. So the risk/reward does not justify it.

Mmm ok

Is there no way to have it continue to behave just like a lock / not change the device type and merely have the names/wording on the plugin / virtual device changed?

It works ok now it's more of a personal preference really in that I thought it would be good, obviously only for the garage door plugin, to show open and closed to reference what state the garage door is actually in.

:-)
Title: Re: Garage Door Plugin
Post by: garrettwp on February 25, 2013, 12:39:23 pm
It is not possible as it is using the door lock files for the controls. As Richard mentioned, it would require a new type of device and files for this change. And could cause compatibility issues with 3rd apps. In order to do what you want would have to modify the lock files. Which would affect the locks as well.

- Garrett

Title: Re: Garage Door Plugin
Post by: rlmalisz on February 25, 2013, 03:52:49 pm
I have released this with woodsby's permission to the App store.

See: http://RTS-Services.com/Vera/Plugin/GarageDoor (http://RTS-Services.com/Vera/Plugin/GarageDoor) for details.

There are variables to set the Door And Sensor Devices ID's ... So no need to edit the file. I have two doors I use this plugin for.

I have a fix for the GC100 that I still need to release if you want to use an  iTach to trigger the Garage Door.

Just curious--is this UI5-specific, or can it be used (or easily modified for use) with UI4?

--Richard
Title: Re: Garage Door Plugin
Post by: MarkAgain on April 15, 2013, 12:13:19 am
I am using the garage door plugin without any problems.  Thank you!!!
There is one thing that I would like to do beyond this.  I have two doors and want to control each independently. What would be the process to have two instances of this plugin installed at the same time?

Thank you, Mark
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 15, 2013, 01:09:37 am
Goto the Apps Tab.
Select the Garage Door Link (next to the Icon)
Click Create Another
In the Advanced tab for the new Garage Door Plugin
Set the DoorSensorDevNum and DoorSwitchDevNum for the second door. You can rename and move it to another room as desired.
Click the red Save in the upper right corner.

 
Title: Re: Garage Door Plugin
Post by: MarkAgain on April 15, 2013, 01:41:19 am
Thanks a lot!!!
Easy once you figure it out.

Mark
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 20, 2013, 11:03:18 am
I used this again yesterday and wanted to throw another thanks in the hat.  Nice job.
Title: Re: Garage Door Plugin
Post by: whatuusay1 on April 27, 2013, 06:19:30 pm
Hi All - I installed the Garage Door App along with an SM103 sensor to monitor the status. The garage door relay is using an itach. The relay contacts 'press' the button on an extra remote like in (http://rts-services.com/Vera/Plugin/GarageDoor/ ) The only issue i've had is that when I press the unlock button the itach contacts stay pressed causing the wired remotes not to work and ultimately draining down the battery in the remote. The fix is to make the relay contact momentary - i'm just not sure how to do that... any pointers?

Thanks!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 27, 2013, 06:29:14 pm
The Garage door plugin will do the momentary trigger ... the problem is you need a patched GC100 plugin. The default one does not update the Status for the Relay switches.

I will PM you the file.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 28, 2013, 08:02:56 am
The Garage door plugin will do the momentary trigger
Is that so?  I didn't realize that.  I have a separate scene in MiOS that turns off my appliance module whenever it's turned on (called "Garage Door #1 Auto-reset," see attachment).

I'll disable that scene & see if it still works.

EDIT: Yep--sure does.  I deleted that scene.  Thanks!
Title: Re: Garage Door Plugin
Post by: whatuusay1 on April 28, 2013, 11:09:32 pm
Sweet!! thanks for the info - I PM'd you my email, let me know if you didnt get it.

Thank you
Andrew
Title: Re: Garage Door Plugin
Post by: Fitzy on May 04, 2013, 10:19:37 pm
I have and it is something that is not for everyone. I switched mine over using the DSC Alarm panel that I installed into my home. I am now using a door sensor of the alarm panel to provide the status of the garage door.

- Garrett

Hi Garrett

Other than using the device ID for the garage door sensor created with the DSC plugin in Vera's UI did you have to modify anything else in the plugin to use the alarms sensors to provide the status?

I have a DSC panel working with Vera and have these magnetic reed switches on both my shed and garage doors and would like to use them instead of the battery powered Aeotec Window / Door Sensors.

I'm thinking it would just be a matter of changing the device ID's for the sensor in the plugin but want to confirm before changing.

Thanks
Title: Re: Garage Door Plugin
Post by: garrettwp on May 05, 2013, 03:17:51 am
I have and it is something that is not for everyone. I switched mine over using the DSC Alarm panel that I installed into my home. I am now using a door sensor of the alarm panel to provide the status of the garage door.

- Garrett

Hi Garrett

Other than using the device ID for the garage door sensor created with the DSC plugin in Vera's UI did you have to modify anything else in the plugin to use the alarms sensors to provide the status?

I have a DSC panel working with Vera and have these magnetic reed switches on both my shed and garage doors and would like to use them instead of the battery powered Aeotec Window / Door Sensors.

I'm thinking it would just be a matter of changing the device ID's for the sensor in the plugin but want to confirm before changing.

Thanks

Instead of using the device id of the z-wave sensor, you would substitute that of the alarm sensor that is connected to the garage door. To vera and the plugin, this should be both interpreted as a door / motion sensor.

- Garrett
Title: Re: Garage Door Plugin
Post by: Fitzy on May 05, 2013, 03:57:28 am
I have and it is something that is not for everyone. I switched mine over using the DSC Alarm panel that I installed into my home. I am now using a door sensor of the alarm panel to provide the status of the garage door.

- Garrett

Hi Garrett

Other than using the device ID for the garage door sensor created with the DSC plugin in Vera's UI did you have to modify anything else in the plugin to use the alarms sensors to provide the status?

I have a DSC panel working with Vera and have these magnetic reed switches on both my shed and garage doors and would like to use them instead of the battery powered Aeotec Window / Door Sensors.

I'm thinking it would just be a matter of changing the device ID's for the sensor in the plugin but want to confirm before changing.

Thanks

Instead of using the device id of the z-wave sensor, you would substitute that of the alarm sensor that is connected to the garage door. To vera and the plugin, this should be both interpreted as a door / motion sensor.

- Garrett

As I suspected thanks for confirming :-)
Title: Re: Garage Door Plugin
Post by: MarkAgain on May 05, 2013, 08:45:02 pm
I am using the Garage Door plugin with the DSC alarm sensors for open and closed status.  Thank you for the development and all the posts.

I would like to have another input as part of my control.  I am wondering what the best approach might be.  I would like to have the doors (2) not open if the alarm is armed.  If the alarm is disarmed and the door(s) are closed then the door(s) would open.  The door(s) would close if open.  At the present I have the doors controlled without regard to the alarm panel armed/disarmed status.  Just the DSC garage sensors and the zwave outlet with a relay.  Would I use  the garage door plugin with PLEG?  Just PLEG?  Just can't figure it out.

Thank you, Mark
Title: Re: Garage Door Plugin
Post by: whatuusay1 on May 14, 2013, 12:12:43 pm
I didnt get the update file for the itach - does anyone have it? My itach does not provide the momentary contact today - its a constant button press which locks out the wired controllers.

Thanks!
Andrew
Title: Re: Garage Door Plugin
Post by: Ds514 on May 19, 2013, 12:39:45 pm
Is there a method to have the Garage Door plugin from RTS invert the sensor?

I use an Insteon IOLinc device as sensor and switch. It works more reliably than a z-wave device I tried, but conveys a tripped sensor when the door is closed, which is the opposite of the expectation of the MCV and this plugin.
Title: Re: Garage Door Plugin
Post by: ebendj on May 19, 2013, 01:19:21 pm
I have a tendency to leave the garage door open over night.  I am open to schedule this script to close it at midnight.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 20, 2013, 02:22:23 pm
I use the PLEG and Day or Night plugins and use them to close my Garage door at sunset ... if I forget.

Locked my neighbors dog in my garage once ... he does not sleep in my garage any more!
Title: Re: Garage Door Plugin
Post by: Smotics on May 21, 2013, 06:45:05 am
Hi!

Thank you very much for making this plugin :)

I need a little help if possible.

as I dont have a sensor, I would like to use the switch input of the module as a sensor. Is it possible?
Can I create a variable or something?

Here goes my setup:

I have a fibaro 2x1kw module ( lights module ) connected to my alarm.

S1 - ( input 1 ) connected to the alarm status ( armed / disarmed )

values : 1 when armed , 0 when disarmed )

O2 - ( output 2 ) connected to the alarm command to arm / disarm, alarm is in toggle mode.

values : 1 for 500ms when on then it drops to 0 ( just to give the impulse I need ).

Can I use the S1 device as DoorSensorDevNum in this app? although it is not a sensor, but a switch?
Can I use the O2 device as DoorSwitchDevNumber ?

Shouldn't it work? or the sensor needs indeed to be a sensor type device? I believe the O2 as an actuator should work fine.

Thank you for your help.

Right now, the app is in lock mode and I cannot unlock it no matter the status of the DoorSensorDevNum.

Thank you very much for your time and effort!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 21, 2013, 08:34:17 am
@Smotics:
Quote
Does sensor needs indeed to be a sensor type device?

At this time the sensor needs to be a Security Sensor.
If you want to use a Switch in place of Security Sensor:

You want to edit the file:
   I_GarageDoor.xml

In the file  replace the strings Tripped  with Status (Four occurances)
And set the SecuritySvs variable to the same string as the
 SwitchSvs variable.

@Ds514:
Quote
Is there a method to have the Garage Door plugin from RTS invert the sensor?
In the I_GarageDoor.xml
Change:
From:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "1") thenTo:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "0") then
Title: Re: Garage Door Plugin
Post by: Smotics on May 21, 2013, 10:22:13 am
Hi again, Thank you very very much!

I'm a complete rookie regarding this matter, how can i edit the file? sorry the noob question but this is the first time I'm having contact with this systems.

Once again thank you for your time.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 21, 2013, 10:31:50 am
From  the menu entry:
  APPS -> Develop Apps -> LUUP Files
You can download the file to your computer.
Edit it with a text editor ... like notepad.
Upload the file from the same page ... Click the button Restart Luup After Upload then Go
Title: Re: Garage Door Plugin
Post by: Ds514 on May 21, 2013, 10:01:23 pm
Richard, thanks for your help with this,  as well as for your plugins.
Title: Re: Garage Door Plugin
Post by: Smotics on May 22, 2013, 10:58:42 am
thank you very much for your time.

I have changed the file and uploaded it, but the app still does not work, just stays in "lock" and does not let me do anything.

Fibaro modules device type are: "urn:schemas-upnp-org:device:BinaryLight:1"

should I set the SecuritySvs and SwitchSvs with that value?

Thank you!

@Smotics:
Quote
Does sensor needs indeed to be a sensor type device?

At this time the sensor needs to be a Security Sensor.
If you want to use a Switch in place of Security Sensor:

You want to edit the file:
   I_GarageDoor.xml

In the file  replace the strings Tripped  with Status (Four occurances)
And set the SecuritySvs variable to the same string as the
 SwitchSvs variable.

@Ds514:
Quote
Is there a method to have the Garage Door plugin from RTS invert the sensor?
In the I_GarageDoor.xml
Change:
From:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "1") thenTo:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "0") then
Title: Re: Garage Door Plugin
Post by: waltzer11 on May 25, 2013, 04:49:39 pm
Hi All - I installed the Garage Door App along with an SM103 sensor to monitor the status. The garage door relay is using an itach. The relay contacts 'press' the button on an extra remote like in (http://rts-services.com/Vera/Plugin/GarageDoor/ ) The only issue i've had is that when I press the unlock button the itach contacts stay pressed causing the wired remotes not to work and ultimately draining down the battery in the remote. The fix is to make the relay contact momentary - i'm just not sure how to do that... any pointers?

Thanks!
i apologize in advance for being so confused, if i buy global cache itach, i don't need the Evolve LFM 20 anymore right (for garage door)? right now i have SM103. also, there are so many types, models of GC, may i ask what type do you have? or what's a good one with reasonable cost? thanks.
Title: Re: Garage Door Plugin
Post by: pricebn on June 05, 2013, 07:59:43 am
I just recently have put together my garage opener.  The plugin is a big help. 

LFM-20
RS100HC
Garage plugin
Craftsman opener
Veralite latest FW

I am having trouble with the closing of the door.  Using my phone I press lock and can here the LFM20 click but the door does not close.  Opening is fine.  Can the delay be change on the lock side?  Maybe it is too short.  I can use the LFM20 switch directly and works every time.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 05, 2013, 08:22:41 am
From Apps -> Develop Apps -> Luup files ...
Download and Edit the I_GarageDoorLock.xml ... find the following code:
Code: [Select]
    function CloseContacts()
      luup.log("GarageDoor Close Contacts: " .. tostring(GarageDoorDevNum) .. " Contact:" .. tostring(DoorSwitchDevNumber))
      luup.call_action(SwitchSvs, "SetTarget", { newTargetValue="1" }, DoorSwitchDevNumber)
      luup.call_delay("CloseContacts2", 1, tostring(DoorSwitchDevNumber))
    end
    function CloseContacts2(DoorSwitchDevNumber)
        local ContactStatus = luup.variable_get(SwitchSvs, "Status", tonumber(DoorSwitchDevNumber))
        ContactStatus = tonumber(ContactStatus)
        if (ContactStatus == 1) then
           luup.call_action(SwitchSvs, "SetTarget", { newTargetValue="0" }, tonumber(DoorSwitchDevNumber))
        else
           luup.call_delay("CloseContacts2", 2, DoorSwitchDevNumber)
        end
    end
Change the 2nd argument to luup.call_delay (a number of seconds).
Change the 1st 1 to 2 or 3 and the 2nd 2 to 3

Upload the file ... check the restart Lua after upload and go.

Title: Re: Garage Door Plugin
Post by: pricebn on June 05, 2013, 11:46:11 am
From Apps -> Develop Apps -> Luup files ...
Download and Edit the I_GarageDoorLock.xml ... find the following code:
Code: [Select]
    function CloseContacts()
      luup.log("GarageDoor Close Contacts: " .. tostring(GarageDoorDevNum) .. " Contact:" .. tostring(DoorSwitchDevNumber))
      luup.call_action(SwitchSvs, "SetTarget", { newTargetValue="1" }, DoorSwitchDevNumber)
      luup.call_delay("CloseContacts2", 1, tostring(DoorSwitchDevNumber))
    end
    function CloseContacts2(DoorSwitchDevNumber)
        local ContactStatus = luup.variable_get(SwitchSvs, "Status", tonumber(DoorSwitchDevNumber))
        ContactStatus = tonumber(ContactStatus)
        if (ContactStatus == 1) then
           luup.call_action(SwitchSvs, "SetTarget", { newTargetValue="0" }, tonumber(DoorSwitchDevNumber))
        else
           luup.call_delay("CloseContacts2", 2, DoorSwitchDevNumber)
        end
    end
Change the 2nd argument to luup.call_delay (a number of seconds).
Change the 1st 1 to 2 or 3 and the 2nd 2 to 3

Upload the file ... check the restart Lua after upload and go.



THANKS!  it worked.
Title: Re: Garage Door Plugin
Post by: twistedsanity on June 07, 2013, 03:17:22 pm
Hi, I really fancy giving this plugin a go, but just can't get it to work with my mess of devices.

I have a garage door controlled by a single button wall switch, and a contact sensor via my DSC alarm. The sensor works perfectly, but I'm having trouble with the plugin operating the relay.

This is where it gets a little silly due to a large number of devices I want to control in my garage, I am using an arduino with a bank of relays connected via cat5 to my wired network.

I can toggle the relay assigned to the garage door control via http commands, but there is an unacceptable delay between toggling a relay on then off, therefore I have programmed the arduino toggle the relay with the right delay with both the on and off command on the virtual switch within vera.

Is there anything I can do to get this plugin to work with that type of config?

i.e only send the command to action the switch once, not toggle on/off, but still use the nice confirmation of closure checking etc..

thanks in advance
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 13, 2013, 06:49:21 pm
Sorry I missed your response.

See:
http://forum.micasaverde.com/index.php/topic,4773.msg115828.html#msg115828

You might make similar change to this patch for your setup.
This patch toggles a DCS PGM output to command the garage door.

Basically you would modify the CloseContacts() function to poke your arduino to cause the appropriate relay to toggle.

It would not neeed the CloseContacts2(), because your arduino already resets the relay.
Title: Re: Garage Door Plugin
Post by: twistedsanity on June 28, 2013, 03:39:11 pm
No problem at all,

Thanks for the pointer, I'm giving it a try now and hopefully I'll be able to test it fully over the weekend.
Title: 2 garage doors using one FGBS321 and Garage Door Plugin
Post by: korttoma on July 03, 2013, 02:42:04 am
Hi All,

I'm not yet an owner of a VERA but are planning to move my home automation system from Homeseer to VERA.
Have been reading various threads on the forum for about a month now to get an understanding about what I'm getting myself in to.

Ok, now to the point.
I have a garage with 2 motorized doors and was going to use the Garage Door Plugin to monitor and control the 2 doors. I found the Fibaro Universal Sensor FGBS321 that has 2 inputs and 2 outputs + temperature measurement possibility.
So my plan is to use the 2 inputs to detect if the garage doors are closed and the 2 outputs to control the doors.
Does anyone have experience from using this sensor for the purpose of controlling garage doors? Or other experience from this sensor that could be good for me to know?
Like do the inputs and outputs turn up as separate devices in VERA so that there is any chance that they could be used individual for my purpose?

Can someone comment if this has any chance of working?

Regards,

Tomas
Title: Re: Garage Door Plugin
Post by: Frasier on July 03, 2013, 06:11:51 am
I dont use the FGBS321 for garage door control but can tell you the folllowing about it:

(1) The FGBS will create a minimum of 3 devices: one parent and two child devices (inputs 1 + 2) and these will show up as motion sensors. If you add the DS18B20 sensors, an additional device will be created for each DS18B20 added (you will need to Exclude/Include the FGBS if later adding additional sensors).

(2) The outputs of the FGBS cannot be controlled from Vera as they only follow the status of the corresponding input line. I'm still not sure what, if any useful purpose this serves but this makes the FGBS an input only device (binary & temp). There are no controllable outputs.
Title: Re: Garage Door Plugin
Post by: korttoma on July 03, 2013, 07:29:36 am
I dont use the FGBS321 for garage door control but can tell you the folllowing about it:

(1) The FGBS will create a minimum of 3 devices: one parent and two child devices (inputs 1 + 2) and these will show up as motion sensors. If you add the DS18B20 sensors, an additional device will be created for each DS18B20 added (you will need to Exclude/Include the FGBS if later adding additional sensors).

(2) The outputs of the FGBS cannot be controlled from Vera as they only follow the status of the corresponding input line. I'm still not sure what, if any useful purpose this serves but this makes the FGBS an input only device (binary & temp). There are no controllable outputs.

Thanks for this clarification Frasier, I suspected that there might have been some limitation like this (this is why I ask before purchase).

OK so back to square one on the garage door controlling setup any recommendations using z-wave?

Regards,

Tomas
Title: Re: Garage Door Plugin
Post by: baxy_AU on July 03, 2013, 05:01:02 pm
Have read this related thread http://forum.micasaverde.com/index.php?topic=4773.0
 It has a number of different examples on how to automate your garage door with vera
Title: Re: Garage Door Plugin
Post by: korttoma on July 03, 2013, 11:51:56 pm
Have read this related thread http://forum.micasaverde.com/index.php?topic=4773.0
 It has a number of different examples on how to automate your garage door with vera

Thanks baxy_AU! Now I know exactly what to do. How did I miss that thread.

Regards,

Tomas
Title: Re: Garage Door Plugin
Post by: brdweb on July 04, 2013, 12:05:30 am
I'm surprised that there hasn't been a company yet to introduce and actual, simple zwave kit for this. There's an insteon one available. Any idea if that would work with this plugin under Altsteon?
Title: Re: Garage Door Plugin
Post by: korttoma on July 05, 2013, 07:11:47 am
I'm surprised that there hasn't been a company yet to introduce and actual, simple zwave kit for this. There's an insteon one available. Any idea if that would work with this plugin under Altsteon?

I just noticed that AEOTEC by Aeon Labs has a garage door controller coming soon, maby I should wait for this one?
 
http://aeotec.com/z-wave-garage-door-controller

BR, Tomas
Title: Re: Garage Door Plugin
Post by: jasongill on July 25, 2013, 01:27:15 pm
I searched this thread for 'delay' but couldn't find anyone with the same issue I'm having - not sure if it's even an issue or what. And since it seems to be a common question, yes, I have the device ID's for the sensor (RS1000HC) and switch (ZFM-80) set in the plugin

When I click the "lock" or "unlock" button, the lock icon immediately switches to the new state (locked, for door closed)- but then after a couple seconds, it goes "open" again, and shortly thereafter it goes back to "closed" at the exact same moment that my door sensor device updates.

It's almost like the "lock" button is (and this may be purposeful) forcing the device state to locked immediately, which is then being polled or overridden somehow by the fact that the door sensor hasn't yet detected the door state change - but when it does, the lock state goes back to closed.

Hope that makes some sense - I expected that when I clicked "lock" that the garage door would close, and once it was closed and the door sensor reflected the closed state, the lock icon would change to closed.

Otherwise plugin works great, thanks for your hard work!
Title: Re: Garage Door Plugin
Post by: waltzer11 on July 25, 2013, 06:49:41 pm
I am sure i am missing or doing something wrong. my garage door sensor SM103 does not give me the status or state of the garage door (whether it is closed or open). it is armed at 10pm and bypass at 6am; if it is tripped, i get a text message from my iphone. the only way i can monitor whether the garage door is open/closed is through the foscam camera and the plugin (sometimes the plugin gives the wrong state and the camera doesn't always work.). my other issue is my ZFM-80 is always off. when i open the garage door, its blue light will blink couple of times and will stay solid for about 30 seconds. then it will turn off. any help will be appreciated.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on July 26, 2013, 09:53:36 am
@jasongill
How long does it take for your garage door to close ?
It changes the state right away ... Then verifies it 20 seconds later.
It sounds like your door is taking longer than 20 seconds to close/open

@waltzer11
If the door sensor is not working properly ... the Garage Door plugin will not work properly. The Garage Door plugin does not care if the sensor is armed or not.
You need to get the Door Sensor to work properly first ... maybe it needs batteries .. or maybe it is to far from Vera.
Title: Re: Garage Door Plugin
Post by: waltzer11 on July 26, 2013, 07:09:46 pm
@jasongill
How long does it take for your garage door to close ?
It changes the state right away ... Then verifies it 20 seconds later.
It sounds like your door is taking longer than 20 seconds to close/open

@waltzer11
If the door sensor is not working properly ... the Garage Door plugin will not work properly. The Garage Door plugin does not care if the sensor is armed or not.
You need to get the Door Sensor to work properly first ... maybe it needs batteries .. or maybe it is to far from Vera.

my SM103 is just about 2 weeks old i bought from homeseer. i think it is working properly because i tested and intentionally tripped it while armed and i got a text message from my iphone. not too far from vera-i have a Z1R000 motion sensor and it communicates very well with vera. just now i checked the plugin at the website https://fwd2.mios.com (using my pc) and it shows the correct state (lock); but when i checked with my iphone using the automator.app, the plugin shows "unlock" even if the garage has been closed for about 20 minutes. do you think the issue might be with "automator.app"? maybe i should try another app. what are the other guys using?
Title: Re: Garage Door Plugin
Post by: waltzer11 on July 26, 2013, 08:06:16 pm
@jasongill
How long does it take for your garage door to close ?
It changes the state right away ... Then verifies it 20 seconds later.
It sounds like your door is taking longer than 20 seconds to close/open

@waltzer11
If the door sensor is not working properly ... the Garage Door plugin will not work properly. The Garage Door plugin does not care if the sensor is armed or not.
You need to get the Door Sensor to work properly first ... maybe it needs batteries .. or maybe it is to far from Vera.

my SM103 is just about 2 weeks old i bought from homeseer. i think it is working properly because i tested and intentionally tripped it while armed and i got a text message from my iphone. not too far from vera-i have a Z1R000 motion sensor and it communicates very well with vera. just now i checked the plugin at the website https://fwd2.mios.com (using my pc) and it shows the correct state (lock); but when i checked with my iphone using the automator.app, the plugin shows "unlock" even if the garage has been closed for about 20 minutes. do you think the issue might be with "automator.app"? maybe i should try another app. what are the other guys using?
EDIT: now Automator.app shows the correct state of the plugin although it took a long time
Title: Re: Garage Door Plugin
Post by: jasongill on July 26, 2013, 09:12:24 pm
@jasongill
How long does it take for your garage door to close ?
It changes the state right away ... Then verifies it 20 seconds later.
It sounds like your door is taking longer than 20 seconds to close/open

OK that makes perfect sense - I've never timed it but I'd guess it's around 20 seconds. Is there a way to override that (to 30 seconds) so the state doesn't switch twice?

Thanks for your help!!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on July 26, 2013, 09:35:26 pm
Yep you can edit the file I_GarageDoorLock.xml

You can download it from Apps then Develop Apps then Luup Files

Download the specified file.
Save a copy somewhere in case you corrupt it during editing.
Change 1 line ... near the bottom (5th from bottom) ... change "20s" to "30s".
Then upload the edited file back to Vera ... Check the option Restart Luup after upload than Go


Title: Re: Garage Door Plugin
Post by: blich on July 28, 2013, 06:17:50 pm

I have the "virtual" garage door lock working wth the code in post #1, works great.

Now, what I would like to do, is use the Wayne Dalton WHDA-12 Homelink-Zwave gateway to activate/deactivate the virtual lock.  In other words, instead of using my RF receiver on the door, have Vera take care of it.

I tried adding a scene, but the issue is, the scene has to be a "lock" or "unlock" scene, what I really want is a "toggle" scene.  So if the overhead door is open, close it, and if it is closed, open it.


Mitch

I read through this thread and didn't see an answer to the quoted question.  It's probably obvious but I'm not sure how to do it.  I'm using the garage door plugin and it's working great (thanks!).  Now I'd like to create a scene that toggles the door.  So if it's open, it should close, and vice versa.  I'm looking for something similar to a traditional garage remote.  Is this possible?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on July 28, 2013, 10:22:42 pm
You could do this in LUA code attached to the Scene.

There is a ToggleState defined for the Lock DeviceType ... It is not implemented ... I can add it ... It will take a while since I will not be home for a while.
Title: Re: Garage Door Plugin
Post by: ChrisAZ on July 28, 2013, 10:32:57 pm
The toggle would be a welcome addition here...I use an NFC tag on my motorcycle as the garage door opener. But currently have to either use two tags (one for open, one for close) or have the tag reader toggle between sending a lock command and an unlock command, but 50% of the time the first command it sends is the wrong one.

Not urgent as it will be a couple more months before it's cool enough here in Phoenix to ride my motorcycles again.
Title: Re: Garage Door Plugin
Post by: tscott on July 29, 2013, 10:52:39 am
Richard - I noticed you have helped a few other with the Garage Door Plug In.  Currently, I have a Remotec Z-Wave Relay (ZFM-80) and Everspring Zwave Door/Window Sensor.  The Relay is ID 25 and Sensor is ID 24.  I can control the relay fine with Vera and the sensor is showing tripped or not tripped.

I have installed the plug in, and inserted the ID's into the variable fields.  Nothing happens with I pressure unlock/lock.  Any advise?

Thanks in Advance

Thad
Title: Re: Garage Door Plugin
Post by: garrettwp on July 29, 2013, 11:19:44 am
Are you using the device id's and not the node id's?

- Garrett

Title: Re: Garage Door Plugin
Post by: tscott on July 29, 2013, 11:58:08 am
I think that was it.  My sensor is 39 and Relay is 58.  I will report back once I test it
Title: Re: Garage Door Plugin
Post by: blich on August 03, 2013, 09:31:32 pm
You could do this in LUA code attached to the Scene.

There is a ToggleState defined for the Lock DeviceType ... It is not implemented ... I can add it ... It will take a while since I will not be home for a while.

Could you use PLEG for this?  If the Garage Door reports unlocked, then lock it, and vice versa.  (I'm new to PLEG.)
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on August 04, 2013, 09:30:20 am
Quote
Could you use PLEG for this?  If the Garage Door reports unlocked, then lock it, and vice versa.  (I'm new to PLEG.)

The problem for PLEG is to determine how to trigger it.
Title: Re: Garage Door Plugin
Post by: ChrisAZ on October 11, 2013, 04:07:47 pm
Richard, I'm interested in getting the Toggle function implemented. Are you interested in implementing it?
Title: Re: Garage Door Plugin
Post by: SOlivas on October 12, 2013, 12:36:42 pm
I'm surprised that there hasn't been a company yet to introduce and actual, simple zwave kit for this. There's an insteon one available. Any idea if that would work with this plugin under Altsteon?

Have you looked at the MIMOLite?  Their site gives a specific setup for using with your garage door.

http://www.fortrezz.com/index.php/products/mimolite

Look under the Files tab.
Title: Re: Garage Door Plugin
Post by: zbacer on October 14, 2013, 08:26:38 pm
Garage Door plugin works great, thanks!!.  I am using an insteon IO Link as the relay and the input (sensor) is the garage doors built in reed switch.  The reed switch, when the door is closed, reports a "triggered" event which gives the garage door plug in the understanding it is "unlocked".  I tried to use a virtual toggle switch for the sensor changing 0 to 1 but that seem to create a conflict with the plug in.  If you have a simple fix great, otherwise next step is to use a relay before the Io sensor.
Title: Re: Garage Door Plugin
Post by: blich on October 15, 2013, 04:14:23 pm
Having an issue with the LFM-20.  Sometimes when I try to close the garage door, the relay does not turn off until I try to lock it again.  If I look at the UI, it shows the relay as on (when it should be off).  Does this sound like a problem with the relay or is the plugin not turning off the relay for some reason?  If it sounds like the relay, are there more reliable relays to try?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on October 15, 2013, 05:53:57 pm
It sounds like the Relay does reliably receive commands.

You could modify the plugin ... and put some more delay between the on and off pulses to see if some more delay between commands does not improve things.

Modify the I_GarageDoorLock.xml
Search for luup.call_delay
Modify the two place and change the second argument from 1,2   to  2, 4 for the two occurrences respectively.
 
You can  download then upload the new file from:
Apps then Develop Apps then Luup Files
When you upload the modified file ... click the Restart Luup after upload
Title: Re: Garage Door Plugin
Post by: blich on October 16, 2013, 01:12:46 pm
Thanks, Richard!  I looked at it some more and I think my garage door opener needs to be replaced.  I'll give this a shot if I'm still have issues with the new one.  Thanks again!
Title: Re: Garage Door Plugin
Post by: stewbuntu on October 20, 2013, 03:52:24 am
It sounds like the Relay does reliably receive commands.

You could modify the plugin ... and put some more delay between the on and off pulses to see if some more delay between commands does not improve things.

Modify the I_GarageDoorLock.xml
Search for luup.call_delay
Modify the two place and change the second argument from 1,2   to  2, 4 for the two occurrences respectively.
 
You can  download then upload the new file from:
Apps then Develop Apps then Luup Files
When you upload the modified file ... click the Restart Luup after upload

Seems like I'm having the same issue with the same device (evolve lfm-20). I connected a remote. If I touch the the blue wires together with the device unlugged it triggrs the door. I can trigger the door via the devices' on button. The plugin seems useless at this point. Device ID and not node ID are installed and no error showing as per your help write up in the help tab. When the evolve relay is triggered the sensor reads open as well as the door opened.

The LUUP file that apps - develop apps- garagedoorlock.xml has = no luup.coall_delay.

Oops downloaded the wrong one ( d_garagedoorlock.XML )

Now to figure out how to load it.

Update: Now I see what you meant about click restart after upload.

That did the trick. Worked first try. Is it just letting the relay stay connected longer?

THANKS AGAIN!!!!

Title: Re: Garage Door Plugin
Post by: stewbuntu on October 20, 2013, 05:13:42 pm
I was going to open the garage door today and I heard the click of the relay and nothing happened. I hit close, then open again, heard a click and the door opened.  evolve lmf-20 relay to chamberlain car remote. Is there any numbers that I can adjust that would possibly modify any issues the relay is having with the remote?
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on October 21, 2013, 07:44:40 am
I added this again to Vera over the weekend...  still works great.
Title: Re: Garage Door Plugin
Post by: blich on October 21, 2013, 05:18:35 pm
When I just turned my relay on (LFM-20), I had to turn it off from the UI.  I think it locked up.  Are there any problems setting a delay to turn it off after it's on?  Maybe 1 minute?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on October 22, 2013, 12:17:13 am
The plugin turns the relay off after it turns it on.
If you do this manually you will also have to manually turn it off.

I put things like my relay into a Virtual Control room ... The devices in that room are use for Automation ... and not intended to be manipulated directly.

Title: Re: Garage Door Plugin
Post by: blich on October 22, 2013, 12:39:11 am
The plugin turns the relay off after it turns it on.
If you do this manually you will also have to manually turn it off.

I put things like my relay into a Virtual Control room ... The devices in that room are use for Automation ... and not intended to be manipulated directly.

What if I create a scene on the trigger on when the relay is turned on by the plugin and then turn it off with a delay.  If it's off, it would just stay off.  Am I missing something?

I never directly manipulate the relay either, but was wondering if this would help as a second catch in case the relay doesn't turn off with your plugin.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on October 24, 2013, 09:04:06 am
I did this before. In fact, I didn't even incorporate a delay. When the relay turned on, it triggered the scene, and the scene turned the relay off. I no longer use that, though.

I came to the forum today wondering about battery level. Door locks send battery level. Sensors send battery level. The plugin does not. I don't know if anyone else has inquired whether the plugin could pass & display the associated sensor battery level.
Title: Re: Garage Door Plugin
Post by: PurdueGuy on October 24, 2013, 12:35:33 pm
I did this before. In fact, I didn't even incorporate a delay. When the relay turned on, it triggered the scene, and the scene turned the relay off. I no longer use that, though.

I came to the forum today wondering about battery level. Door locks send battery level. Sensors send battery level. The plugin does not. I don't know if anyone else has inquired whether the plugin could pass & display the associated sensor battery level.
Doesn't the actual sensor you are using report battery level?  Not everyone uses a sensor that requires a battery (mine is an alarm sensor).
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on October 24, 2013, 12:37:57 pm
Doesn't the actual sensor you are using report battery level?  Not everyone uses a sensor that requires a battery (mine is an alarm sensor).
Oh yes, it does--however, my interest is in having the battery level show on HomeWave...  one button to control, see status, and see battery level, as with a real door lock.
Title: Re: Garage Door Plugin
Post by: onidragon on November 25, 2013, 12:13:03 am
@ those who have used the MiMolite for their garage door opener, when it triggers does it make a clicking sound? I've got mine all set up with my veralite, and the door sensor works fine, but when all hooked up in parallel with the GDO wires the door does nothing. I've removed the jumper to make it a momentary switch so I know that is not the problem. I can here it click on then off but no door movement. I've even gone as far as wiring it in directly into the motor control unit without the push button hooked up at all, and still nothing..
Any suggestions?
Title: Re: Garage Door Plugin
Post by: BrianLBeaton on November 25, 2013, 01:06:55 am
@onidragon

when it triggers does it make a clicking sound?
Yes.  Click-On,  pause, Click 0ff.
Any suggestions?
Per the User Manual, "The Momentary/Latched jumper is read only at power on when the MIMOlite is not (italicized emphasis mine) in a ZWave network. "

If you applied power to and added your MIMOlite to your Z-Wave network before you removed the Momentary/Latched jumper on P5, then I recommend you perform the following steps:
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 25, 2013, 01:11:39 am
@DeltaNu1142
I have added propagating the battery status from sensor to lock to the request list.
Not sure when I will get to this.
 
Title: Re: Garage Door Plugin
Post by: blich on November 25, 2013, 05:33:27 pm
I'm having lots of problems with my relay locking up and having to manually turn it off.  When the relay is working, my Liftmaster opener occasionally reboots itself.

I'm thinking about switching over to an iTach with an extra remote.  Similar to what's pictured on the Garage Door Plugin site.  Does any specific information exist on how to set this up?
Title: Re: Garage Door Plugin
Post by: avstraq on December 05, 2013, 11:41:25 pm
Hi Richard, how "momentary" is the on to off request in the plugin? I find that when I use it, my external switch is unavailable for about 4 seconds (instead of just 1 or even less). How can I edit the delay? Thanks!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 06, 2013, 09:25:24 am
Check reply #200
Title: Re: Garage Door Plugin
Post by: avstraq on December 06, 2013, 10:10:23 am
Thanks, Richard, but that post was actually about lengthening the delay. Is there a way I could shorten it, seeing as the current value is already at 1? Thanks!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 06, 2013, 11:52:40 am
That's the shortest.
Title: Re: Garage Door Plugin
Post by: tstaggs707 on December 07, 2013, 12:06:27 am
I have installed the plugin and it opens the door perfectly. However, when I hit "lock" to close the door, it begins to close and then immediately stops and returns to the top. If I manually turn on the appliance switch (LFM-20), wait until the door is closed, and then turn it back off manually, I can get the door closed. I'm using a DSC tilt switch as the sensor and it does properly report the state of the door. Any ideas of why I can open properly but not close?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 07, 2013, 08:19:03 am
Does your door have a detector to see if someone is standing in the door ?
Sounds like it is keeping the door from closing in auto mode.
Title: Re: Garage Door Plugin
Post by: tstaggs707 on December 07, 2013, 09:20:28 am
Does your door have a detector to see if someone is standing in the door ?
Sounds like it is keeping the door from closing in auto mode.

Yes. Do I need to make a change to my set up because of that?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 07, 2013, 04:05:51 pm
No but you might want to make sure that it is not causing the problem.
Title: Re: Garage Door Plugin
Post by: fhreid on December 09, 2013, 08:50:05 am
Hi Richard,

I use this virtual device probably more than any other.  It has worked great.

But..

You mentioned:

___________

          when a single click is made and the operation is allowed to complete. If done quickly the sequence can be:
          open -> stop -> close -> stop ...
          potentially resulting in a partially opened door.

          What is the behavior of this plugin if the virtual switch is turned on/off quickly ?
_______________

I sometimes intentionally leave my garage door open for ventilation etc. and it disrupts the logic of the device.

Is there a way to "check stratus" of sensor before or after execution to alter the behavior?

Maybe a PLEG call that checks condition of door after and tries ONLY one more time for the desired result?  IE open or close?

Any help would be greatly appreciated!

 
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 09, 2013, 09:25:22 am
Actually the state should be synced again within 40 seconds as I recall.
For Slow doors when you close it might show  ... closed, open for short period, then finally closed.

Title: Re: Garage Door Plugin
Post by: tstaggs707 on December 09, 2013, 09:42:30 am
No but you might want to make sure that it is not causing the problem.

It turns out that when I was straightening the wires after installation one of the beam wires somehow broke off. So it ended up being a super easy fix and your hunch was right on. Thanks for the tip!

The plugin works wonderfully for me now and it's easy enough for my wife to use on her iPhone and she loves it too. Thanks!
Title: Re: Garage Door Plugin
Post by: adn291 on December 22, 2013, 01:51:38 pm
I would like to use a swich module as a sensor for the open or closed. The plugin does not allow this. Is it possible to modify the plugin so that I will be able to use a regular swich module as the sensor.
Thank you.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 23, 2013, 07:13:31 am
How do you plan to set the Switch Module up to be able to sense the door position ?
Title: Re: Garage Door Plugin
Post by: chilump on December 30, 2013, 02:28:56 pm
I am using a Zwave GE Lamp sensor and Radio Shack Relay to open and close my garage via Vera. I can read the "Lock"/"Unlock" states of the garage just fine but I can't seem to close/open the garage via vera. When I press "Lock" I get a loud huming noise for a sec or two and then nothing happens. I have the relay wired in Parallel into the garage door opener.

Any ideas of where I should start? I believe I have a genie garage door
Title: Re: Garage Door Plugin
Post by: Jamr on January 01, 2014, 01:17:06 am
I am using a Zwave GE Lamp sensor and Radio Shack Relay to open and close my garage via Vera. I can read the "Lock"/"Unlock" states of the garage just fine but I can't seem to close/open the garage via vera. When I press "Lock" I get a loud huming noise for a sec or two and then nothing happens. I have the relay wired in Parallel into the garage door opener.

Any ideas of where I should start? I believe I have a genie garage door

Chilump,
You can not use a lamp module to control a relay. You need a appliance module. The lamp module has dimming properties which send the relay into a frenzy. That is the humming noise you hear.
Get an appliance module and a low voltage relay. DO NOT use a 110V relay as this is not to code and can overheat and cause a fire.
http://www.007systems.com/relay-module-rm10.html
Please ask if you have any more questions.
Title: Re: Garage Door Plugin
Post by: chilump on January 03, 2014, 11:17:28 am
Jamr thank you very much! It was driving me crazy trying to figure out the problem.
Title: Re: Garage Door Plugin
Post by: benr on January 03, 2014, 12:34:30 pm
Anyone using this device with a 2gig GDR1 and a Schlage RS100HC by chance?
Title: Re: Garage Door Plugin
Post by: Aegis on February 08, 2014, 01:24:23 pm
Anybody change the icon for the relay?  I would like it to be something other than a light switch icon if possible.  Also, is there a way to disable devices from showing up in Vera Mobile?  I labeled the relay itself "Do Not Use," so I won't trigger it by accident since I only want to use the plugin.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on February 08, 2014, 01:30:52 pm
Quote
Anybody change the icon for the relay?
There is no way to change the icon for one switch ... If you change the Icon ... all switches will get the new icon.
Some of the 3rd party phone app's might have a way to assign an icon to a device.

I would recommend that you move the devices that you do not want to manipulate directly into a room called Virtual Control
You can name it something else ... I just like something late in the alphabet so that it is always the last room when rooms are displayed alphabetically.
Title: Re: Garage Door Plugin
Post by: Aegis on February 08, 2014, 01:33:24 pm
Quote
Anybody change the icon for the relay?
There is no way to change the icon for one switch ... If you change the Icon ... all switches will get the new icon.
Some of the 3rd party phone app's might have a way to assign an icon to a device.

I would recommend that you move the devices that you do not want to manipulate directly into a room called Virtual Control
You can name it something else ... I just like something late in the alphabet so that it is always the last room when rooms are displayed alphabetically.

Good to know.  I did the Virtual Room when I saw you post that previously.  Best idea for now...
Title: Re: Garage Door Plugin
Post by: Aegis on February 08, 2014, 01:35:42 pm
By the way, what determines the order of rooms in the apps?  They are not alphabetical, so the V for Virtual doesn't help keep it low in the order.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on February 08, 2014, 08:36:54 pm
Most apps are alphabetical ... Others use the order that the rooms were defined. So put these in the LAST room and name it ZZZZ. Should work for most apps.
Title: Re: Garage Door Plugin
Post by: Aegis on February 09, 2014, 09:17:06 am
Most apps are alphabetical ... Others use the order that the rooms were defined. So put these in the LAST room and name it ZZZZ. Should work for most apps.

Here is a screen shot of what I did.  IIRC I added the Bedroom after the Virtual, so I think it may be the opposite.  i. e. that the last thing you did is on top.
Title: Re: Garage Door Plugin
Post by: aaronsquire on March 06, 2014, 08:02:46 pm
I installed a remotec ZFM-80US and Schlage Window/Door Sensor on my garage door. The app works great. Thanks!

One thing I didn't realize when I purchased the relay is that it acts just like an on and off switch. When button is pushed it's on and when it's pushed again it's off. So it doesn't not work well as a wall mounted push button garage door opener. Every garage door I've ever seen reacts on pulse of electricity. So if you needed to stop the open or close function (your kid runs under the door) you would have to push the button two more times. The garage door app automatically sends command to turn the relay off. So this solves that problem. I recommend using the device the app created and not On Off button for the remotec device.
Title: Re: Garage Door Plugin
Post by: AzTex on March 06, 2014, 08:52:50 pm
I'm wondering if it's possible to set luup.call_delay to a value shorter than 1 second.  I installed an LFM20 and Ecolink Tilt Sensor, joined them to the VeraLite, then installed the Garage Door Plugin and it worked perfectly right away. The only issue I have is just an annoyance; it resets the backlit LCD panel on my wall switch that alternates displaying time and temperature. Now, it alternates between flashing 12:00 and temperature. I think if I could have it cycle the LFM20 on/off more quickly, that might solve it.  I did set both call_delay instances to "1", but that didn't fix it. 

I tried using a more manual solution involving a similar .xml file that doesn't use a delay. It works just like the plugin solution, except that it causes the LFM20 to "click click" very quickly.  It doesn't reset the LCD panel, but it only triggers the door up/down about every 5th or 6th try.  So, I need something that will "pulse" the LFM20 for longer than a millisecond, but shorter than a full second.

Any ideas? 
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on March 07, 2014, 08:14:36 am
You can try:
     luup.sleep(100) 

That's 100 ms.

This function can cause Vera to be destabilized and reload if improperly used.   
A single call to this for less than 1 second should not cause a problem.
If you get it to short you may very well end up leaving the relay in an inconsistent state.

You may want to do a call_delay of 1 or 2 seconds later and send/force an OFF state.
Title: Re: Garage Door Plugin
Post by: jimpapa on March 07, 2014, 09:21:48 am
I'm wondering if it's possible to set luup.call_delay to a value shorter than 1 second.  I installed an LFM20 and Ecolink Tilt Sensor, joined them to the VeraLite, then installed the Garage Door Plugin and it worked perfectly right away. The only issue I have is just an annoyance; it resets the backlit LCD panel on my wall switch that alternates displaying time and temperature. Now, it alternates between flashing 12:00 and temperature. I think if I could have it cycle the LFM20 on/off more quickly, that might solve it.  I did set both call_delay instances to "1", but that didn't fix it. 

I tried using a more manual solution involving a similar .xml file that doesn't use a delay. It works just like the plugin solution, except that it causes the LFM20 to "click click" very quickly.  It doesn't reset the LCD panel, but it only triggers the door up/down about every 5th or 6th try.  So, I need something that will "pulse" the LFM20 for longer than a millisecond, but shorter than a full second.

Any ideas?


I think if you electrically isolate the LCD panels dry contact to the opener.. So it does not see the LFM20 doing it's thing... But it can still be used for manual operation.

I used some power diodes to do this because my garage door manual button sometimes would stop working until I opened the door with vera.

I don't know what your circuit looks like .. Just going on the logic you provided



Title: Re: Garage Door Plugin
Post by: AzTex on March 07, 2014, 09:28:37 pm
You can try:
     luup.sleep(100) 

That's 100 ms.

This function can cause Vera to be destabilized and reload if improperly used.   
A single call to this for less than 1 second should not cause a problem.
If you get it to short you may very well end up leaving the relay in an inconsistent state.

You may want to do a call_delay of 1 or 2 seconds later and send/force an OFF state.

Oh cool, I didn't think of that. Thank you! I'll play around with it and see how it works.

I think if you electrically isolate the LCD panels dry contact to the opener.. So it does not see the LFM20 doing it's thing... But it can still be used for manual operation.

I used some power diodes to do this because my garage door manual button sometimes would stop working until I opened the door with vera.

I don't know what your circuit looks like .. Just going on the logic you provided

Thanks for your response, that's a good idea! I'm not very good with Luup code yet, but I used to work with diodes a lot on 12v systems. I'd just need to figure out what diode I need. I know it's a 20v circuit, but I don't know the amperage. I presume it's low, but I'll put the meter on it. I have the lfm20 wired in parallel with the wires from the switch.
Title: Re: Garage Door Plugin
Post by: tomgru on March 08, 2014, 09:16:33 pm
I'm still getting the "initializeDoorSensorDevNum" warning, although i'm pretty darn sure i'm using the right ID number.  It's the little number in the upper left hand corner of the advanced tab of the appliance module?

Also getting Lua Startup failure.

I haven't gotten my tilt sensor yet... so I haven't set that up.  Could that be the reason the plugin isn't working yet?
Title: Re: Garage Door Plugin
Post by: PurdueGuy on March 08, 2014, 09:53:23 pm
I'm still getting the "initializeDoorSensorDevNum" warning, although i'm pretty darn sure i'm using the right ID number.  It's the little number in the upper left hand corner of the advanced tab of the appliance module?

Also getting Lua Startup failure.

I haven't gotten my tilt sensor yet... so I haven't set that up.  Could that be the reason the plugin isn't working yet?
You have it backwards.
DoorSensorDevNum = Open/Close Sensor
DoorSwitchDevNumber = Relay (on/off switch or appliance module)
The plugin won't work until you have both filled in.
Title: Re: Garage Door Plugin
Post by: tomgru on March 08, 2014, 10:12:44 pm
figured... thanks!
Title: Re: Garage Door Plugin
Post by: joedasmith on March 15, 2014, 08:29:52 pm
Can someone help me with providing instructions in very basic terms of how to set the garage plug in up?  I have a Linear FS20Z-1 module connected to my garage door.  I have conformed the module is working when I manually press the button and I have connected the module as an appliance to my Vera network, I have also installed the garage door plug in.  Now I need help making the plug in control the module. 

Also, once I do that will I still need to connect a window/ door sensor to be able to tell if the garage door is open?  If so can the sensor be used in conjunction with the plug in or is it set up as its own device?
Title: Re: Garage Door Plugin
Post by: BulldogLowell on March 15, 2014, 08:39:05 pm
you will need the sensor to use the plugin


Title: Re: Garage Door Plugin
Post by: AgileHumor on March 16, 2014, 12:04:04 am
you will need the sensor to use the plugin

This one works well with garage doors to let the plugin know if the door actually closed (and will register the door as open if sensor never untrips).

http://www.amazon.com/ECOLINK-Z-Wave-Garage-Door-Sensor/dp/B00HGVJRX2

You can also use a door/window sensor mounted on your garage door.  But it's tough to install as the garage door has fe places the magnet and z-wave sensor can align.
Title: Re: Garage Door Plugin
Post by: waltzer11 on March 16, 2014, 09:48:08 am
you will need the sensor to use the plugin

This one works well with garage doors to let the plugin know if the door actually closed (and will register the door as open if sensor never untrips).

http://www.amazon.com/ECOLINK-Z-Wave-Garage-Door-Sensor/dp/B00HGVJRX2

You can also use a door/window sensor mounted on your garage door.  But it's tough to install as the garage door has fe places the magnet and z-wave sensor can align.

i have a ZFM80 and sensor SM103 and the plugin. do you have to wire this ECOLINK to ZFM80.
Title: Re: Garage Door Plugin
Post by: BulldogLowell on March 16, 2014, 09:57:15 am
You just have to install them, connect them to vera and then follow the instructions in the garage door app to add the device numbers in the settings.
Title: Re: Garage Door Plugin
Post by: waltzer11 on March 16, 2014, 10:32:32 am
wow no wires? this looks great. my old craftsman GDO just gave up after 23 years. now i have a new chamberlain which  has its own feature to close the garage door automatically after 10 minutes.  in my old craftsman, the lights of the wall controller turned off permanently after i wired the ZFM80 although it was working perfectly but the door sensor needs fixing every once in a while because it gets misaligned. i think i will buy this. just wondering if the ECOLINK will work with all the gadgets: SM103, ZFM80 and the door plugin. thanks.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 01, 2014, 09:03:20 am
I wonder if there is any way for this plugin to replicate the "lock" and "light" features that most OEM wired garage door controls have.

After all...  the OEM controls are connected in parallel via the same two wires to which the Vera garage door plugin are. I just don't know enough about what those OEM controls do.

Thoughts?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 01, 2014, 09:18:46 am
Quote
After all...  the OEM controls are connected in parallel via the same two wires to which the Vera garage door plugin are. I just don't know enough about what those OEM controls do.

I have not looked into the details .. but ... there are ways to signal without shorting that may be used ...

i.e.  With an AC current, if you short with  a diode shorted across the lines, you will still pass 1/2 of the power ...
or a resistor (of the appropriate value) shorted across the two wires would still allow some power for the lights.

Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 01, 2014, 09:52:32 am
Quote
After all...  the OEM controls are connected in parallel via the same two wires to which the Vera garage door plugin are. I just don't know enough about what those OEM controls do.
I have not looked into the details .. but ... there are ways to signal without shorting that may be used ...
i.e.  With an AC current, if you short with  a diode shorted across the lines, you will still pass 1/2 of the power ...
or a resistor (of the appropriate value) shorted across the two wires would still allow some power for the lights.
Maybe I can take my Fluke to one of the OEM buttons to see what it does for light and for lock. If it's anything but contact closure, then it's impossible to have the plugin do it...  EDIT: I'll qualify that statement and add, "with the existing hardware."
Title: Re: Garage Door Plugin
Post by: PurdueGuy on April 01, 2014, 10:28:08 am
I can't say I would advise this for safety reasons, but you might be better off using the safety we to then the light on and off.   Mine turns the light on when the beam is broken.

Be sure you wire it up such that the beam is still fully utilized and part of the safety systems, and you aren't bypassing it.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 01, 2014, 10:34:18 am
I can't say I would advise this for safety reasons, but you might be better off using the safety we to then the light on and off.   Mine turns the light on when the beam is broken.
Be sure you wire it up such that the beam is still fully utilized and part of the safety systems, and you aren't bypassing it.
I'm not suggesting we change any wiring or hardware; I'd like to find out if there's a way that the existing hardware could replicate all of the functions of the OEM control (not only open/close, but also light & lock).

"Lock" is useful in preventing the door opening via RF. I have one of my doors on lock nearly full time, and it'd be great to be able to control that via Vera.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 01, 2014, 10:43:18 am
I wonder if there is any way for this plugin to replicate the "lock" and "light" features that most OEM wired garage door controls have.
It looks like someone over on the Arduino forums that is attempting this. Based on the info in the first post, we couldn't do it with just a relay:

LINK (http://forum.arduino.cc/index.php?topic=99208.0)

Quote
I am building a garage door opener using arduino uno R3 with an ethernet shield.  I have the basic open/close working fine and I have the door status sensors working fine.  What I want to do with my project is also control the lockout feature of my craftsman opener that disables remotes from opening the door when activated.  Now there are two wires that go from the opener to the button panel.  The voltage on these wires is 16V when the lockout feature is not active.  What happens when the lockout button is pushed, it closes the circuit but has a capacitor that changes the voltage as well as a holding the button closed for more than 2 seconds.  This activates the lockout and it then changes the signal form steady 16V to a pulse on/off (which I can see on the LED on the button panel.)
Title: Re: Garage Door Plugin
Post by: Armedmetallica on April 04, 2014, 10:30:57 am
I can't say I would advise this for safety reasons, but you might be better off using the safety we to then the light on and off.   Mine turns the light on when the beam is broken.
Be sure you wire it up such that the beam is still fully utilized and part of the safety systems, and you aren't bypassing it.
I'm not suggesting we change any wiring or hardware; I'd like to find out if there's a way that the existing hardware could replicate all of the functions of the OEM control (not only open/close, but also light & lock).

"Lock" is useful in preventing the door opening via RF. I have one of my doors on lock nearly full time, and it'd be great to be able to control that via Vera.

glad to see others see this as useful...

I was thinking of the inelegant approach - get a zwave outlet and turn that off (essentially unplugging the motorhead). for my GDO, i think it'll work, as it's older, and doesn't have any sort of fancy on-wall console. Just a slider switch to turn on vacation mode, and two buttons, one for light and one for open/close.

coupled with the other thread of using a relay to simulate a button push, it's messy but will work. this way I can set a schedule to turn off the outlet for the GDO at night and when I set away mode. and another schedule to turn on in the morning for me to get out of the house and then relock.

my wife doesn't at the moment use the GDO - but if she does, she can use the Authomation app to toggle the scene (which I suppose I can set to power on the outlet, then delay and power on the relay).

this sounds like i'd be adding about $100 worth of z-wave stuff (outlet + lamp module for relay) and an open/close sensor.

Title: Re: Garage Door Plugin
Post by: Fred S on April 23, 2014, 11:18:48 am
I had a question. I'm using the Garage Door Plugin and I am using the ECOLINK Z-Wave Garage Door Tilt Sensor. The issue seems to be when the garage door is closing, the ECOLINK Z-Wave Garage Door Tilt Sensor registers the garage door as closed a few seconds before it actually is and causes my garage door to stop. I confirmed this by changing the DoorSensorDevNum in the Garage Door Plugin to one of my house alarm sensors that registers as not-tripped through the entire garage door close cycle. My question is could the ECOLINK Z-Wave Garage Door Tilt Sensor be prematurely telling the Garage Door Plugin that my garage door is closed and in doing so, the Garage Door Plugin is sending a counter pulse to stop the garage close cycle? If so is there any way to prevent this?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 24, 2014, 02:06:08 am
The Garage door plugin should only be sending one pulse per lock/unlock command.

If the garage door does not close/open right away ... after 20 seconds (I think that's the number) it will check the status ... and correct it if it did not open/close correctly.

Do you have some other scene (or PLEG)  that is trying to pulse the garage door control switch directly  or tries to do an AutoLock if the status changes to Unlocked  momentarily ?

Title: Re: Garage Door Plugin
Post by: Fred S on April 24, 2014, 10:09:46 am
Richard, You were absolutely correct. I didn?t think of it until you said it. I did write a PLEG that when I set my house alarm to away and if my garage door is closed, to open it. What was happening is that when the garage door reported in that is was closed, it fell into the condition where it thought it needed to be opened, hence the counter pulse.  I know that PLEG questions would normally be another thread but since you wrote both I?m going to ask. I?m assuming that I wrote my PLEG conditions incorrectly. My conditions are if both GarageClosed and AlarmArmed are true the garage will open. How can I write this where this happened only once (when the Alarm is initially set)? If the garage door falls into the condition when the alarm is armed, it won?t sent the unlock command.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 24, 2014, 04:02:48 pm
How long does it take for your garage door to close ... If it's slow you can probably patch the garage door plugin ...

Go to Apps -> Develop Apps -> LUUP Files

Download  I_GarageDooLock.xml

   Find the line:
Code: [Select]
luup.call_delay("GetSensorStatus", 30, "")

Then upload the file back to Vera ... and restart.

Increase the 30 (time in seconds) to a large number like 40 ... a number that is longer than it takes to open and/or close your door.
Title: Re: Garage Door Plugin
Post by: Fred S on April 24, 2014, 04:33:59 pm
Cheers Richard. I incorporated your suggestion but the issue persisted. I think I was able to resolve it and I wanted to share the answer with you. Essentially my condition to open the garage door was ?AlarmArmedStay and GarageClosed.? I realized however that by using this syntax, whenever I closed the garage door, I would always fall under the condition in which PLEG would trigger the garage door to open creating a endless cycle. To resolve this, I changed the Boolean expression to state ?AlarmArmedStay and not GarageOpen? figuring that this would give me the time I needed to close the garage door thereby nullifying the expression. So far so good. Hopefully this is it. Thanks again.
Title: Re: Garage Door Plugin
Post by: tomgru on April 24, 2014, 06:52:26 pm
I saw something pretty cool the other day on a friends new garage door opener (don't know the brand).  When he'd push the switch, the light would blink on/off for 10 seconds or so, before closing.  Super useful for safety - in his case as it's a detached garage.

But earlier in this thread we were talking about the safety (and possibly legal) issues of closing a door remotely.  I'm installing a camera (per recommendation) as one way to help this.  But i also like this idea of the flashing light. 

I guess you could just set this up as some type of scene, that flashes lights first, then after small delay, invoked the garage door plugin. 

Has anybody done this, and/or thought of a more elegant solution?
Title: Re: Garage Door Plugin
Post by: BulldogLowell on April 24, 2014, 06:58:19 pm
There was some conversation about this but in the end it was decided that one could easily accomplish any of these preceding actions (like flashing lights or sounding a buzzer) very easily with PLEG.

Title: Re: Garage Door Plugin
Post by: qwen3579 on April 25, 2014, 08:24:32 am
I've been using this plugin for a while and I'm having a strange issue that just started occurring the last few days. I have VeraAlerts set to notify me when my garage door is opened or closed. I started receiving multiple notifications when I open or close the garage door. These aren't duplicate notification, however. When I close my garage door, I will get an immediate alert that the door is open, then about 4 seconds later, the alert that door is closed.

I'm using an ECOLINK Tilt Sensor and an Evolve LFM-20 relay.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 25, 2014, 10:53:12 am
I've been using this plugin for a while and I'm having a strange issue that just started occurring the last few days. I have VeraAlerts set to notify me when my garage door is opened or closed. I started receiving multiple notifications when I open or close the garage door. These aren't duplicate notification, however. When I close my garage door, I will get an immediate alert that the door is open, then about 4 seconds later, the alert that door is closed. I'm using an ECOLINK Tilt Sensor and an Evolve LFM-20 relay.
While it's not quite the same situation, I use PLEG to buffer duplicate Prowl notifications if they occur within a very short span of time...  and because I'm using an explicit time delay in the PLEG, it's very easy to tune. The same could be done with VeraAlerts, I imagine.

I think it's odd that this has just started out of the blue, and it could point to a mechanical problem with your tilt sensor...  but regardless, if the problem is persistent and predictable, you could always just ignore the open status until you can be "assured" that the door is in fact open. In your case above, if the garage door is opened, and still shows open 5 seconds later, then send an opened notification. If the garage door is closed, and still shows closed 5 seconds later, send a closed notification.

The preference is usually to make everything work "correctly," but if you're happy with everything except the notifications, there's a way around it.
Title: Re: Garage Door Plugin
Post by: qwen3579 on April 25, 2014, 11:02:26 am
I've been using this plugin for a while and I'm having a strange issue that just started occurring the last few days. I have VeraAlerts set to notify me when my garage door is opened or closed. I started receiving multiple notifications when I open or close the garage door. These aren't duplicate notification, however. When I close my garage door, I will get an immediate alert that the door is open, then about 4 seconds later, the alert that door is closed. I'm using an ECOLINK Tilt Sensor and an Evolve LFM-20 relay.
While it's not quite the same situation, I use PLEG to buffer duplicate Prowl notifications if they occur within a very short span of time...  and because I'm using an explicit time delay in the PLEG, it's very easy to tune. The same could be done with VeraAlerts, I imagine.

I think it's odd that this has just started out of the blue, and it could point to a mechanical problem with your tilt sensor...  but regardless, if the problem is persistent and predictable, you could always just ignore the open status until you can be "assured" that the door is in fact open. In your case above, if the garage door is opened, and still shows open 5 seconds later, then send an opened notification. If the garage door is closed, and still shows closed 5 seconds later, send a closed notification.

The preference is usually to make everything work "correctly," but if you're happy with everything except the notifications, there's a way around it.

Good suggestion, Unfortunately, I don't see a way to accomplish this in VeraAlerts.

I did notice that 2.0 of the plugin was released on April 13th and I'm still on 1.20. I'm going to update and see if that does anything.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 25, 2014, 11:05:08 am
I don't know anything about VeraAlerts, admittedly, but I have to believe that you'd be able to send an alert when a PLEG condition is satisfied...  which is what I'm talking about above.

I've done it with Prowl... and if I can do it, anyone is capable.
Title: Re: Garage Door Plugin
Post by: qwen3579 on April 25, 2014, 11:37:06 am
After updating to 2.0, I tested a few times and it seems to be working properly now.

I agree, it was odd that it started occurring out of the blue like that. Probably just a hiccup.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 25, 2014, 12:29:33 pm
I think the problem might be the tilt sensor .... If it uses a mercury switch ... then the vibration from the door opening and closing can cause the mercury to slosh around ... causing multiple open closed events.
Title: Re: Garage Door Plugin
Post by: qwen3579 on April 25, 2014, 12:50:15 pm
I think the problem might be the tilt sensor .... If it uses a mercury switch ... then the vibration from the door opening and closing can cause the mercury to slosh around ... causing multiple open closed events.

That's was my first guess as well. However, I don't think it uses a mercury switch. I can't find any documentation that says one way or another, but in the US, if it has mercury, you can bet there's a warning plastered somewhere on the product.
Title: Re: Garage Door Plugin
Post by: DeltaNu1142 on April 25, 2014, 12:57:56 pm
I just gave away an old wireless tilt switch specifically designed as a garage door status indicator. The tilt switch clicked when tilted. If it clicks, it's likely not to be a mercury switch.
Title: Re: Garage Door Plugin
Post by: qwen3579 on April 25, 2014, 01:07:59 pm
I just gave away an old wireless tilt switch specifically designed as a garage door status indicator. The tilt switch clicked when tilted. If it clicks, it's likely not to be a mercury switch.

It's funny you mention that - I was just checking mine and it does indeed "click". It's likely a ball that rolls to one end bridging two contacts.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 25, 2014, 03:28:12 pm
Put the device in a PLEG  ...
Then toggle the door  ... You should see the last Trip and Reset tines in the PLEG status report.
If it's bouncing they will be back to back time.

Title: Re: Garage Door Plugin
Post by: qwen3579 on April 25, 2014, 04:32:51 pm
Put the device in a PLEG  ...
Then toggle the door  ... You should see the last Trip and Reset tines in the PLEG status report.
If it's bouncing they will be back to back time.

Thanks for the advice. The sensor is tripping once, as it should.

Like I said, it's working fine now that I updated to 2.0, but I'll report back if anything changes.
Title: Re: Garage Door Plugin
Post by: ruipereira on May 08, 2014, 12:15:30 pm
I'm having some difficulties using this app.
Can anyone tell me if instead of a sensor can I use a on/off module that is turned on when the gate is open?
Title: Re: Garage Door Plugin
Post by: Gklmdawson on May 20, 2014, 11:32:16 pm
First off great work on the plugin. I was able to get this setup and working great in no time. I have a request and the answer may just be to use pleg and multi switch. but I have a siren and flashing light connected to my network to act as a warning that the garage is closing. it would be great to have an optional device setting in the app similar to the sensor and relay where I can pick the siren device number and the length of time the siren beeps before the door closes.  it would make closing the garage door completely contained to just the app. just an idea. thanks again for stellar work.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on June 09, 2014, 03:25:31 pm
First off great work on the plugin. I was able to get this setup and working great in no time. I have a request and the answer may just be to use pleg and multi switch. but I have a siren and flashing light connected to my network to act as a warning that the garage is closing. it would be great to have an optional device setting in the app similar to the sensor and relay where I can pick the siren device number and the length of time the siren beeps before the door closes.  it would make closing the garage door completely contained to just the app. just an idea. thanks again for stellar work.

I have a few questions but let me explain first what I have going on.

I have 3 garage doors and an Electric Gate that all use a separate MIMOlite's for each to open and close them.
The gate uses the built in MIMOLite Sensor capability and is running the "MIMOLite Garage Door App" not this one. It has been running for a few months already. 

I just installed the 3 garage door MIMO's this weekend which I'm not useing the built in sensor cabilities as I have an Alarm on the doors already and Vera tied in to that. So Just need the relay to work.

I included the MIMO's to vera, that gave me a Light switch for each. I then installed the "MimoLite Plugin" which gave me 3 sensor readings for each. Then I installed the this Garage Door Plugin which gave me a door lock. So now for each Mimo I have 5 devices. So now to my questions.

How much of this that I did was unnecessary?
Do I really need to the "MIMOlite Plugin" along with it's 3 devices?
Any way to get rid of some of this?

All I really need to look at is the Garage Door Plugin not the light switch for the mimo, or the 3 childs made by the MimoLite Plugin. Since the Garage Door Plugin needs to be pointed at a switch I'm assuming the Light switch for the MIMO is a must?



Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 09, 2014, 04:22:03 pm
All you probably need from the Minimote was a single device ... that looks like a switch.


Normally for a Garage door you have 3 devices:
Title: Re: Garage Door Plugin
Post by: integlikewhoa on June 10, 2014, 01:07:06 pm
All you probably need from the Minimote was a single device ... that looks like a switch.


Normally for a Garage door you have 3 devices:
  • Door Sensor (Indicates the current open/close status)
  • Door Relay Control (Toggling it should cause the door to move)
  • Garage Door (Virtual) Lock (Primary User Interface)

I don't know much here and I'm assuming it would have already been done......
But is the button Text difficult to change from "Lock" "Unlock" to "Open" "Close"?
How about icon? Does that throw off generic compatibility to all phone apps?
If so anyway to only change it on the UI for remote and local connection?
Homewave not an issue but AutHomemation going to be a visual problem that probably can't be solved.

 
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 10, 2014, 01:23:49 pm
Thiis plugin looks like a Lock to vera ... so it has the same user interface as a lock ... and 3rd party remotes that can talk to a lock can talk to this virtual device.

Any changes would make it unknown to the 3rd party apps.
Title: Re: Garage Door Plugin
Post by: dmckenna on June 25, 2014, 09:54:05 am
Techy question.

My garage door is controlled by the same command. ie. Pushing Open will do either an Open or a Close. Pushing Close does nothing.

Perfect use therefore for this garage door plugin, along with a door sensor. Question though, how can I patch the I_GarageDoorLock.xml file so that the same Open command is sent for a Close call ?

I've copied the XML code below for ease - short of playing around, am guessing that "1" and "0" respond to open and close ???



<run>GarageDoorDevNum = lul_device local lul_reverse = luup.variable_get("urn:micasaverde-com:serviceId:HaDevice1", "ReverseOnOff", lul_device) if( lul_settings.newTargetValue == "1" or (lul_settings.newTargetValue == "0" and lul_reverse == "1") ) then luup.log("GarageDoor: SetTarget = 1: " .. tostring(GarageDoorDevNum)) if( luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "1") then CloseContacts() luup.variable_set(DoorSvs, "Status", 1, lul_device) luup.log("GarageDoor SetTarget = 1: " .. tostring(GarageDoorDevNum)) else luup.log("GarageDoor SetTarget = 1 NoAction " .. tostring(GarageDoorDevNum)) end else luup.log("GarageDoor: SetTarget = 0: " .. tostring(GarageDoorDevNum)) if( luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "0") then CloseContacts() luup.variable_set(DoorSvs, "Status", 0, lul_device) luup.log("GarageDoor SetTarget = 0: " .. tostring(GarageDoorDevNum)) else luup.log("GarageDoor SetTarget = 0 NoAction " .. tostring(GarageDoorDevNum)) end end luup.call_delay("GetSensorStatus", 30, "")</run>
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 25, 2014, 10:03:14 am
Most garage door openers use the same strategy ... the same switch opens and closes the opener ... this plugin leverages on this ... There is only one output control device.
Title: Re: Garage Door Plugin
Post by: dmckenna on June 25, 2014, 10:21:46 am
Mmmm, maybe it's something unusual in my setup then. The plugin "Close" is not sending the same signal as an "Open" in my case.

My garage door is controlled using a single momentary relay that is controlled via RFXTRX using a WindowCovering device - as I've not been able to find an RFXTRX device type for a momentary switch. This device is the device ID using in the Garage Door plugin but as it has Open, Close, Stop settings natively, it's probably this that's confusing the scenario.

Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 25, 2014, 10:38:23 am
The Garage Door Plugin controls devices that look like standard On/Off switch.   
It cycles the switch, On then Off a few seconds later, to cause motion.
You may have to make some changes to support your device interface.

Title: Re: Garage Door Plugin
Post by: The hig on June 30, 2014, 11:34:30 pm
I am having an issue and I can't figure it out. I am sure it is something simple. I have the tilt sensor working and I have the power control wired and working. But the garage plugin will not close or open the door. I can do it by hitting the power on the light control and flipping it off which is what I assume the plugin should do. I have tried to increase the delay on the plugin from 1, 2 ,3 etc.. up to 5 but still no joy. Any ideas on what to do next?

Thanks!

Tom
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on July 01, 2014, 07:03:35 am
Are you sure you are using the right device IDS ?
Show the top part of the Advanced Page for your Tilt Sensor and Control Switch  as well as the settings page for the Garage Door Plugin that shows how you set it up.

Title: Re: Garage Door Plugin
Post by: Pseudomizer on July 16, 2014, 12:01:30 pm
Awesome plugin. Saved me a lot of time. Thanks.  ;)

LFM-20 + Ecolink Garage Door Tilt Sensor
Title: Re: Garage Door Plugin
Post by: AgileHumor on August 18, 2014, 12:37:11 pm
I tried putting an NFC tag outside my door which ran a scene to "Toggle State" of the garage door plugin.

It doesn't seem to to work when running manually or via NFC (using Grasshopper).  The theory is I could open or close with one NFC tag/command/scene.
Title: Re: Garage Door Plugin
Post by: PurdueGuy on August 18, 2014, 04:24:59 pm
I checked the code quickly, and it looks like the "toggleState" is not implemented for the garage door lock.

The only action implemented "SetTarget" which is used to set it to locked (closed) or unlocked (open).

Edit: toggleState is part of "urn:micasaverde-com:serviceId:HaDevice1" so it is possible that should be handled directly by Vera.  However, I am not sure how the toggleState should work, if that needs to be implemented to work properly.
Title: Re: Garage Door Plugin
Post by: AgileHumor on August 18, 2014, 04:47:44 pm
Thanks sir, at least I've ruled out the common culprit...my fat fingers or me being intoxicated while coding my HA ;) 

I'll work on an alternate solution maybe with a virtual switch tied to the lock/unlock status.
Title: Re: Garage Door Plugin
Post by: PurdueGuy on August 18, 2014, 05:57:37 pm
You could use the following LUUP code in the scene instead:
Code: [Select]
DOOR_LOCK_DEVICE = 123

if (luup.variable_get("urn:micasaverde-com:serviceId:DoorLock1", "Status", DOOR_LOCK_DEVICE) == "0") then
  luup.call_action("urn:micasaverde-com:serviceId:DoorLock1","SetTarget",{ newTargetValue="1" }, DOOR_LOCK_DEVICE)
else
  luup.call_action("urn:micasaverde-com:serviceId:DoorLock1","SetTarget",{ newTargetValue="0" }, DOOR_LOCK_DEVICE)
end

return true
Change "123" to the device number of your Garage Door Lock (Device -> Wrench -> Settings tab -> Device #)
Title: Re: Garage Door Plugin
Post by: AgileHumor on August 18, 2014, 08:28:06 pm
Thank you! Thank you! Thank you!
Title: Re: Garage Door Plugin
Post by: integlikewhoa on August 20, 2014, 01:25:37 am
Is there a way to reverse the open and closed switch?

I say this because I was using the MIMOLite Garage Door plugin. It was reading my standard contact switch backwards. Without support from the inventor I decided to swap out the contact with a 3 wire contact so I can switch the normally open and normally closed wiring to get the plugin to read right. Well that wiring is buried in glue between a concrete cut. This is used for an Electric Driveway Gate.

All my Garage doors use the Garage Door app now and I want to switch the gate over to it also as it works better but I'm afraid I'm going to ending up with a wiring issue.

I use a MIMOlite for the sensor and relay to open the Gate.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on August 22, 2014, 12:50:34 pm
Anyone?
Title: Re: Garage Door Plugin
Post by: PurdueGuy on August 22, 2014, 01:05:06 pm
If the sensor is backwards, the code has a "reverse" variable to handle that.

Create the device like normal.   It should show as unlocked when closed, and vice versa.

Click the wrench, then the Advanced tab.   Add a new variable with the following settings:
New service: urn:micasaverde-com:serviceId:HaDevice1
New variable: ReverseOnOff
New value: 1

After that, save/reload LUUP, and it should be correct.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on August 22, 2014, 01:50:50 pm
If the sensor is backwards, the code has a "reverse" variable to handle that.

Create the device like normal.   It should show as unlocked when closed, and vice versa.

Click the wrench, then the Advanced tab.   Add a new variable with the following settings:
New service: urn:micasaverde-com:serviceId:HaDevice1
New variable: ReverseOnOff
New value: 1

After that, save/reload LUUP, and it should be correct.

Thanks!
Title: Re: Garage Door Plugin
Post by: integlikewhoa on August 22, 2014, 03:24:40 pm
If the sensor is backwards, the code has a "reverse" variable to handle that.

Create the device like normal.   It should show as unlocked when closed, and vice versa.

Click the wrench, then the Advanced tab.   Add a new variable with the following settings:
New service: urn:micasaverde-com:serviceId:HaDevice1
New variable: ReverseOnOff
New value: 1

After that, save/reload LUUP, and it should be correct.

Tired that and it doesn't work out. It added a line "ReverseOnOff" and it shows 1. Everything rebooted more then once. Icon still reading backwards. So what happens now that it's reversed is:

Door closed, input sensor says tripped, Door Lock Icon says Open, Unlock Button is highlighted and I can press the lock button and Door will open. 

Door open, input sensor says not tripped, Door Lock Icon says Closed, Unlock button not highlighted but when pushed doesn't send command to door or do anything. Lock button is highlighted also doesn't do anything.

So with door open the Garage Door Plugin won't do anything at all, I have to manually close the door.

Title: Re: Garage Door Plugin
Post by: integlikewhoa on August 22, 2014, 03:37:59 pm
If I change the line "ReverseOnOff" to 0 and turn it off, reboot and reload this is what happens:

Door closed, input sensor says tripped, Door Lock Icon says Open, Unlock Button is highlighted and I can press the lock button and Door will open. 

Door open, input sensor says not tripped, Door Lock Icon says Closed, Lock button is highlighted I press the Unlock button and Door closes.

So basically it functions fine just the buttons and icons are backwards.
Title: Re: Garage Door Plugin
Post by: PurdueGuy on August 22, 2014, 04:55:19 pm
I looked at the code again, and it looks like the "ReverseOnOff" is only for the relay.  It doesn't handle the sensor being backwards.  Sorry for the mistake.

A different fix would be changing the I_GarageDoorLock.xml file.  Make a copy, calling it "I_GarageDoorLock_RevSensor.xml" and change anywhere it mentioned "Tripped" to the opposite value (3 spots).

For example:
Original:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "1") thenNew:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "0") then
Upload the new file, and update your gate device to use the new implantation file.  Set the "ReverseOnOff" to 0.

I don't know of anything to do to change the "tripped" sensor icon, unless you redo that device type, new files, etc.  Probably more hassle than it's worth.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on August 22, 2014, 05:43:45 pm
I looked at the code again, and it looks like the "ReverseOnOff" is only for the relay.  It doesn't handle the sensor being backwards.  Sorry for the mistake.

A different fix would be changing the I_GarageDoorLock.xml file.  Make a copy, calling it "I_GarageDoorLock_RevSensor.xml" and change anywhere it mentioned "Tripped" to the opposite value (3 spots).

For example:
Original:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "1") thenNew:
Code: [Select]
if (luup.variable_get(SecuritySvs, "Tripped", DoorSensorDevNum) == "0") then
Upload the new file, and update your gate device to use the new implantation file.  Set the "ReverseOnOff" to 0.

I don't know of anything to do to change the "tripped" sensor icon, unless you redo that device type, new files, etc.  Probably more hassle than it's worth.

Thanks, the real solution is to change the wiring on the contact sensor. I was hoping for a easy solution that worked well. Doesn't seem like that's going to happen.

Only other thing I could think of (which probley also wont work) is to find away to switch the actual input sensor on the software side of the Mimolite device. If I could filp that then this whole plugin would work fine. I know I could also use a relay on the current sensor at the mimolite to swap around the normally open and closed.   

Well I guess it's back to the drawing board!
Title: Re: Garage Door Plugin
Post by: clambert on September 07, 2014, 01:58:56 pm
I'm running UI7.  The device IDs for the sensor and switch are entered.  My Vera says GarageDoor can't detect device.  Apparently the device is not responding.  Any ideas?

My sensor is an Ecolink Garage Door Sensor.

My switch is a Ecolink LFM-20.

From the log: Device NOT responding, device:Garage Door (#11) in is offline. alert: #477565901

EDIT:  Looks like I got it working.  I think I ran the scene to get it started.  I'm not sure to be honest.  :)   I'm too new to this to know if that's the normal procedure.  Either way, it seems to be working now.
Title: Re: Garage Door Plugin
Post by: mparenteau on September 21, 2014, 02:06:13 am
I'm having the same problem as clambert above. 
Running UI7, setup the Garage Door Plugin, using MIMOlite as controller and sensor.
Ran fine yesterday and after adding a Yale door lock (not sure it's related), I keep getting messages that the device (Garage Door plugin) is not detected.
However it actually runs fine.  I can open/close the garage door and get proper status.

Not sure what "run the scene" fix clambert did but I've rebooted many times, I have removed and re-installed the plugin, etc and still getting the problem.

Any ideas?

EDIT: well, just like that after 1 week and for no apparent reason, the plugin how is showing as connected.  Only thing that comes to mind is firmware update to 1.7.374 may have something to do with it.
Title: Re: Garage Door Plugin
Post by: jaysin436 on October 18, 2014, 07:05:11 pm
Can anyone tell me how to add multiple Garage Door devices via the plugin?  I'm using a Vera Lite on UI7.

I was able to get one working, but when you click "Add Another" in the App, it creates a 2nd Garage Door device but it's missing the DoorSwitchPulseTime, DoorSensorDevNum, DoorSwitchDevNumber, CommFailure, CommFailureTime, and Status from the Variables section. 

I see that you can manually add variables but I'm not sure that will work and I don't know what to put for "New service" for a variable.
Title: Re: Garage Door Plugin
Post by: PromptCritical on October 21, 2014, 02:47:57 am
I'm running 1.7.388 and getting the same thing.  Perhaps I just wait?  Seemed to help getting the MIMOLite back online.  THAT plugin took something like an hour to show the MIMO devices.  Seems amusing that it's having trouble connecting to a device that exists purely in software.

Is Vera always this slow in displaying new devices? 
Title: Re: Garage Door Plugin
Post by: korttoma on October 21, 2014, 02:55:42 am
It might be just your browser that needs a refresh.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on October 21, 2014, 01:00:20 pm
To access the variables to set the Door Sensor and Door Relay variables you need to restart Vera/Refresh your browser ...
I think it needs 2 of these iterations for UI7.
Title: Re: Garage Door Plugin
Post by: PromptCritical on October 22, 2014, 02:20:56 am
As in reboot the gateway?  Aside from power cycling it, is there a way to do it from the browser interface?  My router can do that easy.
Title: Re: Garage Door Plugin
Post by: YzRacer on October 23, 2014, 12:47:07 am
I am having the UI7 issue with the device created by the app not being detected. I am using the linear relay and the ecolink sensor. I am able to operate the door and get status updates just fine. I also noticed that in the VeraUI7 android app and in AuthomationHD I do not see the error. I have performed several reboots and browser restarts. I will give it a few days and then try some other options.

I am able to reboot my Vera in UI7 by going to Settings>Net and Wifi>Reboot.
Title: Re: Garage Door Plugin
Post by: PromptCritical on October 24, 2014, 06:23:29 pm
To access the variables to set the Door Sensor and Door Relay variables you need to restart Vera/Refresh your browser ...
I think it needs 2 of these iterations for UI7.

Have rebooted Vera several times using the Settings -> Net & WiFi -> Reboot method at least four times.  No dice.  Directly triggering the MIMO still works.  Just the Plugin device is failing.  Should I try a full power cycle (pull batteries and power cord)?  Power cycle the MIMOLite?
Title: Re: Garage Door Plugin
Post by: bjor0166 on October 30, 2014, 10:57:18 pm
Has anyone been able to add a second garage door device since upgrading to UI 7?  I am not seeing the button to add another device after upgrading (pretty sure I was able to see it before upgrading).
Title: Re: Garage Door Plugin
Post by: PromptCritical on October 31, 2014, 12:32:47 am
So one thing that might be throwing this whole thing off is the door sensor.

Since I'm using a MIMOLite, the input is actually a voltage that varies between an open circuit pulled up with an internal resistor, or pulled to zero when the switch closes.  I'm using the NC contacts right now because that's how the old MIMOLite Garage plugin worked.

The states that I get from the sensor device (Generic Sensor) is "Level 2195" when the door is shut and "Level 2" when the door is open.  Sooo, if the Plugin is expecting a 1 or 0, then I'm gonna have a bad time.

Am I moving in the right direction here?  I can reverse the wiring on the sensor so the states reverse (I'd prefer to for "failsafe" operation).

Is there an attribute I need to change or a file to edit to accomplish this? 
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 02, 2014, 10:25:52 am
Create another should work with the latest UI7 release. You may have to uninstall and re-install the plugin for Vera to detect that this option is available for this plugin.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 02, 2014, 07:29:09 pm
What's up with the error messages with this app?  Running UI7 and I have two of these virtual garage doors set up with the GarageDoor plug in.  The two switches & tilt sensors show up in Vera and function perfectly.  The virtual 'Garage doors's how up too and seem to function alright but show as 'Cant' detect device' on both of them and there's a card on the dashboard that shows '2 devices are no longer connected'.  Anyone have a solution for this yet?  It also shows up fine on the phone app but when I go into devices list it shows those two trying to load constantly.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 03, 2014, 11:08:07 am
UI7 requires an additional call to be made to get rid of this message ... but the message does not effect the behavior of the plugin.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 03, 2014, 11:41:36 am
UI7 requires an additional call to be made to get rid of this message ... but the message does not effect the behavior of the plugin.

What do you mean additional call?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 03, 2014, 01:21:48 pm
In the implementation file.  Not something a normal user can do. I will release an update soon.

But this does not effect the operation of the plugin.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 03, 2014, 01:42:23 pm
In the implementation file.  Not something a normal user can do. I will release an update soon.

But this does not effect the operation of the plugin.

I had a feeling it wasn't something I could do but it's quite annoying to waste SO much time installing and searching for a fix for something you did right to begin with.  Those are minutes/hours of my life I'll never get back now.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on November 03, 2014, 02:03:10 pm
Those are minutes/hours of my life I'll never get back now.

If you stay on UI7 prepare for more. As posted all over UI7 is not fully working and has alot of bugs in alot of plugins.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 03, 2014, 02:12:46 pm
Those are minutes/hours of my life I'll never get back now.

If you stay on UI7 prepare for more. As posted all over UI7 is not fully working and has alot of bugs in alot of plugins.

This is the only plugin I use currently & it's the only problem I have.  A pet peeve of mine is problems that aren't actually problems at all in the sense of something you did wrong or can fix and the fact that the issue is seemingly known and already fixed but not issued just makes it more annoying. 

I keep hearing people complain about UI7 but the ONLY issue I'm having is with this plugin and it's an issue w/how the plugin interfaces with UI7 which is fixable just not fixed.  Not sure how bad UI7 really is because IMO it looks and feels like a substantial upgrade from UI5 so I don't get all the negativity.  UI5 was clunky and the opposite of user friendly to all but the most knowledgeable of users.  One of the biggest hurdles these home automation solutions need to clear is being more user friendly for ALL users and not just the most technically savvy of users and MicasaVerde is no exception to this.  Seems like if plugins developers were a little bit quicker to update their plugins the issues would be nearly non-existent based on what I've been reading.  I'm thankful to the devs that this plugin exists but if it didn't I would just have two switches & two tilt sensors that required one additional click each time I wanted to open or close a door and I wouldn't have wasted so  much time trying to fix a problem that I wasn't able to fix so it would have probably been a trade-off that favored me the end user.  I mean, how many additional clicks that take a half second could I have done manually with all the time I wasted chasing my tail?
Title: Re: Garage Door Plugin
Post by: integlikewhoa on November 03, 2014, 04:59:31 pm
UI7 looks means nothing on your phone or tablet which is how 90% of people control their home Automation. I enter only to setup something then exit. You ask my Wife, father or son what VERA UI looks like (even those they use VERA everyday) they will tell you it looks like Imperihome and Homewave and so you their phone. They never use the computer UI as I do all the setup.

PLEG doesn't work on ui7, Huge for me as I have many advanced scenes.

Thermostates don't function on ui7. (can't set heat and cool setpoints unless you in heat or cool, can't change fan/blower options)

Those are the big ones I notice, but there is alot more things that used to work on ui5 that don't know.

They are slowly getting fixed but at this point for someone who has many plugins, and automation tasks setup switching to ui7 leaves alot of things not working even tho they were working from before. If you don't have many devices or plugins you may or may not see any of the things that don't work. Eventually I'll move to ui7 but no rush now as everything is working and there is nothin to gain but a different look on the UI screen.
Title: Re: Garage Door Plugin
Post by: PromptCritical on November 10, 2014, 09:47:36 pm
In the implementation file.  Not something a normal user can do. I will release an update soon.

But this does not effect the operation of the plugin.

I had a feeling it wasn't something I could do but it's quite annoying to waste SO much time installing and searching for a fix for something you did right to begin with.  Those are minutes/hours of my life I'll never get back now.

Am I doing something wrong then?  I'm getting the "can't Detect" message also, but the control for the plugin doesn't work either. Click Unlock and nothing happens.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 10, 2014, 10:20:20 pm
In the implementation file.  Not something a normal user can do. I will release an update soon.

But this does not effect the operation of the plugin.

I had a feeling it wasn't something I could do but it's quite annoying to waste SO much time installing and searching for a fix for something you did right to begin with.  Those are minutes/hours of my life I'll never get back now.

Am I doing something wrong then?  I'm getting the "can't Detect" message also, but the control for the plugin doesn't work either. Click Unlock and nothing happens.

I don't think it's just you.  I've been having issues as far as controlling (opening & closing) the garage doors now too.  At first it seemed to work but since there it's been not working and the new firmware update just pushed out has Linear GD00Z support and as I have two of these sitting on my work bench I think I may just install them, see if they work and return all these other components and give up on GarageDoor entirely.  I had hoped it would be a permanent solution but it clearly isn't ready for prime time.
Title: Re: Garage Door Plugin
Post by: PromptCritical on November 10, 2014, 11:02:18 pm
Yeah, but I've already got the MIMOLite hooked up.  And I try to minimize the number of battery-powered devices (the tilt sensor). 
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 10, 2014, 11:19:46 pm
Yeah, but I've already got the MIMOLite hooked up.  And I try to minimize the number of battery-powered devices (the tilt sensor).

I have my current system installed already too.  There's many ways to accomplish a mission... some ways easier and some ways more reliable.  Up to the user to decide which is best for him but if the GD00Z is recognized immediately as a garage door and connects reliably I don't care about having to change a battery once every few years or more.  I know the wireless tilt sensors I bought for the current setup use a CR123 battery which lasts many, many, MANY Years.
Title: Re: Garage Door Plugin
Post by: PromptCritical on November 11, 2014, 12:50:11 am
Yeah, but I've already got the MIMOLite hooked up.  And I try to minimize the number of battery-powered devices (the tilt sensor).

I have my current system installed already too.  There's many ways to accomplish a mission... some ways easier and some ways more reliable.  Up to the user to decide which is best for him but if the GD00Z is recognized immediately as a garage door and connects reliably I don't care about having to change a battery once every few years or more.  I know the wireless tilt sensors I bought for the current setup use a CR123 battery which lasts many, many, MANY Years.

The Linear sensor uses a CR2032 button cell which lasts for years in a digital watch, but likely a lot less in a device which is constantly monitoring for tilt and reporting via a radio signal. The instructions say that the tilt sensor battery should last for 24 months, so that's not too bad.  Still, a reed switch and wires are trivially easy to install and will never need a battery.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 11, 2014, 12:55:41 am
Yeah, but I've already got the MIMOLite hooked up.  And I try to minimize the number of battery-powered devices (the tilt sensor).

I have my current system installed already too.  There's many ways to accomplish a mission... some ways easier and some ways more reliable.  Up to the user to decide which is best for him but if the GD00Z is recognized immediately as a garage door and connects reliably I don't care about having to change a battery once every few years or more.  I know the wireless tilt sensors I bought for the current setup use a CR123 battery which lasts many, many, MANY Years.

The Linear sensor uses a CR2032 button cell which lasts for years in a digital watch, but likely a lot less in a device which is constantly monitoring for tilt and reporting via a radio signal. The instructions say that the tilt sensor battery should last for 24 months, so that's not too bad.  Still, a reed switch and wires are trivially easy to install and will never need a battery.
Yep, just pulled the sensor out of one of the boxes & saw it was a 2032. Much cheaper than a CR123 & two years is plenty. They go into a sleep mode & activate/transmit when they're tilted. I have to change the batteries on my deadbolt every few months so if the lifespan on these is measured in years I'm good. Install takes about 30sec including prepping surfaces w/rubbing alcohol unlike wired units. Trade offs.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on November 11, 2014, 01:46:39 pm
I'm still voting for MimoLite and reed switch.  ;D

Still cheaper and a cordless drill with self tapping screws could take the same time as rubbing alcohol.

Did I mention its cheaper too?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 11, 2014, 03:50:15 pm
You can also set the reed switch near the garage door opener. Use a couple of nylon wire ties to attach a magnet to the chain when the door is fully closed.

This has to be on the side of the sprocket  where the chain moves towards the door when you open the door!!!!
 
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 11, 2014, 03:56:27 pm
I'm still voting for MimoLite and reed switch.  ;D

Still cheaper and a cordless drill with self tapping screws could take the same time as rubbing alcohol.

Did I mention its cheaper too?

You still have to run the wire so it's not the same.  I bought Lowe's gift cards at a significant discount and coupled that with a 10% off coupon so the price difference was negligible and not as much as you might think it was.  On top of that the plugin that makes your option work is br0k unless you use an older outdated interface.  That's fine that it works for you but I just installed the GD00Z and it works.  No fuss.  No issues.  No using pliers to drive a nail because they're cheaper.  You can keep using pliers and the nails will get driven home it just won't be as easy or simple as using the hammer that was designed for the job.  Oh, the hammer also has audio & visual alerts that the door is being opened or closed using a remote switch which is how it's actually supposed to be done so this is a nice little bonus too.  I think if you examine this project from a more neutral position as I did when I set out to find a solution you might find that the option you defend endlessly probably isn't the best available for most users.  If you still think it's best for you then that's cool and I won't try to tell you it's garbage if you stop trying to say every other option is garbage on all these threads about this topic.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on November 11, 2014, 05:47:54 pm

Yeah, but I've already got the MIMOLite hooked up.  And I try to minimize the number of battery-powered devices (the tilt sensor).

I have my current system installed already too.  There's many ways to accomplish a mission... some ways easier and some ways more reliable.  Up to the user to decide which is best for him but if the GD00Z is recognized immediately as a garage door and connects reliably I don't care about having to change a battery once every few years or more.  I know the wireless tilt sensors I bought for the current setup use a CR123 battery which lasts many, many, MANY Years.

The Linear sensor uses a CR2032 button cell which lasts for years in a digital watch, but likely a lot less in a device which is constantly monitoring for tilt and reporting via a radio signal. The instructions say that the tilt sensor battery should last for 24 months, so that's not too bad.  Still, a reed switch and wires are trivially easy to install and will never need a battery.


If you still think it's best for you then that's cool and I won't try to tell you it's garbage if you stop trying to say every other option is garbage on all these threads about this topic.
I was merely stepping in while you were arguing with someone else why you think yours is better, same as your doing to me now.

I actually think the Linear GD00Z isn't a bad option as of yesterday when support was finally added. Altho it was only added to the very troublesome UI7 (which is starting to get better). It cost 100.00 but with Lowes discount of 10% off you can get if for 90.00.

I have less of an understanding why people want to buy a z-wave appliance modals, wire them into a wall box, use a high voltage relay to then switch garage door open and closed. That way still cost more and is not near a clean of an install.

The MIMOlite is plug in just like the Linear. You can buy a tilt sensor for the MIMOlite and still come out spending 90.00 and have en extra z-wave input. Altho for 60-65.00 you can have a MIMOlite and more reliable sensor without the batteries. The MIMOlite just has features and options and has been working far longer then the GD00Z has had support.
Title: Re: Garage Door Plugin
Post by: Ostrichsak on November 11, 2014, 06:32:44 pm

Yeah, but I've already got the MIMOLite hooked up.  And I try to minimize the number of battery-powered devices (the tilt sensor).

I have my current system installed already too.  There's many ways to accomplish a mission... some ways easier and some ways more reliable.  Up to the user to decide which is best for him but if the GD00Z is recognized immediately as a garage door and connects reliably I don't care about having to change a battery once every few years or more.  I know the wireless tilt sensors I bought for the current setup use a CR123 battery which lasts many, many, MANY Years.

The Linear sensor uses a CR2032 button cell which lasts for years in a digital watch, but likely a lot less in a device which is constantly monitoring for tilt and reporting via a radio signal. The instructions say that the tilt sensor battery should last for 24 months, so that's not too bad.  Still, a reed switch and wires are trivially easy to install and will never need a battery.


If you still think it's best for you then that's cool and I won't try to tell you it's garbage if you stop trying to say every other option is garbage on all these threads about this topic.
I was merely stepping in while you were arguing with someone else why you think yours is better, same as your doing to me now.

I actually think the Linear GD00Z isn't a bad option as of yesterday when support was finally added. Altho it was only added to the very troublesome UI7 (which is starting to get better). It cost 100.00 but with Lowes discount of 10% off you can get if for 90.00.

I have less of an understanding why people want to buy a z-wave appliance modals, wire them into a wall box, use a high voltage relay to then switch garage door open and closed. That way still cost more and is not near a clean of an install.

The MIMOlite is plug in just like the Linear. You can buy a tilt sensor for the MIMOlite and still come out spending 90.00 and have en extra z-wave input. Altho for 60-65.00 you can have a MIMOlite and more reliable sensor without the batteries. The MIMOlite just has features and options and has been working far longer then the GD00Z has had support.

The previous solution I had does NOT have a relay to convert from high-voltage to low voltage.  That's what I was trying to explain multiple times but it kept falling on deaf ears.  It's one device and then a wireless tilt sensor for a total of $60 for BOTH devices.  Wire a plug to the Z-Wave or put it in an outlet box directly wired for a cleaner look and then wire parallel to the wall switch either at the wall switch, at the opener itself where the wires come in or anywhere along the way.  Whichever is easier for your particular install.  Couldn't be more simple.  $60 per door and cake install plus now I've got a functional tilt sensor as a separate device in the Vera dashboard to be able to use for various other functions that having a dedicated tilt sensor offers. 

The only problem I had with this setup was really with this plugin so now that I've got the Linear devices installed and running I'm glad to say that I'm going to unsubscribe from this thread because I don't need the headache anymore.  So the MIMOlite option with the same functionality is actually $90 so the MIMOlite solution costs 50% more for the same functionality.  It's even the same price or more than the GD00Z with the same functionality.  No idea why anyone would consider it a viable solution when you can do better for the same or less money.  Just because something has been around for longer doesn't make it the best solution.  The GD00Z is the next evolution in this process and just because it's relatively new doesn't make it less of an option.  In fact, I've already had more reliable interaction with these two devices than I had with the previous GarageDoor plugin setup and it was FAR easier to install and setup.  No mystery or riddles to solve.  Plug and play just like all the other job-specific Z-Wave devices I've added to the system.  You can only defend your Tandy 286 for so long before it just makes more sense to buy the next best thing for about the same price.

I wasn't trying to convince anyone anything other than their product wasn't the best thing ever as they wanted to state & to clear up misinformation that was being spread as fact as to avoid confusing others reading this text looking a similar solution.  I'm not faithful to any solution and since I had multiple garage doors and had tried multiple different options over the years I had a unique perspective to offer some input and immediately you could see that there were some with skin in the fight that were hell-bent on saying my findings and opinion were invalid for some odd reason.  I'm not trying to sell you anything other than the idea that there could be a better option than what you are fighting so adamantly to say is the best solution.  Just like in a month or two there could be an option even better.  That's how tech works and it amazes me how many people cling so desperately to whatever it is they have already invested time/money into.

I just hope for all your sake that the dev of this plugin fixes it rather than continuing to post that they know it's broke and they even know the fix while others are continually pulling their hair out over something they can't even control.  And yes, for the person who questioned my knowledge of code earlier, I do know something about writing code & understand a few languages.  I used a RaspberryPi to control my garage doors remotely as one of my first solutions which requires a fair bit of coding knowledge to complete.  I have also used them for other projects but that's not really important.  Until that time I suggest others go with something like the GD00Z now that it's supported & bypass this route entirely as the $10-$20 invested will save so much effort and buy peace of mind.
Title: Re: Garage Door Plugin
Post by: PromptCritical on November 12, 2014, 09:57:59 pm
Sooo.... About fixing that plugin...  :P
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 13, 2014, 09:58:53 am
What's wrong with the Garage Door Plugin ?
Title: Re: Garage Door Plugin
Post by: YzRacer on November 15, 2014, 04:08:49 am
Just an update from an earlier post, I saw some others were having the same problem that I had with the device always showing disconnected. I let it ride for a while and it did not correct itself, so I went to advanced options for the device and changed the CommFailure value to 0 and refreshed. It's been 2 days now and it works great! No more annoying red message on my UI7 dashboard. Thanks for the great plugin! It is working perfect for me now.
Title: Re: Garage Door Plugin
Post by: benr on November 17, 2014, 05:17:50 pm
Just an update from an earlier post, I saw some others were having the same problem that I had with the device always showing disconnected. I let it ride for a while and it did not correct itself, so I went to advanced options for the device and changed the CommFailure value to 0 and refreshed. It's been 2 days now and it works great! No more annoying red message on my UI7 dashboard. Thanks for the great plugin! It is working perfect for me now.
What does that issue fix and is that only an issue with UI7?
Title: Re: Garage Door Plugin
Post by: PromptCritical on November 18, 2014, 12:48:28 am
Yah, I thought the author said there was a problem with the plugin that needed to be fixed.

Never saw the CommFailure change listed.

Sometimes it feels like this forum reads like stereo instructions... ;)

Changed it to 0 and the fault went away.  Rebooted the Vera for good measure.  Alas, activating the plugin created device still does nothing. 

Any other common issues with using this plugin with a MIMOLite?  I'm at a loss.
Title: Re: Garage Door Plugin
Post by: YzRacer on November 18, 2014, 02:20:38 am
Just an update from an earlier post, I saw some others were having the same problem that I had with the device always showing disconnected. I let it ride for a while and it did not correct itself, so I went to advanced options for the device and changed the CommFailure value to 0 and refreshed. It's been 2 days now and it works great! No more annoying red message on my UI7 dashboard. Thanks for the great plugin! It is working perfect for me now.
What does that issue fix and is that only an issue with UI7?

Technically nothing was broken. I am not using a MIMO, I just have  a regular Linear isolated contact and a cheap motion sensor on the TOP panel of my garage door. Initially the plugin created the device which for me worked just fine in commanding the door up and down. The only issue I had was that somehow the Vera listed the device in a commfailure status and I would always have the dashboard telling me that 1 device was no longer connected, even though it worked. Earlier in this thread someone said theirs just fixed itself, mine did not, so I gave it a nudge by switching commfail to 0 in advanced for the device. Now mine is flawless and works every time as advertised.

tl;dr Mine worked fine, but showed commfail. Changed commfail to 0 in advanced, good to go.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on November 19, 2014, 11:14:37 pm
There is a way for me to eliminate the error message in UI7.
But the error message is BOGUS ... its complaining about a serial port and the plugin does NOT use a serial port.
It does not effect the operation of the device.
This is a VERA bug .. but most developers are just working around it.

Title: Re: Garage Door Plugin
Post by: integlikewhoa on November 19, 2014, 11:36:04 pm
There is a way for me to eliminate the error message in UI7.
But the error message is BOGUS ... its complaining about a serial port and the plugin does NOT use a serial port.
It does not effect the operation of the device.
This is a VERA bug .. but most developers are just working around it.

Ha, and this is the biggest complaint with ui7?
The Garage door app has a bogus error message? 

If your on ui7 this should be the least of your problems.
Title: Re: Garage Door Plugin
Post by: PromptCritical on November 23, 2014, 09:01:49 pm
Ah... So using the Generic sensor created by the MIMOLite plugin mucks things up.  I switched to the binary sensor device and the plugin starts working.  I had to switch the reed switch sensor wires over to N.O. (I think) so that it reads door status correctly (Contacts open and close with the door).  However, it worked once, and won't work again.  Not sure why.
Title: Re: Garage Door Plugin
Post by: goltoof on December 09, 2014, 04:27:34 pm
The plugin works fine for me but it gives me error "Can't detect device".

The tilt sensor and contact switch work fine and it opens and closes via the plugin.  How do I fix?
Title: Re: Garage Door Plugin
Post by: hellovn on December 16, 2014, 02:24:29 pm
I got the message "can't detect device" before but it seems Vera Control fixed it. I have not seen it for a day.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 16, 2014, 02:47:41 pm
I released the Fix for IT.


MCV Broke it!
Title: Re: Garage Door Plugin
Post by: hellovn on December 16, 2014, 04:31:34 pm
Thanks Richard. My dashboard is green and happy now :)
Title: Re: Garage Door Plugin
Post by: Armedmetallica on December 16, 2014, 07:37:52 pm
You can also set the reed switch near the garage door opener. Use a couple of nylon wire ties to attach a magnet to the chain when the door is fully closed.

This has to be on the side of the sprocket  where the chain moves towards the door when you open the door!!!!

What about tapping into the stop switch that the carriage touches ? can that singal as door in open position? Paired with the switch on the other end, you could probably even monitor the transit time.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 17, 2014, 08:13:16 am
Quote
What about tapping into the stop switch that the carriage touches ? can that singal as door in open position? Paired with the switch on the other end, you could probably even monitor the transit time.

Most (if any) of these internal limit switches DO NOT have a extra set of isolated contacts.
A different approach could be used to make the Door look more like a SHADE with a % of travel.

This plugin makes the door look like a LOCK  with a Locked/Unlocked metaphor.

It's rare that I ever use the door more than full open or full closed. And in those cases it's always under manual control.
Title: Re: Garage Door Plugin
Post by: Armedmetallica on December 17, 2014, 09:33:31 am
Quote
What about tapping into the stop switch that the carriage touches ? can that singal as door in open position? Paired with the switch on the other end, you could probably even monitor the transit time.

Most (if any) of these internal limit switches DO NOT have a extra set of isolated contacts.
A different approach could be used to make the Door look more like a SHADE with a % of travel.

This plugin makes the door look like a LOCK  with a Locked/Unlocked metaphor.

It's rare that I ever use the door more than full open or full closed. And in those cases it's always under manual control.

Oh Okay... I don't really use it partially either. I was just chiming in and wondering about those limit switches. As of right now, I am using a switch to toggle an automotive relay. I don't have an open/close setup yet.

I know earlier someone mentioned not understanding the need for doing it this way - but to me, it was the reusability ... if GDO tech makes some sort of drastic change, these components can be used for other uses. Something like the Linear unit pretty much leaves you GDO or nothing. Then again, GDO mechanisms haven't changed in several decades, so who knows.

Title: Re: Garage Door Plugin
Post by: Newzwaver on May 15, 2015, 03:28:29 pm
Ok, I have a Remotec ZFM-80 relay and a Ecolink Zwave Garage Door Tilt Sensor, trying to get the plugin to work and for some reason it doesn't like me and will not work.  I am new and cant figure this out any chance we have a version for the very slow? 
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 15, 2015, 04:17:36 pm
1) When you toggle the ZFM-80 does it cause the garage door to move ?
2) When the garage is opened/closed does the Tilt sensor show the correct state ?

If the answer to BOTH questions is yes ... you are ready to setup the Garage Door Plugin.
Get the Device IDs from both devices ... From the Advanced Tab .... right at the TOP!!!!

you will enter these numbers into the Advanced Tab of the Garage Door Plugin, Save/Reload ... Refresh your browser ... You are ready to go.
Title: Re: Garage Door Plugin
Post by: Newzwaver on May 18, 2015, 09:07:39 pm
Thanks I appreciate your help and I have completed the the changes but still not working.  I went in and changed the numbers just like you said and the error is gone but the door will not open or close.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 18, 2015, 10:33:19 pm
And the answers to question 1 and 2 ?
Title: Re: Garage Door Plugin
Post by: Newzwaver on May 19, 2015, 05:57:03 am
Hi and thanks again,
I have to toggle the door relay twice to get it to work, it is wired to my garage door remote.  I have a scene that works but want to combine the both if I can like this plugin.  Yes the sensor shows the door is open or closed. 
I appreciate the help.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 19, 2015, 08:29:58 am
When you say you have to toggle the light twice do you mean
    ON OFF ON OFF

or
    ON OFF

If it's the first ... the plugin will NOT work.
Title: Re: Garage Door Plugin
Post by: Newzwaver on May 19, 2015, 09:25:31 am
It's the first one so the plugin doesn't work, can I make it work or force it?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 19, 2015, 09:49:13 am
Most garage door openers do not need two pulses ... in fact a second pulse often stops an already moving door.

So your opener is not standard.

You can modify the code to send two pulses.
But it's probably simpler to just use a scene.
Title: Re: Garage Door Plugin
Post by: delbz on May 23, 2015, 06:41:14 pm
Hi Richard,
Hope you can help. Lately my Garage door app is (sometimes) incorrectly reporting the door is open when it's not. Can you help me troubleshoot?
I have ordered a new battery for the tilt sensor just in case it's that.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 23, 2015, 07:51:31 pm
I am not familiar with the tilt sensor ... does the red beam indicate it thinks it's open ?
Title: Re: Garage Door Plugin
Post by: delbz on May 23, 2015, 08:56:50 pm
No that means it's armed or disarmed.
OK - So how does the app know the door is closed or open then?
It is a variable in the door lock device?
Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 24, 2015, 12:31:56 am
No that means it's armed or disarmed.

Ahahaha, thats not what he means!

We know the one on the right that is labeled armed or disarmed. He is talking about the 2 red lines above the motion sensor icon that are red in your picture. That indicates that the sensor is in the tripped position, which should mean the door is open. Those red lines should go away and just show the motion sensor only when the door is closed.

What Richard was asking is to make sure those lines are red or the sensor is tripped when the door is open vs. when it is closed. He was unsure which way is which.

So when you open and close the door do those 2 red lines change? or is the sensor always reading tripped (red lines always showing)?
Title: Re: Garage Door Plugin
Post by: delbz on May 24, 2015, 01:27:15 am
Ahhh - Sorry.

They don't seem to change - whether its open, closed or in progress - see screen shot.
However I manually changed the following variables in the tilt sensor's advanced settings:

Tripped:1  (to 0)
ArmedTripped: 1 (to 0)

That corrects the Garage door status and removes the "red beams"!

After experimenting further I found the Tilt Sensor is not updating its Tripped status (back to 0) after the door closes and it's in an upright position. So I took the sensor off the door and held it in the two different positions to simulate the door opened and closed. Worked fine most of the time but occasionally didn't report a status change.

I'm thinking low battery or actual position on the garage door may be affecting it. Will update once I get a new battery.


PS - The Tilt sensor is this one: http://www.smartliving.com.au/z-wave-tilt-sensor.html

Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 24, 2015, 10:44:58 am
Ahhh - Sorry.

They don't seem to change - whether its open, closed or in progress - see screen shot.
However I manually changed the following variables in the tilt sensor's advanced settings:

Tripped:1  (to 0)
ArmedTripped: 1 (to 0)

That corrects the Garage door status and removes the "red beams"!

After experimenting further I found the Tilt Sensor is not updating its Tripped status (back to 0) after the door closes and it's in an upright position. So I took the sensor off the door and held it in the two different positions to simulate the door opened and closed. Worked fine most of the time but occasionally didn't report a status change.

I'm thinking low battery or actual position on the garage door may be affecting it. Will update once I get a new battery.


PS - The Tilt sensor is this one: http://www.smartliving.com.au/z-wave-tilt-sensor.html

Well there is your problem. If those ideas don't work I would much rather have a contact sensor then a tilt sensor.
Title: Re: Garage Door Plugin
Post by: Newzwaver on May 28, 2015, 02:25:52 pm
Hi Everyone,

Thanks very much for everything, I purchased a new relay and connected it to my garage door, worked perfect.  Installed the plugin and I am glad to say that it works as well.  Thanks this excellent.

I do however have one question, can you hide the actual relay?  I don't want anyone to leave it turned on.  Or can I have it turn off automatic after 5 seconds?
Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 28, 2015, 03:32:32 pm
Hi Everyone,

Thanks very much for everything, I purchased a new relay and connected it to my garage door, worked perfect.  Installed the plugin and I am glad to say that it works as well.  Thanks this excellent.

I do however have one question, can you hide the actual relay?  I don't want anyone to leave it turned on.  Or can I have it turn off automatic after 5 seconds?

Where do you want to hid it from?

ui7 I have had problems hiding devices, ui5 no problem. No one in my house uses the Web UI tho. I only use it for setup then I use better apps on my phone, tablets for control. In those apps you can hid or add what ever you want. Change icons and all.
Title: Re: Garage Door Plugin
Post by: shpitz461 on June 06, 2015, 09:43:28 pm
The sensor I was using has gone bad, I replaced it with a new one.

Now, I'm not able to set DoorSensorDevNum and DoorSwitchDevNumber, they stay at 1, and the plugin reports 'GarageDoor Can't Detect Device'.

I set the id for the sensor, click outside of the edit.
Then i set the id for the switch, click outside of the edit.

When I switch to another device, then go back to Garage Door app, and go to Advanced/Variables, both variables are stuck @ '1'.

Any idea what i'm doing wrong?

My setup has worked for years, including with UI7. I'm on latest UI7 for VeraLite.

EDIT: I did a repair network, and now it works again.
Title: Re: Garage Door Plugin
Post by: allpisces78 on January 06, 2016, 11:28:55 am
FS20Z-1 + MonoPrice Z-Wave Garage Door Sensor

I am in the processing of setting up my 2 garage doors using above devices... I have already got the sensor installed and also installed the plug-in (getting the FS20Z in couple of days)...

Have couple of questions (sorry it might have been already asked and the answer could be buried under 25 pages of this thread, but couldn't find it on high level glace)

1. Is it a MUST to use the remote (with battery on) for this setup or I can directly connect the 2 blue wires of FS20Z relay directly to the Garage opener panel where the wall button wires ends up. Only downside I see with this is that if there are any malfunctions by relay, it could burn down the opener unit  ::)

2. I want to setup a scene where I want the garage door to be closed automatically if its open for more than 30 minutes at night (say 10PM - 7AM). I know the answer would be PLEG... I am in the process of reading/understanding PLEG and  this would be my first PLEG application...so any tips/samples will really give me some head start.

TIA...
ALLPisces...
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on January 06, 2016, 01:36:26 pm
You can hook up a relay directly to your door bell wires.
Title: Re: Garage Door Plugin
Post by: allpisces78 on January 06, 2016, 02:12:05 pm
You can hook up a relay directly to your door bell wires.
Thanks Rich for confirming... Will try to solder the remote (again 1st time :) ) if I mess up, wanted a Plan B...
Title: Re: Garage Door Plugin
Post by: Newzwaver on January 09, 2016, 07:54:03 pm
Hi Again,

I built a new garage in my backyard added the same relay (LY2NJ+zwave wall pug) and same garage door opener(same remote) assuming everything would work the same.  However I was wrong, the plugin changed a little. Adding a new value toggle, what is if for and to my problem.
1) press door open, works great.
2) press door close, don't work need to toggle it twice.

Any ideas?

Also have a door tilt sensor with the chamberlain opener has anyone ever hacked it to send the command to Vera?

Has anyone hacked the wireless keypad?  Would love to be able to remote change my pin code...  Any ideas????
Thanks
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on January 10, 2016, 07:26:52 am
No you can't change the names.
You could but it would change the names for ALL LOCKS.
Title: Re: Garage Door Plugin
Post by: Newzwaver on January 10, 2016, 11:24:47 am
Hey Rich,

Any ideas why I am having the problem I am with the plugin?  All things equal it should work the same both as my front garage. 
What is the new toggle field for?

Thanks
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on January 10, 2016, 03:09:16 pm
Did you get the APP from the APP store ?
What settings are you talking about ... please post a picture.

I have released a few mods for special purpose situations for people ... So it's important to know where/what plugin you are running.
Title: Re: Garage Door Plugin
Post by: dblackmore on February 10, 2016, 12:55:35 am
Been a while since I messed with the garage plugin, it's always served it's purpose ever since I first installed it with UI5.  I've been using UI7 for a while now and I happen to be messing with the plugin again more for amazon echo integration and I noticed it has pin codes.  When did this happen?  What are they used for?  I simply just click the lock to close and unlock to open the garage door.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on February 10, 2016, 01:01:11 am
Been a while since I messed with the garage plugin, it's always served it's purpose ever since I first installed it with UI5.  I've been using UI7 for a while now and I happen to be messing with the plugin again more for amazon echo integration and I noticed it has pin codes.  When did this happen?  What are they used for?  I simply just click the lock to close and unlock to open the garage door.

It's always had pin codes and the reason why is, its a lock...... it uses the files of a lock so it can work on any app or plugin in vera since everything supports a lock.
I dont think there is any reason to asume the pon works or will do anything useful for u.

Title: Re: Garage Door Plugin
Post by: dblackmore on February 11, 2016, 12:45:39 am
Gotcha, I thought it was a new feature to the plugin.
Title: Re: Garage Door Plugin
Post by: alpha1 on February 24, 2016, 01:47:18 pm
Hi all

Added a fibaro relay and door sensor to my garage which work great

I found a thread about using the relay for garage doors without this app and changing a few parameters. Do I need to change these parameters on the relay if I use this app?

Thanks
N
Title: Re: Garage Door Plugin
Post by: ov3rmind on March 20, 2016, 12:22:31 pm
Hello. Very new to this.  I have my door sensor working perfect, but how do I get the plugin to execute luup code to open/close the garage door instead of configuring "DoorSwitchDevNumber"?  I tried specifying an ID of a Scene instead which executes luup code successfully, but it doesn't seem the plugin can toggle a scene.   I tried setting up a virtual switch, but I have no idea how to add luup code in a virtual switch.  I'm sure this is easy and I'm just missing something.

I already have a sensor via the dsc alarm panel that I'm using to sense if the door is open or closed, and I'm using DSC Alarm panel's relay output to toggle the garage open/close function via this code:

luup.call_action("urn:micasaverde-com:serviceId:DSCAlarmPanel1",
                 "SendCommand",
                 {Command = "071", Data="1*71"}, <ID>)

Thanks!
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on March 20, 2016, 12:59:09 pm
The DoorSwitchDevNumber is for a (ZWave) device that when toggled causes the door to move.

The DoorSensorDevNumber is for the sensor that detects the current door status... In this case your DSC garage door zone device ID.
Title: Re: Garage Door Plugin
Post by: ov3rmind on March 20, 2016, 01:19:38 pm
I totally understand what this is for.  Right now I got it to work in an extremely convoluted way.  Sensor always worked since it was tied to the DSC garage zone device.  DoorSwitchDevNumber I mapped to a Virtual Switch that does nothing.  I then created a scene which monitors the virtual switch and if the switch is turned on or off it will run luup code to toggle PGM output on the DSC panel to operate a garage door relay.  This works well thus far, but I was wondering if there is even a need for a scene or a virtual switch?  Is there a way for the plugin to execute the luup code directly and avoid an unnecessary scene and switch to be setup?   

The DoorSwitchDevNumber is for a (ZWave) device that when toggled causes the door to move.

The DoorSensorDevNumber is for the sensor that detects the current door status... In this case your DSC garage door zone device ID.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on March 20, 2016, 02:00:59 pm
Search the thread ... I release a version that can drive a PGM output directly.
Title: Re: Garage Door Plugin
Post by: CelticWebs on April 19, 2016, 05:08:50 pm
Hi,

Can this app use a sensor taht is a binary On / Off rather than the open close type?  I can't seem to get it working using a Sensitive strip as the sensor for my gate.

The strip shows up as a Binary on / Off device, is that a problem for the app?

Thanks in advance for your reply.
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 19, 2016, 06:59:58 pm
Yes the plugin is written assuming the Door Open/Close sensing device conforms to the "Security Sensor" protocol.
Can you send the details of your sensing device from the Advanced TAB of that device.
On UI7 I need to see both the "Params" and "Variables" tab. On UI5 it's the top and bottom parts of the Advanced tab.
Title: Re: Garage Door Plugin
Post by: CelticWebs on April 19, 2016, 07:18:25 pm
Here is a screen shot of what you requested.  The variables screen is quite long.

The sensor is one of these http://www.vesternet.com/z-wave-telldus-sensative-strips-door-window-sensor

I then have a Fibaro relay for actually controlling the gate.  If click the relay on it's own it activates the gate.  Clicking the Garage door app doe nothing.  The sensor also works fine on it's own, open the gate it shows on, close the gate it shows off.

Thanks again for your help and your work with this plugin!
Title: Re: Garage Door Plugin
Post by: CelticWebs on April 19, 2016, 07:33:07 pm
I think I've almost fixed it...  Almost.

I found a comment about changing the settings of the sensor device.  So I changed the device_file and device_json to D_DoorSensor1.xml. Then changed category_num and subcategory_num to 4 and 1 respectively.

In the options screen, I created parameters  2 and set it to be 0.

Now when I select the garage door (gate in my case) controller to unlock it the gate opens a small amount then stops.  I maybe need to change the time that it trigger the relay for, on the relay I set it to 1 second and it works fine, perhaps through your app it's slightly different so I'll have a play around and see what I can set it as :)

I'll update you how I get on.
Title: Garage Door Plugin
Post by: CelticWebs on April 22, 2016, 05:00:08 am
I got it all working now :)  I've got a gate and a single garage door being controlled by the app and they work perfectly :)

Thanks for such a great and extremely useful app by the way :)
Title: Re: Garage Door Plugin
Post by: klopfensteinj on April 23, 2016, 08:12:29 am
I have been using this plugin for several years w/o issue on a vera lite UI5.  I upgraded to vera plus, fought that battle for a while then gave up and went back lite running UI5.  I then had to fix some of the battery powered devices in UI5-the garage tilt sensor was one of them.  Finally got that all working but the app no longer responds to lock/unlock. 

I am using an outlet connected to a 120 volt relay the simulates the open/close button like many others here.  The tilt sensor seems to be reliable and like I said, has worked great before my insane headache called vera plus.

I have uninstalled, reconfigured, rebooted, unplugged, and every trick I can think of to get this operational.  I can trigger the outlet manually and it works perfectly, just not through the app. 

Any help would be appreciated.
John

Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 24, 2016, 10:23:40 am
Check that you have the correct DeviceIDs in the settings for both the door switch and the door sensor.
Title: Re: Garage Door Plugin
Post by: tommkil on May 16, 2016, 04:30:06 pm
Hi
My device in Vera is an light switch on/off, but it controls an puls relay attached to garage door opener. So when i use the plugin it starts door but stops again. Due to this plugin also simulate a push
Is it possible to use plugin without puls?
Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 17, 2016, 12:36:47 pm
Hi
My device in Vera is an light switch on/off, but it controls an puls relay attached to garage door opener. So when i use the plugin it starts door but stops again. Due to this plugin also simulate a push
Is it possible to use plugin without puls?

One of the main uses for the plugin is to turn a relay into a push button garage door control. Garage doors don't want the button to stay pressed down/relay on the whole time. So the plugin simulates the press and then a release. If you were to keep pressing or keep the relay closed then the door would not work anymore even with a normal wall button or a standard opener.

It sounds like how ever you have your "puls" relay setup you don't need this plugin. Maybe you can explain a bit more on what relay you have an how you have it setup so we can have a better idea why your setup is different then everyone else that is using this plugin. 

If I read your post correctly yours needs to stay powered up or on the whole time the door is opened and when turned off or released your door closes? Sounds like you don't need any plugin at all. Light on Door open Light off door closed, does that sound right?
Title: Re: Garage Door Plugin
Post by: tommkil on May 17, 2016, 03:37:20 pm
Thx for the response, I will try to explain.
I have a relay that turns over for 2 sek and then back. (Like a doorswitch and this plugin in does) In Vera this is set up as a normal light switch on/off. It does not matter whether I turn the light switch on or off. The relay strikes 2 sek and gate opens and stops when gate motor reach its end.
This relay is 433mhz and talks to Vera thru Rfxcom on Nexa protocol.

Reason for need this plugin is to combine a magnet contact for open/closed and this relay to start open/close in one switch button in Vera app.
regards
Tommy
Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 17, 2016, 05:31:29 pm
Thx for the response, I will try to explain.
I have a relay that turns over for 2 sek and then back. (Like a doorswitch and this plugin in does) In Vera this is set up as a normal light switch on/off. It does not matter whether I turn the light switch on or off. The relay strikes 2 sek and gate opens and stops when gate motor reach its end.
This relay is 433mhz and talks to Vera thru Rfxcom on Nexa protocol.

Reason for need this plugin is to combine a magnet contact for open/closed and this relay to start open/close in one switch button in Vera app.
regards
Tommy

This plugin is not setup for this and neither is vera. I don't know of anyway to change this plugin just to fit your needs as that's not a user set option.  Is there anyways to cancel the 2 sec relay and make it an on/off relay like normal? Is that a user set option? Like you know this is made for relay on is on and relay off is off.
Title: Re: Garage Door Plugin
Post by: Newzwaver on May 31, 2016, 12:53:25 pm
Hi Richard,

I need the creators help, i have two chamberlains garage door openers.  Both open first thing when you hit the open on the garage door plug in, however they will not close.  I press it once and the door shows as closed or locked however its not and i have to toggle the relay.  The relay only needs to be pressed once to close so i must have something wrong in the settings.  Any ideas?

Thanks
Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 31, 2016, 01:36:01 pm
Hi Richard,

I need the creators help, i have two chamberlains garage door openers.  Both open first thing when you hit the open on the garage door plug in, however they will not close.  I press it once and the door shows as closed or locked however its not and i have to toggle the relay.  The relay only needs to be pressed once to close so i must have something wrong in the settings.  Any ideas?

Thanks

The garage door plugin is made for a relay that turns on and off with open and closed. So the plugin will send an on command to simulate a push of the wall button then send an off command to simulate a release the button. I used this is a mimolite and other use it with z-wave relays. your application may not need this plugin or work with it. Can you give us more info on what your using and how your relay works. 
Title: Re: Garage Door Plugin
Post by: Newzwaver on May 31, 2016, 02:09:09 pm
Hi

And thank you for your prompt reply.  My chamberlain garage door opens when i press the remote button once and closes when i press the same button once again.  I opened the remote and attached a relay and then used a Z-Wave in wall plug to control the relay.  Once i hit the open it show open and when i hit the close it should also close.  however open works and close doesn't, i have to hit the realy(zwave plug on/off again). 

you are correct it should work but for some reason its not.   I have upgraded to Vera Plus.So my setup looks like this Chamberlain remote connected to a 110v/220V relay, connect GM Z-wave in wall plug.  I stopped using the tilt sensor and used the once connected to my alarm system its hard wired.

device #5615
Params
Variables
New service
Commands
If you want to use normal input type text you will have to check the checkbox beneath the div input each time you enter this section!

ModeSetting
1:;2:;3:;4:
switch to input type text
DoorSwitchPulseTime
4
switch to input type text
DoorSensorDevNum
5624
switch to input type text
DoorSwitchDevNumber
5614
switch to input type text
CommFailure
0
switch to input type text
CommFailureTime
0
switch to input type text
Target
0
switch to input type text
Status
1
switch to input type text
Status
1
switch to input type text
Note: To modify the default values for Device params and Variables fields change the value in the input box and click outside to send the command.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on May 31, 2016, 04:14:50 pm
Have you checked to see if the relay is doing anything the first time you click to close the door? Also is the icon and plugin showing the door is opened when you trying to hit lock? If you try to hit the lock but it thinks the door is already locked or closed that could be your problem. So is the door status linked and working properly? 
Title: Re: Garage Door Plugin
Post by: Newzwaver on June 02, 2016, 06:51:58 pm
Just did a review of my garage door.  When I press the plugin it opens, wait a few and press it again and it doesn't send a command to the relay but shows locked or closed.  I have to press the relay to actually close the door . 

To make sure the hardware was working correctly I went out and pressed there relay manually it worked as planned and opened the door.  Pressed it again and it closed as planned. 

This is in the setup of the plugin, I have something screwed up in the settings. 

Help?

Please ..
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 02, 2016, 07:52:18 pm
When you open/close the door MANUALLY does it show the correct locked/unlocked status. If not you need to fix that first.
Title: Re: Garage Door Plugin
Post by: Newzwaver on June 02, 2016, 08:39:26 pm
Hi Richard,

No it doesn't, I opened the garage door and the plugin still shows locked.  So how would i fix that?

My setup looks like this, i have a binary sensor hooked to my DSC alarm system and that is the sensor i use for the door open or close.  Would you have a pic of the setup of a working system?

Any help is greatly appreciated.

Title: Re: Garage Door Plugin
Post by: Newzwaver on June 02, 2016, 09:24:27 pm
I should add that the plugin i am using is
App id:2998
Current Version:2.1
Title: Re: Garage Door Plugin
Post by: integlikewhoa on June 03, 2016, 12:01:52 am
I should add that the plugin i am using is
App id:2998
Current Version:2.1

If your lock and unlock icons are not reading right then the following.
If your sensor for the alarm panel is working correctly in vera then I would say that you don't have the garage door plugin setup correctly looking at that sensor. Double check the device ID you used in the garage door plugin for the sensor.
Title: Re: Garage Door Plugin
Post by: Newzwaver on June 03, 2016, 08:22:21 am
Thanks everyone for your help it is greatly appreciated.  I found the problem, when I switched to Vera Plus for some reason the device ids got messed up.  Then to complicate things even more my sensor was damaged, how no idea but damaged.  I fixed the sensor and looked at the sensor ids, corrected them and before the changes actually worked i have to do a zwave reload.  After that all good.

Thanks again and on to the next project.
Title: Re: Garage Door Plugin
Post by: integlikewhoa on June 03, 2016, 11:44:53 am
Thanks everyone for your help it is greatly appreciated.  I found the problem, when I switched to Vera Plus for some reason the device ids got messed up.  Then to complicate things even more my sensor was damaged, how no idea but damaged.  I fixed the sensor and looked at the sensor ids, corrected them and before the changes actually worked i have to do a zwave reload.  After that all good.

Thanks again and on to the next project.

Glad to here.
Title: Re: Garage Door Plugin
Post by: titof174 on July 13, 2016, 08:51:17 am
Hello everyone,

I use this plugin for my garage door and it works very well but there is just a little thing that bothers me.

When I press the Lock button, the latch on the icon is immediately put in red , which means that the door is locked.
In fact, my door is locked when it reaches the end of race and my door sensor returns " locked" device .

If my door jammed during closing , I would not know .

I propose the latch of the icon appears only when the door sensor is really locked .
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on July 13, 2016, 09:11:41 am
Actually the state is will show unlocked a short time later ... if it does not lock ...
Try it ... stop the door manually.

Changing the status immediately has two purposes:
   1) Visual Cue that the command was sent
   2) Keep from accidentally sending a second command that would stop the door motion.

Title: Re: Garage Door Plugin
Post by: titof174 on July 13, 2016, 09:16:14 am
OK, thanks for your answer
I will try when i am back at home
Title: Re: Garage Door Plugin
Post by: kvy on August 03, 2016, 01:51:27 pm
Ok Guys I apologises for the probable daft question about to follow but I am struggling getting my head around configuring the door plugin.
I have down loaded the plugin and it is showing on the dash board as locked. I have a vision door tilt sensor (ID 95) and a Fibaro relay to trigger the garage door bell push (ID 77) I have set these Id numbers on the plugin as per attachment. When i press the garage door plugin its says sending command then a whirly wheel then goes back to original dash board showing as locked. This status does not change weather the door is open or closed. Any help would be very gratefully received as I am very new to all this (please be gently)


Thanks
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on August 03, 2016, 06:50:34 pm
You also need to restart Vera after making the changes.
Title: Re: Garage Door Plugin
Post by: kvy on August 04, 2016, 01:42:25 pm
Thanks for the reply Richard. I have tried reboot the vera unit several times but nothing has changed. Any further advice/ help you could offer please?

Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on August 04, 2016, 11:42:26 pm
Make sure both of  the following  work correctly:

1) If you toggle the Switch Device On then Off using the Vera Interface ... Does the door start to move ? Open if closed, or closed if open ?

2) If you manually open or close the garage door, does the door status return the correct status ?

Title: Re: Garage Door Plugin
Post by: kvy on August 09, 2016, 07:41:57 am
Hi Richard, Just a thanks for your reply. I have got it sorted and the Gargae door app is also now working great Thanks.
I got vera support to have look in the back ground and they changed a few settings on the tilt sensor and now all is good.

Cheers
Title: Re: Garage Door Plugin
Post by: kvy on August 10, 2016, 02:26:36 pm
Ok, I am hoping to get my garage door <via the garage door plugin?> to close its self at 1/2 hour past sunset, if open, and to do nothing if it is already  closed.
Is this something i can do in vera scenes? I am running vera plus version 1.7.2044.
Thanks
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on August 10, 2016, 06:05:19 pm
You can create or scene  or use PLEG.

You would create a Schedule trigger for a scene that runs everday at 30 minutes after sunset.
It's action would be to lock the door.  If the door is already locked ... the action is ignored.
Title: Re: Garage Door Plugin
Post by: kvy on August 16, 2016, 04:06:13 pm
Thanks for the pointer Richard. And the great app.
All up and running and working great.
 :)
Title: Re: Garage Door Plugin
Post by: davedecali on September 04, 2016, 12:57:56 pm
Hello Richard,

Can you help point me in the right direction to reverse the setting on the mimolite/fortrezz relay I am using to replace the now dead LFM20 relay. 

Basically, the mimolite needs to be "on" to allow for the wall switch (non z-wave, basic push button) to be active and work as a normal opener. 

The garage door plugin cycles from on to off and opens the door as it should however leaves the wall button useless.  If the relay would cycle to off to on, I would be good to go.  I could probably do a PLEG that would cycle to an on state with an if/then after say 5 minutes or so, but thinking that would be overkill.
Title: Re: Garage Door Plugin
Post by: davedecali on September 04, 2016, 01:53:42 pm
So apparently had the switch wires on the incorrect terminals.  Lots of MimoLite material out there, but not all good I am finding.  I am happy to report that all is up and running and utilizing the Garage Door Plug in since I use the wireless tilt sensor and not a hardwired magnetic sensor.
Title: Re: Garage Door Plugin
Post by: Cor on December 12, 2016, 01:23:17 pm
I want to use the garage door plugin for my gate.

The gate has a sensor at the "closed" position, and activation is done by a fibaro relais , with option 4 set at 2 seconds ( after activating , the relais goes automatically to off after 2 seconds).

I have the same setup for my garage door , this is working fine , but for the gate I can not get it to work properly.

Somehow, depending on the "DoorSwitchPulseTime" the gate activates again.
When I set it to 10 , the gates opens , but stops opening after 10 seconds.
When I set it to 0 , the gate opens a tiny bit , and shut off the fibaro relais again.
When I set it to 40 , the gates opens completely , but after 10 seconds the gates closes again.
It takes about 20 seconds to completely open the gate.

The sensor does its job as it needs to do.


I don't get the logic of this plugin, why does it toggle the fibaro relais again after the "DoorSwitchPulseTime". ( while it doesn't do it with my garage door).

Thanks,
Cor
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 12, 2016, 06:58:45 pm
The garage door plugin ALWAYS toggles the "Control Device"  two times. It was designed to work with a standard Z-Wave switch device.

When you connect this to a device that automatically resets the switch ... it's up to you to figure out what this is going to do  ...
 
Title: Re: Garage Door Plugin
Post by: Cor on December 13, 2016, 03:59:25 am
Ah , I see.
I am wondering why it is working with the garage door than , since I hav exactly the same setup there.

Cor
Title: Re: Garage Door Plugin
Post by: CelticWebs on December 14, 2016, 05:34:23 pm
Is there a way to gt this plugin to use two relays to open and close a garage door?  I have a door that has two separate inputs for open and close which are controller by a dual relay.  As far as I can tell, this can only use a single relay not a dual.  Any ideas please?


Sent from my iPhone using Tapatalk
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on December 15, 2016, 02:46:03 pm
I have a commercial Garage Door Opener for my shop (Open, Close, and Stop buttons).
So I do not interface to that ... It still uses a standard garage door opener.

So I interface to the a $15.00 hand-held garage door opener. A little soldering was all that was needed.

Actually my garage door opener has three channels and I use the iTach relay (3 relays) to control two separate garage doors.
I use the 3rd relay to Signal my smoke alarms ... so ALL of the smoke alarms in the house can be commanded to go into alert mode.

I have the doors connected to my DSC alarm system, so I get the door status from it.
Title: Re: Garage Door Plugin
Post by: rrelande on January 02, 2017, 02:14:43 pm
Dear Richard and team,

thanks for the work on the plugin, it looks great but I've not been able to use it yet.
I'm able to activate the door open / close with a fibaro double switch relay (FGS221).
Reading from the posts, activation should be fine, once the I remove the parameter for auto-off and let the plugin switch it on then off again.

About sensor, I'm using the same Fibaro switch relay on channel 2 to read the open/close status:
the Door controller is sending status (open or closed) and I use the second channel to read the value. This works OK as a sensor and I can see from the status of the switch whether the door is closed or not.
however, do I read correctly from the posts that I CANNOT use the second channel of a switch relay and that sensor needs to be an "security device"?

thanks in advance for your support for this setup
Title: Re: Garage Door Plugin
Post by: Mg9H on January 03, 2017, 04:44:46 am
Hi everyone,

I've just finished wiring up GoControl FS20Z-1 to my (very old) Genie Garage Opener. Also has a TILT-ZWAVE2-ECO sensor attached to the garage door.

The thing is, I can use the Garage Door Plugin to Open the door, but not close. When it opens fully, and I use the plugin again, I can here (and visually see the LED light on the FS20Z-1 turn off then on), but the door doesn't move. When I physically press the button on FS20Z-1, the door doesn't move either. Has anyone experienced this issue before?

Note: my garage door opener has a "3-stage" feature, if the door is opening and I press the wall button again, it will stop (and if I press it again, it will start closing). Same for the other way (close-stop-open). I wonder if other garage door has the same feature, or it's just mine?

Note 2: the 'stop' does work on both way when commanding from either FS20Z-1 directly or the garage door, i.e. if I was opening the door (via FS20Z-1 from Vera or from its button), and press (from Vera or its button) again, it will stop (however command again it will not go down). If I was closing the door (via the wall button), and press (from Vera or FS20Z-1 button), it will also stop, and if i press (from Vera or FS20Z-1 button) again, it will go ahead and open the door.

Note 3: The wall button still works as expected, i.e. it does both close-stop-open and open-stop-close. On the Z-wave way (via Vera or FS20Z-1 button) doesn't close the door :(

Any pointers :( ?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on January 03, 2017, 10:34:17 am
@rrelande
Yes it assumes this is a security device ... i.e. it uses the Security Sensor ServiceID and Variable name for the device.
You can always modify the code if ALL of your doors are setup the same.

@mg9h
   To test:
   1) Verify that the sensor is working correctly when you operate the door manually.
   2) Verify if you turn the controlling switch on/off that it causes the door to move ... Try both directions .... after the door stops.

That's the only assumption the garage door opener plugin makes.
Title: Re: Garage Door Plugin
Post by: Mg9H on January 04, 2017, 03:44:55 pm
1/ Yep, seonsor is working if I use the wall button.
2/ It doesn't as mentioned in my previous post. Open works, but Close doesn't. Does that mean my wall button has some special circuit that acts differently on close vs open?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on January 04, 2017, 06:54:18 pm
Sounds like it ...
Or it could mean that your garage door is indicating a fault and for safety reasons does not want to close.

I have a complicated commercial quality door opener  ... Separate open/close/stop switches.

So I interface to a battery powered remote that only has the one button and acts like the traditional garage door opener.
Title: Re: Garage Door Plugin
Post by: matijap on January 31, 2017, 03:55:00 pm
Hi all,

I am experiencing a slightly different problem with the "Garage Door Plugin" with my Vera Lite & UI7 as was described in upper posts. I got it setup with the Fibaro FGS 221 (double relay), and Fibaro door/window switch (to detect the not-closed state). I wired the 1st relay in parallel to the existing garage toggle button. Fibaro FGS 221 is configured as a toggle switch (par14=1), and with no automatic off function (par5=0).

Now, both the manual button and Vera app function correctly! Also will the sensor device display the "open" status as soon as the open got started, and the "close" status as soon as the door is closed. The later will also change the Garage door (virtual device) button to red LOCKED position.

Now to the "problems":

1. It is slightly disturbing that is the Garage door button LOCKED (red) status shown immediately after the command for "close" is sent, even if the door actually needs quite some time to close. The status will be corrected to UNLOCKED in case I stop closing with the manual button, but with a certain timeout delay (~20 sec).

2. Another problem is if I am trying to stop the door from opening (or closing) during the movement. The app button status is (correctly) turned to UNLOCKED immediately after opening has started. If I however press it again during movement, the door will stop (expected button function), but the app status will immediately turn to LOCKED (the door is half open here). I will either need to wait for another 20 seconds for app status to get updated back to UNLOCKED, or keep pressing several times to initiate the close movement.

My question is if it is possible to associate the relay and sensor status such that the LOCKED status is only displayed if the door is really closed (and the sensor is in contact="door closed")?

This is obviously not the top priority issue (as I mitigate it by having the sensor status within my "favorites" as well), but in case someone knows how to optimize it, I would really appreciate your help!

Thanks!
Matija
Title: Re: Garage Door Plugin
Post by: gette on March 04, 2017, 03:33:47 am
Hello, i'm new to vera and try to get this plugin to work.
I use Ui7 and bought a Fibaro FGS-222 double relays to control mine garage door.
Mine door has an automatic switch to send a signal when the door is closed, so i connected this to the fibaro relay switch
Mine door also works with a single push button, connected this to the other relay switch. (and changed the automatic parameter to 0.3sec)
Both work manual good from mine vera, and i see the singnal comming in when the gate is closed.
then I put the correspondending device numbers in de garage door plugin, but nothing happens, only get a message that the door is locked...
Any ideas?
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on March 06, 2017, 07:55:08 am
@matijap
I decided on this because it was better to see some indication on the UI that the door click took place

@gette
When you open/close the door manually ... does the lock status show correctly ? If not you have the wrong device # (or device type) for the Sensor variable in the Garage door plugin.
 
If the above is correct, if you TurnOn/TurnOff quickly the switch that you used for the Control device #  does the Garage door start to move ?

Title: Re: Garage Door Plugin
Post by: gette on March 06, 2017, 02:14:55 pm

@gette
When you open/close the door manually ... does the lock status show correctly ? If not you have the wrong device # (or device type) for the Sensor variable in the Garage door plugin.
I Only use 1 Fibaro double relay switch
I have 3 devices from this relay:
-1- main (where i can change all te parameters) seems to react the same as the second switch #289
-2- this one controls mine Garage puls (0.3sec) #290
-3- Open/close status #291
all of theme shows "urn:schemas-upnp-org:device:BinaryLight:1"

I put the numbers 289 & 291 in the Plug in, and didn't changed anything else

 :-\

No status change on the lock when i push manualy always locked...
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on March 06, 2017, 02:31:55 pm
The Sensor can't be a switch ... it must be a security sensor.
Title: Re: Garage Door Plugin
Post by: gette on March 07, 2017, 03:27:44 am
The Sensor can't be a switch ... it must be a security sensor.
ok, thanks
Then I can't use this plugin  :-[
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on March 07, 2017, 12:06:16 pm
Check with what others have done ... I do not know if your device can be configured to provide a security sensor when you close the contacts.
Title: Re: Garage Door Plugin
Post by: slajgaj on April 04, 2017, 04:17:24 pm
Cor!
To the gate need max. 2 sec impulse time.
I tested and if i closed my gate (via garage plugin), then the gate sometime starting close and after (1-2 sec) stopped.

My gate's service said: the switch on/off impulse time max 2 sec.
If this time longer that 2 sec, then the gate will stopping.

In the Vera log file i see sometimes the relay turned off after 2.5-3 sec.(slowly Vera z-wave??)


Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on April 05, 2017, 09:25:34 pm
I am not home ... but I believe I added a delay parameter (available in the advanced options) to control the delay ... there were some folks that needed a LONGER delay.

If you have not set it, it should be set to the default time.
The value might be seconds or milli-seconds ... should be obvious from the value.
 
Title: Re: Garage Door Plugin
Post by: Don Phillips on April 05, 2017, 10:56:39 pm
I have mine set to 1 second. I think the default was 2 seconds and all it did was delay how quickly the door opened/closed.
Title: Re: Garage Door Plugin
Post by: slajgaj on April 12, 2017, 05:45:28 am
I have mine set to 1 second. I think the default was 2 seconds and all it did was delay how quickly the door opened/closed.

Good idea, waiting....
Title: Re: Garage Door Plugin
Post by: Cor on June 20, 2017, 06:05:51 pm
I use this plugin for my gate , which has 2 "wings"   and also since yesterday 2 sensors.

Is it somehow possible to use both sensors in the plugin? , maybe something with PLEg , to combine them into 1 sensor?

Thanks,
Cor
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 22, 2017, 10:44:03 am
The plugin needs responds to a Security sensor, I do not know of a Virtual Security Sensor ... so I do not know of a way to handle this.
Do you control each wing separately ?
If not, then why do you need two sensors ?

Title: Re: Garage Door Plugin
Post by: Cor on June 22, 2017, 07:19:13 pm
Hello Richard ,

The wings are controlled simultaneously , but with snowfall when the snow is too high it happens that one of the 2 wings will not close, would have been nice and easy if I could insert more sensors.

I will look into PLEG than , for sending me a message when both gate sensors are not active within a time frame and the lock-switch is in the lock position.

Thanks,
Cor
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on June 22, 2017, 07:52:43 pm
If the snow thing happens (strange talking about this in the longest day of the year)
can you just send a second close command ?

If so you can use PLEG to monitor the second sensors, and if only one is closed, send another close command.
Title: Re: Garage Door Plugin
Post by: Cor on June 23, 2017, 04:17:24 pm
Just preparing Richard..... just preparing 8) .... and you never know with this global warming what weather tomorrow brings.

The idea was that I can see on the icon from the plugin if the gate is closed or not ( to know if there is a problem with one of the wings).
I will now do this via PLEG.

Thanks,
Cor

Title: Re: Garage Door Plugin
Post by: Brennan612 on September 04, 2017, 09:54:51 pm
Hi.  Apologies if I'm probably asking a repeat question.  I'm trying to configure the Garage Door app to link with my two GoControl garage door controllers.  I was able to input the device numbers in the DoorSensorDevNum and DoorSwitchDevNumber fields.  It's the same number for each, since the GoControl unit includes its own sensor.  Anyway, it seems to be working in that I can now control the garage doors with a lock/unlock command, and it senses the change of state.  But it is inconsistent in whether it thinks that the Open state is Locked or Unlocked. 

If I switch the app to lock or unlock, it changes the state of the garage.  If I use the garage switch in my vera to open/close the garage, then the app doesn't always recognize to change state.  Sometimes it does, sometimes it doesn't.  But this results in the app being unreliable in terms of its ability to know if an open garage corresponds to locked or unlocked.

Any advice on how to fix this?  I'm happy to send more info, but don't really know where to start.  Sorry, I'm a complete noob here and have no programming background.  Thanks for any help!
Title: Re: Garage Door Plugin - updating relay
Post by: Floridagator on September 24, 2017, 05:25:40 pm
I'm having to replace a bunch of the Evolve switches due to hurricane Irma and I'm having trouble with the one that interacts with the garage door plugin.

I had the Evolve LFM-20 with a windows sensor working with the plugin for 2 years now so I thought this was going to be an easy swap. I ordered a GoControl FS20Z-1 which, from my understanding, is essentially the same device just slapped with a different company name.

I went into the variables section of the plugin and changed DoorSwitchDevNumber to 218 (new relay).

The vera recognizes it as a relay instead of a switch (urn:schemas-micasaverde-com:device:Relay:1), but when looking at the logs it uses the same serviceId:SwitchPower1 as a binary switch so I wouldn't think it would negatively affect the plugin:

Device_Variable::m_szValue_set device: 218 service: urn:upnp-org:serviceId:SwitchPower1 variable: Target was: EMPTY now: 1 #hooks: 0 upnp: 0 skip: 0 v:0xc62c40/NONE duplicate:0 <0x733aa520>

When I look at the logs to see if the plugin triggers anything I'm not seeing anything, but it could be because I'm looking for the wrong thing. I was expecting to see the same thing as the line above when I trigger the relay in addition to the plugin being changed (Device ID 63). All I'm seeing is a change for the plugin:

08   09/24/17 17:20:24.141   JobHandler_LuaUPnP::HandleActionRequest device: 63 service: urn:micasaverde-com:serviceId:DoorLock1 action: SetTarget <0x72b5c520>
08   09/24/17 17:20:24.141   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=63 <0x72b5c520>
08   09/24/17 17:20:24.141   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:DoorLock1 <0x72b5c520>
08   09/24/17 17:20:24.142   JobHandler_LuaUPnP::HandleActionRequest argument action=SetTarget <0x72b5c520>
08   09/24/17 17:20:24.142   JobHandler_LuaUPnP::HandleActionRequest argument newTargetValue=0 <0x72b5c520>
08   09/24/17 17:20:24.143   JobHandler_LuaUPnP::HandleActionRequest argument rand=0.74396065838775 <0x72b5c520>
50   09/24/17 17:20:24.143   luup_log:63: GarageDoor: SetTarget = 0: 63 <0x72b5c520>
50   09/24/17 17:20:24.144   luup_log:63: GarageDoor Close Contacts: 63 Contact:217 <0x72b5c520>
01   09/24/17 17:20:24.144   GetLuaInterface can't find device type: 3/0x104c548 str: 217 <0x72b5c520>
08   09/24/17 17:20:24.145   JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:upnp-org:serviceId:SwitchPower1 action: SetTarget <0x72b5c520>
08   09/24/17 17:20:24.145   JobHandler_LuaUPnP::HandleActionRequest argument newTargetValue=1 <0x72b5c520>
02   09/24/17 17:20:24.146   JobHandler_LuaUPnP::HandleActionRequest can't handle service: urn:upnp-org:serviceId:SwitchPower1 <0x72b5c520>
06   09/24/17 17:20:24.146   Device_Variable::m_szValue_set device: 63 service: urn:micasaverde-com:serviceId:DoorLock1 variable: Status was: 1 now: 0 #hooks: 0 upnp: 0 skip: 0 v:0xdab4d0/NONE duplicate:0 <0x72b5c520>
50   09/24/17 17:20:24.147   luup_log:63: GarageDoor SetTarget = 0: 63 <0x72b5c520>
01   09/24/17 17:20:25.100   GetLuaInterface can't find device type: 3/0x104c548 str: 217 <0x74feb520>
01   09/24/17 17:20:25.101   luup_variable_get interface 0x1132c78 args 3 <0x74feb520>
01   09/24/17 17:20:26.100   GetLuaInterface can't find device type: 3/0x104c548 str: 217 <0x74feb520>
01   09/24/17 17:20:26.101   luup_variable_get interface 0x1132c78 args 3 <0x74feb520>
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on September 25, 2017, 10:56:47 am
The plugin expects a "Switch"
You might check with Vera Support to see if you can change this to a switch.
Title: Re: Garage Door Plugin - updating relay
Post by: dannieboiz on November 13, 2017, 12:49:18 am
nevermind, removed the plugin reinstall and seems to work now
Title: Re: Garage Door Plugin
Post by: mouch on December 20, 2017, 04:52:22 pm
Hi,

I use a Qubino Flush 1D Relay to control my Garage Door and have a Door Sensor connected to its I2 input to control the door?s state.

I have two question regarding the Garage Door plugin:

1. I have configure both the sensor and the switch in the virtual device, the status is properly reported but opening or closing the door with it is not working. If I got it right from other posts, it might be because my Qubino is configured as a relay (D_BinaryLightQubino1DRelay.json) while the plugin needs a switch... Any idea how to solve this?

2. Currently the Garage Door is  generating devices recognized as door locks. Is there anyway to change that to a garage door?
I tried changing the category to 3 and sub_category to 5, without expected result
Title: Re: Garage Door Plugin
Post by: drewcovi on January 23, 2018, 02:30:47 pm
Quote
2. Currently the Garage Door is  generating devices recognized as door locks. Is there anyway to change that to a garage door?
I tried changing the category to 3 and sub_category to 5, without expected result

This!

@richardtschaefer

Is this a major change? It seems an ideal fix considering how long garage doors have now been supported in Vera.
Title: Re: Garage Door Plugin
Post by: RichieB on May 24, 2018, 12:28:50 am
I have a linear GD00Z-4  all in one garage door controller so the DoorSensorDevNum & DoorSwitchDevNumber are the same, it does have switch capabilities and security sensor capabilities  but it does not control the garage door for some reason it just reports as closed
Title: Re: Garage Door Plugin
Post by: RichardTSchaefer on May 24, 2018, 06:20:15 pm
THey can't be the same ... each one requires a different device type
... A Security sensor device to sense the position and a Switch device to be toggled to get the door moving to the correct position.
Title: Re: Garage Door Plugin
Post by: RichieB on May 24, 2018, 07:34:21 pm
So the problem here is that the Linear garage door opener has switch and a sensor built in, unlike older iterations where u would have a separate switch and a separate sensor, 2 devices this shows up as only one, a garage door, which is great but the problem is that VC and everything else sees it as a Switch - that only responds to the turn on/off the garage door. this is not really great because it  gets really confusing when you are trying to open or close, dont know weather to day turn on of turn off.

the Garage door plugin is great for the simple fact that it should turn this into a simple door lock with the open close feature. so with that said this is what i am trying to accomplish

here is the Invoke for the garage door
Code: [Select]
urn:upnp-org:serviceId:SwitchPower1
SetTarget (newTargetValue)
GetTarget
GetStatus
   -Status
   -Target

urn:micasaverde-com:serviceId:EnergyMetering1
ResetKWH

urn:micasaverde-com:serviceId:HaDevice1
Reconfigure
StressTest
Remove
Poll
ToggleState
SetPollFrequency (PollingEnabled,PollMinDelay)
AllowPairing (Seconds)
   -Configured
   -CommFailure
   -CommFailureTime
   -CommFailureAlarm
   -ModeSetting
   -LastUpdate
   -FirstConfigured
   -PollRatings

urn:micasaverde-com:serviceId:ZWaveDevice1

urn:micasaverde-com:serviceId:ZWaveNetwork1
ResetNetwork (ResetMode,HomeID,ZeroMemory)
PutByte (StartAddress,StopAddress,Value)
ReconfigureAllNodes (FailedOnly)
UpdateNetwork
UpdateNeighbors (Device)
BackupDongle (Restore)
PollAllNodes
RemoveNodes (InclusionMode,NodeType,Timeout,Multiple,Reload)
AddNodes (InclusionMode,NodeType,Timeout,Multiple,ControllerShift,Reload)
DownloadNetwork
HealNetwork (BatteryMinutes,Node,StressCycles,Configure,ManualRoute,StartStage,StopStage)
SetPolling (IsTemporary,PollingEnabled,PollDelayInitial,PollDelayDeadTime,PollMinDelay,PollFrequency)
SendData (Node,Data)
SimulateIncomingData (Data)
   -LastPollSuccess
   -ConsecutivePollFails

urn:micasaverde-com:serviceId:SecuritySensor1
SetArmed (newArmedValue)
   -IgnoreTripTime
   -Armed
   -ArmedTripped
   -Tripped


as u can see it does have both a switch and sensor but it is seen as one unit  - thus there is where the problem lies

thanks for the support @ rich

but all i want is open/close vs turn on/off
Title: Re: Garage Door Plugin
Post by: Don Phillips on May 24, 2018, 09:14:07 pm
When I installed my NuTone (replacing a broken Insteon), which should be similar to your Linear, the new device simple opens and closes. So I got rid of 3 devices and the garage door plug-in.
Title: Re: Garage Door Plugin
Post by: RichieB on May 24, 2018, 09:38:43 pm
I fixed it the reason i did this i because i use vera Concierge and i prefer to say "ok google unlock/open garage door" instead of "ok google TURN  OFF garage door" because most times i cant remember if off = close or off = open so i just figured id get something like this


attached is the implementation file that made it work for me  .. because for some reason the sensor service does  not work

Title: Re: Garage Door Plugin
Post by: Sammy2 on August 16, 2018, 04:23:58 pm
Since the last or next to last f/w upgrade on my VeraPlus, I'm having issues getting my FortrezZ MIMO Lite to "stick" in the OFF position. I've changed Status Variable numerous times to 0 instead of 1 and then reloaded the LUA and refreshed the browser. For a time it will show OFF but after a bit I'll look again and it says it is ON and the Status Variable will have reverted to 1 again. How to make this stick on OFF instead of ON (bit 0 instead of bit 1)?

Also, should this switch be controlled by Z-Wave or by the Garage Door Control Plugin?

Title: Re: Garage Door Plugin
Post by: Sender on September 03, 2018, 08:27:32 am
I have a question.

My gate openers (open/close) act if the NO (Normally Open) contacts are closed for ~1/2 or 3 secs (like pressing a button).
I have attached a fibaro switch with a relay (NO) that switches the gate and makes contact to the contacts resulting in opening or closing the doors.
Additionally I have enabled "DelayLight controller" and created a delaylight to switch that particular fibaro switch to OFF after 2 seconds if pressed to ON.

This works very good.

The next step is to put an open/close sensor to the gate to see if it open or closed and use this garagedoor plugin to really open / close instead of toggle and so vera really knows that status.

My questions:
- Is there any built in "reset" like i currently created wtih delayligth embedded in the garagedoor pluging that can interfere?
- If I reference the physical switch with garagedoorplugin, and it is "auto-offed" vie delaylight, will that be ok?
- What are the pincodes used for? Do I need them? Can I leave it blank and ignore it?

Thanks.