The Google House works with a large choice of good house merchandise, however builders having a look to tinker with it are in most cases out of good fortune. It does not have any more or less public API, so customized capability can in reality handiest be added thru IFTTT (or by means of writing your personal Assistant app). Now there’s a strategy to download some knowledge from a Google House, as one developer has found out an undocumented API that the Google House makes use of.
The developer, who is going by means of rithvikvibhu on Reddit, created an inventory of API calls by means of intercepting community requests from the Google House app. The instructions use easy GET/POST strategies, and go back knowledge in JSON structure. In different phrases, they’re extremely simple to make use of, so long as you understand the IP cope with of the Google House to your community (which may also be discovered on the backside of the ‘Tool settings’ web page at the Google House app).
Acquiring an inventory of remembered Wi-Fi networks with Complicated REST shopper
This API can be utilized to retrieve upcoming alarms, view hooked up Wi-Fi networks/Bluetooth units, and extra. Some settings may also be modified the use of this system, like night time mode, the software title, and whether or not or no longer the Preview Program is used. The API is handiest out there to units operating at the identical community.
I attempted lots of the instructions within the documentation, and maximum of them labored on my Google House and House Mini. The instructions for rebooting the software and converting the Wi-Fi community did not appear to paintings, and the developer states that command is “No longer examined.” I used to be not able to test if those instructions paintings with third-party Assistant audio system, since I do not personal any.
Converting the title of my Google House to “AAAAA” the use of the API
It is price noting that this API does not divulge any personal knowledge, however I do marvel why a few of these instructions do not require any authentication. Worst case situation, a trojan horse operating to your community may exchange the title of your Google House or mess with night time mode.
If you are excited by taking part in with this for your self, you’ll to find the unofficial documentation on the supply hyperlink beneath.