0.1.1 • Published 4 years ago

homebridge-switchbot-button-presser v0.1.1

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

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