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

@fredsocial/homebridge-tplink-tapo

v0.1.1

Published

Homebridge plugin for legacy TP-Link/Kasa and newer Tapo devices

Readme

homebridge-tplink-tapo

Homebridge plugin for legacy TP-Link/Kasa smart home devices and newer TP-Link Tapo devices.

This repository combines the maintained legacy Kasa discovery/accessory model from homebridge-tplink-smarthome with the local Tapo protocol support from homebridge-tapo-p100.

Supported Devices

Legacy TP-Link/Kasa support is provided through automatic local discovery:

  • Plugs: EP25, EP40, HS100, HS103, HS105, HS107, HS110, HS300, KP105, KP115, KP303, KP400
  • Switches: ES20M, HS200, HS210, HS220, HS230
  • Bulbs: KL50, KL120, KL125, LB100, LB110, LB120, LB130, LB200, LB230
  • Lightstrips: KL400, KL430

Tapo support is configured manually by IP address:

  • Plugs: P100/P105, P110
  • Lights: L510/L510E, L520/L520E, L530/L530E

Installation

npm install -g @fredsocial/homebridge-tplink-tapo

Node 18 or newer and Homebridge 1.6 or newer are required.

Configuration

Legacy TP-Link/Kasa devices can usually be discovered with only the platform entry:

{
  "platform": "TplinkTapo",
  "name": "TP-Link Tapo"
}

Tapo devices require Tapo app credentials and manual device entries:

{
  "platform": "TplinkTapo",
  "name": "TP-Link Tapo",
  "username": "[email protected]",
  "password": "your-tapo-password",
  "tapoDevices": [
    { "name": "Desk Plug", "host": "192.168.1.40", "type": "P100" },
    { "name": "Washer", "host": "192.168.1.41", "type": "P110" },
    { "name": "Lamp", "host": "192.168.1.42", "type": "L530" }
  ]
}

You can also keep legacy manual discovery entries in devices. Entries with only host/port are treated as legacy TP-Link/Kasa devices; entries with name or type are treated as Tapo devices.

{
  "platform": "TplinkTapo",
  "name": "TP-Link Tapo",
  "username": "[email protected]",
  "password": "your-tapo-password",
  "devices": [
    { "host": "192.168.1.20" },
    { "host": "192.168.1.21", "port": 9999 },
    { "name": "Tapo Plug", "host": "192.168.1.40", "type": "P100" }
  ]
}

Options

  • broadcast: broadcast address for legacy discovery, default 255.255.255.255
  • pollingInterval: legacy discovery/device polling interval in seconds, default 10
  • deviceTypes: legacy discovery types, default ["bulb", "plug"]
  • macAddresses / excludeMacAddresses: legacy allow/deny filters
  • devices: mixed manual list; untyped entries are legacy devices, typed entries are Tapo devices
  • tapoDevices: Tapo-only manual list
  • username / password: Tapo app credentials
  • timeout: legacy communication timeout in seconds, default 15
  • transport: legacy device transport, tcp or udp
  • emeterPollingInterval: legacy energy polling interval in seconds, default 20
  • addCustomCharacteristics: exposes legacy energy characteristics for Eve, default true

Development

npm install
npm run build
npm run lint
npx jest --runInBand --forceExit

--forceExit is currently useful for the Homebridge integration test harness because Homebridge and device discovery can leave background handles open after assertions finish.

Credits

This project incorporates work from:

  • plasticrake/homebridge-tplink-smarthome for legacy TP-Link/Kasa support.
  • apatsufas/homebridge-tapo-p100 for local Tapo protocol support.

See LICENSE for the inherited license terms.

homebridge-tplink-tapo