X10 Community Forum

🖥️ActiveHome Pro => SDK => Third Party Add-Ons & Software => Topic started by: marcbaillairge on February 01, 2013, 02:27:20 PM

Title: X10 Modules state matrix (javascript based on AHSDK)
Post by: marcbaillairge 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.
Title: Re: X10 Modules state matrix (javascript based on AHSDK)
Post by: JMac on February 01, 2013, 03:42:34 PM
Very cool!  Don't know what I could use it for though.......
Title: Re: X10 Modules state matrix (javascript based on AHSDK)
Post by: marcbaillairge 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.
Title: Re: X10 Modules state matrix (javascript based on AHSDK)
Post by: marcbaillairge 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.
Title: Re: X10 Modules state matrix (javascript based on AHSDK)
Post by: marcbaillairge 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.