Skip to content

google-home/google-home-api-sample-app-android

Repository files navigation

Google Home API - Android Sample App

Google Home APIs allow developers to integrate with Google Home Ecosystem through mobile applications.

For more info: https://developers.home.google.com/apis

Features

  • Permission API: Authenticate your application seamlessly through Authentication API, which provides a set of standardized screens and functions to request access to structures and devices.

  • Device API: Retrieve states of smart home devices on a structure, modify attributes, and issue commands.

  • Structure API: Retrieve the representational graph for a structure, with rooms and assigned devices.

  • Commissioning API: Add new matter devices to Google Home Ecosystem.

  • Automation API: Create and schedule household routines that trigger device commands based on defined triggers and conditions.

  • Discovery API: Retrieve a list of automations that can be created on a structure given the set of devices.

Google Home API Knowledge Base

This project includes tools/google-home-api-knowledge-base.txt, a "source of truth" file with detailed API specs and code examples. Providing this file as context to an LLM (like Gemini) allows it to act as a "cheat sheet" and answer your specific Google Home API questions with greater precision. This is highly recommended for use with Gemini in Android Studio but also works with other LLMs (like the Gemini web UI).

About

A sample app that showcases the basic capabilities of the Google Home APIs.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages