scrypted-tuya 0.1.0-beta.9 → 0.1.2-beta

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/CHANGELOG.md CHANGED
@@ -1,47 +1,108 @@
1
- <details>
2
- <summary>Changelog</summary>
1
+ # Changelog
3
2
 
4
- ### 0.1.0-beta.7
3
+ ## 0.1.2-beta
4
+
5
+ - Accurately declare `codec: "hevc"`, `audio: { codec: "pcm_alaw" }`, `prebuffer: 4000`, and `oobCodecParameters: false` in `getVideoStreamOptions`.
6
+ - Enables Scrypted stream router to automatically trigger the H.264 / AAC transcoding pipeline for HomeKit HAP compliance.
7
+
8
+ ## 0.1.1-beta
9
+
10
+ - Tuya RTSP Bridge port 8600 default across full stack.
11
+ - Smart Life P2P HD RTSP stream integration with online auto-status, dynamic UI naming, and unconstrained HEVC/H.264 FFmpeg negotiation for Rebroadcast and snapshots.
12
+
13
+ ## 0.1.0-beta.17
14
+
15
+ - Initialize `online: true` in `TuyaCamera` constructor when P2P RTSP URL is configured.
16
+ - Remove hardcoded `codec: "h264"` constraint in `getVideoStreamOptions` to support HEVC/H.265 streams from Tuya RTSP Bridge without parsing errors.
17
+
18
+ ## 0.1.0-beta.16
19
+
20
+ - Set stream display name to `Smart Life P2P HD` dynamically when P2P RTSP is configured.
21
+ - Bypass Tuya Cloud offline check when P2P RTSP URL is present and mark camera online locally.
22
+ - Remove hardcoded audio codec requirement to allow FFmpeg dynamic audio negotiation.
23
+
24
+ ## 0.1.0-beta.15
25
+
26
+ - Restore stable `cloud-rtsp` stream ID and `MediaStreamUrl` output to fix Rebroadcast stream bindings.
27
+ - Let Scrypted's standard FFmpeg Camera mixin handle snapshot extraction from the P2P RTSP stream.
28
+ - Set `source: "local"` when P2P RTSP is configured so Scrypted enables unthrottled local rebroadcast and prebuffering.
29
+
30
+ ## 0.1.0-beta.14
31
+
32
+ - Return `ScryptedMimeTypes.FFmpegInput` with `-rtsp_transport tcp` in `getVideoStream` for reliable Rebroadcast and FFmpeg streaming.
33
+ - Convert video streams to JPEG image buffers in `takePicture` for working snapshot generation.
34
+ - Dynamically label stream as `Smart Life P2P HD RTSP` (`id: p2p-hd-rtsp`) when P2P RTSP is configured.
35
+
36
+ ## 0.1.0-beta.13
37
+
38
+ - Implement `Camera` interface (`takePicture` & `getPictureOptions`) using the active video stream (P2P HD RTSP or Cloud RTSP) for snapshots.
39
+ - Dynamic stream source classification (`local` when P2P RTSP is configured, `cloud` otherwise).
40
+ - Advertise all standard stream destinations (`local`, `remote`, `local-recorder`, `remote-recorder`, etc.) for seamless Scrypted stream auto-routing.
41
+ - Fire `onDeviceEvent` on P2P RTSP URL setting change to immediately re-route streams and snapshots.
42
+
43
+ ## 0.1.0-beta.12
44
+
45
+ - Switch Tuya RTSP Bridge default RTSP port to 8600 across the engine, backend, and Web UI.
46
+ - Cleanly patch upstream bridge code during Docker build and startup.
47
+ - Update RTSP URL documentation and camera placeholder to port 8600.
48
+
49
+ ## 0.1.0-beta.11
50
+
51
+ - Add ingress and webui support to Tuya RTSP Bridge add-on (sidebar integration + Open Web UI button).
52
+ - Add ffprobe resolution hint and camera stream URL logging in getVideoStream.
53
+ - Add qualityToResolution() mapping for stream options hint.
54
+ - 1.5s delay between quality command and RTSP allocation.
55
+ - Improved logging for quality command acceptance/rejection.
56
+ - Rename tuya_rtsp_bridge to bridge.
57
+ - Remove chat.json from repo.
58
+
59
+ ## 0.1.0-beta.10
60
+
61
+ - Add per-camera Smart Life P2P HD RTSP override while preserving Tuya events and controls.
62
+ - Add a Home Assistant add-on definition for QR-authenticated Smart Life WebRTC/P2P to RTSP bridging.
63
+ - Pin the bridge backend to `DanEng1982/tuya-rtsp-bridge` v1.2.4.
64
+ - Fix the add-on startup log command outside the Supervisor bashio shell and add an HTTP health check.
65
+
66
+ ## 0.1.0-beta.9
67
+
68
+ - Request the highest recognised writable quality advertised by the camera schema before RTSP allocation.
69
+ - Safely fall back to Tuya's server-selected quality.
70
+
71
+ ## 0.1.0-beta.7
5
72
 
6
73
  fix: fix setTimeout undefined function
7
74
  bump version
8
75
 
9
-
10
- ### 0.1.0-beta.6
76
+ ## 0.1.0-beta.6
11
77
 
12
78
  chore: update changelog
13
- fix: ensure timeout is actually correct and bound corretly
79
+ fix: ensure timeout is actually correct and bound correctly
14
80
  chore: bump version
15
81
 
16
-
17
- ### 0.1.0-beta.5
82
+ ## 0.1.0-beta.5
18
83
 
19
84
  chore: update changelog
20
85
  fix: use correct property for checking connection state
21
86
  chore: bump version
22
87
 
