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

Text to Speech with Alexa


Question

Posted

Hi everybody

since some time, I tried to find a solution to get announcements about the status of some devices (like "the window is still open") from the HC2/3. All the solutions I tried were not satisfactory to me, so I gave up. The solutions I tried were:

1. TTS using Raspery as PHP server as published by iqhouse. This solutions worked well but needed a periodic update of a cooky from Amazon. That is not acceptable for a productive application.

2. TTS using Raspery as PHP server and a bluetooth connection to Alexa. Prerecorded audio files were the output of a media player at the Raspery. This finally was also working but with great difficulty to get the bluetooth connection activated. The bluetooth link was very unstable and needed often reconnections with great effort. That was also not practicable for me.

3. same as 2. but with active loudspeaker connected to Raspery. That worked well and stable but needed an extra device. That was the reason, why I didn't love it either.

Now I found an alternate solution, very simple to implement and which is stable working since some weeks with my HC2 and HC3. As I found nothing like this in the forum, I would like to share it with you.

It is based upon a skill for the Amazon Alexa namen "voice monkey". You need an Amazon account to log in at the home page of voicemonkey. There you download the skill to Alexa and generate a so named "monkey" with the text you want Alexa to tell. As a result, you get a HTML link you can integrate easily in a QA(HC3) or scene (HC2). The HTML command includes the address and the text. So easily, dynamic output can be generated as well, like the actual temperature.

I think no further explanations are necessary, as all steps are self-explaining at the homepage or already described at that forum.

good luck.

  • Thanks 1

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

@wujo

 

I use the PHP + rpi method, this actually works pretty good. But you are right, i need to update the

cookie once per month orso. Not really a problem for me, since i also use the webversion for the config of alexa

on a daily base in a chrome browser.

 

But still.  This solution sounds perfect, great find! I will try it out soon.

 

Thanks.

Edited by ppeterr
  • 0
Posted (edited)

How to integrate URL HTML in HC2 scene?

Edited by fingusio
  • 0
  • Inquirer
  • Posted

    --[[
    %% properties

    %% weather
    %% events
    %% globals
    --]]

        local http = net.HTTPClient()
    http:request('https://api.voicemonkey.io/trigger?access_token=????&secret_token=?????&monkey=test&announcement=Hello%20dein%20Text&notification=false', {
       success = function(resp)     
        if resp.status == 200 then
              fibaro:debug(resp.status)
              fibaro:debug('sollte gehen')
            else
              fibaro:debug(resp.status)
           
            end
          end
        })

     

    Token and secret token will come from your voice monkey. But thats only for HC2!!!!! as I understood your question. "Hallo dein Text" ist was ausgegeben werden soll.

    good luck
     

    • Like 2
    • 0
    Posted

    I used the Voice Monkey (currently free) with Fibaro Home Centre 3 - I am really pleased with it

     

     

    • Like 1
    • 0
    Posted

    does not work with Sonos easy. you have to make routines on youre phone.

    • 0
    Posted

    What about supported languages? I guess it uses one of the languages selected by Alexa?

    • 0
    Posted

    If sonos yes.

    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...