home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.46k stars 30.69k forks source link

Implement all Alexa APIs #24579

Open balloob opened 5 years ago

balloob commented 5 years ago

This is a catch all issue to track Alexa Capability Interfaces.

Smart Home

Video

Cooking

Networking

Control network access via voice with supported integrations such as Unifi

Conferencing

Not relevant. Is for Alexa meeting devices.

Meetings

Not relevant. Is for Alexa meeting devices.

stale[bot] commented 5 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment đź‘Ť This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

awarecan commented 5 years ago

It is still relevant, reopen it.

imduffy15 commented 3 years ago

Hi @ochlocracy and @balloob

I'm interested in implementing "Alexa.Launcher" and "Alexa.RemoteVideoPlayer" for androidtv media player devices.

The "Alexa.Launcher" one looks straight forward, pretty much the same as the sources input but it picks from all apps rather than the filtered list of alexa inputs. Would need to do fuzzy matching on name or maintain mapping of amazon app id to android app id https://developer.amazon.com/en-US/docs/alexa/video/launch-target-reference.html

The "Alexa.RemoteVideoPlayer" is a little bit more complex. Ideally the user could set a priority ordered list of all streaming services they have and based on a "Watch " it uses the highest priority streaming service to play the content. The issue here is amazon only provide the imdb ID unless you're an alexa partner (then you get a bunch more). On the plus side, I've learned the folks over at strem.io have an API that converts imdb IDs to a bunch of different services for example https://watchhub.strem.io/stream/movie/tt0251127.json or tv https://watchhub.strem.io/stream/movie/tt4786824%3A1%3A4.json where the last two values in that url are episode 1 season 1 not that they matter.

Along with the comments above, from what I've gathered, its necessary to mark the skill as a video still in the alexa developer console before a TV will get picked up correctly.

I have hacked together a very basic proof of concept https://twitter.com/imduffy15/status/1328074452140232704 the implementation behind this is crappy. Would love to have some discussion on how you would like to go about designing this, I was thinking of maybe introducing a service on the androidtv media players of something like "watch imdb id media" and adding the additional configuration there to do the priority list of streaming services.

jpreiditsch commented 3 years ago

I haven’t been able to get my Garage Door to actually be controlled by Alexa. It shows up but doesn’t have open close options. Could it be this.

GARAGE_DOOR A garage door. Garage doors must implement the ModeController interface to open and close the door.
teahsea commented 3 years ago

Hi i am interested to work on this issue

robsonfelix commented 7 months ago

Is there any idea as to when devices will be published to Alexa with their corresponding areas as "groups"?