@gilliginsisland/scrypted-simplirtc 0.0.1 → 0.0.4

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
@@ -1,22 +1,67 @@
1
- # Scrypted SimpliSafe Cameras
2
-
3
- Native Scrypted plugin for SimpliSafe V3 cameras.
4
-
5
- This is an initial scaffold with OAuth authentication, system/camera discovery,
6
- backend detection, and Scrypted camera device registration. Media signaling is
7
- intentionally split into small backend-specific classes so Kinesis and LiveKit
8
- can be implemented without introducing an RTSP proxy first.
9
-
10
- ## Current Status
11
-
12
- - SimpliSafe OAuth PKCE login and refresh token storage.
13
- - V3 camera discovery from SimpliSafe account subscriptions.
14
- - Supported WebRTC backend detection:
15
- - `kvs`: AWS Kinesis Video Streams WebRTC signaling.
16
- - `mist`: LiveKit WebRTC signaling.
17
- - Unknown backend values are skipped with a warning.
18
- - Camera devices expose `RTCSignalingChannel` for the native WebRTC media path.
19
- - Scrypted's WebRTC plugin mixin provides the `VideoCamera` surface.
20
- - Camera devices expose `MotionSensor` using SimpliSafe websocket
21
- `camera_motion_detected` events. SimpliSafe does not provide a matching clear
22
- event, so motion is held active for 30 seconds after each event.
1
+ # SimpliSafe Cameras for Scrypted
2
+
3
+ The SimpliSafe Cameras plugin imports supported SimpliSafe V3 cameras into
4
+ Scrypted. It uses the camera's native WebRTC provider and can expose camera
5
+ motion events to Scrypted.
6
+
7
+ ## Notes
8
+
9
+ Do not enable Prebuffer for SimpliSafe cameras. Keeping a cloud camera stream
10
+ open continuously can interfere with motion events and use unnecessary
11
+ bandwidth.
12
+
13
+ ## Setup
14
+
15
+ 1. Use Chrome on a desktop computer. Open Chrome DevTools before beginning
16
+ (`Cmd+Option+J` on macOS or `Ctrl+Shift+J` on Windows/Linux).
17
+ 2. Open the **SimpliSafe Cameras** plugin in Scrypted, then open **Login URL**
18
+ in Chrome.
19
+ 3. Sign in to SimpliSafe and complete any email or two-factor verification.
20
+ 4. After approval, SimpliSafe tries to open a `com.simplisafe.mobile://...`
21
+ URL. Chrome blocks this redirect; copy the complete URL from the error in
22
+ the DevTools **Console**. If it is not there, look for the redirect in the
23
+ DevTools **Network** panel.
24
+ 5. Paste the complete redirect URL into **Redirect URL** in the plugin
25
+ settings.
26
+
27
+ If the SimpliSafe page was already signed in before opening DevTools, open a
28
+ new tab, open DevTools there, and paste the Login URL into that tab to capture
29
+ the redirect.
30
+
31
+ The plugin stores the resulting credentials in its Scrypted settings and
32
+ refreshes the camera list automatically. Use **Refresh** from the plugin page
33
+ to discover cameras again later.
34
+
35
+ ## Supported Cameras and Video
36
+
37
+ - SimpliSafe V3 cameras from the signed-in account's subscriptions.
38
+ - SimpliSafe cameras that use Amazon Kinesis Video Streams or LiveKit for
39
+ video. Both are supported.
40
+
41
+ Other camera video backends are not supported and are skipped with a message in
42
+ the Scrypted log.
43
+
44
+ ## Motion Events
45
+
46
+ Each imported camera exposes a motion sensor. SimpliSafe does not provide a
47
+ motion-ended event, so the plugin keeps motion active for 30 seconds after the
48
+ most recent motion.
49
+
50
+ ## Troubleshooting
51
+
52
+ ### No cameras appear
53
+
54
+ - Complete the Login URL and Redirect URL steps, including the full custom
55
+ redirect URL.
56
+ - Use **Refresh** on the plugin page after authentication.
57
+ - Check the Scrypted plugin log for unsupported camera backends or SimpliSafe
58
+ API errors.
59
+
60
+ ### Video is unavailable
61
+
62
+ Check the Scrypted plugin log for an unsupported camera backend or a video
63
+ connection error.
64
+
65
+ ### Motion remains active
66
+
67
+ This is expected for up to 30 seconds after the last SimpliSafe motion event.
Binary file
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@gilliginsisland/scrypted-simplirtc",
3
- "version": "0.0.1",
3
+ "version": "0.0.4",
4
4
  "description": "Native SimpliSafe camera plugin for Scrypted.",
5
5
  "type": "commonjs",
6
- "main": "out/main.nodejs.js",
7
6
  "files": [
8
- "out",
7
+ "dist/plugin.zip",
9
8
  "README.md",
10
9
  "LICENSE"
11
10
  ],