Please login or register.

Login with username, password and session length
Pages: 1 ... 14 15 [16] 17 18 ... 20

Author Topic: PC Companion (Voice Control, E-mail, Weather, Memos + more)  (Read 395930 times)

bfineman

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 32
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #225 on: November 21, 2011, 09:23:25 AM »

...you have command line options? You just made my day. Somehow this had escaped my attention. I will play with this and report back.  >!

I should also tell you what it is I'm trying to do to make sure I'm on the right path. My main goal is to get voice feedback from OnAlert, such as "front door open" when a door/window sensor is triggered. My current (new) plan is to make an AHP macro triggered on the door/window sensor to trigger a windows command that points to a custom command line option I've created in PCC to speak "front door open". Do I have the right idea?

Thanks again!
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #226 on: November 21, 2011, 09:39:34 AM »

Yep, totally doable! ;)
I've had this notification since OnAlert was first releast at my place.
Although I have the cm15a.
I also have voice announcements set up for my security motion sensors.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

bfineman

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 32
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #227 on: November 24, 2011, 04:46:04 PM »

Ok, so I think this will be doable to get AHP to trigger voice responses. However, what about the other way? For example, is there any way I can say "arm security system" and get AHP to arm the system? I could use Windows speech recognition to kick off a command for PCC, but PCC can't send the security arm command and it can't communicate with AHP to do it either. Or can it? And I can't control AHP via command line...right?

Thanks,
Ben
Logged

bfineman

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 32
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #228 on: November 24, 2011, 05:04:18 PM »

Bummer, I spoke too soon. Why I tried a test command line option, I got this error:

