LinuxMCE Forums

General => Developers => Topic started by: ddamron on January 02, 2008, 03:38:19 AM

Title: Anyone know where I can get detailed X10 specs?
Post by: ddamron on January 02, 2008, 03:38:19 AM
I'm looking for more detail on the DIM and BRIGHT commands..
from what I can figure so far, 5 bits control OFF to FULL ON.. is that right? 32 steps?

Also, I need to figure out the preset dim command... all the X10 switches I have are old 1way, that don't support a preset dim..

Thanks as always..

Dan
Title: Re: Anyone know where I can get detailed X10 specs?
Post by: tschak909 on January 02, 2008, 04:18:23 AM
Quote from: ddamron on January 02, 2008, 03:38:19 AM
I'm looking for more detail on the DIM and BRIGHT commands..
from what I can figure so far, 5 bits control OFF to FULL ON.. is that right? 32 steps?

Also, I need to figure out the preset dim command... all the X10 switches I have are old 1way, that don't support a preset dim..

Thanks as always..

Dan


http://www.smarthomeusa.com/info/x10theory/#theory (http://www.smarthomeusa.com/info/x10theory/#theory) ???

-Thom
Title: Re: Anyone know where I can get detailed X10 specs?
Post by: hari on January 02, 2008, 04:26:04 AM
http://svn.charonmedia.org/trac.cgi/browser/trunk/src/CM11A/devicepoll.cpp#L49
#define CM11A_MAX_DIM_LEVEL                     22
http://svn.charonmedia.org/trac.cgi/browser/trunk/src/CM11A/devicepoll.cpp#L169
        unsigned char dim = (unsigned char)(pMesg->getDimmLevel() * CM11A_MAX_DIM_LEVEL * 1.0 / 100);