Author |
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: October 14 2010 at 16:28 | IP Logged
|
|
|
Now you have my curiosity up Spencer. I have all my values saved in globals which are updated anytime there is a change in a value. How are doing this when the KPL puts you in movie mode?
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: October 14 2010 at 16:38 | IP Logged
|
|
|
Rather than using an Insteon Group/Link for the KPL, I'm just triggering off of the button click and executing a macro.
I have a special set of "PRE_SCENE" global variables for the various lights that need to be adjusted for the scene. I go read the device's current settings into those variables before executing the Group Command which slowly (30 seconds) dims the lights. The KPL button turns on when we hit it.
Then when the scene is "toggled" off (A.K.A. the KPL "Movie" scene is clicked "off" - a second click), this executes an "off" trigger which then goes out and sets the individual lights to their previous level which was recorded prior to the scene start (individually, in another macro - it's not the most graceful, but it puts things back in order).
All I'm adding with the most recent enhancement is that when any of the lights affected by the "scene" are "individually changed", the global "SCENE_MOVIE" variable is set to "0", and the button on the KPL is turned off. Basically, any manual manipulation of the lights while in "Movie Scene" mode will kill the mode and the "house users" are left to their own devices.
Regards,
-S
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: October 14 2010 at 20:11 | IP Logged
|
|
|
That is what I basically do for error recovery. I have a very noisy atmosphere and I had to implement a recovery system. All lights have a current level setting and periodically they are checked to make sure that they are at that level if not then they are reset to that level. Works fine for me and is somewhat reliable. The only drawback is if a person locally adjust a light then the system senses it a resets the light back to what it was. The other drawback is the implementation is high maintenance.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|