An open API service indexing awesome lists of open source software.

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.

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).