Open claell opened 6 years ago
@andrenatal Have you looked at this by any chance? How feasible is it to have Google Assistant call the gateway's API?
Also briefly discussed here: https://discourse.mozilla.org/t/is-google-assistant-support-in-consideration/25264
@benfrancis Seems the same backend and technology we'll build for Alexa can be reused for Google Home. Let me start doing it and I'll let you guys know.
If we want to go the decentralized route, I've found some other examples from openHAB and Home Assistant. Both give users instructions on how to set up their own Google cloud endpoint.
Interesting. Requiring users to manually set up their own cloud endpoint is obviously not going to be user friendly enough outside the hacker and maker community.
What is the fundamental requirement that requires hosting a cloud service somewhere? Is it that the Google Home Graph can only be hosted on Google infrastructure? What is the technical constraint which prevents a single Google Action talking to multiple gateways?
The primary issue is that you have to have a single endpoint for the skill/action to authenticate against via OAuth. For us, that means running a separate cloud service that either proxies connections or somehow redirects to the user’s gateway. That is, unless @hobinjk found a way around that.
Home Assistant emulates Hue device, i would stick to that, and thats actually how Amazon Echo wires to my current home assistant setup..
If we want to go the decentralized route, I've found some other examples from openHAB and Home Assistant. Both give users instructions on how to set up their own Google cloud endpoint. https://github.com/openhab/openhab-google-assistant
Those instructions are somewhat misleading. What most of the OpenHab users do (including myself) is to enable the free eclipse foundation supported cloud endpoint for a local openhab : https://www.myopenhab.org/
Which pretty much is just always there in the cloud as an endpoint for google home and then proxy the requests to your local openhab that is connected to it too (so no need of open ports).
Maybe the newly announced Local Home SDK for the Google Assistant is a possibility as soon as it is publicly available.
Looks like the Local Home SDK is now publicly available. Has anyone played with it yet?
In the long run integration with Google Home/Assistant would be nice.