1.2.0 • Published 3 years ago
homebridge-switchmate-switch v1.2.0
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