Homey Community Forum

Alexa TTS - info from Homey, spoken by Alexa

Hi all.
So I’ve been researching and scavenging the web for anything related to Alexa TTS - so that you dont have to use Homey for this.
It’s much more intuitive to use Alexa for both the spoken commands, and for the readback/readout of information.

What I gathered was that this is available (albeit with some crude coding) on many of the other home automation solutions. So what can/could be done for Homey with the below information?

Alexa TTS for Home Assistant
Alexa TTS for HomeSeer
Alexa TTS for OpenHAB
Alexa TTS for Domoticz

I’m no coder myself, so I have very little to offer in terms of helping here, but I would guess that this is a feature that could be very valuable to a lot of users of Homey, and shouldn’t be that difficult to produce - based on the work already done by others.

Suggestions anyone? :wink:

7 Likes

I’m also looking for this for Google Home’s. Willing to donate because I can’t code either.

a Alexa TTS homey app would be great!

2 Likes

General better alexa support… I get a " radiator thermostat is not responding" 90% of the time for my fibaro heat…

Very very cool,

The code in the examples you provided also do a hell of a lot more than ‘text to speech’.

Make alexa say the weather
Make alexa tell you your traffic report
Make alexa say your flash briefing.
Make alexa sing a song

ie. Create a flow which 'when motion is detected in the kitchen and its a workday and before 10am, then play the weather report (once).

Looking at it - it also expects a capcha request/response so it would need to be able to handle that somewhere with in the app.

I might be interested in this, though I was planning on getting an app for Arlo cameras next or perhaps an app for the weather down under.

So many options so little time.

2 Likes

The code which connects alexa -> homey is manages by athom and is a private repo - you would have to contact support for help with that.

This is how ever homey -> alexa …

This is the only thing stopping me from moving the platform, i use my Alexas to do all sorts of voice outputs like “welcome home” etc.

I had a quick play, seems to work from Homey.

4 Likes

Oh great!
How did you set it up, maybe a short tutorial?
Thanks in advance.

yes! a short tutorial would be great!

It will require a app be created due to the way that authorization is given, (cookie). But if you able to handle that part its actually relativly simple JSON commands

behaviorId: 'PREVIEW',
  sequenceJson:
   '{"@type":"com.amazon.alexa.behaviors.model.Sequence","startNode":{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","operationPayload":{"deviceType":"XXXXXXPFR55MTB","deviceSerialNumber":"XXXXbace78d042abaXXXX8bf08eaXXXX","locale":"en-US","customerId":"XXXXDIVCUKXXXX","textToSpeak":"Ok Homey, Sexy Time"},"type":"Alexa.Speak"}}',
  status: 'ENABLED'

Ill try and create a demo app maybe this weekend to allow you to speak to a specific echo/alexa device (Tested so far with FireTv, FireTablet, Ecobee, Echo Dot, Echo Spot, Echo and Echo Plus).

3 Likes

Great!
I’ll keep my fingers crossed for an app during the weekend then. :grin:

How hard would it be to make the device-choice and text input/output able to use variables from Homey?

Looking forward to the development here. Will definitely send you a donation of you get this working.

I wouldn’t expect anything use able on the weekend, perhaps just a prototype.

Alexa just is looking for either a string or a ssml ( Speech Synthesis Markup Language ), Sending text to flows, with tags is pretty standard stuff with Homey - it shouldn’t be a problem. (So long as the login can be solve elegantly).

Small hiccup in the middle of the night alexa decided to say one of my test texts from 5 hours earlier - and then just now 18 hours later I got another one :thinking:

45 posts were merged into an existing topic: [IN DEVELOPMENT] Amazon Alexa - Text to Speech, Announcements, Weather, News, Traffic

You can now view the latest information about this here.