23
-
24
- ### 0.1.0-beta.4
88
+ ## 0.1.0-beta.4
25
89
 
26
90
  fix: resolve mqtt connection issues
27
91
  bump version
28
92
 
29
-
30
- ### 0.1.0-beta.3
93
+ ## 0.1.0-beta.3
31
94
 
32
95
  fixchangelog
33
96
  changelog
34
97
  quick fix
35
98
  bump to beta 3
36
99
 
37
-
38
- ### 0.1.0-beta.2
100
+ ## 0.1.0-beta.2
39
101
 
40
102
  update commit
41
103
  bump version
42
104
 
43
-
44
- ### 0.1.0-beta.1
105
+ ## 0.1.0-beta.1
45
106
 
46
107
  improve mqtt reconnect, also update status
47
108
  wip: prevent setting motion if device has no motion detection
@@ -49,77 +110,57 @@ fix: resolve indicator not updating
49
110
  feat: add support for light accessory in camera
50
111
  wip: fetch rtsp from Tuya Sharing SDK
51
112
 
52
-
53
- ### 0.1.0
113
+ ## 0.1.0
54
114
 
55
115
  wip: allow changing between different login methods
56
116
  wip: remove websocket for cameras since they are not supported
57
117
 
58
-
59
- ### 0.0.9
118
+ ## 0.0.9
60
119
 
61
120
  wip: update components
62
121
 
63
-
64
- ### 0.0.8
122
+ ## 0.0.8
65
123
 
66
124
  format code
67
125
  replace tool to use `ffmpeg` and bump v0.0.8
68
126
 
69
-
70
- ### 0.0.7
127
+ ## 0.0.7
71
128
 
72
129
  plugins: update tsconfig.json
73
130
  Updated Tuya to v0.0.7 (#408)
74
131
 
75
-
76
- ### 0.0.7-beta.2
132
+ ## 0.0.7-beta.2
77
133
 
78
134
  tuya: fix crlf in candidate, fix empty stream name in rebroadcast, webrtc logging
79
135
  remove null candidate
80
136
 
137
+ ## 0.0.7-beta.1
81
138
 
82
- ### 0.0.7-beta.1
83
-
84
- Fix issue not being able to select your prebufffer
85
-
139
+ Fix issue not being able to select your prebuffer
86
140
 
87
- ### 0.0.7-beta.0
141
+ ## 0.0.7-beta.0
88
142
 
89
143
  Added support for webrtc, testing needed
90
144
 
91
-
92
- ### 0.0.6
145
+ ## 0.0.6
93
146
 
94
147
  Improvements in WebRTC
95
148
  add initial support for webrtc
96
- alllow triggering doorbell (#361)
97
-
149
+ allow triggering doorbell (#361)
98
150
 
99
- ### 0.0.5
151
+ ## 0.0.5
100
152
 
101
153
  [Tuya Plugin] Fixed issue with devices not loading (#355)
102
154
 
103
-
104
- ### 0.0.4
155
+ ## 0.0.4
105
156
 
106
157
  Fix race condition for Tuya Devices (#351)
107
158
 
108
-
109
- ### 0.0.3
159
+ ## 0.0.3
110
160
 
111
161
  tuya: publish
112
162
 
113
-
114
- ### 0.0.1
163
+ ## 0.0.1
115
164
 
116
165
  tuya: project cleanups, remove unnecessary dependencies
117
166
  Add Tuya Camera (and Doorbell Cameras) Support (#350)
118
-
119
-
120
- </details>
121
-
122
- ## 0.1.0-beta.9
123
-
124
- - Request the highest recognised writable quality advertised by the camera schema before RTSP allocation.
125
- - Safely fall back to Tuya's server-selected quality.
package/README.md CHANGED
@@ -76,3 +76,18 @@ This repository is a standalone extraction rather than a GitHub network fork bec
76
76
  The upstream Scrypted repository uses directory-specific licensing and does not declare a conventional SPDX license specifically for `plugins/tuya`. The original upstream notice is preserved in `UPSTREAM-LICENSE-NOTICE.md`.
77
77
 
78
78
  Review the upstream terms and obtain any required permission before redistributing this fork or publishing derived packages. Copyright remains with the original contributors.
79
+
80
+ ## Smart Life P2P HD through the Home Assistant add-on
81
+
82
+ For cameras that remain in **Smart Life**, Tuya Cloud RTSP may be fixed at 640×360. This repository therefore also exposes a Home Assistant add-on based on [DanEng1982/tuya-rtsp-bridge](https://github.com/DanEng1982/tuya-rtsp-bridge), which uses the MIT-licensed [seydx/tuya-ipc-terminal](https://github.com/seydx/tuya-ipc-terminal) WebRTC/P2P engine.
83
+
84
+ 1. In Home Assistant, open **Settings → Add-ons → Add-on Store → Repositories**.
85
+ 2. Add `https://github.com/resonaura/scrypted-tuya`.
86
+ 3. Install and start **Tuya RTSP Bridge**.
87
+ 4. Open `http://HOME_ASSISTANT_IP:8787`, create a QR code, then scan and confirm it in Smart Life.
88
+ 5. Copy the camera HD URL. It has the form `rtsp://HOME_ASSISTANT_IP:8600/CameraName/hd`.
89
+ 6. In Scrypted, open the matching camera created by this Tuya plugin and set **Smart Life P2P HD RTSP URL** to that URL.
90
+
91
+ The Tuya plugin will keep handling discovery, online state, motion, doorbell events, and controls. Video will come from the P2P/WebRTC bridge using the camera's main/HD stream. Removing the override restores the Tuya Cloud RTSP fallback.
92
+
93
+ The add-on is pinned to Tuya RTSP Bridge `v1.2.4` rather than an unversioned branch.