Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Voice commands in any language with android smartphone


Question

Guest sk8er000
Posted

Hello,

I've found a simple method to use HC2 and Google voice commands.

what you need:

- an android smartphone

Please login or register to see this image.

/emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

- tasker

Please login or register to see this link.

- auto voice

FREE VERSION

Please login or register to see this link.

UNLOCKER PRO

Please login or register to see this link.

Part 1 Setting the voice control widget

1) open tasker and go to the task tab

2) tap the "+" and insert the name (for example "Voice control")

3) tap the "+" button and then the plugin icon

4) now tap Auto voice recognise and then the edit icon

5) select the "Use if Last" option and press the "v" icon at the top of the screen

6) tap the tasker icon at the top of the screen to save and exit

7) tap the icon at the bottom-left of the screen to chose the widget icon

8) go on your home screen and add the task widget (voice control)

Part 2 Add scenes and devices

1) open tasker and go to tasks tab

2) click "+" and choose the name for the task

3) tap the "+" again and tap the "net" icon and then tap on the "http get" icon

4) in Server:Port write your hc2 address (I use ddns) (user:password@homecenterip)

6) in Path write the API you want to use (this is the topic with api list:

Please login or register to see this link.

)

6) press the tasker icon to save and go back

Part 3 Create command

1) open tasker and go to profiles tab

2) click "+" and choose "State"

3) then tap on the plugin icon and choose "AutoVoiceRecognized"

4) tap on "edit"

5) tap command filter if you want to write the command or tap Speak filter if you want to fill the command by speak

6) select "Exact command" and "Event Behaviour" then tap on the "v" at the top of the screen

7) tap the tasker icon at the top of the screen to save and exit

8) choose the task you want to control with that command

when you'll tap on the widget created in the part 1 google voice will start..

I hope this will help

Please login or register to see this image.

/emoticons/default_icon_biggrin.gif" alt=":-D" />

P.S

this video should help too:

5 answers to this question

Recommended Posts

  • 0
Guest GrZeCh
  • Inquirer
  • Posted

    I can confirm that this works very nice. It would be great if Fibaro would not reinvent the wheel on Android system and just use Google Voice API for voice recognition in their next Android application.

    EDIT: I've tested it using polish language.

    • 0
    Posted

    Works perfectly in Russian. Thank you for detailed tutorial.

    Only one question: I want to use two phrases for one task, for example "turn on tv" and "turn on television" and I don't want to make a lot of profiles. Is it possible to use two phrases in one.

    So in part 3.6 of your tutorial may I use not exact command and just use two or three?

    • 0
    Posted

    sk8er000,

    Thanks for the great explanation. I have a question, do you need also click to start to listen to the voice? I want to have an android tablet that always listen to voice commando's. Is that possible?

    • 0
    Posted

    Hey guys, any sugestions how to make it more clever? Actually, how to teach tasker, what devices are in system without actually teaching him that. The deal breaker on this is, that when you add tasker task, you need to add the ID of device from Fibaro. If you re-add device, it change the number. It seems like small things, but the settings are painfull every time something change as you know.

    and one more thing, do you think it would be possible to create app for android wear that would work like fibaro app, so you log in and it somehow get the info from fibaro?

    And last thing, I used this tutorial to create Tasker tasks which works and if you install wear tasker, it will do this with your smart watch:

    • 0
    Posted
    sk8er000,

    Thanks for the great explanation. I have a question, do you need also click to start to listen to the voice? I want to have an android tablet that always listen to voice commando's. Is that possible?

    AutoVoice Continuous

    AutoVoice Continuous allows you to start a background process that will listen for voice commands continuously. This means that when it’s active, you should be able to just start speaking without triggering the voice input box first.

    To use it, you use the AutoVoice Continuous action in the plugin category. You basically run that action with the check mark checked to start it, and again with it unchecked to stop it. A toggleable task works well here.

    This feature has been improved a lot recently, but it’s still to be considered a work in progress. It lacks some important features, and it might not work well or at all on some devices, Android versions, ROMs, etc. It also drains the battery quite quickly, and is best used connected to a charger.

    [ Added: 2015-01-29, 21:53 ]

    Hi this is not wking.

    Part 2 does not work. I always get input output error. Whatever this means. I use local ip....

    Whats wrong

    [ Added: 2015-01-29, 21:57 ]

    On Server Port i use

    192.168.2.2

    Path i use

    192.168.2.2/api/callAction?deviceID=48&name=turnOff

    [ Added: 2015-01-29, 22:57 ]

    I m usin REStask plugin now for http geg commandthis works with auth set

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...