2.2.0 • Published 2 years ago

homebridge-gsh v2.2.0

Weekly downloads
465
License
GPL-3.0
Repository
github
Last release
2 years ago

Homebridge to Google Smart Home

npm npm Donate

Control your supported Homebridge accessories from any Google Home speaker or the Google Home mobile app. Inspired by homebridge-alexa.

Supported Device Types

  • Switch
  • Outlet
  • Light Bulb
    • On / Off
    • Brightness
    • Color (Hue/Saturation)
  • Fan (On / Off)
  • Fan v2 (On / Off)
  • Window
  • Window Coverings
  • Door
  • Garage Door
  • Thermostat
  • Television (On / Off)
  • Lock Mechanism (2FA support)

Note: Google Smart Home does not currently support "sensor" devices such as Temperature Sensors, Motion Sensors, Occupancy Sensors etc.

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-gsh

Configuration

To configure homebridge-gsh you must also be running homebridge-config-ui-x.

  1. Navigate to the Plugins page in homebridge-config-ui-x.
  2. Click the Settings button for the Google Smart Home plugin.
  3. Click the Link Account button.
  4. Sign in with your Google or GitHub account.
  5. Your account is now linked.
  6. Restart Homebridge for the changes to take effect.
  7. Add the Homebridge Action using the Google Home mobile app. See Wiki for detailed instructions.

homebridge-gsh-signup

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

Known Issues

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

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-gsh

2. Cannot control accessories

See Enabling Accessory Control and Multiple Homebridge Instances.

3. Ask on Slack

Slack Status

Join the Homebridge Slack chat and ask in the #hap-google-smart-home channel.

Contributing

Please see CONTRIBUTING.md.

Credits

License

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.

Sponsors

2.2.1-test.1

2 years ago

2.2.0

2 years ago

2.1.0-test.3

3 years ago

2.1.0

3 years ago

2.1.0-test.2

3 years ago

2.1.0-test.1

3 years ago

2.0.1

3 years ago

2.0.0

4 years ago

2.0.0-test.1

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.6.0-test.0

4 years ago

1.5.0

4 years ago

1.4.2

4 years ago

1.4.2-test.1

4 years ago

1.4.1

4 years ago

1.4.1-beta.1

4 years ago

1.4.0

4 years ago

1.4.0-test.1

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.2.0-test.1

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.2-beta.1

4 years ago

1.1.1

4 years ago

1.1.1-beta.2

4 years ago

1.1.1-beta.1

4 years ago

1.1.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago