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.

Question about control

Featured Replies

Posted

I have a Toggle Linc setup in my garage to turn on two lights on the outside of my house at a certain time.

 

Presently I have a program setup as follows:

 

Program: Garage Light ScheduleIf

From Sunset

To: 11:30pm (same day)

and (

Status of Garage Light is off

)

then

set Garage Light On

 

else nothing

 

 

I then have a seperate program to turn the lights off:

 

Program Turn off - Garage Lights

If time is 11:33 pm

and status of Garage Light is on

 

then

set garage light off

 

My question is, how can I set this up be overrided should someone manually turn on the switch. Let's say for example that we have people coming over and I don't want to have the lights shut off at 11:33pm. I've played with the control variable

 

Program Manual Lights on

 

If

control garage light is switched on

and program - garage light schedule is false

 

then

$LightsManual = 1

else

$LightsMaual = 0

 

It never seems to evaulate properly when I do this however.

 

 

Any direction you can provide would be much appreciated!

 

thanks in advance,

 

Craig

The manual override should only happen between Sunset and 11PM? That is the effect of using the Program True/False state and that can be impacted by whether the garage light was already on at Sunset.

 

Also the Variable is not used in any of the Programs that actual control the light so it would seem the latest Program is not posted.

 

Start with

 

If

control garage light is switched on

and control garage light is not switched Off

 

then

$LightsManual = 1

else

$LightsMaual = 0

 

Now the Variable reflects true manual switch operation. It should be an Integer Variable. It can now be used to prevent the automatic turn Off at 11:33 PM

 

If time is 11:33 pm

and $LightsManual = 0

 

then

set garage light off

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.