homebridge-gems-bulb

0.1.1 • Public • Published

homebridge-gems-bulb

A Homebridge plugin to control GEMS Smart LED Light Bulbs. It was created by reverse engineering the bluetooth protocol from the official app.

Installation

homebridge-gems-bulb can be installed through npm.

$ sudo npm install -g homebridge-gems-bulb --unsafe-perm

Configuration

You will first need to find the MAC address of your bulb. Each light will have a unique MAC address and likely a unique name. The bulb must be unpaired from other software or it will not show here.

$ sudo hcitool lescan
...
AA:BB:CC:DD:EE:FF M_lightXYZ
...

Add a new accessory to your config.json using the MAC address you located.

{
    "accessory" : "GemsBulb",
    "name" : "Bulb 1",
    "mac" : "AA:BB:CC:DD:EE:FF"
}

Restart Homebridge for the new bulb to appear in the Home app.

$ sudo systemctl restart homebridge.service

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i homebridge-gems-bulb

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • zackelia