camera-ui-aqara 3.1.0 → 3.3.0

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
@@ -5,6 +5,22 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.3.0] - 2026-11-08
9
+
10
+ ### Added
11
+
12
+ - **Maximum Call Duration** in the plugin settings, 180 seconds by default. A talk call that runs longer is cut off, and talk stays muted until the incoming audio pauses, so a call left open (HomeKit can keep the microphone on) can't hold the camera's speaker. 0 turns the limit off.
13
+ - Model names for the Camera Hub G3, Camera E1 and Camera Hub G2H Pro model codes, and more Camera Hub G2H variants.
14
+ - The RTSP stream check also tries `1296p`, a stream name the Camera Hub G3 uses.
15
+
16
+ ## [3.2.0] - 2026-11-07
17
+
18
+ ### Added
19
+
20
+ - The talk relay form has a **Camera** list of the Aqara cameras found on the network, so adding a relay only needs the RTSP username and password. **Not listed** still takes an IP address.
21
+ - Talk relays made from the list follow their camera to a new IP address.
22
+ - When adding cameras, discovered cameras that already have a talk relay show "(has a talk relay)" after their name.
23
+
8
24
  ## [3.1.0] - 2026-11-07
9
25
 
10
26
  ### Added
@@ -41,6 +57,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
57
  - Two-way audio through Aqara's LAN talk protocol, offered to camera.ui as an RTSP talkback channel.
42
58
  - Cameras follow their new address when their IP changes.
43
59
 
60
+ [3.3.0]: https://github.com/bisman-automations/camera-ui-aqara/compare/v3.2.0...v3.3.0
61
+ [3.2.0]: https://github.com/bisman-automations/camera-ui-aqara/compare/v3.1.0...v3.2.0
44
62
  [3.1.0]: https://github.com/bisman-automations/camera-ui-aqara/compare/v3.0.0...v3.1.0
45
63
  [3.0.0]: https://github.com/bisman-automations/camera-ui-aqara/compare/v1.0.0...v3.0.0
46
64
  [1.0.0]: https://github.com/bisman-automations/camera-ui-aqara/releases/tag/v1.0.0
package/LICENSE.md CHANGED
@@ -50,3 +50,31 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50
50
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
51
51
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
52
52
  SOFTWARE.
53
+
54
+ ---
55
+
56
+ Model codes in `src/models.ts` also come from
57
+ [aqara-g5pro-mqtt](https://github.com/resonaura/aqara-g5pro-mqtt), which is
58
+ distributed under the following license:
59
+
60
+ MIT License
61
+
62
+ Copyright (c) 2026 Andrii Vynohradov (resonaura)
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.
package/README.md CHANGED
@@ -66,8 +66,10 @@ Open the Aqara plugin's settings, enter the camera's IP address (and a name if y
66
66
  If an Aqara camera is already set up in camera.ui through another plugin (the generic RTSP or ONVIF one, say), you can give it two-way audio without adding it again. It keeps its recordings, events, zones and HomeKit pairing. The Aqara plugin runs a **talk relay** for it: a local address that serves the camera's video with a talkback channel added.
67
67
 
68
68
  1. Open the Aqara plugin's settings and fill in the **Talk Relay** fields:
69
- - **Name**: the camera's name. It becomes part of the relay's address.
70
- - **Camera IP Address**, **RTSP Username** and **RTSP Password**: from the Aqara app.
69
+ - **Camera**: pick the camera. The list shows the Aqara cameras found on your network that the Aqara plugin hasn't added. Choose **Not listed** to enter the IP address yourself.
70
+ - **Name**: optional for a camera from the list, which brings its own name. The name becomes part of the relay's address.
71
+ - **Camera IP Address**: only for a camera that isn't listed.
72
+ - **RTSP Username** and **RTSP Password**: from the Aqara app.
71
73
  - **Stream**: `ch1` (best quality) unless your model names it differently, such as `1080p`.
72
74
  - **Port**: leave empty to use the next free port from 8560.
73
75
  2. Press **Add Talk Relay**. The plugin checks that the camera answers with these credentials, then shows the relay's address, for example `rtsp://127.0.0.1:8560/front-door`.
@@ -75,7 +77,9 @@ If an Aqara camera is already set up in camera.ui through another plugin (the ge
75
77
 
76
78
  Talk now works for that camera like it does for cameras the Aqara plugin added. Only the source pointed at the relay carries talk, so use it for the High source. The address works only on the machine camera.ui runs on. To undo it, point the High source back at the camera's own stream, then press **Remove** next to the relay.
77
79
 
78
- Unlike cameras added through the Aqara plugin, a relay doesn't follow the camera to a new IP address. Give the camera a fixed address in your router.
80
+ A relay made for a camera picked from the list follows that camera to a new IP address, like cameras the Aqara plugin added. A relay for a camera entered by hand doesn't, so give that camera a fixed address in your router.
81
+
82
+ When you add cameras, discovered cameras that already have a talk relay show **(has a talk relay)** after their name, so you don't add one twice by mistake. camera.ui doesn't let the Aqara plugin see cameras other plugins added, so it can only tell for cameras with a relay.
79
83
 
80
84
  ## Moving a camera to the Aqara plugin
81
85
 
@@ -102,9 +106,11 @@ Each camera's settings page in camera.ui has:
102
106
 
103
107
  Changes take effect right away.
104
108
 
109
+ The Aqara plugin's own settings also have **Maximum Call Duration**: how many seconds a talk call may last before the camera's speaker is cut off, 180 by default, for every camera and talk relay. It keeps a call that was left open from holding the speaker. 0 turns the limit off.
110
+
105
111
  ## Supported models
106
112
 
107
- Any Aqara camera with RTSP or ONVIF should work for video. Two-way audio has been confirmed on the **Camera G100** and the **G400 Video Doorbell**. These models share the same talk protocol and are expected to work too:
113
+ Any Aqara camera with RTSP or ONVIF should work for video. Two-way audio through Aqara's local talk protocol has been confirmed on the **Camera G100**, the **G400 Video Doorbell** and the **G410 Doorbell Camera Hub**. These models share the same talk protocol and are expected to work too:
108
114
 
109
115
  Camera Hub G2H, G2H Pro, G3, G5 Pro (Wi-Fi and PoE), Camera E1, G4 Doorbell and G410 Doorbell Camera Hub.
110
116
 
@@ -126,6 +132,9 @@ RTSP is off for this camera in the Aqara app, or the camera is on a network came
126
132
  - camera.ui has to be able to reach the camera on TCP port 54324 and UDP port 54323.
127
133
  - The camera takes one voice session at a time. While the Aqara app or another integration is talking, the camera refuses the session. The plugin logs that and tries again 15 seconds later.
128
134
 
135
+ **Talk stops after a few minutes.**
136
+ That's the **Maximum Call Duration** in the Aqara plugin's settings, 3 minutes by default. It cuts the speaker off when a call is left open, for example when HomeKit keeps the microphone on. Raise it, or set it to 0 to turn the limit off. After a cutoff, talk stays muted until you stop and start talking again.
137
+
129
138
  **Talk works only for a moment.**
130
139
  Turn on debug logging for the camera in camera.ui and look for "Voice session" and "heartbeat" lines. A camera that stops answering heartbeats ends the session.
131
140
 
package/bundle.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Aqara",
3
3
  "name": "camera-ui-aqara",
4
- "version": "3.1.0",
4
+ "version": "3.3.0",
5
5
  "description": "Adds Aqara cameras and doorbells to camera.ui over the local network: discovery, live streams on all three channels and two-way audio through Aqara's LAN talk protocol.",
6
6
  "author": "Donavan Becker (https://github.com/bisman-automations/camera-ui-aqara)",
7
7
  "type": "commonjs",