Homebridge SwitchBot OpenAPI
The Homebridge SwitchBot OpenAPI plugin allows you to access your SwitchBot Device(s) from HomeKit with Homebridge.
Installation
- Search for "SwitchBot" on the plugin screen of Homebridge Config UI X
- Click Install
Configuration
- Download SwitchBot App on App Store or Google Play Store
- Register a SwitchBot account and log in into your account
- Generate an Open Token within the App
- Click Bottom Profile Tab
- Click Preference
- Click App version 10 Times, this will enable Developer Options
- Click Developer Options
- Click Copy to Clipboard
- Input your
Token
into the config paramter
Supported Devices
- SwitchBot Humidifier
-
SwitchBot Meter
- SwitchBot Hub Mini or SwitchBot Hub Plus Required
- Enable Cloud Services for Device on SwitchBot App
-
SwitchBot Curtain
- SwitchBot Hub Mini or SwitchBot Hub Plus Required
- Enable Cloud Services for Device on SwitchBot App
-
SwitchBot Bot
- SwitchBot Hub Mini or SwitchBot Hub Plus Required
- Enable Cloud Services for Device on SwitchBot App
- You must set your Bot's Device ID in the Press Mode or Switch Mode Bot Settings (Advanced Settings > Bot Settings)
- Press Mode - Turns on then instantly turn it off
- Switch Mode - Turns on and keep it on until it is turned off
- This can get out of sync, since API doesn't give me a status
- To Correct you must go into the SwitchBot App and correct the status of either
On
orOff