Jump to content

How to revert to previous dim level?


cranrob

Recommended Posts

Posted

Here's the scenario:

 

I have an "arrive home" program, triggered by a garage door opening (via iolinc), which turns several outdoor lights to 100% to illuminate the way from the garage to the house. After 10 minutes, I have the outdoor lights switch off.

 

What I would like to do is instead of having them switch off, I'd like to revert to whatever the dim level was on each light before the "arrive home" program ran.

 

Is there any way to do this?

 

Thanks.

Posted

Not easily. The pre 100% On Level change can be checked at a gross level, 0-20%, 21-40%, 41-60%, etc with individual Programs, saving some restore value in a variable. ie If the current On Level is 41-60% set a variable to 50. These are completely arbitrary values to keep the number of programs involved to a reasonable number. When it is time to restore the On Level another series of programs is needed to check the value in the variable and set the On Level accordingly. A series of Programs is needed for each device.

 

Not a pretty process.

 

A future enhancement to variables may allow the current device On Level to be saved and used later.

Posted
A future enhancement to variables may allow the current device On Level to be saved and used later.

 

That would be extremely useful for me.

 

I know the ISY is able to get the current on level (it shows on the admin console). It would be nice to have a command that can be put in a program that get current level and store it in a variable.

Posted
A future enhancement to variables may allow the current device On Level to be saved and used later.

 

That would be extremely useful for me.

 

I know the ISY is able to get the current on level (it shows on the admin console). It would be nice to have a command that can be put in a program that get current level and store it in a variable.

 

I've tried to be a champion of that myself for a while.

  • 2 months later...
Posted

Just cycling back to this thread.

 

Michel - is it possible to confirm if this functionality is included in the current work on variable enhancement?

 

Thanks!

 

Michael.

Posted
Michael,

 

Not natively but you can assign to a variable and then revert.

 

With kind regards,

Michel

Awesome! Sounds like just the ticket. Thanks!

Guest
This topic is now closed to further replies.

×
×
  • Create New...