LinuxMCE Forums
May 22, 2013, 09:19:56 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Anyone know where I can get detailed X10 specs?  (Read 641 times)
ddamron
Alumni
wants to work for LinuxMCE
*
Posts: 962



View Profile WWW
« 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
Logged

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: 5101

DOES work for LinuxMCE.


View Profile
« 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 Huh

-Thom
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« 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);
Logged

rock your home - http://www.agocontrol.com home automation
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!