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

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
OLD Generation 1 - HAL lelujah --- You can now talk to your vera
« on: February 06, 2012, 12:29:59 am »
Well at least half of the world can! Those that use PCs and Androids.

I have released a PC Application call HAL Server (actually a service) that receives "wav" files of spoken text and convert that into commands to control your Vera. This is two way ... since you can ask for status.
There are two clients that can interface to the Hal Server
This has only been tested on a Vera2 I do not have a Vera3 yet.
It supports Scenes, Binary and Dimmable Switches, Locks, Thermostats, and the status of various sensors.

Luv for you to try it and provide feedback.

Here is the current status:
  • Windows 7 - Working
  • Vista - Working
  • Windows XP - Not Working
« Last Edit: April 26, 2013, 11:09:26 am by RichardTSchaefer »

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
Re: HAL lelujah --- You can now talk to your vera
« Reply #1 on: February 06, 2012, 03:19:05 am »
Oops ... I should have tried the installer on a non developer machine. Found and fixed two bugs ... should be good to go now.
The problems were:
  • Requested to install wrong version of .NET 4.0 (Actually a Microsoft bug)
  • Need to run the HAL Client the first time as an Administrator. I now do this during the Installation.
If you see either of these problems just download the installer and start again.

Offline garrettwp

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6372
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: HAL lelujah --- You can now talk to your vera
« Reply #2 on: February 06, 2012, 03:34:29 am »
Glad you provided this to the community. When I get time, I'll have to give it a go.

Keep up the good work,

- Garrett

Offline jwiz

  • Full Member
  • ***
  • Posts: 118
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #3 on: February 06, 2012, 11:14:15 am »
Just wondering if this will run ok on windows homeserver v.1.

Thanks
John

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
Re: HAL lelujah --- You can now talk to your vera
« Reply #4 on: February 06, 2012, 01:10:51 pm »
I do not know for sure ...  I doubt they configured the Speech Engine into this platform.

Offline gilles

  • Full Member
  • ***
  • Posts: 106
  • Karma: +0/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #5 on: February 06, 2012, 03:09:44 pm »
Hi,

Could you develop on linux ?



Envoyé depuis mon GT-I9000

Offline jwiz

  • Full Member
  • ***
  • Posts: 118
  • Karma: +0/-0
Re: Re: HAL lelujah --- You can now talk to your vera
« Reply #6 on: February 06, 2012, 03:21:40 pm »
Just wondering if this will run ok on windows homeserver v.1.

Thanks
John

Thanks for the reply. I'm gonna try it out on my win 7 desktop to check it out and maybe later i will see if I can get it to run on the homeserver.

Thanks
John

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
Re: HAL lelujah --- You can now talk to your vera
« Reply #7 on: February 06, 2012, 04:57:56 pm »
I use the Microsoft Speech Engine ... I evaluated other engines based on Java.
But this was the most reliable. So the HalServer is stuck on a PC platform for now.
The syntax description was very similar to all. Details of interfacing to the semantic content is different ... but this ended up being a small part of the project time. So if another speech engine is available it should not be a big deal to port.

I guess if there was demand I could do an  IOS and WM7 client.


Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
Re: HAL lelujah --- You can now talk to your vera
« Reply #8 on: February 10, 2012, 08:58:17 pm »
Any one talking to their Vera yet ?
I can see there have been downloads ... both PC and Android.
I am looking for feedback before making another investment in time.
 

Offline garrettwp

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6372
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: HAL lelujah --- You can now talk to your vera
« Reply #9 on: February 10, 2012, 09:00:59 pm »
I have not tried yet. I'll get it up and running this weekend and let you know how it works out. Been busy reworking my android app for Vera.

- Garrett

Offline jwiz

  • Full Member
  • ***
  • Posts: 118
  • Karma: +0/-0
Re: Re: HAL lelujah --- You can now talk to your vera
« Reply #10 on: February 10, 2012, 09:20:03 pm »
Any one talking to their Vera yet ?
I can see there have been downloads ... both PC and Android.
I am looking for feedback before making another investment in time.

I did install it on my pc and android. I was getting a comnection error in results on the android client. I tried disabling my firwall and it did not make a difference. I'm gonna try to play with it more this weekend when i have more time.

John

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
Re: HAL lelujah --- You can now talk to your vera
« Reply #11 on: February 11, 2012, 01:28:41 pm »
Change the Port on HalServer (PC)  and HAL Remote (Android) from 5050 to 505.
Ports below 1024 are not typically blocked on Windows by the various firewall products.

I will change the defaults in the code and make a release asap.  505 is not reserved by anyone.

 

Offline Ap15e

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1998
  • Karma: +12/-0
Re: HAL lelujah --- You can now talk to your vera
« Reply #12 on: February 12, 2012, 11:00:36 am »
The Hal Client (PC) doesn't run on my Windows XP Professional SP3: "Try Running as administrator.".

Offline jwiz

  • Full Member
  • ***
  • Posts: 118
  • Karma: +0/-0
Re: Re: HAL lelujah --- You can now talk to your vera
« Reply #13 on: February 12, 2012, 11:47:12 pm »
Change the Port on HalServer (PC)  and HAL Remote (Android) from 5050 to 505.
Ports below 1024 are not typically blocked on Windows by the various firewall products.

I will change the defaults in the code and make a release asap.  505 is not reserved by anyone.

Played around alittle bit more this weekend and still did not have any success. Changed port to 505 and now I keep getting communications error reading in the last results status screen.

Thanks
John

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10036
  • Karma: +759/-141
Re: HAL lelujah --- You can now talk to your vera
« Reply #14 on: February 14, 2012, 07:37:40 am »
Ap15e -- Yep after a day of building an XP machine I have found 2 serious startup bugs on XP. One is fixed ... Hope to get the other later today. So XP is DOA for now.

jwiz -- Are you able to get the PC HAL Client to talk to the HAL Server ? If that does not talk, then the the Android client will not either.

The first time I try to connect from Android after installing on the PC it fails to connect ... but there is a message from my firewall on the PC asking if it is safe to allow the connection. When I say yes forever ... remote connections work from then on.

I have major update ready after successful testing with XP ... More on that later.
One important feature is the Auto discovery for Vera and the Hal Clients ... no more needing to know about IP address (unless you want to poke a hole in your router's firewall).