Homey Community Forum

[Alpha : 1.5.2] Amazon - Alexa Text to Speech, Announcements, Weather, News, Traffic and more

#1

Amazon Alexa

This is NOT the Athom Alexa Skill which allows Alexa to talk to Homey

With this app you can allow Homey to talk to Alexa, literally and figuratively.

Donate

Help me buy a homey to create this and other apps on.

Feature List

You can create a flow which can send ‘text’ to any Alexa enabled device and ‘she’ will then repeat that text, including any tags then there is a quite bit more that can be done.

Alexa Devices :

  • Report the “morning” speech
  • Report the “weather”
  • Report the “traffic”
  • Report your “flash briefing”
  • Change Device volume and app will update when device is changed.
  • Play/Pause/Next/Previous/Shuffle Media.

Device Flows Actions :

  • State : Say any text including tags on any Alexa enabled device (255 character limit)
  • State : Announce any text including tags on any Alexa enabled device (255 character limit)
  • State : Whisper any text including tags on any Alexa enabled device (255 character limit)
  • Report : the “morning” on a Alexa enabled device
  • Report : the “traffic” on a Alexa enabled device
  • Report : the “flash briefing” on a Alexa enabled device
  • Report : the “weather briefing” on a Alexa enabled device
  • Calendar : Say your next appointment on any Alexa enabled device
  • Calendar : Say today’s calendar on any Alexa enabled device
  • Calendar : Say tomorrow’s calendar on any Alexa enabled device
  • Fun : Have alexa sing a song on any Alexa enabled device
  • Fun : Have alexa tell a story on any Alexa enabled device
  • Fun : Have alexa tell a joke on any Alexa enabled device
  • Fun : Have alexa tell a fun fact on any Alexa enabled device
  • Homey : Have your amazon device say something in the (default) Homey voice.
  • Voices : Have your amazon device say something in an one of 6 languages, 10 accents or 28 voices (male/female).
  • Trigger for Flows when the connection is lost

Versions

In development

Status

Branch Version Status Notes
Stable 0 :heavy_multiplication_x:
Beta 0 :heavy_multiplication_x:
Alpha 1.5.0 :white_check_mark: Work in progress
Omega 0 :heavy_multiplication_x:
Master 0 :white_check_mark: Feature Complete

Supports

  • Echo Dot (Gen1)
  • Echo Dot (Gen2)
  • Echo Dot (Gen3)
  • Echo Plus (Gen1)
  • Echo Plus (Gen2)
  • Echo Show (Gen1)
  • Echo Show (Gen2)
  • Echo Spot (Gen1)
  • Echo (Gen1)
  • Echo (Gen2)
  • Fire HD10 (Gen7)
  • Fire HD8 (Coming soon)
  • Fire TV (Coming Soon)
  • Ecobee 4
  • Sonos One
  • Sonos Beam

Notes

Please note that this app now only supports v2.

Fire TV (v2) is not supported based on current testing.

Currently only limited testing has been done upon ‘alexa mutli room music groups’ ie “everywhere” this may or may not be supported.

Installation flow is subject to change.

Using

  1. After installing, to add a new Device, click + (add) upon the devices tab select “Amazon Alexa Device”.
  2. Likely a popup will open asking for you to log into your amazon alexa account.
  3. You will receive a message stating its now ok to close the popup, and a loading screen will show.
  4. The loading screen may stay for up to a minute, but once completed your alexa devices will be shown.
  5. Click on which devices you would like to add to Homey.

Possible Uses

Possible Uses is hard as there is so much you could do with it. It is all about integrating Alexa into your smart home. (Rather than your smart home into alexa).

  • Anything from Create a flow so that any time homey speaks - it also gets said upon all echo devices, so the entire house can hear it.
  • Through to if it s a weekday before midday and your presence is detected in the bathroom, turn on the light and exhaust fan and play today weather on alexa.
  • After which if when the vibration sensor is triggered on the stairs, play todays news flash briefing.
  • When the contact sensor on the mail box is triggered create a reminder at 7pm that night to all devices “Please check the mail box”.
  • When owntracks presence tracks me leaving the office and its after 5pm and alexa Text to speech say ‘Jamie has left the office, with current traffic he will be home in 50 minutes’ , then play ride of the Valkyries on all devices.
  • When the bedroom light is turned off and everyone is in bed , if a perimeter window is not closed have alexa announce through the spot alarm clock that the ‘house is not secure’.
  • When ever homey speaks, have the same voice repeated across all your amazon enabled devices

For me personally, I have only one Homey where has I have half a dozen alexa devices in most rooms and they can speak, let me know the traffic, weather, news, etc alarms or reminders, announcements or notices, whats on my calendar. And now I can have any of these features with in a flow.

