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-nubli

v1.0.2

Published

Platform plugin to manage Nuki Smart Locks via Bluetooth

Downloads

11

Readme

homebridge-nubli

Homebridge platform plugin to manage Nuki Smart Locks via Bluetooth

NPM

Features

  • Lock / Unlock / Unlatch Door
  • Status of Door Sensor
  • Battery Status

Advantages to Nuki's HomeKit implementation

Nuki's HomeKit implementation only allows to Lock and Unlock the door. homebridge-nubli exposes two Locks to HomeKit. One that lets you lock and unlock the door (door won't open) and another that lets you unlatch the door. It also shows whether the door is open via the integrated door sensor. This enables you to use HomeKit automations without opening the door, like unlocking the door in the morning and locking it again in the evening.

Examples (States of the two HomeKit locks)

  • Door Locked: Locked/Locked
  • Door Unlocked: Unlocked/Locked
  • Door Open: Unlocked/Unlocked
  • Door Locked but Open: Locked/Unlocked

You can use both HomeKit integrations at the same time, although homebridge-nubli provides the same functionality as the official HomeKit integration (and even more).

Setup / Installation

  1. Install Homebridge
  2. npm install homebridge-nubli --save
  3. Pair your Smart Lock with Nubli
  4. Edit config.json and configure accessory. See Configuration section.
  5. Start Homebridge
  6. Star the repository ;)

Pairing

  1. To pair your Smart Lock run the following command in your shell (inside the Homebridge directory):
    node node_modules/nubli/examples/pair.js

Note: The Smart Lock must be in pairing mode (Press the Button on the Lock until the ring is fully illuminated).

  1. Create a new nubliConfig folder inside your homebridge folder and copy the node_modules/nubli/config/*.json files to nubliConfig.
    mkdir nubliConfig
    cp node_modules/nubli/config/*.json ./nubliConfig

Configuration

To configure the plugin add the following to the platform section in config.json.

{
    "platform": "Nubli",
    "configPath": "/path/to/homebridge/nubliConfig/",
    "debug": false,
    "locks": [
        {
            "name": "Entrance Lock",
            "uuid": "UUID of the Smart Lock"
        }
    ]
}

The UUID is the file name (without extension) of the Nubli configuration. You can find them with:

    ls -l /path/to/homebridge/nubliConfig

Help

If you have any questions or help please open an issue on the GitHub project page.

Contributing

Pull requests are always welcome. If you have a device that is not supported yet please open an issue or open a pull request with your modifications.

License

The project is subject to the MIT license unless otherwise noted. A copy can be found in the root directory of the project LICENSE.