npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-bold-ble

v1.2.0

Published

Homebridge plugin for Bold Smart Lock

Downloads

7

Readme

verified-by-homebridge Downloads Version Issues Pull requests

Homebridge Bold BLE

Homebridge Bold BLE is a Homebridge plugin to provide HomeKit support for Bold Smart Cylinder locks. This plugin is similar to the great homebridge-bold plugin, but instead controls your smart locks through a direct Bluetooth (BLE) connection.

Some key features / differences:

  • Instead of using remote activation through Bold's API server, Homebridge Bold BLE connects directly to your smart lock to control it.
  • This means that for this plugin no Bold Connect hub is required! You can even use HomeKit to perform remote activation for your locks, provided you have a device acting as a home hub (e.g. Apple TV or HomePod).
  • Your Homebridge device (e.g. Raspberry Pi running Homebridge) needs to be within Bluetooth range of the Bold locks you wish to control.
  • No internet connection is required at the moment of unlocking. This also makes the unlock a bit quicker, since it avoids a roundtrip to the Bold API when unlocking.
  • This plugin is not completely offline, though: it still has to pull fresh keys from the Bold API every 3-4 days. This is done automatically in the background to make sure an unlock request through HomeKit can always be handled quickly and offline.
  • Bold locks in your account / that you have access to are automatically added. However, only Bold locks that are actually within Bluetooth range are exposed to HomeKit.

Installation

To install Homebridge Bold BLE:

  • Follow the instructions on the Homebridge Wiki to install Node.js and Homebridge.
  • Depending on your OS, you might need to install a few Bluetooth-related packages; however, for the official Homebridge Raspberry Pi image, the plugin works out of the box without any additional packages.
  • Install the Homebridge Bold BLE plugin through Homebridge Config UI X or manually by:
    sudo npm install --global homebridge-bold-ble
  • Run through the login flow within Homebridge Config UI X (recommended!) or see Configuration for other options.

Configuration

It is recommended to use Homebridge Config UI X to configure the plugin. A login flow is provided to obtain the required access tokens.

Alternatively, you can manually configure the plugin with tokens you've obtained in a different way.

The configuration is identical to the homebridge-bold plugin, so please see its configuration documentation for more info. Just make sure to use "BoldBLE" instead of "Bold" for the platform property.

There are 3 ways to authenticate:

  • Default authentication using @StefanNienhuis's hosted authentication server.
  • Default authentication with your own hosted authentication server; requires your own OAuth client ID and secret from Bold.
  • Legacy authentication; not recommended: it will sign you out of your Bold app, because it supports only 1 active session.

For simplicity, the login flow provided with this plugin only performs the first, recommended way. For the alternative ways, you could: install homebridge-bold, go through the desired authentication flow, and finally copy the resulting tokens into your Homebridge Bold BLE configuration.

Authors

Credits

Thanks to @StefanNienhuis for creating the original homebridge-bold plugin and hosting the authentication server that this plugin uses.

If you're considering buying a Bold Smart Lock, get a 10% discount and support @StefanNienhuis by using the referral code: STENIE1.

License

Homebridge Bold BLE is published under the MIT License.