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.

Why is and is not received?

Featured Replies

Posted

I see constructs like below in many many programs.

Almost all I think. What is the strategy - why test to see if something

is both on and off at the same time? Evidently, things can happen that

present both conditions near simultaneously?

 

 

Program X-10 D4 Status

If

X10 'D4/On (3)' is Received

And X10 'D4/Off (11)' is not Received

  • Author

Wouldn't the else clause run anyways if no D4/on were received?

Why have to explicitly test for it?

 

Please pardon my denseness....

Enjoy your weekend Lee, Thanks.

Wouldn't the else clause run anyways if no D4/on were received?

No.

 

"If X10 'D4/On (3)' is Received" would be triggered only by reciept of an "on" command. Bright, Dim, and Off would not trigger an evaluation of the condition and no "false" evaluation would ensue.

  • Author

Thanks...that clears it up...I'll go put that into my programs.

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.