Unhandled exception...Index was out of range. Must be non-negative and less that the size of the collection. Parameter name: index

Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.SZArrayHelper.get_Item[T](Int32 index)
   at System.Collections.ObjectModel.ReadOnlyCollection`1.get_Item(Int32 index)
   at PcCompanion.My.MyApplication.MyApplication_StartupNextInstance(Object sender, StartupNextInstanceEventArgs e)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnStartupNextInstanceMarshallingAdaptor(Object args)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3625 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PcCompanion
    Assembly Version: 3.0.9.8
    Win32 Version: 3.0.9.8
    CodeBase: file:///C:/Program%20Files/PcCompanion/PcCompanion.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.WMPLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/Interop.WMPLib.DLL
----------------------------------------
AxInterop.WMPLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/AxInterop.WMPLib.DLL
----------------------------------------
AxInterop.etTT37
    Assembly Version: 3.7.0.0
    Win32 Version: 3.7.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/AxInterop.etTT37.DLL
----------------------------------------
Interop.etTT37
    Assembly Version: 3.7.0.0
    Win32 Version: 3.7.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/Interop.etTT37.DLL
----------------------------------------
Interop.SpeechLib
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/Interop.SpeechLib.DLL
----------------------------------------
Interop.StdVCL
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/Interop.StdVCL.DLL
----------------------------------------
Interop.ActiveHomeScriptLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/Interop.ActiveHomeScriptLib.DLL
----------------------------------------
761hl0xn
    Assembly Version: 3.0.9.8
    Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
WindowsMediaLib
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files/PcCompanion/WindowsMediaLib.DLL
----------------------------------------
6bgx7mrg
    Assembly Version: 3.0.9.8
    Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #229 on: November 27, 2011, 12:03:38 PM »

What is the command your trying?
 
Commands are case sensitive and this is were most users have a issue.
Also either the >< Or []  are missing.
These are needed or text is seen as multiple commands and PCC is capable of only seeing 2 at a time and the second is just a repeat value.
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #230 on: November 27, 2011, 01:45:03 PM »

Ok, so I think this will be doable to get AHP to trigger voice responses. However, what about the other way? For example, is there any way I can say "arm security system" and get AHP to arm the system? I could use Windows speech recognition to kick off a command for PCC, but PCC can't send the security arm command and it can't communicate with AHP to do it either. Or can it? And I can't control AHP via command line...right?

Thanks,
Ben
PCC can't send security commands. :-[
This is a SDK limitation :(
However there maybe a work arround.
This would work with a CM15 but unsure if the cm19 will do it with out a repeater.
X10nets may detect the outgoing signal and tell AHP the signal was seen. ::) :'
You can create a WSR that opens PCC and sends a regular x10 command.
In AHP create a macro that sends the command to arm when the x10 command is received.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

bfineman

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 32
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #231 on: November 28, 2011, 01:32:31 PM »

What is the command your trying?
 
Commands are case sensitive and this is were most users have a issue.
Also either the >< Or []  are missing.
These are needed or text is seen as multiple commands and PCC is capable of only seeing 2 at a time and the second is just a repeat value.

I must've missed this somewhere - where do I include the < > or []? The command is "frontdooropen", to trigger saying "The front door has been opened."

Thanks!
Logged

bfineman

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 32
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #232 on: November 28, 2011, 01:49:35 PM »

Ok, I finally found a CM15A on eBay for a reasonable price, so maybe now I can quit bugging you guys about crazy workarounds to get things working with my CM19A. Will keep you posted.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #233 on: November 28, 2011, 02:24:42 PM »

Your command needs to be  [frontdooropen] if triggered from AHP you could use >Frontdooropen< from any other means
However if you wish PCC to just speak a Phrase Like your door is open! then
the command is Your/door/is/open!
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #234 on: December 06, 2011, 02:08:57 PM »

As PCC grows it gets harder and harder for me to debug.
Some users have volunteered to help debug the current version in development and their input shows!
Since many of the options in PCC I've never used other then when coded, improvements often don't get thought of for that option.
Some of the improvement to the currently in testing version are from input from the testers.
If anyone wishes to be on the front lines and be one of the elite testers should drop me a PM.
Note: you'll need the current build already installed.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #235 on: December 06, 2011, 09:05:59 PM »

bfineman  you don't say how or where you were trying the command line from.
I've found most places require the repeat value to be added.
Also if using CMD or a batch file the sytax needs to be Pccompanion ">frontdooropen<" 0
note the quotations. ::) :'

I've updated the manual to reflect this and also most of the adds to the new version currently in testing.
you can find a link to the revised manual on my forum.
>!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #236 on: December 08, 2011, 06:04:39 PM »

:)% New Version Of PCC finally ready for Download!  :)%Sorry for making everyone wait so long hope it is worth the wait.

Version 3.0.9.9 created December 8Th 2011
Added Features:
Reworked camera preview page
Fixed issue with cam 3 initial settings
Fixed issue with camera switching causing video setup screen popping up
Fixed cameras not switching with RF trips
Added video setting pop up when capture screen is opened and won't reappear unless capture window closes and is reopened
Added Camera Preview doesn't close when cam setting screen is open but reloads with a save press
Added video setting pop up when changing animated face to video display doesn't reapear until program is restarted and the option is chosen.
Re worked weather forecast pulls
Fixed weather forecast from speaking twice
Replaced weather bug forcast option
Added option to notify of weather alerts
Added option to have PCC read alert or open a mesage box to display the info
Added some conditions for weather display
Re worked FaceSet display for all locations
Added full screen FaceSet display
Added resizing ability to face only displays
Added PCC now remembers last face location & Size provided it was visible when program closed
Added face location save to options pop up
Added option when in face only mode to speak or display alerts when notification arrives
Added button to display alerts when notification arrives in defalt UI
Added CSV file creation for new weather pull
Fixed issues with CSV file creation using Yahoo pull
Changed CSV file Name to "PCC.CSV" & is created in the log folder
Fixed issue with PCC not removing old data from Forecast.txt file
Fixed log file and soundfile creation for all pulls
Added random saying for a mouse click on faceset which pops up the options screen
Removed background images from special triggers page for easier reading
Fixed issue with Voice not being saved correctly
Removed trial  time out
Reworked splash screen
Added 2 options for user created commands, Face Hide and Face Show
Improved lip sync for slower machines Found this depends on face set used.
Added a error catch to the save process
Fixed issues which would cause a corrupt setting file being created.
Added voice confirmation of a option selection when clicked on

Attempted to update manual but I Always seem to miss something.  ::) :'

Note:Those with PCC installed already can use the imbedded updater
« Last Edit: December 08, 2011, 06:15:54 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #237 on: December 09, 2011, 10:32:39 AM »

I've added a few extra threads to the PCC FAQ section to help explain some things.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

TheMark38

  • Jr. Member
  • **
  • Helpful Post Rating: 1
  • Posts: 12
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #238 on: December 09, 2011, 02:53:25 PM »

Holy cow tuiceman, that's a bunch TON of updates , you should have gone ahead and called it "PCC - ver. 4.0"  rofl
P.S. THANK YOU!!! ;D
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 282
  • Posts: 10497
  • I don't work for X10, I use it successfuly!
Re: [AHP Add-on] PC Companion (Sound, E-mail, Weather, Memos + more)
« Reply #239 on: December 09, 2011, 04:13:58 PM »

Holy cow tuiceman, that's a bunch TON of updates , you should have gone ahead and called it "PCC - ver. 4.0"  rofl
P.S. THANK YOU!!! ;D
No, Thank you!

I've had a lot of time to think about addes and fixes.
Lately I've even found my self programing in my sleep! rofl
I wake up in the morning and have to rush to the PC to add the code. ::) :'

As Proof I've also Updated the Plugin pack. ;)
For those that donated and originaly got the link it is the same.
If you forgot the link it is in X10WeatherWatch maybe one of the other apps as well.
See my forum for info & details on what this includes.
 >!

« Last Edit: December 09, 2011, 04:16:10 PM by Tuicemen »
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
Pages: 1 ... 14 15 [16] 17 18 ... 20
 

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