Author Topic: Old Generation 1 - HAL Version 1.0 Complete - Speak and Listen to Vera  (Read 6295 times)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
HAL - Provides a Windows service that allows you to interface with your Vera via speech. You issue commands by talking to it. And it talks back about the status of your devices. There are two client programs to facilitate this communication with Vera:
  • A Windows PC Client
  • An Android Phone Client (See HAL RC on the Market)
The Windows PC must be running Windows Vista or newer.

At this time it knows about the following devices:
  • Scenes
  • Binary Switches
  • Dimmable Switches
  • Door Locks
  • Thermostats
  • Temperature and Humidity Sensors

I have just finished the last functionality for HAL Version 1.0, it includes the following:
  • It should handle ANY Vera configuration. I have relaxed the requirement that Device Names be unique. If they are not and if you want to turn on a specific device you will have to qualify it with the room name or section name. If not qualified all devices with the same name will be acted upon at the same time.
  • It will also recognize changes to your Vera configuration and update the grammar dynamically. Once configured it should be good to stay running until the next version comes out :)
  • The PC Client now has open mike and push to talk modes. Open mike will be coming to the Android client soon.

You can get more information at: http://RTS-Services.com/HalServer

I will be bringing my Audio Visual equipment under Vera control next ... look for changes in HAL to follow. If you have any other suggestions please let me know.
« Last Edit: April 26, 2013, 11:11:47 am by RichardTSchaefer »

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #1 on: March 02, 2012, 08:34:37 am »
I have stared on the next release. It supports LightSensor and MotionSensor devices.
(I just added some Door sensors and an HSM 100 to my network.) The status command provides the status of these devices. The status of the Door includes the Arm/Bypass status, the current trip state, and the human readable elapsed time since the last event. And of course I have added grammar to arm or bypass the motion sensors.

I am currently working out design details for scheduling any command you can currently ask HAL to perform. Issues include:
  • Grammar for representing a schedule
  • Do I allow repetitive commands ?
  • Grammar for status of active schedules
  • Grammar to cancel a schedule

My motivation for this is to Ask Hal to lock up my house in 30 minutes ... knowing I am finishing up things to leave the house.


Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #2 on: March 06, 2012, 02:27:23 pm »
New Version 1.0.2.1 Is available.
The new features include:
  • Status support for Motion and Light Sensors
  • Commands to Arm/Bypass the Motion Sensors
  • Active Status report considers a motion sensor active it is tripped or armed
  • Ability to schedule any commands in the next 24 hours hours
    i.e. a request like
    Quote
    Hal Schedule Lock all Doors at 10 30 PM thanks
Check the help file for the latest syntax and semantics.

Offline intveltr

  • Hero Member
  • *****
  • Posts: 1722
  • Karma: +100/-5
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #3 on: March 06, 2012, 03:45:33 pm »
Very nice app :)  I am hoping for something similar for  the iPhone; maybe Apple will open up Siri some day.

Voice control is very useful for short actions like these.  Now, if I want to set the living room lights I have to:
- Turn on my iPhone
- Enter the unlock code
- Locate the SQRemote app and start it
- Navigate to the living room screen
- Hit the right scene.
With Siri I could just hold down the Home button and speak the right command.

By the way, I fully expect and demand that you set up at least one door called "pod bay doors".
HomeWave is available in the App Store!  Turn your iPhone/iPad into an easy-to-use remote control for Vera.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #4 on: March 06, 2012, 06:28:46 pm »
I do not think Hal will open the pod bay door :)

Offline pcapps051

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #5 on: May 20, 2012, 09:07:38 pm »
hal shows connected finds vera and finds hal server. shows server running. i speak a command i get a confirmation ding then hal crashes, im using new install of windows 7 pro attached is event viewer please advise as to my error
thanlk you

Offline racarter

  • Hero Member
  • *****
  • Posts: 518
  • Karma: +12/-3
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #6 on: May 21, 2012, 08:27:13 am »
Having exactly the same experience as pcapps051.  Recognises command then crashes.  I'm using W7 Home.
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: +763/-142
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #7 on: June 04, 2012, 11:27:51 am »
Release new version with various fixes.

Email me at schaefer@rts-services.com (512) 923-2755  ... in Texas!

Offline juamonco

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #8 on: June 08, 2012, 05:04:12 am »
Hi, great job. I'm interested in translating the app into spanish ad that it accepts spanish commands. Is it posible?

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #9 on: June 08, 2012, 05:09:09 pm »
I have not done it but it should be possible.
You will not need a new Installation ....
You will have to modify the following files in the install area.
  • c:/Program Files (x86)/RTS Services Inc/Halserver/Grammar_Template.grxml
  • c:/Program Files (x86)/RTS Services Inc/Halserver/Help_Template.html
The grammar can actually be bilingual.
I would recommend changing the Help_Template ... to document what you want ... maybe take a pass at changing the Grammar ... or send the help template to me to make a pass at the grammar template ... I have some Spanish speaking friends I could probably talk into helping me test.

The only minor issue I have is for bilingual pronunciation of Scene and Device names. At this time they will default to the default language of the speech engine.
I believe you will also need a Spanish version of Windows that has the Spanish language files for the speech engine.

Deje de darle una oportunidad.


Offline juamonco

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Re: HAL Version 1.0 Complete - Speak and Listen to Vera
« Reply #10 on: July 14, 2012, 11:27:47 am »
Hi, sorry for the long time. I've to check that.