homebridge-gsh
v4.2.0
Published
Google Smart Home
Readme
Homebridge to Google Smart Home
Control your supported Homebridge accessories from any Google Home speaker or the Google Home mobile app. Inspired by homebridge-alexa.
- Supported Device Types
- Installation Instructions
- Configuration
- Known Issues
- Troubleshooting
- Credits
- License
- Sponsors
Supported Device Types
- Switch
- Outlet
- Light Bulb
- On / Off
- Brightness
- Color (Hue/Saturation)
- Fan / Fan v2
- On / Off
- Fan Speed (percentage and named speeds, see Fan Voice Commands)
- Reverse (when the fan supports Rotation Direction)
- Window
- Window Coverings
- Door
- Doorbell Notifications
- Note: Doorbells are supported for notifications only. When the doorbell is pressed, Google Home speakers announce that someone is at the door. There is no video streaming, and voice notifications for the doorbell must be enabled in the Google Home app.
- Garage Door (2FA required)
- Thermostat / Heater Cooler
- Television (On / Off)
- Lock Mechanism (2FA required)
- Security System (2FA required)
- Temperature Sensor
- Humidity Sensor
Note: Google Smart Home does not currently support all "sensor" devices such as Motion Sensors or Occupancy Sensors etc.
Subscription Required
As of May 2025, homebridge-gsh requires a subscription to operate. This change supports the maintenance of the secure cloud infrastructure that enables integration with Google Smart Home. New users will receive a 7-day free trial. Existing users will be gradually enrolled starting in mid June 2025.
For more details on pricing, enrollment, and frequently asked questions, please visit the Subscription Service wiki page.
Installation Instructions
Option 1: Install via Homebridge Config UI X:
Search for "Google Home" in homebridge-config-ui-x and install homebridge-gsh.
Option 2: Manually Install:
sudo npm install -g homebridge-gshConfiguration
To configure homebridge-gsh you must also be running homebridge-config-ui-x.
- Navigate to the Plugins page in homebridge-config-ui-x.
- Click the Settings button for the Google Smart Home plugin.
- Click the Link Account button.
- Sign in with your Google or GitHub account.
- Your account is now linked.
- Restart Homebridge for the changes to take effect.
- Add the Homebridge Action using the Google Home mobile app. See Wiki for detailed instructions.

Enabling Accessory Control
Homebridge must be running in insecure mode to allow accessory control via this plugin. See Enabling Accessory Control for instructions.
Multiple Homebridge Instances
This plugin must only be configured on one Homebridge instance on your network as the plugin will discover all your other Homebridge instances and be able to control them. For this to work:
- all instances must be running in insecure mode
- all instances must have the same PIN defined in the
config.json
Fan Voice Commands
Fans that expose a Rotation Speed characteristic can be controlled by percentage or by named speed. Every fan answers to "low", "medium" and "high". How they map depends on the Rotation Speed minStep:
| Fan reports | Named speeds | low | medium | high |
|---|---|---|---|---|
| minStep of 1 or none (continuous) | low, medium, high | 33% | 66% | 100% |
| 2 steps (e.g. minStep 50) | low, high | step 1 | step 2 | step 2 |
| 3 steps (e.g. minStep 33.33) | low, medium, high | step 1 | step 2 | step 3 |
| 4 to 10 steps (e.g. minStep 16.67 for a 6-speed fan) | speed 1 … speed N | speed 1 | middle speed, rounded up (e.g. speed 3 of 6) | speed N |
Example commands, using a fan named "Bedroom Fan":
- "Hey Google, turn on / turn off Bedroom Fan"
- "Hey Google, set Bedroom Fan to low / medium / high"
- "Hey Google, set Bedroom Fan to speed 2" (also "level 2")
- "Hey Google, set Bedroom Fan to 40 percent"
- "Hey Google, what speed is Bedroom Fan on?"
- "Hey Google, reverse Bedroom Fan" (only if the fan supports Rotation Direction)
Notes:
- Use "turn off" to stop the fan. Off is handled by On / Off, not as a named speed.
- "Increase / decrease fan speed" is not supported yet.
- Named speeds are English only. After updating, say "Hey Google, sync my devices" so Google picks up the new speeds.
Known Issues
- Only one Homebridge instance can be linked to an account (even across different local networks). You will experience unintended results if you try and link more than one instance to the same account.
- Doorbells show no controls or status on home.google.com, and the Google Home iPhone app may list the doorbell as "Offline". This is a limitation of how Google Home displays doorbells without a camera; doorbell announcements still work.
Troubleshooting
1. Errors during installation
Make sure you installed the package with sudo flag. Most installation errors can be fixed by removing the plugin and reinstalling:
# cleanup
sudo npm uninstall -g homebridge-gsh
# reinstall
sudo npm install -g homebridge-gsh2. Cannot control accessories
See Enabling Accessory Control and Multiple Homebridge Instances.
3. Ask on Discord
Join the Official Homebridge Discord community and ask in the #homebridge-gsh channel.
Contributing
Please see CONTRIBUTING.md.
Credits
- NorthernMan54 - developer of the Hap-Node-Client module which is used by this plugin.
License
Copyright (C) 2025 Homebridge
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
