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

@ncovercash/homebridge-wled-presets

v1.1.4

Published

An accessory plugin for homebridge to support WLED strip presets

Downloads

89

Readme

Homebridge WLED Presets

(@ncovercash/homebridge-wled-presets)

npm downloads last commit build TypeScript Node.js Version License

Homebridge Plugin for WLED Strips (WLED-Project by Aircoookie) centered around presets. Based on the original homebridge-simple-wled plugin, however, this version is focused around presets and presets only!

Presets show up as individual Lightbulb services in HomeKit, allowing you to easily control your WLED devices between your favorite options and leaving the fancier customization options to the WLED web interface. This also means Siri commands are as easy as Hey Siri, turn on LED Strip Disco Mode and that full automation support is available.

Example of LED Strip Presets in Home App

Important Nuances

Each individual preset can have its brightness controlled (and will default to the preset's defined brightness when first turned on, if set). As you would expect, turning one preset on will indicate the others as off. Additionally, changes between presets in the web interface will sync to HomeKit.

However, if the controls are changed from a preset to a custom setting, the previously used preset will still show as “on”. This avoids confusion as otherwise changing the color would show the LEDs as off (and also make it impossible to turn them off via Siri/etc without first turning them on again).

✨ Features

  • WebSocket Support: Real-time communication with WLED devices via WebSocket for instant updates
  • Homebridge v2 Compatible: Works with both Homebridge v1.8+ and v2.0+
  • Multiple Host Support: Control multiple WLED devices with a single accessory
  • Software Update Notifications: Get notified in logs when a new WLED version is available (currently in logs only)

⚙️ Installation / NPM Package

Install via Homebridge UI or NPM: NPM Package

Manual Configuration

Add the platform to your config.json in the platforms section:

{
  "platforms": [
    {
      "platform": "WLED Presets",
      "wleds": [
        {
          "name": "LED-Table",
          "host": "192.168.1.100",
          "log": true
        },
        {
          "name": "LED-Box",
          "host": ["192.168.1.101", "192.168.1.102"]
        }
      ]
    }
  ]
}

After editing the config, restart your Homebridge server and add the accessory manually from the Home app.

💡💡💡 Multiple WLED Hosts

Control multiple WLED devices with a single accessory by setting host to an array or a comma-separated string:

Important: The first WLED host acts as the primary device. Changes made to the primary WLED (e.g., via the web panel) will sync to all other WLEDs in the array.

{
  platform: 'WLED Presets',
  wleds: [
    {
      name: 'LED-Table',
      host: ['192.168.1.100', '192.168.1.101', '192.168.1.102'],
      // or
      host: '192.168.1.100, 192.168.1.101, 192.168.1.102',
    },
  ],
}

Troubleshooting

If presets are not being created or removed, try restarting Homebridge or clearing the accessory cache.

🔧 Technical Details

WebSocket Communication

The plugin uses WebSocket connections (ws://[WLED-IP]/ws) for real-time communication:

  • Instant state updates from WLED devices
  • Automatic reconnection on connection loss
  • Message queuing when disconnected
  • Support for up to 4 concurrent WebSocket connections per device

📝 Development

See DEVELOPMENT.md for local development and build instructions.

🤝 Contributing

If you have any ideas or improvements, feel free to fork the repository and submit a pull request.

📄 License

ISC