Page 1 of 1

X10 Extended Command Dim Levels (leviton etc.)

Posted: Fri Aug 29, 2003 1:50 pm
by ChrisR
Scott,



I've been experimenting with the leviton dim function in Housebot, using a UK LD11 dimmer. I've found that sending dim levels above 100 (3F hex) allow me to set different dim rates in the LD11 (i.e. I can make the dimmer change setting over longer times). What I really need to understand is the equation you've used to map the 0-100 (and above) dim level decimal number to the byte level value in the X10 command my CM12U (CM11 equiv) sends out. There appears to be a little 'creep' in the translation e.g. 100 = 3F, but 200 = 7E and 300 = BD.



Thanks for not making Housebot a 'granny app' i.e it warns me when I set a dim level above 100, but it goes ahead and lets me, unlike others! If I hadn't been able to this I never would have discovered the dim rate feature on my LD11.



Thanks & Regards



Chris

Posted: Fri Aug 29, 2003 2:54 pm
by ScottBot
Chris,



The 'creep' obviously comes from having to cram 100 levels into 64. I used 0 - 100, because my brain thinks in percentages much better than 0 - 63.



The equation is simply: 63 * DimLevel / 100



Also, if you want to change the range of 'selectable' values for the Leviton Dim Property, you can do it from the "Property Manager" (Settings/Property Manager). You will have to restart HouseBot for the new range to take effect.



Scott

Posted: Fri Aug 29, 2003 6:58 pm
by ChrisR
:oops: Ha, obvious when you think about it, which I clearly didn't .



Many Thanks



Chris