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-dihool-lifts

v0.1.7

Published

Homebridge plugin to control DIHOOL IPS-S2 scissor lifts via the eWeLink LAN protocol.

Readme

homebridge-dihool-lifts

Homebridge plugin for DIHOOL IPS-S2 scissor lifts. Exposes the lift as a HomeKit WindowCovering -- 0% lowers, 100% raises, and changing target position mid-travel stops or redirects the lift.

Communicates via the eWeLink LAN protocol (AES-encrypted commands over your local network). Cloud login is only used once to discover devices; all control is LAN-only after that.

Install

npm install -g homebridge-dihool-lifts

Or search "dihool" in the Homebridge UI plugin tab.

Configuration

The plugin supports two modes:

Cloud discovery (recommended) -- enter your eWeLink credentials and the plugin finds your lifts automatically:

{
  "platform": "DihoolLifts",
  "name": "Dihool Lifts",
  "username": "your-ewelink-email",
  "password": "your-ewelink-password",
  "countryCode": "+1"
}

Manual / LAN-only -- no cloud dependency, but you need the device ID and LAN key:

{
  "platform": "DihoolLifts",
  "name": "Dihool Lifts",
  "mode": "lan",
  "devices": [
    {
      "deviceId": "your-device-id",
      "lanKey": "your-lan-key",
      "ipAddress": "192.168.1.100",
      "label": "Sunroom Lift"
    }
  ]
}

Use the Homebridge Config UI for a guided setup, or see config.schema.json for all options.

Per-device options

For manual / LAN-only devices, each devices entry must include deviceId and lanKey. With cloud discovery, devices are found automatically; devices entries are only needed for overrides. If you have exactly one cloud-discovered lift, you may omit deviceId from a single override entry and it will apply to that lift.

| Option | Default | Description | |--------|---------|-------------| | deviceId | | eWeLink device ID. Required for manual/LAN-only devices and for matching overrides when multiple lifts are discovered | | lanKey | | Device encryption key. Required for manual/LAN-only devices; cloud discovery supplies it automatically | | label | Device ID or cloud name | Custom HomeKit display name | | operationTimeUp | 8 | Seconds for full upward travel. Used only for the HomeKit status indicator timing. | | operationTimeDown | 8 | Seconds for full downward travel. Used only for the HomeKit status indicator timing. | | upChannel | 0 | eWeLink outlet index for UP | | downChannel | 1 | eWeLink outlet index for DOWN | | ipAddress | | Manual IP (skips mDNS discovery) |

Getting the LAN key

If you need the LAN key for manual configuration:

npx tsx scripts/get-lankey.ts your-ewelink-email

How it works

The DIHOOL IPS-S2 (eWeLink UIID 139, CK-BL602-4SW-HS) is a 4-channel motor controller with pulse/inching mode. The plugin sends a single encrypted pulse command to channel 0 (up) or channel 1 (down) over your local network to start movement. Optional hardware limit switches stop the motor at the top and bottom positions — the software never sends a stop pulse. Travel times are used only for the cosmetic HomeKit status indicator.

Development

npm install
npm run build          # TypeScript 7 RC
npm run lint           # oxlint + tsc --noEmit
npm run dev            # build + run local Homebridge instance

License

MIT