plugin-tplink (1.0.0)
Installation
registry=npm install plugin-tplink@1.0.0"plugin-tplink": "1.0.0"About this package
TP-Link Kasa
TP-Link Kasa smart devices (legacy JSON protocol on port 9999 and KLAP v1 on port 80/443). Experimental for newer KLAP-only devices
- Package:
plugin-tplink - Author: Kai
- Version: 1.0.0
Credentials
| Key | Label | Type | Required | Default |
|---|---|---|---|---|
host |
Device IP/host | string | yes | – |
protocol |
Protocol | select (auto, legacy, klap) | no | auto |
legacyPort |
Legacy TCP port | number | no | 9999 |
klapHost |
KLAP HTTP port (80 or 443) | number | no | 80 |
Settings
| Key | Label | Type | Required | Default |
|---|---|---|---|---|
timeoutMs |
Timeout (ms) | number | no | 8000 |
Tools
| Tool | Description |
|---|---|
tplink_sysinfo |
Returns device system info (model, firmware, features) |
tplink_relay_status |
Returns the current relay (outlet) state |
tplink_relay_on |
Switches the relay (outlet) on |
tplink_relay_off |
Switches the relay (outlet) off |
tplink_energy |
Returns energy metering data (only on emeter-capable devices) |
tplink_cloud |
Returns cloud binding info (Kasa account) |
Details
Assets (1)
Versions (3)
View all
plugin-tplink-1.0.0.tgz
3.7 KiB