Homey Community Forum

[Alpha : 1.0.7] 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*

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

Versions

In development

Status

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

Notes

Please note that this app now only supports v2.

While the code is currently ‘feature’ complete, it is not locked down, this means settings, capabilities, devices are subject to change. ie - Its not stable.

Currently the code has only been tested upon the US server, But I have no reason to believe other servers will not work once the additional code is written.

Currently the code has test primary using en_US it has not been tested upon any other language - but has had a small amount of testing upon a en_AU device (linked to a US account). I have no reason at this stage to think other languages will not work once the additional code is written.

Currently it has only been tested upon a limited amount of devices, as each device has different “alexa capabilities” these devices will be the first released until further testing can occur. They are : Echo Plus (Gen1), Echo Dot (Gen2), Echo (Gen2), Ecobee (v4), Fire Tablet (v10) and Fire TV (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.

Changing the device volume, may be removed.

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’. – tested and working

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

TBA

Images



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.


#3

Interesting to say the least. :grin:


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

Are we there yet? :stuck_out_tongue:


#5

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


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


#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:


#8

By the way,

This skill is maybe a better option ?

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


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


#10

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


#11

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


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


#13

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


#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:


#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






#16

FANTASTIC!
Where do I donate?!


#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


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


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


#20

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