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-kasa-camera

v1.0.0

Published

Homebridge plugin for TP-Link Kasa cameras with live streaming and snapshots

Readme

homebridge-kasa-camera

Build npm

Homebridge plugin for TP-Link Kasa cameras. Exposes your Kasa cameras as HomeKit cameras with live video streaming and snapshot thumbnails.

How it works

The plugin connects ffmpeg directly to your Kasa camera's HTTPS streaming endpoint (port 19443). The stream is re-encoded and sent to HomeKit over SRTP.

Kasa Camera (port 19443) → ffmpeg (direct HTTPS) → SRTP → HomeKit

Prerequisites

  • Homebridge v1.8+ or v2.0+
  • Node.js 20, 22, or 24
  • ffmpeg installed on the host (with libx264 and libopus)
  • A TP-Link Kasa camera on the same local network

Installation

npm install -g homebridge-kasa-camera

Or install through the Homebridge UI by searching for "kasa camera".

Configuration

Add the platform to your Homebridge config.json:

{
  "platform": "KasaCamera",
  "cameras": [
    {
      "name": "Backyard",
      "ip": "192.168.1.100",
      "kasaEmail": "[email protected]",
      "kasaPassword": "your-kasa-password"
    }
  ]
}

Or configure through the Homebridge UI settings page.

| Field | Description | |-------|-------------| | name | Display name in the Home app | | ip | Camera's local IP address | | kasaEmail | Your TP-Link / Kasa account email | | kasaPassword | Your TP-Link / Kasa account password |

Multiple cameras are supported — add additional objects to the cameras array.

Compatible cameras

| Model | Status | |-------|--------| | KC420WS | Tested and working | | KC400, KC410S, KD110, EC70 | Community-reported compatible | | KC100, KC105 | Community-reported compatible (older models) |

All Kasa cameras that expose the HTTPS streaming endpoint on port 19443 should work.

Known limitations

  • Audio is not yet supported (camera's PCM mulaw format requires transcoding work)
  • Motion detection is not yet supported
  • Auto-discovery is not supported — cameras must be configured manually
  • First stream start may take a few seconds while ffmpeg connects to the camera

Troubleshooting

Camera shows "No Response"

  • Verify the camera IP is correct and reachable from the Homebridge host
  • Check that your Kasa email and password are correct
  • Look at the Homebridge logs for error messages

ffmpeg not found

  • Install ffmpeg: sudo apt install ffmpeg (Debian/Ubuntu) or brew install ffmpeg (macOS)
  • Ensure ffmpeg is built with libx264 support: ffmpeg -encoders | grep libx264

License

Apache-2.0