I’m going to check this out!
A suggestion tho would be to allow the user to set what the wakeup phrase is. Would this be possible?
I’m going to check this out!
A suggestion tho would be to allow the user to set what the wakeup phrase is. Would this be possible?
At present it’s always listening …
When I add the wakeup phrase (as an option) it will be user definable.
Richard,
Thanks for a really great app! I’ve been looking for something like this for a while, and had resorted to writing my own tasks using tasker, autovoice, and autovera (time consuming to write, and slow to respond to commands).
I do have a couple strange things happening:
On my phone, I changed the notification style to “bell.” When I asked it for my thermostat status, it started playing music while it talked. And never stopped. It was probably the most epically dramatic thermostat update ever, but not very useful behavior. I finally had to kill the app to stop the music.
On my tablet, I experimented with continuous listen mode. I left voice notification on, and now it constantly randomly says “I did not understand that.” I would like for it to talk to me when it parses a command that it understands, but I really don’t want to hear about it whenever it hears something that isn’t a command.
It also might be nice to have a widget that would automatically start H@L listening for a set amount of time.
-Brent
OK … There are a few more things I wanted to do to it this week anyway …
I will look into the Bell … what type of notification did you have in the “Properties → Alert” setting ?
Was it a short notification or a repeating notification ?
[quote=“RichardTSchaefer, post:104, topic:175160”]OK … There are a few more things I wanted to do to it this week anyway …
I will look into the Bell … what type of notification did you have in the “Properties → Alert” setting ?
Was it a short notification or a repeating notification ?[/quote]
I didn’t even know that setting existed! Turns out it was set to “Silent.” I changed it to something else, and it uses the proper alert. When I change it back to silent, I get dramatic music again. No idea why.
I will look into it …
I am planning to add the option to activate HAL with a user defined phrase like:
OK Vera or OK HAL
It will stay active for a user specified amount of time after the last request.
After that you can say OK HAL again to get its attention.
So it will quit trying to interpret things when you are not actively talking to it.
I think I will also add a user specified phase to stop it from listening … until requested again …
Something like OK Vera stop listening After that you will have to get its attention again with OK Vera.
So you will have 3 operating modes:
Hi Richard,
I wanted to give Hal a go but I cannot find it on Google Play Store. I searcherd, Vera, H@L, Hal. Your app does not show up???
Any ideas?
[quote=“bucko, post:107, topic:175160”]Hi Richard,
I wanted to give Hal a go but I cannot find it on Google Play Store. I searcherd, Vera, H@L, Hal. Your app does not show up???
Any ideas?[/quote]
I found it. Needed to search “HAL and VERA”
I’m running this on a Nexus 7 (1e gen) and after adding some phrases to the dictionary it keeps on crashing (directly after startup). I also changed idle timeout (leaving it empty) so maybe that’s what makes it crash. (I have send the bug report).
Some other Q’s
As I’m Dutch, my device names have Dutch names. If I leave Androids voice recognition in English it does not understand the devices (which makes sense) when I switch Android to Dutch all the other logic is not understood and I need to build a complete new dictionary basically for every variation that is possible as it will not understand all the wildcards and parameters (for example three dictionary items for light on, light off, light status). Is that correct?
When I’m in always on listening mode it picks up only the first command and will execute it. It will then switch to the status page where it stays. Any other command is not being picked up. Any ideas?
Please send logs for problems … I will check.
The dictionary was meant for words … Not phrases …
Please send me your dictionary file. I will see what I can do.
You may want to try changing the grammar rules for Dutch. Find the H@l directory on your nexus. You will find your dictionary their. There is also a Reference directory.
Take a look at the Semantics.config file.
If you place a modified version of this file in the parent directory … It will use it. You can replace some of the command name with dutch names. Let me know if you need some help understanding the file.
You can replace lines or just add new lines.
I would suggest modifying one line at a time to start with.
H@l need to restart to see the new file. Keep the background time real short like 1 minute. Then it will quit quickly after closing the app.
Thanks for the fast response! What about the last point (only can issue one command)?
Send the log
Richard, not sure how you want the Android log. It’s not something I regularly do. Do you have a preferred way?
I have attached the dictionary (renamed to txt)
On the localisation; It seems that are several ways to approach this;
Anny suggestions or am I missing an alternative?
From the debug settings there is an option to mail the log file.
The log file is in the H@l directory the same as the dictionary. So you can easily mail it to me directly as well as delete it when you want to start with a new log.
There is another option I described above. H@l was designed to be multi-lingual.
Editing the files as I described above will allow you to define the semantic rules in your native language.
To process the semantics I need to identify each word. When you put a phrase in the dictionary it treats the entire phrase as a single word … I need to split the words when I extract from the dictionary.
This is a little complicated because the dictionary substitution and the fuzzy logic is in recursive/backtracking algorithm. There are some design issues to allow the number of words to change during the semantic matching logic.
But if I did this you could have your own word macros …where a single word could be a dictionary defined command … Kind of what you where trying to do.
Hi, pls find attached debug log. Issue: with open mike I can issue one command only or if I’m lucky two or three. It stays in the results page but just stops listening.
Hello RichardTSchaefer,
I already have a remote system with voice recognition installed (S.A.R.A.H : [url=http://blog.encausse.net/s-a-r-a-h/]http://blog.encausse.net/s-a-r-a-h/[/url]), but I wanted to test another approach, which seems to work without too much configuration concerning the devices of the Vera.
The app installation is OK (from the Google Play Store) and the voice recognition engine is working well in French.
But as H@L seems to be not localized, I can’t really use it.
I’m on a Nexus 7 and I tried to find the dictionary files, but without success.
Besides, I’ve got some questions :
But as H@L seems to be not localized, I can't really use it.It is setup to be localized ... a few hard coded strings remain. But I have not actually localized the config files. If you are interested in doing the localization I can talk you through the how to make the changes.
Find the files (on your Android) in the directory:
H@l/Reference
You might try to customize the “SwitchCmd” in the file Semantics.config to see how well it will work.
Any modified file needs to be placed in the H@l directory.
To Localize the Help file you would need to change:
H@l/OrigHelp.html
- Is it possible to restrain the devices usable by the tablet ? (for example, just the devices in the kitchen for the tablet in the kitchen)I do not support this at this time. It does support the constraint: Turn on SomeLight [b]in[/b] the [b]kitchen[/b]
- Is it possible to do an action on several devices at the same time ? (for example, switch on all the lights of the lounge)Yes, Turn on [b]all[/b] Lights [b]in[/b] the [b]lounge[/b]
Thanks RichardTSchaefer,
The directory “H@L” was not available under Windows 7 via USB connection (Nexus 7).
With an Android app, I’ve found it.
I’ve begun to modify the Reference file, but without success for the moment.
I will report here when I will have more informations.
When you modify the file … you need to move the modified file to it’s parent directory.
Then restart the app … Quickest way (since it has background processes that can stick around awhile) is to use the Android App manager and do a force stop.
You will start with the Semantics.config file.
I would try something simple like the SwitchCmd
For french you might change:
SwitchCmd:<1;on:1|off:0> <0;Switch*|Dimmer*|PLTS*|VirtualSwitch*|MultiSwitch*>
to:
SwitchCmd:<1;allumer:1|?teindre:0> <0;Switch*|Dimmer*|PLTS*|VirtualSwitch*|MultiSwitch*>
If people customize the files … they can send them back to me … and I will integrate in future releases.
Then you would be able to say:
S'il vous pla?t allumez la lumi?re de bureau
allumer would match allumez via fuzzy logic … the switch name would be lumi?re de bureau
Sorry about the spelling … the forum does not like me entering various accented characters.
Thanks, I will try this evening (in France ;D)
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules