Skip to content

yujinakayama/homebridge-switchbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-switchbot

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

Currently only SwitchBot's light switch mode (stateful switch with push/pull) is supported.

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

About

Homebridge plugin for SwitchBot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published