Please login or register.

Login with username, password and session length

Author Topic: Clarification on X10 capabilities  (Read 16053 times)

Engi10

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Clarification on X10 capabilities
« on: November 12, 2006, 11:22:04 PM »

I'm interested in home automation and just sat down this weekend to play with x10 for the very first time.  I grabbed a cm11a (well, the RCA version) and a lamp module and after about an hour had written my own software to communicate with the lamp module using the publicly available x10 serial protocol information.  Having poked around a little bit, it seems like the x10 devices don't support any sort of query functionality.  ie: there is no way to query a lamp module and find out if it is on/off or what level it is currently dimmed to (without explicitly tracking the commands I had sent).  If so, then there would be no way for a freshly started program to be able to derive the current settings within a house. 

Is this a correct analysis?   ???

The reason I ask is that I am confused by products like x10 compatible thermostats and temperature sensors.  Surely these require the ability to respond to queries in order to provide current setting or temperature information.  Hopefully someone will be able to straight this out for me.

Thanks in advance!

Logged

ArtClark

  • Guest
Re: Clarification on X10 capabilities
« Reply #1 on: November 13, 2006, 12:43:44 AM »

There are modules that are Two-Way and you can query the status of these.  As far as the other devices, I can't help there.  Normal lamp and appliance modules cannot be queried.
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Clarification on X10 capabilities
« Reply #2 on: November 13, 2006, 01:44:10 AM »

Different types of 2-way modules respond differently.  The X-10 LM14A 2-way Lamp Modules responds to a simple Status_Request with a Status_On or Status_Off signal.  It also responds to an Extended_Status_Request with an Extended_Status_Ack which includes the brightness level and whether or not the lamp switch is turned on.

The Smarthome TempLinc Remote Thermometer responds to a simple Status_Request with a Preset Dim signal which encodes the temperature.

Ordinary 1-way lamp and appliance models like the LM465 and AM486 just receive the signal and do their thing -- you hope! (But they're usually quite reliable if properly set up.)

Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

Engi10

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Clarification on X10 capabilities
« Reply #3 on: November 13, 2006, 07:39:39 AM »

Thanks for the information!

Knowing that there are actual 2-way modules is enough to convince me to continue.  I'll have to track down a TempLinc unit now.  I should probably grab a motion sensor as well.  I'm happy to be able to continue this little experiment. 

Thanks again.
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Clarification on X10 capabilities
« Reply #4 on: November 13, 2006, 10:22:27 AM »

Thanks for the information!

Knowing that there are actual 2-way modules is enough to convince me to continue.  I'll have to track down a TempLinc unit now.  I should probably grab a motion sensor as well.  I'm happy to be able to continue this little experiment. 

Thanks again.

What OS and programming language are you using?

Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org

Engi10

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Re: Clarification on X10 capabilities
« Reply #5 on: November 14, 2006, 08:45:32 PM »

Nothing special.  WinXP using plain old C++ and (a not quite up to date) win32 platform SDK. 
Logged

Charles Sullivan

  • Hero Member
  • *****
  • Helpful Post Rating: 94
  • Posts: 1565
    • HEYU - X10 Automation for Linux, Unix, and Mac OSX
Re: Clarification on X10 capabilities
« Reply #6 on: November 14, 2006, 09:03:39 PM »

Nothing special.  WinXP using plain old C++ and (a not quite up to date) win32 platform SDK. 

A lot of software has been written for the CM11A, but if you want to do your own it will at least keep you out of the bars.  ;)

Logged
Yesterday it worked.
Today it doesn't work.
X10 on Windows is like that.

HEYU - X10 Automation for Linux, Unix, and Mac OS X     http://www.heyu.org
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.