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
- Switch
- Outlet
- Air Purifier
- Light Bulb
- On / Off
- Brightness
- Color (Hue/Saturation)
- Fan (On / Off)
- Fan v2 (On / Off)
- Window
- Window Coverings
- Door
- 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.
As this is a fork it needs to be manually installed
clone repo
git clone https://github.com/ewandank/homebridge-gsh-air-purifier/
install depenedecies
npm install
Build plugin
npm run build:plugin
In the plugin built directory:
npm link
In the homebridge directory
npm link homebridge-gsh
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.
Homebridge must be running in insecure mode to allow accessory control via this plugin. See Enabling Accessory Control for instructions.
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
- 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.
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-gsh
See Enabling Accessory Control and Multiple Homebridge Instances.
Join the Official Homebridge Discord community and ask in the #homebridge-gsh channel.
Please see CONTRIBUTING.md.
- NorthernMan54 - developer of the Hap-Node-Client module which is used by this plugin.
Copyright (C) 2019 oznu
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.