https://github.com/google-home/google-home-api-sample-app-android
A sample app that showcases the basic capabilities of the Google Home APIs.
https://github.com/google-home/google-home-api-sample-app-android
automation google home kotlin
Last synced: 2 months ago
JSON representation
A sample app that showcases the basic capabilities of the Google Home APIs.
- Host: GitHub
- URL: https://github.com/google-home/google-home-api-sample-app-android
- Owner: google-home
- License: apache-2.0
- Created: 2025-01-02T20:32:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-22T20:28:19.000Z (6 months ago)
- Last Synced: 2025-12-24T09:50:41.471Z (6 months ago)
- Topics: automation, google, home, kotlin
- Language: Kotlin
- Homepage: https://developers.home.google.com/apis/android/sample-app/build
- Size: 854 KB
- Stars: 22
- Watchers: 4
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: Contributing.md
- License: LICENSE
Awesome Lists containing this project
README
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).