Home Developer Samples 是示例应用和代码,旨在说明如何在 Google Home 生态系统中实现常用功能。您还可以参考这些模板来开发自己的应用。

过滤条件

选择产品
选择语言

此示例是一个 Android 应用,展示了使用 Home API 进行设备访问和控制的基本功能。

  • Home API
  • Google Home
  • Android
  • Kotlin

此示例是一个类似于 Google Home 的 Android 应用。

  • Matter
  • Android
  • Kotlin

此示例应用展示了如何在 Android 设备上的摄像头取景器中显示符合 Matter 要求的二维码时开始委托 Matter 设备。

  • Matter
  • Android
  • Kotlin

A fully-functioning web application to control Nest cameras, doorbells, and thermostats.

  • 设备相关权限
  • Firebase
  • HTML
  • JavaScript

A sample that illustrates how to integrate Stackdriver with your smart home service in order to process errors when your service sends an invalid response to the Google Assistant.

  • 云到云
  • Firebase
  • HTML
  • JavaScript

A reference Web Sender sample app to be used as the starting point for your Web Sender app.

  • Cast
  • Web
  • HTML
  • JavaScript

A sample audio media app that works across multiple form factors and provides a consistent user experience for Cast and other Android devices such as Auto and Wear.

  • Cast
  • Android
  • Kotlin

A sample that demonstrates how to use the Local Home SDK to add a local path to handle smart home intents.

  • 云到云
  • Firebase
  • TypeScript
  • Home Graph API

A fully-functioning Node.js example of a Smart Home provider cloud service.

  • 云到云
  • TypeScript
  • Home Graph API