Jump to content

Motion Program


wacvmd

Recommended Posts

Posted

! 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

Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...