Google Home local API
I just seen a interesting article today about accessing your google home on your local network. Here is a the link to the docs which in turn has a link to a git hub repo.
I did some tests using requests, for the most part it worked. I dont think its too exciting, but at least interesting.
Just thought I would point it out
My simple testing was as below.
import requests # I have Xed out my device IP Address. You can get the IP of the google home device you want # to talk to using the google home app, select the device, then settings. The IP address # is at the bottom _url_base = "http://XXX.XXX.XX.X:8008/" _url = _url_base + "setup/configured_networks" resp = requests.request('GET',_url) print(resp.status_code) print(resp.json())