# softScheck/tplink-smartplug

TP-Link WiFi SmartPlug Client and Wireshark Dissector

Repository: https://github.com/softScheck/tplink-smartplug
Canonical: https://ross.abutalabs.com/products/tplink-smartplug
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2024-10-15T10:48:09+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3688, "days_push": 687, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1200, forks 292 (observed 2026-08-28T04:03:58.050181+00:00)

## What it is
A Python command-line client for the proprietary TP-Link Smart Home protocol that controls HS100, HS110, and KP115 WiFi smart plugs over TCP port 9999. It also includes a Lua Wireshark dissector to decrypt and inspect Smart Home protocol traffic.

## Use cases
- turn TP-Link smart plug on and off from the command line
- read energy usage from a TP-Link HS110
- reverse engineer the TP-Link Smart Home protocol
- decrypt TP-Link smart plug traffic in Wireshark
- send raw JSON commands to a smart plug
- reboot or factory reset a smart plug remotely

## When to choose
- you want lightweight scriptable control of TP-Link HS100/HS110/KP115 plugs without the Kasa app
- you are analyzing or documenting the TP-Link Smart Home protocol
- you need to inspect decrypted smart plug packets in Wireshark

## When to avoid
- you need authenticated, secure control of smart home devices
- you use smart plugs from other vendors with different protocols
- you want a polished GUI or mobile app experience

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, security, reverse-engineering, iot
- domain: iot, security, reverse-engineering, developer-tools
- platform: windows, python, cli
- tags: smart-home, tplink, wireshark, protocol-analysis, smart-plug, linux, macos

## Member repositories
- softScheck/tplink-smartplug (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.050181+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:20:51.265003+00:00, confidence not recorded.
  - readme: https://github.com/softScheck/tplink-smartplug (fetched 2026-08-28T04:03:58.050181+00:00, sha 8d54dfc8a963)
- Data as of 2026-08-30T08:39:29.467469+00:00.
