Giter Club home page Giter Club logo

homebridge_yeelight's Introduction

homebridge-yeelight

npm version

Yeelight plugin for HomeBridge

This repository contains the Yeelight plugin for homebridge.

Yeelight is a smart lighting company that makes WiFi and BLE bulbs and lamps.

Installation

  1. Install HomeBridge, please follow it's README. If you are using Raspberry Pi, please read Running-HomeBridge-on-a-Raspberry-Pi.
  2. Make sure you can see HomeBridge in your iOS devices, if not, please go back to step 1.
  3. Download homebridge-yeelight to your local folder.

Configuration

  1. Enable developer mode of your Yeelight bulb, Yeelight Strip or Yeelight Ceiling lamp.

Run it

  1. From source code

     $ cd /path/to/homebridge-yeelight
     $ DEBUG=* homebridge -D -P .
    
  2. As homebridge plugin

     $ npm install -g homebridge-yeelight
     $ homebridge
    

About Yeelight bedside lamp (BLE device)

BLE device can only be supported by Raspberry Pi 3. If you want to make Yeelight bedside lamp work with other hardware running homebridge, please try to install a bluetooth dongle and make sure it's working properly. Following is the procedure for Pi 3 users:

  1. sudo apt-get install libbluetooth-dev

  2. sudo npm install -g noble

  3. sudo apt-get install libcap2-bin

  4. Run following command:

sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
  1. update homebridge-yeelight to latest version and restart homebridge service.

  2. When you connect your bedside lamp for 1st time, remember to press the Mode button after your see the breathing effect. This is to authorize your Pi to access bedside lamp's services.

homebridge_yeelight's People

Contributors

vvpossible avatar marcocanc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.