This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Does Homey listen to a sentence or just a specific word?
B3rt
Member
in Developers
Still playing with Homey before switching from my old system (vera edge) to Homey.
I tried to use speech commands in a flow and added 2 flows which are triggered by a sentence.
I used the following speech reqonition:
'schilderij aan' (this should switch a 'klikaanklikuit' light device ON mounted at a wallpainting )
and
'schilderij uit' (this should switch the above light device to OFF)
When i say 'OK Homey schilderij aan' nothing happens, yes homey listens and the rings are on but nothing is switched on.
Then i switched on the light manually and said:
'OK Homey schilderij uit', Homey indeed switches the light off!! Yes it worked...
But why does Homey does not respond on the ON command, also noticed that often does NOT respond or reqonize at the given speech command at all, i tried several simple commands but often Homey simply does nothing execpt listen and 'thinking' but not acting.
Does Homey listen to only 1 specific command or does is listen to the whole sentence?!
So can i use in my example the word 'schilderij' only in 1 specific command but never is a sentence?
I tried to use speech commands in a flow and added 2 flows which are triggered by a sentence.
I used the following speech reqonition:
'schilderij aan' (this should switch a 'klikaanklikuit' light device ON mounted at a wallpainting )
and
'schilderij uit' (this should switch the above light device to OFF)
When i say 'OK Homey schilderij aan' nothing happens, yes homey listens and the rings are on but nothing is switched on.
Then i switched on the light manually and said:
'OK Homey schilderij uit', Homey indeed switches the light off!! Yes it worked...
But why does Homey does not respond on the ON command, also noticed that often does NOT respond or reqonize at the given speech command at all, i tried several simple commands but often Homey simply does nothing execpt listen and 'thinking' but not acting.
Does Homey listen to only 1 specific command or does is listen to the whole sentence?!
So can i use in my example the word 'schilderij' only in 1 specific command but never is a sentence?
Comments
But first, you should check if he understood you correctly by going this link: http://<the-address-of-your-homey>/manager/speech-input
This way u can also say:
"Zou je het schilderij aan willen doen?"
He is looking for "schilderij" and "aan" .
speech-input allows you to type in text that you send to Homey, speech-output will give you an overview of what Homey heard.
Also: it is recommended to make complete sentences (such as the ""Zou je het schilderij aan willen doen?" that @Rocodamelshe mentioned), as that should significantly improve the speech recognition (because then the words have a context). In my own case, for example "TV on" will not be recognized correctly most of the time, but "Turn on the TV" works really well.
If the whole sentence then a user must say the sentence exactly as i entered it, variation is then not possible or is it?
But i am gathering info/learning how Homey exactly works for more detailed flows etc, my question remains therefore.
When i enter a full sentence as command, must is then be spoken exactly as entered or does it also listen to variantions in that sentense?
For example i enter the commando: 'zet schilderij aan'
When i say 'zet het schilderij aan', should in theory homey respond to this or not?
So yes, when the trigger words are "schilderij" and "aan", then Homey should respond to "Zet schilderij aan", "Zet het schilderij aan", "Doe het schilderij aan"... as well as "Zet de lamp bij het schilderij aan"... but also to completely different variations such as "Geef een pot verf aan het schilderij" (as that contains the same two trigger words).
If however your "contains" field has a sentence ("zet schilderij aan"), then Homey will only respond if that exact sentence is spoken.
Speech-output shows you what Homey said himself
Yes, this will probably be your problem if nothing is showing there after you speak to Homey.
First go to http://<the-address-of-your-Homey> (for example http://192.168.1.10 or http://10.10.1.5), you will need to log in then.
Afterwards go to /manager/speech-input.
It should work then to see your voice commands and to enter them by text.