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.

How to check order of events

Featured Replies

Posted

Dear Forum,

 

Please help with the following problem.

 

Garage has motion sensor and TriggerLinc. How to write ISY program checking order of events and take action depending of the result.

 

If TriggerLinc is On first and MotionDetector On second that means car is incoming. Opposite order car is out.

 

Thanks for the help - Walter

Hi Walter.

 

I would be looking at the difference between status and control. If one is on then the other comes on I think it would work like this:

 

Prog 1:

If status Trigger Link is On

AND Control Motion Sensor is switched on

 

Then

Run I'm Home (then)

 

 

Prog 2:

If status Motion Sensor is on

AND control Trigger link is switched on

 

Then

Run I'm leaving (then)

 

You don't really need the I'm Home and I'm Leaving programs. You can just add what you need to the then side of the test programs. I just like to keep my stuff modular for reuse elsewhere.

 

Hope this helps.

 

-X

  • Author

That is an excellent idea. I was looking for the way to check and compare time of events, but your way is simple and very "elegant".

 

 

Best regards Walter

Guest
This topic is now closed to further replies.

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.