homebridge-switchbot-plus
v0.2.1
Published
A [Homebridge](https://github.com/nfarina/homebridge) plugin for [SwitchBot](https://www.switch-bot.com).
Downloads
5
Readme
homebridge-switchbot-plus
A Homebridge plugin for SwitchBot.
Requirements
- Currently only Linux is supported
gatttool
needs to be installed
Installation
Install the npm package:
sudo npm install -g homebridge-switchbot
Find your SwitchBot's MAC address (BLE MAC) with the official iOS/Android app, and add an accessory definition to ~/.homebridge/config.json
:
{
"accessories": [
{
"accessory": "SwitchBot",
"name": "Wall Switch",
"macAddress": "01:23:45:67:89:AB",
"stateLess": true // Default to false
}
]
}
You can change the accessory type to light or fan in the Home app: