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 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-twinkly

v0.4.1

Published

Homebridge plugin for Twinkly christmas lights

Readme

homebridge-twinkly

verified-by-homebridge

Unofficial Homebridge plugin for Twinkly decorative smart lights

Features

Use Siri or HomeKit automation to:

  • Turn lights on or off
  • Change brightness

A simple command line tool is also included.

Setup

  1. First set up Homebridge.
  2. Configure Twinkly using the iOS or Android app and make sure it's connected to the same network.
  3. Install homebridge-twinkly using homebridge-config-ui-x or manually using sudo npm install -g homebridge-twinkly.

Configuration options

| Value | Default | Description | |--------------------------------|---------------|-------------------------------------------------------------| | allowBrightnessControl | true | Adds a brightness control instead of a simple on/off switch | | removeUnreachableDeviceMinutes | 0 | When to remove unreachable devices (0 meaning never) |

The options can be configured using the UI or manually in a config.json.

Example config.json

{
  "bridge": {
    "name": "…"
  },
  "platforms": [{
    "platform": "Twinkly",
    "allowBrightnessControl": true,
    "removeUnreachableDeviceMinutes": 0
  }]
}

Setup as accessory (deprecated)

Prior to version 0.4.0 all lights had to be added individually. This is still possible, but is deprecated. Use this if device discovery doesn't work in your network.

You'll need to find the IP address of each light using the Twinkly app. It might be useful to have your router always assign it the same IP address.

Configuration options

| Value | Default | Description | |------------------------|---------------|-------------------------------------------------------------| | accessory | (required) | Identifies module and must be "Twinkly" | | name | (required) | The name for light as it will appear in HomeKit | | ip | (required) | The IP address of the lights. | | allowBrightnessControl | true | Adds a brightness control instead of a simple on/off switch |

The options can be configured using the UI or manually in a config.json. Multiple lights are can be added as individual accessories.

Example config.json

{
  "bridge": {
    "name": "…"
  },
  "accessories": [{
    "accessory": "Twinkly",
    "name": "Christmas Lights",
    "ip": "192.168.4.1",
    "allowBrightnessControl": true
  }]
}

Command line

Discover devices on network:

twinkly --discover

Turn on:

twinkly --mode movie

Turn off:

twinkly --mode off

Set brightness to 50%:

twinkly --brightness 50

Blink:

twinkly -c 128,0,0 -c 0,255,0 -c 64,0,6 --effect blink --delay 500

Acknowledgements

Thanks to Pavol Babinčák for documenting the private API.