1. Before you begin
As an Internet of Things (IoT) developer, you can build Cloud-to-cloud integrations that give your users the ability to control their devices through touch controls in the Google Home app and voice commands with the Google Assistant.

Learning the debugging tools for Cloud-to-cloud integrations is an important step to build production quality integration with Google Assistant. To facilitate easy monitoring and debugging, Google Cloud Platform (GCP) Metrics and Logging and Test Suite for smart home are available to help you identify and resolve issues for your integrations.
Prerequisites
- Read Create a Cloud-to-cloud integration developer guide
- Run Connect smart home devices to the Google Assistant codelab
What you'll build
In this codelab, you'll deploy a Cloud-to-cloud integration with 2 defects and connect it to the Assistant, then debug the integration's defects by Test Suite for smart home & Google Cloud Platform (GCP) Metrics and Logging.
What you'll learn
- How to use GCP Metrics and Logging to identify and resolve production issues
- How to use Test Suite for smart home to identify functional and API issues
What you'll need
- A web browser, such as Google Chrome
- An iOS or Android device with the Google Home app installed
- Node.js version 24 or later
- A Google Cloud billing account
2. Run the faulty app
Get the source code
Click the following link to download the sample for this codelab on your development machine:
...or you can clone the GitHub repository from the command line:
$ git clone https://github.com/google-home/smarthome-debug.git
About the project
The washer app contains the following subdirectories:
public: A frontend UI to easily control and monitor the state of the smart washer.functions: A fully implemented cloud service that manages the smart washer with Cloud Functions for Firebase and Firebase Realtime Database