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-ventair-ceiling-fan

v2.0.1

Published

A Homebridge plugin for Ventair Skyfan DC ceiling fan

Readme

Skyfan DC

Ventair Skyfan DC

Control Ventair Skyfan DC ceiling fans from HomeKit, over your local network.

  • On/off, speed (5 steps) and rotation direction
  • Optional Sleep switch
  • Light on/off and brightness (untested)

Unofficial plugin — not affiliated with or endorsed by Ventair. Built against the device's local Tuya protocol.

Requirements

| | | |---|---| | Homebridge | 1.8.0 or later (2.x recommended) | | Node.js | ^22.12.0 \|\| ^24.0.0 |

Installation

In the Homebridge UI, search Plugins for homebridge-ventair-ceiling-fan, install it, then open the plugin settings.

Configuration

Every configured fan is listed in the plugin settings — there is no need to edit config.json. From there you can scan the network for fans, paste a local key directly, or fetch keys from Tuya Cloud with your Access ID and Secret. Cloud credentials are used for that one request and are never written to your config.

Leave IP blank unless you need to pin it: fans are discovered automatically, so one that moves to a new DHCP address keeps working.

To find a device ID and local key by hand, see tinytuya's setup wizard.

One connection per fan. These devices accept a single local connection at a time. If Home Assistant, tuya-local or another plugin is connected to a fan, this plugin cannot also control it — and vice versa.

Light support

hasLight is implemented but untested: no unit available during development had a light, so the brightness scale is unverified (some Tuya dimmers report 0–100, others 0–1000). If you have a light-equipped Skyfan, please open an issue.

Upgrading from 1.x

Breaking: the fan mode is no longer exposed through SwingMode. Only Normal and Sleep are reachable over the local protocol, and SwingMode means oscillation — so it was both wrong and lossy. Mode is now an optional Sleep switch (exposeModeSwitches), so automations built on the swing control need rebuilding.

Node 18 and 20 are no longer supported, and hasLight now defaults to false.

See CHANGELOG.md for the full list.

Contributing

npm run lint    # eslint + typecheck
npm test        # vitest
npm run build

To release: bump version in package.json, add a matching ## [x.y.z] section to CHANGELOG.md, and push to main.

Thanks

tuyapi · @marsuboss