当前位置: 首页 > 软件库 > 其他开源 > 物联网 >

homebridge-nubli

授权协议 MIT License
开发语言 JavaScript
所属分类 其他开源、 物联网
软件类型 开源软件
地区 不详
投 递 者 龚跃
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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 withyour 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.

 相关资料
  • Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。

  • homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support

  • homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A

  • homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r

  • Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg

  • Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r