scrypted-kasa 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,9 +26,14 @@ In Scrypted:
26
26
  - Exposes the camera's spotlight (when present, e.g. KC420WS) as an `OnOff` child light
27
27
  device in the same room as the camera. Driven by the LINKIE2 control protocol on port
28
28
  10443.
29
- - Exposes the camera's siren (when present) as an `OnOff` child switch device, also in
30
- the camera's room. Triggering it turns the siren on; the camera auto-stops after the
29
+ - Exposes the camera's siren (when present) as an `OnOff` child siren device, also in
30
+ the camera's room. HomeKit shows it as a switch inside the camera accessory. Triggering it turns the siren on; the camera auto-stops after the
31
31
  duration configured in the Kasa app (default 30 s).
32
+ - Exposes the camera's own on/off ("camera off" in the Kasa app) as a **Privacy Mode**
33
+ child switch. On turns the camera off, which stops video for every client, not just
34
+ HomeKit, so it suits home/away automations. While the camera is off, stream attempts fail
35
+ with a short "turned off" message instead of an error, and video resumes on its own when
36
+ it's turned back on.
32
37
  - Exposes the camera's **status LED** as the camera's own `OnOff` interface, so HomeKit's
33
38
  per-camera "Link Status Indicator" toggle drives the LED.
34
39
  - Exposes **pan/tilt** (when present, e.g. KC410S) as the camera's own `PanTiltZoom`
@@ -143,6 +148,9 @@ setup below.
143
148
  room.
144
149
  - `smartlife.cam.ipcamera.siren.get_state` — same pattern; produces a "<camera> Siren"
145
150
  switch child device.
151
+ - `smartlife.cam.ipcamera.switch.get_is_enable` — produces a "<camera> Privacy Mode"
152
+ switch child device, inverted: on means `set_is_enable` `off`. A turned-off camera
153
+ keeps its stream port open but answers HTTP 503.
146
154
  - `smartlife.cam.ipcamera.led.get_status` — drives the camera's own `OnOff` so HomeKit
147
155
  can bind its `CameraOperatingModeIndicator` (a.k.a. "Status Light") characteristic to
148
156
  it. Enable **Link Status Indicator** in the HomeKit plugin's per-camera settings to
package/dist/plugin.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrypted-kasa",
3
- "version": "1.5.0",
3
+ "version": "1.6.1",
4
4
  "description": "TP-Link Kasa plugin for Scrypted — cameras (video, two-way audio, spotlight, siren, status LED), plugs/outlets, wall switches, dimmers, and smart bulbs (on/off, brightness, color, color temperature).",
5
5
  "author": "Sergey Vilgelm <sergey@vilgelm.com>",
6
6
  "license": "MIT",