"
The Local Home SDK enhances your smart home integration with the Google Assistant by adding a local fulfillment path to route smart home intents.
The SDK lets you write a local fulfillment app, using TypeScript or JavaScript, that contains your smart home business logic. Google Home or Google Nest devices can load and run your app on-device. Your app communicates directly with your existing smart devices over Wi-Fi on a local area network (LAN) to fulfill user commands, over existing protocols.
Integration of the SDK offers performance improvements to your smart home Action, including lower latency and higher reliability. Local fulfillment is supported for all device types and device traits, except those that use two-factor authentication."
It looks like some people are using the google local sdk with home assistant but I can’t find any helpful guide.
I would like to connect my google assistant with Home Assistant to use it for speach control.
But can’t find a guide which would told me to do it without opening HA to the world wide web.
I’m a Nabu Casa subscriber and where I live there’s a great delay between Google and HA, it’s a shame that this really neat implementation has been stale for so long.
It’s also one of the few things not running locally in my house.
I’m afraid it would take to much profit away from Nabu Casa. I’m surprised the community doesn’t join forces to get this working. I’d be willing to help where I can.
Also looking for a way to get local google assistant to avoid exposing home assistant to internet. I have it at least proxied via cloudflare. But with local google assistant I could then switch the access entirely to tailscale or cloudflare access like the rest of my self hosted services.
I see the PR is cancelled due to no activity on it. Anyone managed to find a solution for this ?
I got this to work with minor changes to Home Assistant Core yesterday , now I only need to figure out how to get this into the actual Home Assistant Core code. I figure that is done with a pull request , but this is the first time I have written code for Home Assistant. I also need to clean up my code a bit first as I am hardcoding some setting I saw while ‘debugging’ and I need to figure out where to get the actual values from within HA as I want it to be a matter of only adding a setting in your configuration and uploading some .js files to your google actions setup.
Hopefully I will be able to finish this sometime this week, but we will see
got this to work with minor changes to Home Assistant Core yesterday
Do you happen to have a forked repo with that change you’ve made? I believe it should be pretty straightforward to patch the core with it and perform some tests locally.
Cheers and good luck!
Is this local SDK stuff also possible for nabucasa users?
Edit , if I setup local google assistant instead of nabucasa… What does that mean ? Port forwarding is not needed anymore? Only for setting up / linking first time?
Hmm, I don’t see it firing , how to troubleshoot this? I always see cloud in logbook… Do I need to enable something? All devices are in same local subnet, also discovered by cast