Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Same Functions as Alexa Adapter #51

Open
siggi85 opened this issue Feb 10, 2019 · 5 comments
Open

Request: Same Functions as Alexa Adapter #51

siggi85 opened this issue Feb 10, 2019 · 5 comments

Comments

@siggi85
Copy link

siggi85 commented Feb 10, 2019

I would love to have the same functionality as the alexa adapter like:

  • all history functions
    --> last spoken command, status of last command, which speaker was activated and so on
  • starting routines and devices

I think when iot Adapter is google home ready many people would need something like this. :)

@angelnu
Copy link
Collaborator

angelnu commented Feb 10, 2019

The Google home speakers have two personalities: either the traditional anonim streaming player that anyone in the network can use without logging and the Assistent Mode which is similar to Alexa. Currently this adapter implements the first. So the second node would need to be added.

I quickly checked what node.is libraries are available for the Assistent Mode and I found a few that look promising but they seem to focus mainly in "conversing" with the adapter sending free text. I would like to be able to discover devices, activities or history as you suggest. I will have to keep searching...

I would see what can be quickly added and what would take more work. This would have been a good Christmas project so maybe would have to wait until the next vacations/ free weekend.

If anyone would like to recommend base libraries for the suggested functionality it would help me greatly.

@siggi85
Copy link
Author

siggi85 commented Jul 28, 2019

Now that the Google iot Connection works and will be expanded the next week's and months, is it possible to priorities this feature request? 😊

@siggi85
Copy link
Author

siggi85 commented Oct 3, 2019

Any news? Would still love this functions. :)

@eric1905
Copy link

I would also like to have this. Would be great to implement this

@angelnu
Copy link
Collaborator

angelnu commented Jan 28, 2020

I have been exploring the options for this (looking at what is being done in Home Assistant):

  1. sending commands is implemented with 2 adapters: one converts the text to voice and then another sends to the chromecast -> this is what we do in IOBroker with the Sayit+Chromecast adapters.
  2. there is an SDK that allows to span a virtual home assistant instance. There is a docker container I tested that exposes a REST API to send commands (same as we do by typing in the assistant in our Android phones). This does not allow to send an announcement to just a single adapter but to all (broadcast message).

If we want to have option 2 we can just call the REST APIs of the existing docker container. Alternative would be to deploy the library directly in a new adapter. This would not be an extension to this adapter.

For me is enough to the docker container since in run in Kubernetes anyway so I can help in creating a dedicated adapter but not feeling like driving the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants