Jump to content

Motion Program


wacvmd

Recommended Posts

! have three switchlink relays controlling a light, I have set up programs to turn the light on with a motion sensor. The motion sensor turns the lights on fine and turns them off fine. However when i press fast on it does not inactivate the timer. I unfortunatelly have trouble understanding programs. Any suggestions or help would be kindly appreciated. If

Control 'Mudroom Sensor' is switched On

And Status 'Mud Room' is not On

And Status 'Mud Room Slave' is not On

And Status 'Mud Room Slave' is not On

 

Then

Set Scene 'Mud Room' On

 

Else

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

 

 

If

Status 'Mudroom Sensor' is Off

 

Then

Wait 2 minutes

Set Scene 'Mud Room' Off

 

Else

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

 

 

If

Control 'Mud Room' is switched Fast On

Or Control 'Mud Room Slave' is switched Fast On

Or Control 'Mud Room Slave' is switched Fast On

 

Then

Disable Program 'Mudroom Timer'

 

Else

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

 

If

Control 'Mud Room' is switched Off

Or Control 'Mud Room Slave' is switched Off

Or Control 'Mud Room Slave' is switched Off

 

Then

Enable Program 'Mudroom Timer'

 

Else

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

 

 

Thanks

Link to comment

I now have no trouble disabling the motion timer with:

If

Control 'Mud Room Slave' is switched Fast On

 

Then

Disable Program 'Mudroom Timer'

 

Else

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

 

 

I have no difficulty enabelling program with:

If

Control 'Mud Room Slave' is switched Off

 

Then

Enable Program 'Mudroom Timer'

 

Else

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

 

 

What I have difficulty with enabling or disabling the program with using either of the two other switchlinc relays. Do I write four other programs as above? Will that work? Is there a better way. I read Darrell Peters excellent article on the wiki and also the Scope, Precedence and Execution Order which I didn't understand. I never had any programming experience and feel like I'm struggling. Any help would be appreciated.

Link to comment

Hi wacvmd,

 

I do apologize for not seeing your original post.

 

You can use the OR to include other devices in your conditions. But, perhaps, I am not understanding what you are trying to accomplish. You are always welcome to call our tech support line to schedule a call so that we can walk you through some of these difficulties.

 

With kind regards,

Michel

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.6k
    • Total Posts
      368k
×
×
  • Create New...