homebridge-beewi

0.0.2 • Public • Published

homebridge-beewi

This is a plugin for Homebridge to enable the control of a beewi light bulb over BLE.

You will need NodeJS version 8.6 (or superior) and have Noble installed : https://www.npmjs.com/package/@abandonware/noble. Check if Noble is working correctly before you start to install this plugin. Noble has a strong system dependencie to bluetooth layer and requires the installation of bluetooth system libraries first.

Installation

Install homebridge-beewi using npm :

npm install homebridge-beewi

Configuration

Add the Bluetooth address of each lightbulb required as a separate accessory in the Homebridge config.json file:

  "accessories"[
    {
      "accessory": "BeeWiBulb",
      "name": "Main Bedroom Light",
      "address": "ff:ee:dd:cc:bb:aa"
    }
  ]
 

You can find the address by checking the log output of homebridge :

Homebridge is running on port 51826.
[BeeWi light] Starting BLE scan
[BeeWi light] Discovered: 5992f6c8406b
[BeeWi light] adress not matching
[BeeWi light] Discovered: c4be84e094d4
[BeeWi light] adress not matching
[BeeWi light] Discovered: 5b2d0489329c

This code is based on homebridge-superlights : See Homebridge-superlights

Changelog

0.0.2 Changed dependencie to @abandonware/noble fork. Noble initial github project seems to have stopped.

0.0.1 Initial version and npm package

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i homebridge-beewi

    Weekly Downloads

    0

    Version

    0.0.2

    License

    none

    Unpacked Size

    17.2 kB

    Total Files

    3

    Last publish

    Collaborators

    • giswa