Google home local api

This GitHub account holds a bunch of url calls that can be made in the local network to a Google home that will them return a json payload.

This could be a pretty handy way to set or get a bunch of info directly from your Google home devices.

https://rithvikvibhu.github.io/GHLocalApi/

2 Likes

I saw this yesterday and I was hoping that it might make it possible to get Google Home working with HA without opening ports to the internet.

It doesn’t look like it is that type of API. For commands from google assistant to reach your HA you still need open port.

I think this is more for getting / setting some local variables on a single Google Home. It might be nice to be able to read alarms from your home and then have automations based on when they go off, or set the volume level based / night mode based on other sensor data.

1 Like

Hey, docs author here. There are some pretty interesting use cases in the original thread comments here https://www.reddit.com/r/googlehome/comments/7qssr6/i_documented_ghs_local_api_by_sniffing_network/

I think home-assistant can be used for this.