Please login or register.

Login with username, password and session length
Pages: [1] 2

Author Topic: SDK & Security  (Read 33149 times)

tspikes

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
SDK & Security
« on: December 10, 2010, 05:50:37 PM »

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.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: SDK & Security
« Reply #1 on: December 11, 2010, 04:27:47 PM »

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.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

macrobob

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 46
Re: SDK & Security
« Reply #2 on: December 22, 2010, 01:16:54 PM »

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

Dave3891

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 8
Re: SDK & Security
« Reply #3 on: December 27, 2010, 08:23:46 PM »

Have you been able to get the codes to work?
Logged

macrobob

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 46
Re: SDK & Security
« Reply #4 on: December 27, 2010, 08:42:44 PM »

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
Logged

macrobob

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 46
Re: SDK & Security
« Reply #5 on: December 27, 2010, 08:45:47 PM »

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

Dave3891

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 8
Re: SDK & Security
« Reply #6 on: December 29, 2010, 02:05:52 PM »

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?
Logged

macrobob

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 46
Re: SDK & Security
« Reply #7 on: December 29, 2010, 03:32:02 PM »

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)
Logged

Dave3891

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 8
Re: SDK & Security
« Reply #8 on: December 29, 2010, 06:31:35 PM »

Are you using the newest SDK?
Logged

parag0n

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 8
Re: SDK & Security
« Reply #9 on: January 03, 2011, 09:49:34 AM »

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!
Logged

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: SDK & Security
« Reply #10 on: January 03, 2011, 05:59:55 PM »

Quote
Btw, 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.
Logged
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

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: SDK & Security
« Reply #11 on: January 03, 2011, 06:04:53 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!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: SDK & Security
« Reply #12 on: January 03, 2011, 06:22:41 PM »

:)
Logged
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

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 8
Re: SDK & Security
« Reply #13 on: January 06, 2011, 02:00:51 AM »

Any updates?
Logged

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: SDK & Security
« Reply #14 on: January 06, 2011, 06:57:39 PM »

shh, we are going deeper.
Logged
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
Pages: [1] 2
 

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