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.

Changes and becomes

Featured Replies

Posted

I am trying to program a light to turn on if it is night time (between sunset and sunrise) only when the elk alarm is disarmed. What happens is if the alarm is already disarmed it automatically turns on the light at sunset. I only want it to turn on the light if it is disarmed and the time specified. Does anyone have any advice on how to solve this?

 

17 minutes ago, silverton38 said:

I am trying to program a light to turn on if it is night time (between sunset and sunrise) only when the elk alarm is disarmed. What happens is if the alarm is already disarmed it automatically turns on the light at sunset. I only want it to turn on the light if it is disarmed and the time specified. Does anyone have any advice on how to solve this?

 

Post your program

11 hours ago, silverton38 said:

I am trying to program a light to turn on if it is night time (between sunset and sunrise) only when the elk alarm is disarmed. What happens is if the alarm is already disarmed it automatically turns on the light at sunset. I only want it to turn on the light if it is disarmed and the time specified. Does anyone have any advice on how to solve this?

If I'm reading this correctly.... you want to 1) disarm ELK 2) if it's between sunset and sunrise then turn of a specified light.   You need two programs to do that.

Program 1

IF

    Elk is disarmed

then

    Run Program 2(if)

 

Program 2 (DISABLED)

If

    Sunset

to Sunrise (next day)

then

    Turn on light.

 

Program 2 must be Disabled.   A disabled program still run when run from another program.  It does not Run just because the IF conditions are satisfied.

 

--

As mentioned the best way to get programing help is to post the starting point.  For future reference it's easy to do, Click and then right click the program name in the program tree, select copy to clipboard in the context menu that appeared.  In a forum post click the "<>" symbol in the toolbar above a post. In the resulting sub-window click into it then type Ctrl-V to paste the contents on the clipboard.

  • 1 month later...
  • Author

Thank you so much that solved it.

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.