Please login or register.

Login with username, password and session length

Author Topic: X10 Modules state matrix (javascript based on AHSDK)  (Read 5480 times)

marcbaillairge

  • Jr. Member
  • **
  • Helpful Post Rating: 1
  • Posts: 16
X10 Modules state matrix (javascript based on AHSDK)
« on: February 01, 2013, 02:27:20 PM »

X10 Modules state matrix (javascript based on AHSDK)

Description: This utility draw a 256 X10 address matrix colored cells for each
module state. AHP does not preserve the state map of X10 units next of PC reboot.
This utility written in javascript X10 store each event in a file and reapply
the X10 command after the reboot of the PC in order to restore the state of
modules dynamically.

Function: Click on cell to sendplc command and toggle the module state.
The dimming module is not allowed and replaced by On/Off operation.
The Pool Modules State (AHP) button reload the X10 address map from AHP.
Note: A difference in the "html" extension, the script must have a "hta" extension
to avoid the activeX security warning.

Installation: Just rename the X10MatrixState.txt file in attachement to
X10MatrixState.hta and execute.

Requirement: This script is tested on windows 7 (64bits), IE 9.0.12, AHP 3.318,
SDK installed and CM15A PC interface.

Author: Marc Baillairge
Thank you.
Logged

JMac

  • Hero Member
  • *****
  • Helpful Post Rating: 23
  • Posts: 462
Re: X10 Modules state matrix (javascript based on AHSDK)
« Reply #1 on: February 01, 2013, 03:42:34 PM »

Very cool!  Don't know what I could use it for though.......
Logged

marcbaillairge

  • Jr. Member
  • **
  • Helpful Post Rating: 1
  • Posts: 16
Re: X10 Modules state matrix (javascript based on AHSDK)
« Reply #2 on: February 01, 2013, 05:30:00 PM »

Thank you. I wrote this script to find the status of the modules after rebooting the PC as most X10 modules are not bi-directional unless you have $ $ $ $. In my case, the master control valve and water just to find the state Opened / Closed. This also allows me to find all the units states on my phone via Autom8 Android.
Logged

marcbaillairge

  • Jr. Member
  • **
  • Helpful Post Rating: 1
  • Posts: 16
Re: X10 Modules state matrix (javascript based on AHSDK)
« Reply #3 on: February 05, 2013, 10:44:15 PM »

New version: fixed little bug of color no change when P16 turn on and changed a sendrf command for sendplc.
Logged

marcbaillairge

  • Jr. Member
  • **
  • Helpful Post Rating: 1
  • Posts: 16
Re: X10 Modules state matrix (javascript based on AHSDK)
« Reply #4 on: April 02, 2013, 08:37:07 AM »

New addition in this version contain that allows the to ping your ethernet devices and assign an address X10. This combined with Insteon IR module determines whether the device if is on or off before sending a series of command. Ex: You can program macros in AHP for when the TV is on, the home theater turn on too and automatically select the correct input. If the TV was already on, then it turns off and the home theater also. It is so much easier to program and edit scenes with AHP macro that constantly repeat sequences with a smart remote.
Logged
 

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