General Home Automation reterive status of x10 devices using c#

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
reterive status of x10 devices using c# arnie 07-02-07
Posted by arnie on July 2, 2007, 2:21 am
Please log in for more thread options
Hi
I am working on a c# 2005 project using SDM [from smarthome]. My PC is
connected to powerlinc controller through USB. I have one x10 pro
device that is connected to a lamp module. I want to query the status
of the lamp module [On/Off] so i have tried sendX10 "A1, Status
Request" but it does not work
Any idea/alternative for this
Thanks


Posted by Dave Houston on July 2, 2007, 7:11 am
Please log in for more thread options

>Hi
>I am working on a c# 2005 project using SDM [from smarthome]. My PC is
>connected to powerlinc controller through USB. I have one x10 pro
>device that is connected to a lamp module. I want to query the status
>of the lamp module [On/Off] so i have tried sendX10 "A1, Status
>Request" but it does not work
>Any idea/alternative for this
>Thanks

I'm not sure what you mean by "one x10 pro device that is connected to a
lamp module" but assume that your lamp module is A1 and it's connected
directly to the powerline. Not all X-10 made lamp modules respond to Status
Request. It's been a long time since I worked with this but IIRC only the
2-way lamp module responds. I don't know the X-10 Pro model designation but
the X-10 un-Pro version is LM14A.

If you are just starting out, you should consider using Smarthome's lamp
modules, etc. Many of them respond to Status Request with a Preset Dim code
indicating their current level. They also send this automatically any time
there is a change in the state of the device, reducing the need to query.

Posted by arnie on July 2, 2007, 7:51 am
Please log in for more thread options
On Jul 2, 4:11 pm, nob...@whocares.com (Dave Houston) wrote:
> I'm not sure what you mean by "one x10 pro device that is connected to a
> lamp module" but assume that your lamp module is A1 and it's connected
> directly to the powerline. Not all X-10 made lamp modules respond to Status
> Request. It's been a long time since I worked with this but IIRC only the
> 2-way lamp module responds. I don't know the X-10 Pro model designation but
> the X-10 un-Pro version is LM14A.
>
> If you are just starting out, you should consider using Smarthome's lamp
> modules, etc. Many of them respond to Status Request with a Preset Dim code
> indicating their current level. They also send this automatically any time
> there is a change in the state of the device, reducing the need to query.

Thanks for your reply
Yes i am newbie in this field. Is there no alternative to query using
other functions available in sdm3 dll or any combination of command.
Please help
Thanks once again


Posted by Dave Houston on July 2, 2007, 12:00 pm
Please log in for more thread options

>On Jul 2, 4:11 pm, nob...@whocares.com (Dave Houston) wrote:
>> I'm not sure what you mean by "one x10 pro device that is connected to a
>> lamp module" but assume that your lamp module is A1 and it's connected
>> directly to the powerline. Not all X-10 made lamp modules respond to Status
>> Request. It's been a long time since I worked with this but IIRC only the
>> 2-way lamp module responds. I don't know the X-10 Pro model designation but
>> the X-10 un-Pro version is LM14A.
>>
>> If you are just starting out, you should consider using Smarthome's lamp
>> modules, etc. Many of them respond to Status Request with a Preset Dim code
>> indicating their current level. They also send this automatically any time
>> there is a change in the state of the device, reducing the need to query.
>
>Thanks for your reply
>Yes i am newbie in this field. Is there no alternative to query using
>other functions available in sdm3 dll or any combination of command.
>Please help
>Thanks once again

I have no idea what sdm3.dll is.

It's a matter of the hardware. If the X-10 module or switch does not support
Status Request you can query from here to eternity using whatever protocol
or dll you like but you'll never get a reply just as you cannot carry on a
verbal conversation with a mime.

Unfortunately, I don't think the documentation for the various modules lists
which commands they respond to so the only way to know is to ask here where
others have learned these details through experience.

Posted by Charles Sullivan on July 2, 2007, 12:01 pm
Please log in for more thread options
On Mon, 02 Jul 2007 04:51:19 -0700, arnie wrote:

> On Jul 2, 4:11 pm, nob...@whocares.com (Dave Houston) wrote:
>> I'm not sure what you mean by "one x10 pro device that is connected to a
>> lamp module" but assume that your lamp module is A1 and it's connected
>> directly to the powerline. Not all X-10 made lamp modules respond to Status
>> Request. It's been a long time since I worked with this but IIRC only the
>> 2-way lamp module responds. I don't know the X-10 Pro model designation but
>> the X-10 un-Pro version is LM14A.
>>
>> If you are just starting out, you should consider using Smarthome's lamp
>> modules, etc. Many of them respond to Status Request with a Preset Dim code
>> indicating their current level. They also send this automatically any time
>> there is a change in the state of the device, reducing the need to query.
>
> Thanks for your reply
> Yes i am newbie in this field. Is there no alternative to query using
> other functions available in sdm3 dll or any combination of command.
> Please help
> Thanks once again

Unless you tell us the model numbers of your lamp module and other
X10 components, any attempt at giving you advice is a waste of
everybody's time.



Similar ThreadsPosted
reterive status of x10 devices using c# July 2, 2007, 2:21 am
Looking at how to use the DS10A with other devices September 11, 2005, 1:51 am
Help converting x10.com devices in the UK June 19, 2006, 6:14 pm
Looking to purchase Inovonics Devices September 4, 2005, 9:24 pm
flash and embedded devices for HA October 18, 2005, 5:27 pm
Is anyone working with I2C or SMBus devices for HA? February 5, 2006, 6:55 pm
Wireless automation devices November 12, 2008, 1:23 am
New Problem -- Cannot Control SOme Devices July 5, 2007, 8:46 pm
How to set timers for z-wave devices August 3, 2007, 6:15 am
roller shades and motor devices November 11, 2005, 5:40 pm
Standalone remote monitoring devices April 13, 2006, 8:17 am
Help with x10 devices controlled by software and over the internet July 31, 2006, 6:42 am
Re: Wireless control/reporting devices November 11, 2008, 11:13 am
Sundowner SD533 modification to control all 8 devices December 2, 2006, 3:37 am
Newbe question. Is it possible to control IR devices with a newer laptop? April 28, 2005, 7:53 pm