HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: DesktopMasters on January 01, 2016, 01:48:05 PM
-
Greetings!
So while using the phone app "HomeGenie Pro" I decided to use the voice commands. If I do "light name" + "off" it works. However, if I want to set the brightness to 50% that does not. Is there a document somewhere that outlines exactly what can and cannot be used with the voice commands and how they are structured?
~ Merlin
-
Voice commands are configured in the LINGO file:
https://github.com/genielabs/HomeGenie/blob/master/BaseFiles/Common/html/locales/en.lingo.json
by modifying this file one could add new command mappings or improve existing ones.
Commands can be issued within a natural speech sentence like:
Please set the level of all lights in the living room to 50 and then turn off the porch light
Cheers,
g.
-
UPDATE: it seems that there's a bug with the level command. The command is sent, but with an empty value.
I'll look into fixing this.
g.
-
Oh well, command arguments parsing is not implemented at all yet:
https://github.com/genielabs/HomeGenie/blob/master/BaseFiles/Common/html/js/api/homegenie.voicecontrol.js#L226
:)
g.
-
I love that you had the sense to actually *check* the level to see if it would work. That says a lot about how your mind works. (: I have dealt with a lot of programmers in my day and you defiantly seem like one of the better ones. On you quick start (in the manual) it seems logical that the words "Voice Commands" should link out to a manual page that outlines this file and your above original response.
Also, I got a bit lost on the applying configurations to widgets/devices. But also I think that might be because something is broken. I will be making a new post to cover that. (:
Thank you!
I will wait till I see the voice command arguments are fixed in the changelog before I continue fooling with this feature.
~ Merlin