X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: john t. on October 15, 2005, 06:25:43 PM

Title: Visual Basic .NET
Post by: john t. on October 15, 2005, 06:25:43 PM
Anyone writtem any code (love to see a
sample) in VB .NET for the CM15A using the SDK?

Particularly interested monitoring motion
detectors, etc.

John Tarvin
Title: Re: Visual Basic .NET
Post by: john t. on October 16, 2005, 10:32:11 PM
Finally took time to install the X10 SDK. It
has a vbscripting dll with it. It deals with
the low level communitcation through the USB
port.

You can send rf and plc commands, and you can
receive rf and plc codes. That's about all
you can do. It offers very rudimentary
capability.

For you knowledgeable vb .net programmers,
after installing the SDK, you create a new vb
project and add the ActiveHome Library
reference to your project. This gives you
access to the send and receive methods.

I wrote an example program that sends an on,
off, and dim to 50% command on A1 and will
monitor and list received plc and rf
commands. From here, you have to roll your
own. The example program is heavily commented
and using the vbscript dll is pretty simple.
You can write the next ActiveHome Pro!

In the SDK help (.chm) file, there is an RF
command reference. There are rf commands for
the Vanguard camera and the Ninja pan/tilt.

No way to post the program on this forum, but
you can download it at the anonymous ftp site
ftp://ftp.hot-spot.com/pub/printing

It makes me appreciate what went into
developing ActiveHome Pro.

Have FUN!

John T.
Title: Re: Visual Basic .NET
Post by: muhammad rashed nadeem on November 17, 2005, 06:30:55 AM
Me too Looking for Same
Title: Re: Visual Basic .NET
Post by: john t. on November 17, 2005, 12:14:26 PM
Muhammed,

If you haven't done it, feel free to go to
my ftp site referenced in my earlier post.
The VB .NET program example is pretty
complete as far as using the rather simple
instructions available in the SDK.

Good luck!!
John