An open API service indexing awesome lists of open source software.

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

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
}
]
}
```