homebridge-switchmate-switch
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Homebridge Plugin for Switchmate Switch

This is a homebridge plugin for Switchmate Switches.

Currently supports:

Installation

Install bluetooth libraries

Ubuntu, Debian, Raspbian
sudo apt install bluetooth bluez libbluetooth-dev libudev-dev

See the document of the @abandonware/noble for other operating systems details.

Install package

sudo npm install -g homebridge-switchmate-switch

You can also install it on the homebridge plugins page.

Configuration

You can configure it using homebridge-config-ui-x or add below to config.json manually

{
    "discoverDelay": 15,
    "devices": [
        {
            "name": "Living Room Switch",
            "id": "CHANGE ME TO YOUR SWITCH MAC ADDRESS WITHOUT COLON"
        }
    ],
    "platform": "SwitchmateSwitch"
}

TODO

  • [ ] add refresh rate to config

Known Issue

TypeError: Cannot set property 'mtu' of undefined

See abandonware/noble#164

Package Sidebar

Install

npm i homebridge-switchmate-switch

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

91.3 kB

Total Files

24

Last publish

Collaborators

  • fisherwise