https://github.com/offirgolan/homebridge-switchbot-button-presser
Homebridge plugin for the SwitchBot Button Presser
https://github.com/offirgolan/homebridge-switchbot-button-presser
homebridge switchbot
Last synced: about 1 year ago
JSON representation
Homebridge plugin for the SwitchBot Button Presser
- Host: GitHub
- URL: https://github.com/offirgolan/homebridge-switchbot-button-presser
- Owner: offirgolan
- License: isc
- Created: 2020-05-20T18:43:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T19:24:00.000Z (over 3 years ago)
- Last Synced: 2025-04-23T17:03:41.618Z (about 1 year ago)
- Topics: homebridge, switchbot
- Language: TypeScript
- Homepage:
- Size: 48.8 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Homebridge SwitchBot Button Presser
A [Homebridge](https://github.com/nfarina/homebridge) plugin for [SwitchBot Button Presser](https://www.switch-bot.com/bot).
## Requirements
- Currently only Linux is supported
- `gatttool` needs to be installed
## Installation
Install the npm package:
```bash
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`:
```json
{
"accessories": [
{
"accessory": "SwitchBotButtonPresser",
"name": "Coffee Machine",
"macAddress": "01:23:45:67:89:AB",
"stateful": false
}
]
}
```