src.nth.io/

summaryrefslogtreecommitdiff
path: root/scrypted/diagnostic.ts
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-06-15 08:47:47 -0500
committerLuke Hoersten <[email protected]>2026-06-15 08:47:47 -0500
commit2429179eaf1a62af770fe6de3b25b276db3ce401 (patch)
tree1a8ab0a03005c41ea6a1dc20408a35e34a947100 /scrypted/diagnostic.ts
parentc63c36e538068c23144aea74b36edbc1e4a1f9d5 (diff)
scrypted: manual wake/sleep buttons in the viewport Settings page
Adds an "Actions" group with two buttons: - Wake now: starts a stream for the bound camera right now, bypassing trigger filters. Useful for verifying the panel + camera link without having to walk in front of a motion sensor. - Sleep now: tears down the active stream and POSTs /state {sleep}. Drops the private modifier from streams/streamStarting/startStream/ stopStream so the child Viewport can drive them — same package, no encapsulation lost.
Diffstat (limited to 'scrypted/diagnostic.ts')
0 files changed, 0 insertions, 0 deletions