We have moved at community.getvera.com

Author Topic: OLD Generation 1 - HAL lelujah --- You can now talk to your vera  (Read 35528 times)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: HAL lelujah --- You can now talk to your vera
« Reply #60 on: April 12, 2012, 02:18:02 pm »
Thanks for the ideas ...

I have thought about integrating with cameras that have 2-way audio.
But I would need to have a state-full connection that has some pass-phrase for authentication.

On Android ... the speech comes from local Speech to text engine. On windows it comes from
the Window Text to speech engine ... In both environments you can customize the voices etc.

Remember to enunciate and start with something like "Hal" and end with something like "Please".  See the help file. Drop me an email (See my web site) and I will give you my phone number. We can talk.

I am current working on streaming ... Currently I record a file, transmit a file when complete which is detected by about 1/2 second of quite, then send to speech engine when transfer is complete. This should significantly improve response time.


Offline Hisedase

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #61 on: May 04, 2012, 12:43:25 pm »
Hi I'm kinda new in the vera scene  :) 

I installed HAL and installation is ok, but when I make a voice command I hear a "ping" en the whole thing crashes...

Here two log files from windows ...

1)
Application: HalClient.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
Stack:
   at System.Net.Sockets.Socket.EndConnect(System.IAsyncResult)
   at System.Net.Sockets.TcpClient.EndConnect(System.IAsyncResult)
   at HalClient.HalClient+<>c__DisplayClass1.<Connect>b__0(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.ContextAwareResult.CompleteCallback(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.LazyAsyncResult.InvokeCallback(System.Object)
   at System.Net.Sockets.Socket.MultipleAddressConnectCallback(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.Sockets.Socket.ConnectCallback()
   at System.Net.Sockets.Socket.RegisteredWaitCallback(System.Object, Boolean)
   at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)

2)
Faulting application name: HalClient.exe, version: 1.0.2.1, time stamp: 0x4f50439b
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x20f8
Faulting application start time: 0x01cd2a13d3fc1847
Faulting application path: C:\Program Files (x86)\RTS Services Inc\HalServer\HalClient.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 24aa3dde-9607-11e1-a5c3-f46d0440cd50

Any suggestions ?

Thanks !
Hise

Offline frichter09

  • Sr. Member
  • ****
  • Posts: 397
  • Karma: +0/-1
Re: HAL lelujah --- You can now talk to your vera
« Reply #62 on: May 07, 2012, 10:30:55 pm »
Hi I'm kinda new in the vera scene  :) 

I installed HAL and installation is ok, but when I make a voice command I hear a "ping" en the whole thing crashes...

Here two log files from windows ...

1)
Application: HalClient.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
Stack:
   at System.Net.Sockets.Socket.EndConnect(System.IAsyncResult)
   at System.Net.Sockets.TcpClient.EndConnect(System.IAsyncResult)
   at HalClient.HalClient+<>c__DisplayClass1.<Connect>b__0(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.ContextAwareResult.CompleteCallback(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.LazyAsyncResult.InvokeCallback(System.Object)
   at System.Net.Sockets.Socket.MultipleAddressConnectCallback(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.Sockets.Socket.ConnectCallback()
   at System.Net.Sockets.Socket.RegisteredWaitCallback(System.Object, Boolean)
   at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)

2)
Faulting application name: HalClient.exe, version: 1.0.2.1, time stamp: 0x4f50439b
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x20f8
Faulting application start time: 0x01cd2a13d3fc1847
Faulting application path: C:\Program Files (x86)\RTS Services Inc\HalServer\HalClient.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 24aa3dde-9607-11e1-a5c3-f46d0440cd50

Any suggestions ?

Thanks !
Hise

I do have exactly the same problem. Running windows 7 64bit.
It says HAL Server stopped working.... these are the details:


Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01:   halclient.exe
  Problem Signature 02:   1.0.2.1
  Problem Signature 03:   4f50439b
  Problem Signature 04:   System
  Problem Signature 05:   4.0.0.0
  Problem Signature 06:   4eca03e8
  Problem Signature 07:   2f52
  Problem Signature 08:   157
  Problem Signature 09:   System.Net.Sockets.Socket
  OS Version:   6.1.7601.2.1.0.256.4
  Locale ID:   1033
  Additional Information 1:   0a9e
  Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:   0a9e
  Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Any ideas?
I would love to try this out! Already re-installed MS Framework 4.0 but no luck :(

Flo
Vera Lite (1), Kwikset Locks (2), 2Gig-CT30 Thermostat (1), D-Link IP Cam (1), Evolve DM-15 (1), Evolve LRM-15(AS) (4), Evolve LFM-20 (1), Evolve LSM-15 (1), Everspring Sensor (1), Intermatic HA02C (6), Intermatic HA03C (4), Wayne-Dalton HA-03WD (2), MCV Smart Switch (1)

Offline alimobh

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #63 on: May 09, 2012, 06:13:05 am »
I'm getting  same problem here with Windows 7 64-bit and exactly same logs.

Did you get it running by any chance?

Offline frichter09

  • Sr. Member
  • ****
  • Posts: 397
  • Karma: +0/-1
Re: HAL lelujah --- You can now talk to your vera
« Reply #64 on: May 09, 2012, 10:20:16 am »
I'm getting  same problem here with Windows 7 64-bit and exactly same logs.

Did you get it running by any chance?

Nope :(
Too bad since I really would like to give this a try.
Maybe RichardTSchaefer can help?

Flo
Vera Lite (1), Kwikset Locks (2), 2Gig-CT30 Thermostat (1), D-Link IP Cam (1), Evolve DM-15 (1), Evolve LRM-15(AS) (4), Evolve LFM-20 (1), Evolve LSM-15 (1), Everspring Sensor (1), Intermatic HA02C (6), Intermatic HA03C (4), Wayne-Dalton HA-03WD (2), MCV Smart Switch (1)

Offline alimobh

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #65 on: May 10, 2012, 05:43:14 am »
Looking forward to it  :)

I have tried it on a different windows 7 32-bit but whenever I try to run it gives me a message that I should try to run it as administrator while I'm already running it as administrator, not sure why it is still preventing me to run the application.

Also would love to see it working on Android 2.2 to run it on my galaxy tab.


Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: HAL lelujah --- You can now talk to your vera
« Reply #66 on: May 12, 2012, 02:57:09 pm »
Sorry ... I have been away from the BB for a while.
I have solved the problem with "Always run as admin" but have yet to release it.
This is typically caused by changing network connections (Between WiFi and LAN).
I can walk people through a fix over the phone. 
As far as the exceptions it looks like a failure of HalClient to connect to HalServer.
Maybe a firewall issue. I may have missed handling a particular connection failure exception.

Folks can call me at 512-923-2755 (Texas Time!)
« Last Edit: May 12, 2012, 02:58:59 pm by RichardTSchaefer »

Offline racarter

  • Hero Member
  • *****
  • Posts: 519
  • Karma: +12/-4
Re: HAL lelujah --- You can now talk to your vera
« Reply #67 on: May 21, 2012, 05:54:15 pm »
I'm having the same crash problem.  HAL starts OK, but when I get the 'ping' to say command accepted the program crashes immediately.  I'm running Windows 7 Home Premium.
Indigo, Vera Edge (for Datamine only), Everspring and TKBHOME socket switches, SM103 door detectors, Homepro ZRP210 appliance modules, Fibaro relay switches, EZMotion, Heatmiser thermostats, Netatmo Weather, Camera and Healthy Home, Hikvision DVR/CCTV, Sonos, Texecom, Diax motorised deadlock.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: HAL lelujah --- You can now talk to your vera
« Reply #68 on: June 04, 2012, 11:26:26 am »
Release new version with various fixes.

Offline Hisedase

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #69 on: June 04, 2012, 03:16:49 pm »
Wauw,

Now it works great, wonderfull program.

Question: is there another client available except android, let's say, ios or windows phone 7 ?

Is there a way to trigger a command, because let's say I install client on my mediacenter pc in the living room, but when u talk to other people u get always ping poing from HAL  :)

Thx,

Hisedase

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: HAL lelujah --- You can now talk to your vera
« Reply #70 on: June 05, 2012, 12:07:36 am »
I did another fix tonight ... still chasing some installation problems ...

You can disable the "Open Mike" on the HalClient. But then you  have to click it to say something.
I can add an option to disable the NOISE maker!  Then it will only execute what it understands.


I looked into Apple ... but they want to see a revenue stream before I can put on market.
I can look into Windows Mobile ....  I can dual boot my android phone and bring it up in Windows Mobile ... last time I looked I was not sufficiently impressed to use it much.

I actually use an old Android phone as a remote control in the living area. It is not activated ... so I can't use it as a phone ... but I can run lots of Android apps that use my local area network.


Offline Hisedase

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #71 on: June 05, 2012, 05:45:31 am »
Thanks for the quick answer !

I think windows phone (7 or soon 8) will take an reasonable market share as it will do on de tablet market also. (My guess  ;) )

Maybe u should look into it...

If u could disable or put an option to enable or disable the noise I think that this is a very convenient solution already...

Another suggestion, don't know if its possible but, for example if u say (computer light bathroom out ok), and the command is executed, maybe you could let HAL confirm, something like automaticly saying the status of that bathroom light). 

Keep up the good work !

Greetzzz
Hisedase

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: HAL lelujah --- You can now talk to your vera
« Reply #72 on: June 05, 2012, 07:50:54 am »
The report of the actual status complicates things a bit ... because there is an unknown time delay from the time of sending a Zwave command until the time the device responds.  I could easily report the status of sending a command ... I already send it back to the client ... its on the "Last Result" page.

I can add the following options ...

Voice Capture options:
  • Confirm Voice Capture will Bell Y/N

Acknowledge options:
  • Confirm Command sent Bell, Voice, Quite
  • Confirm Error Bell, Voice, Quite
« Last Edit: June 05, 2012, 07:57:36 am by RichardTSchaefer »

Offline Hisedase

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #73 on: June 05, 2012, 09:11:49 am »
That would be great !

I'm planning to test HAL in a living room enviroment (have mediacenter PC installed), so client on the mediacenter, server on my homeserver.

Then it would be nice to just say a command instead of pushing buttons or talking to devices  :)

It shows much more "Pro"  ;)

Thanks
Hisedase

Offline frichter09

  • Sr. Member
  • ****
  • Posts: 397
  • Karma: +0/-1
Re: HAL lelujah --- You can now talk to your vera
« Reply #74 on: June 08, 2012, 11:48:14 am »
I can confirm that the program does not crash anymore when running on my Windows 7 -64bit system.

Excellent Job Richard!
Thank you so much.

Flo
Vera Lite (1), Kwikset Locks (2), 2Gig-CT30 Thermostat (1), D-Link IP Cam (1), Evolve DM-15 (1), Evolve LRM-15(AS) (4), Evolve LFM-20 (1), Evolve LSM-15 (1), Everspring Sensor (1), Intermatic HA02C (6), Intermatic HA03C (4), Wayne-Dalton HA-03WD (2), MCV Smart Switch (1)