Jump to content

LFM-20 on garage door


Recommended Posts

Posted

Howdy folks.

 

You'll be happy to hear I got my Aeotek energy meter up and running, I've got a vizia rf dimmer programmed for my office light to come on and go off at set times w/ ramp rate, AND I'm now working on my garage door. I've got the tilt sensor mounted and talking to isy. I've got the LFM-20 bench tested and can turn on and off manually,but my program won't work.

I've got if : garage door is on

Or status is not off

Then: wait two seconds

 

Else : turn garage door off

 

For some reason it's not working.

If I turn garage door on, it should wait two seconds and turn off.

Should I be touching the blue wires together to simulate a garage door button press?

 

Any advice is appreciated.

 

GT

 

 

Sent from my iPad using Tapatalk

Posted

Right click on Program name, last entry in list is Copy to Clipboard.  Paste Program in post.   Most lines posted are not valid Program statements so difficult to offer a good suggestion.

Posted

Thanks for those two suggestions.

Ok. Let's try this.

If someone wanted to program an LFM-20 as a momentary on/off, just like a garage door push button what would that program say-exactly? I'm trying to open and close my garage door while away from home.

Also let's say someone wanted the tilt sensor to send an email if the garage door was left open. What would that program look like-exactly?

These are quite simple and noobish questions to those who obviously have much more experience writing these programs.

 

 

Sent from my iPad using Tapatalk

Posted

if

then

Your Devices LFM20 On

Your Devices LFM20 Off

else

 

There should be enough time sending commands to allow the door to trigger without a delay in between. If not, add a Wait 1 sec between the On & Off. This should open if closed and close if open, you can pretty it up by adding the state of the Tilt Sensor to determine if it's already open or closed (maybe do that later). FYI, my door vibrates so much when moving that the tilt sensor doesn't report status until the door has stopped moving.

 

When the door is open:

 

if

status Tilt Sensor is on

then

wait xx hours (however many you want)

repeat every 30 mins

   send notification to GuitarTexans Email content Garage is open

 

This will send you a notification every 30 mins until the door is closed. Remove the repeat if you only want one notification.

Posted

Hey, thanks very much andyf0.

So I named mine garage door, so should that read:

 

If

 

Then

 

Garage door on

 

Wait 1 second

 

Garage door off

 

Else

 

 

So the "if" stays blank. Interesting. I thought otherwise.

I'm getting the hang of this, just need practice and tutoring.

Im going to get this thing working first just the way you said and then I will focus on the tilt sensor.

 

Really appreciate help

 

 

Sent from my iPad using Tapatalk

Posted

In reality when you push a garage door button it is only pressed for a fraction time. Since a Z-Wave command takes around 500ms (read it here somewhere) you probably won't need the 1 sec delay.

 

Well the if is blank so you can add your own trigger, like if you press a button on a remote etc.

Otherwise just doing a Run If or Run Then will control the door.

 

But you're getting the hang of it.

Posted

Yep. I just got back around to it today and got my first program to work. I am enthused. It looks like this:

If

Garage door button is on

Then

Set garage door button on

Set garage door button off

Else

 

 

I know it's stupid simple.

But I did it! I know you helped but it's very rewarding to see it actually DO what I wanted. Success breeds success and all that.

 

Cheers!

 

 

Sent from my iPad using Tapatalk

Posted

I don't know if you made a typo or not and maybe you should play around with it but does the LFM20 have an ON/OFF button? If the button is already on why would you turn it on again?

 

Also, and this is something you're going to have to learn about triggers, when you turn the button off the program will run again and execute the else statement (since the if statement tests the same button). No worries in this particular program since else is blank but you are forcing the program to run twice.

Archived

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

×
×
  • Create New...