Author Topic: Anyone know where I can get detailed X10 specs?  (Read 3608 times)

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Anyone know where I can get detailed X10 specs?
« 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
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Anyone know where I can get detailed X10 specs?
« Reply #1 on: January 02, 2008, 04:18:23 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 ???

-Thom

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Anyone know where I can get detailed X10 specs?
« Reply #2 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);
rock your home - http://www.agocontrol.com home automation