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-plugin-homewhiz

v1.2.0

Published

Homebridge plugin for HomeWhiz Wi-Fi air conditioners.

Downloads

62

Readme

homebridge-plugin-homewhiz

Homebridge dynamic platform plugin for HomeWhiz Wi-Fi air conditioners.

verified-by-homebridge

This repository currently targets a Wi-Fi AC scope:

  • Wi-Fi/cloud connection only
  • Air conditioner devices only
  • No Bluetooth support

Project Origin

  • This project was started from a cloned codebase reference of the Home Assistant integration:
    • https://github.com/home-assistant-HomeWhiz/home-assistant-HomeWhiz
  • The Home Assistant implementation was adapted and converted to a Homebridge plugin architecture with AI-assisted development/refactoring.
  • Scope difference:
    • This repository focuses on Homebridge + Wi-Fi cloud devices.
    • Bluetooth device support is intentionally not implemented in this project.
    • The original Home Assistant project remains a separate project with its own architecture and feature set.

Implemented

  • Login to HomeWhiz cloud
  • Discover appliances from account
  • Filter to air conditioners (applianceType = 9)
  • Build per-device AC control profile from HomeWhiz configuration payload
  • Connect to AWS IoT MQTT shadow for state updates
  • Send write commands for:
    • Power (on/off)
    • HVAC mode (off/auto/cool/heat + dry/fan where available)
    • Target temperature
    • Fan speed (when device exposes fan control)
    • Swing mode (vertical/horizontal; both axes if available)
    • Jet/Preset mode (when device exposes jet control)
  • HomeKit services:
    • Thermostat
    • Fanv2 (optional, if supported by the device profile)
    • Switch services for advanced controls (optional):
      • Jet
      • Dry mode
      • Fan-only mode

Install

npm install
npm run build
npm link

Then start Homebridge with debug logs:

homebridge -D

Homebridge Config

{
  "platforms": [
    {
      "name": "HomeWhiz",
      "platform": "HomeWhiz",
      "username": "[email protected]",
      "password": "your-homewhiz-password",
      "language": "en-GB",
      "pollIntervalSeconds": 60,
      "applianceIds": [],
      "includeBluetoothDevices": false
    }
  ]
}

Notes

  • includeBluetoothDevices is false by default. Keep it disabled for this MVP.
  • applianceIds is optional. If set, only listed appliance IDs are exposed.
  • The plugin refreshes shadow state periodically and also after each command.

Development

npm run lint
npm run build
npm run watch

Publish to npm

# 1) login once
npm login

# 2) verify package contents
npm pack --dry-run

# 3) publish current version
npm publish --access public

If you need a new release first:

npm version patch
npm publish --access public