Shop OBEX P1 Docs P2 Docs Learn Events
Javelin Stamp Interface to INSTEON and X10 — Parallax Forums

Javelin Stamp Interface to INSTEON and X10

Scott/ChicagoScott/Chicago Posts: 8
edited 2006-04-06 00:52 in General Discussion
I've started working on a class to interface the Javelin Stamp to the INSTEON PowerLinc
controller, which allows control of INSTEON and X10 devices such as lamp dimmers.

What I've created so far allows control of X10 devices and·monitors for raw X10 codes
received. I'm planning on adding more functionality including INSTEON control capabilities.

The current·source code and links to INSTEON controller information·is at:
http://www.cls01.com/insteon/

Let me know if you find any bugs and/or have ideas for additional functionality.

Following FYI is the output from a·test program that uses the Insteon class:

screenshot.png

Regards,
Scott

Post Edited (Scott/Chicago) : 4/23/2006 8:32:01 PM GMT

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2006-03-27 05:23
    Nice work Scott.
    Can you add javadocs to the methods
    that also specifies possible return values?

    /**
    ·* Function description
    ·*
    ·* @param
    ·* @param
    ·* @return
    ·*/

    That makes it easier to understand why particular values are returned
    without looking it up in the device datasheet.

    Could you move the package to stamp.peripheral.x10.insteon
    There are more x10 controllers. That way all x10 controllers
    can be located in a single location for better overview.

    regards peter




    Post Edited (Peter Verkaik) : 3/27/2006 5:38:37 AM GMT
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2006-03-27 08:38
    Is this the insteon datasheet used for your class?
    http://www.insteon.net/pdf/insteondetails.pdf
    regards peter
    ·
  • Scott/ChicagoScott/Chicago Posts: 8
    edited 2006-03-27 22:38
    Peter,

    Thanks for the feedback. I'll make the changes you suggested over the next few days.

    The INSTEON technical document that I used for development is a 246-page document called the "INSTEON Developer's Guide." I believe it's available only as part of the "INSTEON Development Kit" (I've put a link to it at http://www.cls01.com/insteon/#supplies).

    The document you referenced looks like a good technical reference for the INSTEON technology but doesn't include a lot of the RS232 serial control protocol information that's needed to develop an application interface to the INSTEON controller. I've also added a link to this doc on the web site.

    Regards,
    Scott
  • Scott/ChicagoScott/Chicago Posts: 8
    edited 2006-04-06 00:25
    Peter,

    I've added comments and posted Javadoc documentation at http://www.cls01.com/insteon/#documentation

    INSTEON has a superset of X10 capabilities but it's in the same category of devices that X10 created so it makes some sense to put it in an X10 directory as you mentioned. Just one question to clarify... Should the class be in:
    - stamp.peripheral.x10.insteon.Insteon.java, or
    - stamp.peripheral.x10.Insteon.java?

    Regards,
    Scott
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2006-04-06 00:52
    stamp.peripheral.x10.insteon.Insteon.java
    (create a insteon folder inside x10 folder)

    Class is looking good.
    Thanks.

    regards peter


    Post Edited (Peter Verkaik) : 4/6/2006 12:57:39 AM GMT
Sign In or Register to comment.