Garage Door Opening

I have not done this yet.
Does your PGM automatically toggle the relay back off ?

If you send me the LUA code you use in your scene … I will provide you a patched Plugin File.

[quote=“RichardTSchaefer, post:121, topic:166907”]I have not done this yet.
Does your PGM automatically toggle the relay back off ?

If you send me the LUA code you use in your scene … I will provide you a patched Plugin File.[/quote]

Thanks Richard

Yes, it does turn the relay off again after a few seconds, from memory this is programmable.

Code:

luup.call_action(“urn:micasaverde-com:serviceId:DSCAlarmPanel1”,
“SendCommand”,
{Command = “071”, Data=“1*74”}, 65)

Appreciate your help :slight_smile:

Rename the Attached file to I_GarageDoorLock.xml and Upload.
You will need to Set your DoorSwitchDevNumber to 65

This is NOT a general purpose fix, I need to figure out how to parameterize the Plugin
but could use some info to do so.

I assume 65 is the Vera device ID for your DCS Alarm or Partition.
Can you explain what the arguments for:
{Command = “071”, Data=“1*74”}

I assume the 1*74 identifies the PGM. And the 71 is something like a POKE.
Do you have some documentation you used to figure out what command to send ?

[quote=“RichardTSchaefer, post:123, topic:166907”]Rename the Attached file to I_GarageDoorLock.xml and Upload.
You will need to Set your DoorSwitchDevNumber to 65

This is NOT a general purpose fix, I need to figure out how to parameterize the Plugin
but could use some info to do so.

I assume 65 is the Vera device ID for your DCS Alarm or Partition.
Can you explain what the arguments for:
{Command = “071”, Data=“1*74”}

I assume the 1*74 identifies the PGM. And the 71 is something like a POKE.
Do you have some documentation you used to figure out what command to send ?[/quote]

Thanks Richard

Yes, device 65 is the DSC Alarm Panel.

From memory * 7 4 is the command sent from the alarm panel to activate PGM Output 4, I cant recall at the moment what 071 is (I’m work at the moment and don’t have the manuals).

I’m guessing if I was to have multiple instances of the garage door plugin then this updated file would impact both. Would that be right?

Thanks

With the help of the fantastic members of this forum i was able to install the aeon labs door sensor snd zfm-80 relay to the garage door. I have downloaded the garage door pluging as well and edited the fields to add the sensor and door switch relay’s id. Now the last part remains where i have to create the scene which triggers to close the switch once its opened to simulate the push buttons function of the garage door. However i am unsure on how to do this, please can someone post the actual steps on how i can do this, it will be of great help if someone can post the steps starting with the scene creation and the remaining steps after that.

Looking forward to a huge favour from the members in here who have this already setup… Guys need a little rallying here :slight_smile:

[quote=“Exorcist”]With the help of the fantastic members of this forum i was able to install the aeon labs door sensor snd zfm-80 relay to the garage door. I have downloaded the garage door pluging as well and edited the fields to add the sensor and door switch relay’s id. Now the last part remains where i have to create the scene which triggers to close the switch once its opened to simulate the push buttons function of the garage door. However i am unsure on how to do this, please can someone post the actual steps on how i can do this, it will be of great help if someone can post the steps starting with the scene creation and the remaining steps after that.

Looking forward to a huge favour from the members in here who have this already setup… Guys need a little rallying here :)[/quote]
The garage door plugin does this already…no need to create a scene

This is a great plugin!

[quote=“RichardTSchaefer, post:123, topic:166907”]Rename the Attached file to I_GarageDoorLock.xml and Upload.
You will need to Set your DoorSwitchDevNumber to 65

This is NOT a general purpose fix, I need to figure out how to parameterize the Plugin
but could use some info to do so.

I assume 65 is the Vera device ID for your DCS Alarm or Partition.
Can you explain what the arguments for:
{Command = “071”, Data=“1*74”}

I assume the 1*74 identifies the PGM. And the 71 is something like a POKE.
Do you have some documentation you used to figure out what command to send ?[/quote]

Hi Richard

If I have another instance of the plugin installed would your fix also impact on this second instance? I’m guessing it will which is why I haven’t applied it as yet.

One instance of the plugin is using the DSC Alarm Panel as discussed and the other is using a relay and aeon labs door / windows sensor.

Cheers

The second door would need a different command sent to the DCS pannel.
This would need a separate patched file.

You can create a separate instance … Then edit the file I sent with the correct DCS command … then upload to Vera as a new name … say I_GarageDoorLock2.xml.

On Vera Control panel use the Advanced tab and change impl_file field to point to this new file for the second garage door.

[quote=“RichardTSchaefer, post:129, topic:166907”]The second door would need a different command sent to the DCS pannel.
This would need a separate patched file.

You can create a separate instance … Then edit the file I sent with the correct DCS command … then upload to Vera as a new name … say I_GarageDoorLock2.xml.

