Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with controlling an app
#1
After finding the thread about accessing Homeseer for basic X10, I thought I would try to do it for Active Home.
It has a command line app called x10comm.exe
by entering "x10comm a1 on" it will turn on a light.

I have added a widget, and it says that it has connected correctly.
I have added a button with the value for turning on the light.

When I click the button, on the application server, I get the following error:
An expception occured while starting app for driver

Any ideas what I can check please?

Thanks,
Simon.
Reply
#2
Sorry, it's still early for me, haven't had my coffee yet.

I've never tried this myself, so is this what you're doing?
You added a command button widget, and did an action with:
System.ExecApp.AppToRun="x10comm"
System.ExecApp.Parameters="a1 on"
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#3
no, according to the other thread you do a devices, field write, startwithparms

Am trying you way now....
Reply
#4
Oh, that uses the app control module. My post doesn't do that, just does a system exec command. I don't actually know what the benefit of one vs the other would be. Dean - any tips there?
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#5
cannt do it your way, as that wants to run the programme local, when I need to run it on the server.
Reply
#6
oh right - that's the point of the app control driver. Brain is slowly waking up, sorry about that.

So with the app control, I think you did this but just checking:
did you add a generic app control driver referencing the x10comm program calling it something like myx10commdriver? And it shows up as connected in the app control module? And, that's what you're trying to do a field-write true, with those startwithparms?
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#7
Thats right.
And when I press the button i get the error in the apps server window
Reply
#8
Bring up the log monitor and do it and see what's showing up in the logs.
Dean Roddey
Explorans limites defectum
Reply
#9
Could not start external process: "D:/program files/ home control/x10comm.exe" a7 on

So even though its connected it cannt send it a command.
Reply
#10
Is that path right, or is that just a typo? I.e. did it really show / slashes and does it really have a space before home control? There's probably going to be something about the path that's wrong since that's about the only thing that would prevent it from running such a simple program. Or that program requires some environmental setup that's not set from within the app control server's environment or something.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CQC controlling Model Railroad??? Deane Johnson 53 33,607 05-12-2017, 02:11 PM
Last Post: Deane Johnson
  Controlling Insteon Scene Controller buttons ellisr63 8 5,960 10-14-2014, 11:38 AM
Last Post: SomeWhatLost
  Android Widgets directly controlling CQC! IVB 39 14,790 12-08-2013, 12:24 PM
Last Post: Dean Roddey
  Controlling ZigBee (or Z-Wave) on HAI anogee 2 2,479 12-18-2012, 12:06 PM
Last Post: Dean Roddey
  Controlling an onscreen GUI cavalier240 10 4,504 03-20-2012, 09:40 AM
Last Post: standon
  Controlling devices that use HDMI-CEC cavalier240 4 3,264 09-26-2008, 05:25 AM
Last Post: sic0048
  CQC controlling VLC or MPlayer on Windows or Linux dkemme 2 2,312 02-25-2008, 09:49 AM
Last Post: dcpete
  Is 4s lag normal for CQC controlling CQS Audio player? Sendero 11 4,978 01-04-2008, 11:55 PM
Last Post: Dean Roddey
  controlling autopatch via rf? Providince 8 4,121 06-01-2007, 09:56 AM
Last Post: Dean Roddey
  Controlling it ALL.. sweethip 30 8,077 03-15-2007, 08:20 AM
Last Post: sweethip

Forum Jump:


Users browsing this thread: 1 Guest(s)