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

v0.0.21

Published

Yeelight plugin for homebridge: https://github.com/nfarina/homebridge

Downloads

29

Readme

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.