Author |
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: January 31 2008 at 08:00 | IP Logged
|
|
|
Can anyone tell me why a timed event with the formula ph_insteon("FRONT PORCH", idim, 50) would not work? The event goes as timed and the logs show the light has ACKed, but it does not actually dim.
Also, I have a triggered event to shut off a group of lights. It works fine, but sometimes if I turn on a light that was just shut off by this event... it will turn it off again up to a few minutes later and keep turning it off usually up to three times. Any idea why?
Thank you.
Edited by tbeckman - January 31 2008 at 10:42
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: January 31 2008 at 13:44 | IP Logged
|
|
|
That *should* dim it to about 20%. Maybe you have some noise creeping in? Does it ever work?
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: January 31 2008 at 14:40 | IP Logged
|
|
|
I haven't been able to get that particular function ph_insteon to work for me. Is there way to type in a function with parameters and run it with out tying it to a timed or triggered event? Thanks.
Edited by tbeckman - January 31 2008 at 14:41
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: January 31 2008 at 19:48 | IP Logged
|
|
|
Sure. Launch the Multi Editor (Maintenance, PowerHome MultiEditor) and select PH Formula (4th from the right toolbar button).
You can then type in what ever you want and click on the Execute button on the toolbar (button on far right). You'll also see what the return value is for debugging.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: January 31 2008 at 20:56 | IP Logged
|
|
|
That is cool... I am learning all the time. Ok... I did a ION, 50 and it dimmed, apparently the idim, 50 does not work.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: January 31 2008 at 21:09 | IP Logged
|
|
|
I just tested that with idim, 128 and it dims the lamp a bit each time. I bet using 50 may not be noticeable.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: February 01 2008 at 00:43 | IP Logged
|
|
|
Hmmm.. I don't think I understand what idim does... I was expecting it to turn the light down to the number I chose... is that not what it does?
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: February 01 2008 at 07:38 | IP Logged
|
|
|
Okay, I was wrong.
The idim parameter should always be zero.
From the docs...
Set cmd2 to 0 for all cmd1 values except on (17). When sending an "on" command, set the cmd2 value to an integer between 0 and 255 for the level to go to.
Only ion, dimlevel gives absolute dimming.
Edited by TonyNo - February 01 2008 at 07:38
|
Back to Top |
|
|
Gadgets Senior Member
Joined: January 28 2008 Location: Canada
Online Status: Offline Posts: 178
|
Posted: February 05 2008 at 22:32 | IP Logged
|
|
|
TonyNo wrote:
Sure. Launch the Multi Editor (Maintenance, PowerHome MultiEditor) and select PH Formula (4th from the right toolbar button).
You can then type in what ever you want and click on the Execute button on the toolbar (button on far right). You'll also see what the return value is for debugging. |
|
|
Damn really? I just put it in the "macro"formula" field of an open pane and click "run". I'llhave to try the Multi-editor thing-a-ma-bob.
__________________ Friends, don't let friends install Norton Products
|
Back to Top |
|
|