Homebridge plugin for the SwitchBot Button Presser
ISC License
A Homebridge plugin for SwitchBot Button Presser.
gatttool
needs to be installedInstall the npm package:
sudo npm install -g homebridge-switchbot-button-presser
Find your SwitchBot's MAC address (BLE MAC) with the official iOS/Android app, and add an accessory definition via the plugin options or manually in ~/.homebridge/config.json
:
{
"accessories": [
{
"accessory": "SwitchBotButtonPresser",
"name": "Coffee Machine",
"macAddress": "01:23:45:67:89:AB",
"stateful": false
}
]
}