X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: legarots on March 23, 2009, 02:02:13 AM

Title: Send RF command to check door sensor status?
Post by: legarots on March 23, 2009, 02:02:13 AM
Is there an RF command that can be sent from the CM15A to check a sensor status. For example, if my door sensors id is 0xca 0xc5, can I send an RF command that requests the status of this sensor?

I've been successful sending RF to lamps through a USB driver. For example, the following turn on a1.

0x04 0x66
0x06 0x61

How would I query a door sensor for it's status?

Title: Re: Send RF command to check door sensor status?
Post by: Brian H on March 23, 2009, 06:45:07 AM
I don't think the sensors have an RF receiver in them. Thus you can not request a status from them. Also most X10 modules are one way devices so a status request to most of them will result in no answer.
There are two way X10 modules that reply. The discontinued AM14A and LM14A both could respond with a status. Some other manufacturers devices can also send a status on request.
Title: Re: Send RF command to check door sensor status?
Post by: Tuicemen on March 23, 2009, 08:33:41 AM
Security modules don't respond as Brian H has stated but they do send heart beats to let the DS7000 know it's condition (open closed)! If you know its address you can just watch for the heart beats it sends! :D