SDK & Security

Started by tspikes, December 10, 2010, 05:50:37 PM

Previous topic - Next topic

tspikes

I am working on writing my own program to control my lighting and I am thinking about venturing into some x10 security devices. However, I am wondering if it is possible to send/receive commands from the SDK. I have found some older topics regarding the existence of the commands, but nothing relating to how to actually do it.

Tuicemen

As of right now the SDK can't access the security devices or see their signals although X10 has talked of upgrading the SDK it is anyones guess to if the security device part will get added.
>!
Please Read Topic:
General Forum Etiquette
Before you post!

macrobob

I can see the security devices in my code, I have just started decoding the replies, I hope to have done today.

Dave3891

Have you been able to get the codes to work?

macrobob

Yes, I am releasing some very special software this week that can read the X10 security devices. I am a blogger for X10 and you will see it posted on the Blog as soon as I release the software.

Bob

macrobob

Btw, it's not easy but it can be done! you have be a very experienced deep programmer.

Dave3891

I got close using a usb sniffer and libusb for the driver, but it was too much trouble not using the X10 driver.

With the usb sniffer I noticed different init codes sent to the device depending on if you had a security device enabled with active home. With this code is would send a signal when the security device was tripped, but without it nothing would happen.


Are you using the X10 driver or third party?

macrobob

I am using the X10 drivers. It can be done, even without AHP. Once I publish my new app I will expand on how to do it, (don't have time at the moment)

Dave3891

Are you using the newest SDK?

parag0n

I too am interested in how this is done.  My own setup has some limited support, but that's because AHP is turning phantom switches on and off for me and my code is reading those instead of the actual security devices.  Any code on reading from door sensors would be much appreciated!

EL34

QuoteBtw, it's not easy but it can be done! you have be a very experienced deep programmer.

If you are that deep, then you should be able to write us a better X10 driver?
I'll keep an eye on this post.
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm

Tuicemen

Quote from: EL34 on January 03, 2011, 05:59:55 PM
If you are that deep, then you should be able to write us a better X10 driver?
Yes!  rofl
Quote
I'll keep an eye on this post.
as we all are!
Please Read Topic:
General Forum Etiquette
Before you post!

EL34

W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm

Dave3891


EL34

shh, we are going deeper.
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm