homebridge-misfit-bolt
Misfit Bolt plugin for Homebridge.
Installation
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-misfit-bolt
- Update your configuration file. See the sample below.
Updating
- npm update -g homebridge-misfit-bolt
Configuration
Configuration sample:
"platforms": [
{
"platform": "MisfitBolt",
"name": "MisfitBolt",
"accessories": [{
"id": "1fd6828fedbd431aa38f48683b1ed92a",
"name": "Bolt",
"disconnectTimeout": 5000
}]
}
]
The module will fetch all your Misfit Bolts listed in platform.accessories
and make them available to HomeBridge / HomeKit / Siri.
Each accessory should have the following properties:
id
:
UUID of your misfit bolt as recognized by your system. On linux, you can find out your UUIDs using the following command:
$ sudo hcitool lescan
LE Scan ...
20:33:8F:8A:FA:AC MFBOLT
will become in your config:
{
"id": "20338f8afaac",
"name": "Bolt"
}
name
:
Name of your Bolt, as you want it to appear in your Homekit supported app.
disconnectTimeout
: (optional, default to 10000)
Time in millisecond after which homebridge will disconnect from the bulb, so that it can be discovered by other BLE enabled devices (useful if you want to keep using the original Misfit Bolt app in parallel of using homebridge).
TODO
Unit tests.