Repository navigation
Expose camera privacy mode as a PrivacyMode interface - #105
Merged
Merged
Conversation
Assisted-by: Claude Opus 5.5 Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com>
Assisted-by: Claude Opus 5.5 Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com>
Assisted-by: Claude Opus 5.5 Signed-off-by: Sergey Vilgelm <sergey@vilgelm.com>
SVilgelm
force-pushed
the
camera-privacy-mode-interface
branch
from
November 9, 2026 06:51
3ad17d1 to
2a0f5d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cameras now expose their on/off (Privacy Mode) as a PrivacyMode interface on the camera itself, declared through the plugin's interface descriptors until the SDK ships it (koush/scrypted#2209). With that HomeKit change and the per-camera Camera Privacy Mode setting turned on, turning a camera off in the Home app or through a Home/Away mode turns the Kasa camera off, and turning it on or off in the Kasa app shows up in the Home app until a Home hub reconnects and reapplies its mode.
The Privacy Mode child switch now goes through the same path, so the camera and the switch stay in sync. Existing cameras pick up the interface on the next refresh. While a camera is off, the plugin checks once a minute whether it was turned back on elsewhere, since HomeKit stops requesting streams from a camera it shows as off.