homebridge-switchbot-button-presser
v0.1.1
Published
Homebridge integration for the SwitchBot Button Presser
Downloads
8
Readme
Homebridge SwitchBot Button Presser
A Homebridge plugin for SwitchBot Button Presser.
Requirements
- Currently only Linux is supported
gatttool
needs to be installed
Installation
Install 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
}
]
}