Other

Otherwise everything else is as advertised in the post, hit me up on Slack (@jamie) if you have any questions or issues. Items show in this post (and only this post) are confirmed to work.

Bugs

  • When adding multiple Dot (gen3) the app errors ‘unable to add as device already exists’
  • Clicking stop when weather is being reported will not stop the weather on all devices. ie. Dot (gen2) - works for Echo Plus (gen1)
  • Fire HD10 (gen7) Issues :
    • Announcements are spoken, not announced.
    • Whispering does not work
    • Other voices are not spoken
  • It has been reported that there may been a issue where this app is causing issues with the spoitfy app. (unconfirmed).

Images


6 Likes

Voice Homey over external speakers
Pairing Lightwave MODEL L21
#2

I am currently looking for one tech happy user with multiple Alexa devices - upon the US server and who is able to install an app through the CLI, preferably either a European early bird or a night owl - as I am in Australia.

1 Like

#3

Interesting to say the least. :grin:

0 Likes

Alexa TTS - info from Homey, spoken by Alexa
#4

Are we there yet? :stuck_out_tongue:

0 Likes

#5

Haha oh wow, that must have been creepy :joy:

0 Likes

#6

No so much for me, as I understood the message immediately and what was going on, my wife no so much :stuck_out_tongue:

Im still trying to figure out what caused the delay, (delay makes it a pretty useless app). Ill let you know.

1 Like

#7

If you need any help with testing/TS or similar, I’m game.
I don’t mind getting the random/delayed response while getting things right. :grin:

1 Like

#8

By the way,

This skill is maybe a better option ?

It’s a bridge between the notification api and user input

1 Like

#9

I think what I am doing at the moment is a better solution, but thank you for the link - it also said this

And there’s one more thing you should know. Regardless of what smart home device you use as a trigger event, Amazon limits the Notification API: Trigger events can only create notifications up to five times in a five minute period. After that, Amazon puts you in a bit of a time-out.

Which explains some things.

0 Likes

#10

Or use Node RED: https://flows.nodered.org/node/node-red-contrib-alexa-local?

0 Likes

#11

That (node RED) app only replicates the current behavior we already have …

0 Likes

#12

To be honest, I didn’t looked at it thoroughly. But thought I read somewhere you could use your own texts & of course trigger Homey flows via mqtt (i.s.o devices known by Alexa). But maybe I’m wrong or it was another Node red extension.

0 Likes

#13

How’s it going Jamie?
Extremely eager to hear. :grin:

0 Likes

#14

I pushed at an update to the beta channel of “group” which took a little longer than anticipated, back on this project now. :slight_smile:

5 Likes

#15

Cookie, Device, Text to speech all working, below you can see the work in progress… Ill update with some more images later - but right now It Australia day and I need to get my Aussie On.

Thanks





2 Likes

#16

FANTASTIC!
Where do I donate?!

1 Like

#17

Wow @Jamie!!!

Can you give me examples how this app would work?

Can I use then my dots for speech output? And what else can we do?

I will donate as soon as possible!
Thank you

0 Likes

#18

Hmm Examples, it a hard one because there is so much you could do with it. It is all about integrating Alexa into your smart home. (Rather than your smart home into alexa).

  • Anything from Create a flow so that any time homey speaks - it also gets said upon all echo devices, so the entire house can hear it.

  • through to if it s a weekday before midday and your presence is detected in the bathroom, turn on the light and exhaust fan and play today weather on alexa.

  • After which if when the vibration sensor is triggered on the stairs, play todays news flash briefing.

  • When the contact sensor on the mail box is triggered create a reminder at 7pm that night to all devices “Please check the mail box”.

  • When owntracks presence tracks me leaving the office and its after 5pm and alexa Text to speech say ‘Jamie has left the office, with current traffic he will be home in 50 minutes’ , then play ride of the Valkyries on all devices.

  • When the bedroom light is turned off and everyone is in bed , if a perimeter window is not closed have alexa announce through the spot alarm clock that the ‘house is not secure’.

For me personally, I have only one Homey where has I have half a dozen alexa devices in most rooms and they can speak, let me know the traffic, weather, news, etc alarms or reminders, announcements or notices, whats on my calendar. And now I can have any of these features with in a flow.

4 Likes

#19

Wow! A dream comes true. Yes that is also my setting: one homey and 6 echos.

So that will be the non plus ultra! And all Google Assistant User will be sad.

Really curious about the tease of your app then!

And please set a donation button then.

0 Likes

#20

Marvellous!
When will you publish it, and once again - where do I donate for this “must have”-app? :grin:

1 Like