Securifi Community Forum

Sensors and Home Automation => Home automation => Topic started by: d.kiran on June 11, 2015, 04:22:08 pm

Title: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 11, 2015, 04:22:08 pm
I purchased this sensor (http://www.monoprice.com/Product?c_id=122&cp_id=12212&cs_id=1221201&p_id=11987&seq=1&format=2) and it works perfectly. Can be added to the list I guess.

I have a question about the rules. Is there a way I can close the garage door if it has been open for an hour ? I understand the caveats of automatically closing the garage door, but I just want to see if there is an option to do this.

If I set a rule that says after the garage door is open, wait an hour and close, and if I close it manually, it will open the door back up. That is not what I want.

Any ideas ?
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: SecureComp on June 11, 2015, 09:31:36 pm
That device is a form of motion sensor that will detect when a door is lifted.

It does not control a garage door opener.

IF you wanted to control a garage door, you would have to wire in a different sensor into the open/close control switch.

http://www.amazon.com/Linear-GD00Z-4-Z-Wave-Garage-Controller/dp/B00M75TEIU

http://www.lowes.com/pd_589237-78427-GD-00Z-1_0__?productId=50213045

Neither of the above sensors have been tested to work with Almond+ yet.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 12, 2015, 12:22:58 am
I guess I wasn't clear. The garage door sensor is a binary switch that tells me of my garage door is open or not.

I have a Z-wave relay wired to my garage opener that is essentially a toggle switch.

I am trying to see how do I make a rule to automatically close the garage door if it is open for an hour.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: SecureComp on June 12, 2015, 01:47:42 am
got it...

What you are asking is for a conditional IF statement

IF

HOME (when you are home)

GARAGE DOOR OPEN (garage door is open) (your binary switch is in on/off, whichever equals open)

THEN

CLOSE GARAGE DOOR WAIT 300 (close garage door after 300 seconds / 5 minutes) (using your other sensor)

As far as I know our WAIT statement maxes out at 300 seconds right now. It would be nice to have 5,10,15,30,45.60 minutes as options.

You can add a few statements to turn some lights on and off in the house to let you know that the door is closing.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: Ashok on June 12, 2015, 11:50:03 am
@ d.kiran,

Could you please confirm if the sensor  (http://www.monoprice.com/Product?c_id=122&cp_id=12212&cs_id=1221201&p_id=11987&seq=1&format=2) is working fine with all UI's or only with LCD UI?
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 12, 2015, 12:33:02 pm
@Ashok - Yes. It works on all 4 UIs (App, WebUI,connect.securifi, LCD) . I am pretty sure it is a rebadged Ecolink. The shape, the dimensions all look extremely similar.

@SecureComp - The problem with that is that the rule does not evaluate again after the Then condition is reached. For example, if during the 5 minute wait before the garage door closes, someone closes it manually. Then the rule will make the garage door open again because it works as a toggle.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: Ashok on June 12, 2015, 03:45:48 pm
@ d.kiran,

Thank you, it is updated on our wiki list.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 14, 2015, 08:19:29 pm
Thanks Ashok. You can still help with the Rules question :-)
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: Ashok on June 14, 2015, 11:33:36 pm
@ d.kiran,

Sure, first thing we can't create the rule for more than 300 seconds (5 Minutes) at least not yet. However, let me try to replicate the same kind of rule with less time at my end and get back to you.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: bebopblues on June 18, 2015, 08:00:21 pm
I guess I wasn't clear. The garage door sensor is a binary switch that tells me of my garage door is open or not.

I have a Z-wave relay wired to my garage opener that is essentially a toggle switch.

I am trying to see how do I make a rule to automatically close the garage door if it is open for an hour.

Can you post a product link to that Z-Wave device to toggle the garage door switch? Thanks.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 19, 2015, 11:23:03 pm
I use a normal z-wave relay. I have a rule that turns off the relay when it turns on which acts as a momentary press for garage door controller.

@Ashok, would it be possible to have a mode for a binary switch/z-wave relay that can act as a toggle switch ? This is what SmartThings does for garage door opener.

http://blog.smartthings.com/how-to/how-to-openclose-your-garage-door/
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: Ashok on June 22, 2015, 10:41:49 am
@ d.kiran,

I am not exactly sure, if we could do that at present, however, give me 24 hours of time to get back to you with a confirmation.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: Ashok on June 23, 2015, 11:49:16 am
@ d.kiran,

We were able to create rules and use Z-wave relay as binary switch and what is the load you are connecting to the relay switch?
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 29, 2015, 11:21:41 pm
@Ashok. I am connecting a z-wave relay to the garage door opener. This is an isolated contact switch (Linear FS20Z (can be added to the Wiki BTW as it is working perfectly fine)) .

This is a binary switch, however, I have configured it to work as a momentary contact switch with the simple rule below. (e.g. push button on garage door remote).

(https://cdn.pbrd.co/images/1BbCphIr.png)
//Off-Topic - The alignment is not proper when I have a very long name for the sensor

This is something SmartThings as well as InControl do.

E.g. (http://www.incontrolzwave.com/image.axd?picture=2012%2f6%2fInControl_Auto_Toggle.png)

The request, I was making was, can you have a separate device type that allows you to configure this as a momentary contact switch. Essentially, if it is ever turned on, you turn it off automatically. This is not a huge feature request, but I think it could be useful for a lot of people.

Also, I will open a separate thread for Rules.
Title: Re: Monoprice Garage Door Sensor works + Rules question
Post by: d.kiran on June 29, 2015, 11:24:17 pm
@bebopblues - Turns out you need an isolated contact switch. I thought all z-wave relays are the same. You need either a Evolve LFM-20 http://www.amazon.com/Evolve-LFM-20-Fixture-Module/dp/B006U1O978 or Linear FS20Z http://www.amazon.com/gp/product/B00ER6MH22/ref=olp_product_details?ie=UTF8&me=