Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Motion Program

Featured Replies

! 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

  • Author

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.

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

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.