On Vera Control panel use the Advanced tab and change impl_file field to point to this new file for the second garage door.[/quote]

Thanks Richard (and for all your help)

The first plugin is working fine with a 12v relay and door window sensor.

I will follow your instructions to create a second instance and edit the files and see how I go.

Cheers

Got this set up in my new (to me) house yesterday and it’s awesome! Still waiting on alarm guy to come and install our old alarm system (GE Concord 4) before I can be comfortable using it. He’s wiring up traditional rolling door sensors to some of the extra wireless sensors I already had.

  1. How do you guys set up the garage door sensors with the alarm partitions? Obviously it’s good to set off an alarm when the door is opened without authorization but I’d have a hard time making it inside to turn off the alarm before it went off. Do I make the entire garage a separate partition that I selectively arm when I’m home? Telling my wife to “disarm the alarm from your phone before you open the garage door” is just going to result in frequent false alarms.

  2. Like another poster, when the relay is tripped on my garage doors the wall switch resets (actually it turns off and takes about 20 seconds after I switch off relay to come back). The switch is obviously receiving power from the garage door opener. Is this voltage dangerous to short across the relay pins? I’m using one of the 125VA radioshack relays.

my ZFM-80 is always showing “off”. i know when the garage is closed, it should say “on”, and “off” when the garage is open. can anyone help me to create a trigger/scene to make this right.

The Garage Door Plugin will handle this for you.
It should only be momentarily ON.
A second is more than enough on time.
This is to simulate your pressing the garage door button.

[quote=“RichardTSchaefer, post:133, topic:166907”]The Garage Door Plugin will handle this for you.
It should only be momentarily ON.
A second is more than enough on time.
This is to simulate your pressing the garage door button.[/quote]

Garage door plugin is working properly and shows the lock/unlock status immediately. So you are saying it should always be off after momentarily on. It does this. I do remember someone in this forum said that it should stay on when garage is closed and off when open. Thanks for your response. No big deal anyway

Richard:
Thanks for all of the work on the Plugin. I have two, probably uninformed, questions:

  1. Does the Aeotec door sensor go at the TOP lip of the garage door? … and if so,
  2. if so does the garage door clear past the body of the door sensor when it begins to open??

paulearley

There is no single place to put the sensor. And different people have tried different approaches.

It can go anywhere near the door. The key location will be:

  1. Some part of the Door that moves … It could be the garage door opener rail … not limited to the door itself! Place your magnet here.
  2. An easy way to mount the Sensor very close when the door is closed … But out of the way from the moving door.
  3. Easy access when you need to change batteries. But out of the way from people walking into it.

My solution to the garage door opener is:

A magnetic CLOSED sensor ($15 on sale. Could use cheaper, simpler switch)
A magnetic OPEN sensor (same model)
A Global Cache GC-100-12 (Ebay $30)
Total cost with wires $70

I soldered a wire from Relay 1 on the GC-100 to the wall switch.
Closed sensor is Sensor 1 on the GC-100, Open is Sensor 2.

Used Virtual switches for Open and Closed position as well as Open and Close Commands.
Combination switches are used to sense current state and trigger Scenes accordingly.

If the door is not already in the requested position I simply send the door on its way by “pushing the wall button” for a second with GC-100 relay 1. If it goes in the wrong direction it will close the wrong Open or Closed switch. If so, the door is again sent the other way (wall button “pushed”). This will continue until command and actual position agrees. Thus if the puppy runs past the sensor during closing, it will re-close after it again reaches open state.

I display a virtual switch on my apps to indicate door position.

I’m sure my logic could be simplified with RTS logic, but I haven’t had time to play yet.

How can I do this?

I am having difficulties getting RichardTSchaefer’s Garage Door App to work. I did the following:

  1. Installed a sensor that detects the garage door is closed. Tested extensively. Works great.
  2. Purchased an iTach WF2CC. Set it up with a fixed IP on my network.
  3. Installed the Garage Door App into my VeraLite.
  4. Set the IP in the Garage Door App to the fixed IP of the iTach WF2CC.

I now have the error: Initialize DoorSwitchDevNumber. I assume this is the relay number I wish to use in the iTach WF2CC. I cannot enter a “1” (which, if I understand the iTach WF2CC specifications correctly corresponds to relay #1). If I enter a “2” I do not see the response in the WF2CC (no click, no indicator light change) and I see no temporary drop in the resistance from my ohm meter connected to the terminals.

Any suggestions?
paulearley

You missed a Step.
You need to install the GC100 plugin. This talks to the WF2CC.
When you install it will create 3 switches on Vera … one for each Relay.
Each of the 3 switches will have a device ID … You can get that from the Advanced tab of the device (Relay Switch) that is controlling your Garage Door. That’s the number that you need to install into my plugin.

But you can test the garage door right away … Toggle the corresponding relay switch on then off.
It should cause your garage door to move.

Also … you will need my patch to the GC100 plugin. Send me your email and I will forward it to you.