Author |
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: July 12 2006 at 22:49 | IP Logged
|
|
|
It seems that reported Insteon levels are not correct. If I dim or brighten via PH, the reported level does not change. Using an actual controlling switch causes the reported level to update.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: July 12 2006 at 23:01 | IP Logged
|
|
|
It seems ph_insteon(xxx, ibright|idim, xx) is the issue. Typing in a value on the main PH web page does not update the level either, though.
Seconds Later:
OK, using "ion, ph_getinsteonlevel(xxx)+26" updates correctly.
Edited by TonyNo - July 12 2006 at 23:08
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: July 14 2006 at 16:02 | IP Logged
|
|
|
Tony,
Is this still an issue?
One thing that is definately different between the way PowerHome handles X10 and Insteon is how the status is updated. When PowerHome sends an X10 command, it "assumes" that the command completed successfully and the status is updated automatically. When PowerHome sends an Insteon command, the status is NOT updated and PowerHome waits for a response (ACK). Once the ACK is received, PowerHome then updates the status. The problem is that sometimes the ACK is never received even though the light actual controls. To help combat this, Im adding an Insteon option that allow the user to have status updated on send (like X10) rather than waiting for the ACK.
Dave.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: July 14 2006 at 18:02 | IP Logged
|
|
|
Yes. It seems that the ACK is never seen when using ibright/idim.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: July 14 2006 at 21:31 | IP Logged
|
|
|
Tony,
I checked out the code and you're right. Dim and Bright commands originating from the PLC will not register. Whats bizarre is Ive specifically coded to ignore these commands and I have no idea why I did it.
In any event, Ive corrected the code.
Thanks for catching this for me.
Dave.
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: July 14 2006 at 21:47 | IP Logged
|
|
|
N/P. Thanks for fixing it.
|
Back to Top |
|
|