Author |
|
jpcurcio Senior Member
Joined: April 01 2007 Location: United States
Online Status: Offline Posts: 119
|
Posted: July 01 2007 at 02:25 | IP Logged
|
|
|
I set up a PLC group to dim my first-floor lights for watching movies/TV. I put all the lights to a very dim level. I thought it would be cool to use a slow ramp rate, but I don't always want to use the slow ramp rate.
So, I created the group with the ramp rate, and a second group, with all the same setting except the ramp rate. I run the second group after the first, and it works well.
I have a macro that does three things: first, it records the current light level settings, then turns on the first group to dim the lights slowly, and finally runs the second group to reset the ramp levels. When I'm done watching TV, I run a different "restore" macro that restores all the lights to their previous values. Again, this works well.
My issue is that once I run the PLC group commands, they show up in the "Device Status" listing as "on". Since these aren't really a toggle, is there a clean way to turn the status to "off"?
Thanks...
-John
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: July 02 2007 at 09:32 | IP Logged
|
|
|
John,
Kudos on your inventive setup. I know exactly what you mean about those ramprates.
There's no "clean" way. But it can be done without too much effort. I was able to do it this way:
I setup a trigger for "Insteon Group Out" for the POWERLINC1, Group 1, On (0x11). Of course set the group number to the group you're working with and the proper PLC ID. The action type is "Raw Formula" and I used a formula of:
ph_directsql("update insteongroups set status = 0 where id = 'YOURINSTEONGROUPID'") + ph_devicerefreshstat()
Now, anytime an On command is sent to that group, the status is always immediately set back to Off.
Hope this helps,
Dave.
|
Back to Top |
|
|
|
|