Hi,
I ran into this scenario....
I have a webpage, that executes 2 "ExecX10" commands.
1) sends the ON command to a lamp
2) sends a DIM command with a percentage to dim
so.... in this scenario...
* The lamp is currently at 60% dim
- homeseer web interface show 60% and the light is indeed at 60%
* I set my webpage to:
- send the "ON" command
- send the dim command of 20%
here's the code
-----------------------------------------
hs.ExecX10 lt, "on", 0, 0, true
hs.ExecX10 lt, "Dim", (100 - lvl), 0, true
-----------------------------------------
when executed....
* The lamp gets turned on, and dimmed to 80%
* homeseer web interface displays a dim level of 40%
so, any code after this... that checks the dim level of the lamp gets a wrong value from homeseer.....
What do you think??????
Any help on this?????
-user
I ran into this scenario....
I have a webpage, that executes 2 "ExecX10" commands.
1) sends the ON command to a lamp
2) sends a DIM command with a percentage to dim
so.... in this scenario...
* The lamp is currently at 60% dim
- homeseer web interface show 60% and the light is indeed at 60%
* I set my webpage to:
- send the "ON" command
- send the dim command of 20%
here's the code
-----------------------------------------
hs.ExecX10 lt, "on", 0, 0, true
hs.ExecX10 lt, "Dim", (100 - lvl), 0, true
-----------------------------------------
when executed....
* The lamp gets turned on, and dimmed to 80%
* homeseer web interface displays a dim level of 40%
so, any code after this... that checks the dim level of the lamp gets a wrong value from homeseer.....
What do you think??????
Any help on this?????
-user
Comment