Please login or register.

Login with username, password and session length

Author Topic: Toggle Module  (Read 3337 times)

Durnt

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Toggle Module
« on: November 25, 2009, 07:14:08 PM »

Is it possible to toggle a light module on/off with a certain hotkey or perhaps when a certain program opens?
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Toggle Module
« Reply #1 on: November 25, 2009, 08:14:35 PM »

No.  It can be triggered either by pressing the button on the switch or by an X10 powerline signal sent to it if it's a wall switch module. As to the plug-in modules, only an X10 powerline signal sent to it will turn the light on .
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

bitman

  • Hero Member
  • *****
  • Helpful Post Rating: 9
  • Posts: 597
Re: Toggle Module
« Reply #2 on: November 25, 2009, 08:34:46 PM »

It is possible if you are willing to work and maybe write some code.

It used to be, that with the old AH (not pro) one could open a dos window and usher on/off commands via dos commands. I do not know if this is still possible with AHP.

Then by using a windows macro program you could tie a key combo to a batch file that pops off the desired dos command to do your bidding.

Then, by writing some visual basic program to look for a window title you could then call that same batch file, thereby having the desired action happen when that program was launched.

BTW if I recall correctly, we could make calls to the x10nets.exe or something.

Google x10 dos commends and that should get you started. You will need a CM15 or CM11a and AHP or AH to do anything anyway.

:Ron
Logged
Long live X10! - Because I just like it is all.....

Mellowmark

  • Hero Member
  • *****
  • Helpful Post Rating: 6
  • Posts: 195
  • M M Electric
Re: Toggle Module
« Reply #3 on: November 25, 2009, 08:57:20 PM »

Possible to maybe use the voice command code and adapt to it some key stroke and or program.
Logged
M M ElectricMan

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Toggle Module
« Reply #4 on: November 25, 2009, 09:25:57 PM »

Durnt
Anything is possible if like bitman stated your willing to work at it!
if you state which controler you are or wish to use I or some one else here could steer you in the right direction.
I and several users here have created programs that will do what you want using the Cm15a (ActiveHome Pro).
If you wish to do this your self you'll need the AHP SDK!
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Toggle Module
« Reply #5 on: November 28, 2009, 02:01:54 PM »

It used to be, that with the old AH (not pro) one could open a dos window and usher on/off commands via dos commands. I do not know if this is still possible with AHP.

:Ron


You can still do that in XP, but not in Vista.  AHP comes with a DOS/System Prompt component called ahcmd.exe which can be run from a DOS or System Prompt with commands like "ahpmd sendplc L5 on" then hit the enter key.  The module L5 will turn on.
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

hawk1

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 625
Re: Toggle Module
« Reply #6 on: November 28, 2009, 02:35:34 PM »

You could write a batch file to open your program and insert the ahcmd in the batch file.   >!
Logged
koopr@sstelco.com, I don't know what I'm doin but I'm havin fun doin it!
 

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