The Google Home has a hidden API that local devices can use

The Google Home has a hidden API that local devices can use

The Google Home works with a massive number of smart home products, but developers looking to tinker with it are usually out of luck. It doesn't have any kind of public API, so custom functionality can really only be added through IFTTT (or by writing your own Assistant app). Now there is a way to obtain some data from a Google Home, as one developer has discovered an undocumented API that the Google Home uses.

The developer, who goes by rithvikvibhu on Reddit, created a list of API calls by intercepting network requests from the Google Home app. The commands use simple GET/POST methods, and return data in JSON format. In other words, they are incredibly easy to use, as long as you know the IP address of the Google Home on your network (which can be found at the bottom of the 'Device settings' page on the Google Home app).

This API can be used to retrieve upcoming alarms, view connected Wi-Fi networks/Bluetooth devices, and more. Some settings can be changed using this method, like night mode, the device name, and whether or not the Preview Program is used. The API is only accessible to devices running on the same network.

See http://bit.ly/2mJs3W2




from Danie van der Merwe - Google+ Posts http://ift.tt/2EOtYzG
via IFTTT

Comments