0.2.1 • Published 4 years ago

homebridge-switchbot-plus v0.2.1

Weekly downloads
5
License
MIT
Repository
-
Last release
4 years ago

homebridge-switchbot-plus

A Homebridge plugin for SwitchBot.

Requirements

  • Currently only Linux is supported
  • gatttool needs to be installed

Installation

Install the npm package:

sudo npm install -g homebridge-switchbot

Find your SwitchBot's MAC address (BLE MAC) with the official iOS/Android app, and add an accessory definition to ~/.homebridge/config.json:

{
    "accessories": [
        {
            "accessory": "SwitchBot",
            "name": "Wall Switch",
            "macAddress": "01:23:45:67:89:AB",
            "stateLess": true // Default to false
        }
    ]
}

You can change the accessory type to light or fan in the Home app: