iobroker.agent-dvr 0.0.5 → 0.0.6

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.de.md CHANGED
@@ -45,6 +45,9 @@ Verbindet ioBroker mit [AgentDVR](https://www.ispyconnect.com): Kameras und Mikr
45
45
  | Übersichts-Widget | Einzelner HTML-State mit allen Kamera-Live-Kacheln | `true` |
46
46
  | Galerie-Widget pro Kamera | HTML-Aufnahmegalerie pro Kamera | `true` |
47
47
  | Roh-API-JSON speichern | Die vollständige getObjects-Antwort in `system.raw_getObjects` schreiben | `false` |
48
+ | go2rtc aktivieren | WebRTC-Streams von go2rtc statt MJPEG im Dashboard verwenden | `false` |
49
+ | go2rtc URL | Basis-URL des go2rtc-Servers, z.B. `http://192.168.1.10:1984` | — |
50
+ | Stream-Mapping | Tabelle pro Kamera: AgentDVR-Kamera-Key → go2rtc-Stream-Name | — |
48
51
 
49
52
  ## Datenpunkte
50
53
 
@@ -157,6 +160,32 @@ Die rohen Gerätedaten aus AgentDVR werden rekursiv gespiegelt (Tiefe konfigurie
157
160
  |-----------|-----|-----|-------------|
158
161
  | `overview` | string | R | HTML-Kachelraster aller Kameras mit Livestream-Links |
159
162
 
163
+ ## Live-Dashboard
164
+
165
+ Der Adapter liefert ein eingebautes Live-Dashboard unter `http://<iobroker>:<webport>/agent-dvr/`.
166
+
167
+ **Funktionen:**
168
+ - MJPEG- oder WebRTC-Livestream pro Kachel (konfigurierbar)
169
+ - Vollbild-Ansicht mit PTZ-Overlay und Aufnahme-Button
170
+ - Echtzeit-Bewegungs- (gelber Rahmen) und Alert-Indikator (oranger Rahmen)
171
+ - Aufnahmen-Tab mit Raster- und Timeline-Ansicht, Suche und Tag-Filter, Video-Player mit Vor/Zurück-Navigation
172
+ - Farbthema über Adapter-Konfiguration (7 Color-Picker)
173
+
174
+ ## go2rtc WebRTC-Streams
175
+
176
+ Das Dashboard kann [go2rtc](https://github.com/AlexxIT/go2rtc) nutzen, um flüssige WebRTC-Streams statt des MJPEG-Fallbacks anzuzeigen.
177
+
178
+ **Voraussetzung:** go2rtc muss installiert und gestartet sein, mit bereits konfigurierten Streams für die Kameras.
179
+
180
+ **Einrichtung:**
181
+ 1. In der Adapter-Konfiguration → Tab *Live-Dashboard*: **go2rtc aktivieren** und die **go2rtc URL** eintragen (z.B. `http://192.168.1.10:1984`).
182
+ 2. Die **Stream-Mapping**-Tabelle befüllen — eine Zeile pro Kamera:
183
+ - **AgentDVR Kamera-Key**: der ioBroker-Datenpunkt-Präfix, z.B. `cam_8_Reolink` (im ioBroker-Objektbaum sichtbar)
184
+ - **go2rtc Stream-Name**: der Stream-Name wie in der go2rtc-Oberfläche oder unter `/api/streams`, z.B. `Reolink`
185
+ 3. Speichern und Adapter neu starten. Gemappte Kameras zeigen den WebRTC-Stream; nicht gemappte Kameras verwenden weiterhin MJPEG.
186
+
187
+ **Funktionsweise:** Das Dashboard verbindet sich per WebSocket mit dem ioBroker-Webadapter, der die WebRTC-Signalisierung intern an go2rtc weiterleitet. Damit werden Browser-Cross-Origin-Beschränkungen umgangen, ohne go2rtc konfigurieren zu müssen.
188
+
160
189
  ## Snapshot als Base64
161
190
 
162
191
  Der State `snapshot_b64` enthält das aktuelle Kamerabild als `data:image/jpeg;base64,…`-String und kann direkt in vis/vis-2-Bild-Widgets verwendet werden, ohne dass der Browser einen eigenen HTTP-Request durchführen muss.
@@ -171,6 +200,9 @@ Der State `snapshot_b64` enthält das aktuelle Kamerabild als `data:image/jpeg;b
171
200
  Placeholder for the next version (at the beginning of the line):
172
201
  ### **WORK IN PROGRESS**
173
202
  -->
203
+ ### 0.0.6 (2026-07-01)
204
+ * (ipod86) docs: Live-Dashboard- und go2rtc-WebRTC-Abschnitte zur README hinzugefügt
205
+
174
206
  ### 0.0.5 (2026-07-01)
175
207
  * (ipod86) feat: go2rtc WebRTC-Stream-Integration — Mapping-Tabelle pro Kamera im Admin, ioBroker WebSocket-Proxy umgeht Browser-Cross-Origin-Sperre
176
208
  * (ipod86) feat: Automatisches Löschen von Kamera-/Mikrofon-Datenpunkten wenn das Gerät in AgentDVR entfernt wird
package/README.md CHANGED
@@ -47,6 +47,9 @@ Connects ioBroker to [AgentDVR](https://www.ispyconnect.com): auto-discovers all
47
47
  | Overview widget | Single HTML state combining all camera live tiles | `true` |
48
48
  | Gallery widget per camera | HTML recording gallery per camera | `true` |
49
49
  | Store raw API JSON | Write the full getObjects response to `system.raw_getObjects` | `false` |
50
+ | Enable go2rtc | Use WebRTC streams from go2rtc instead of MJPEG in the dashboard | `false` |
51
+ | go2rtc URL | Base URL of your go2rtc server, e.g. `http://192.168.1.10:1984` | — |
52
+ | Stream mapping | Per-camera table: AgentDVR camera key → go2rtc stream name | — |
50
53
 
51
54
  ## Data points
52
55
 
@@ -159,6 +162,32 @@ The raw device data from AgentDVR is mirrored recursively (depth configurable, d
159
162
  |-----------|------|-----|-------------|
160
163
  | `overview` | string | R | HTML tile grid of all cameras with live stream links |
161
164
 
165
+ ## Live Dashboard
166
+
167
+ The adapter ships a built-in live dashboard at `http://<iobroker>:<webport>/agent-dvr/`.
168
+
169
+ **Features:**
170
+ - Live MJPEG or WebRTC stream per camera tile (configurable)
171
+ - Fullscreen view with PTZ overlay and record button
172
+ - Real-time motion (yellow border) and alert (orange border) indicators
173
+ - Recordings tab with grid and timeline view, search and tag filter, video player with prev/next navigation
174
+ - Color theming via adapter config (7 color pickers)
175
+
176
+ ## go2rtc WebRTC Streams
177
+
178
+ The dashboard can use [go2rtc](https://github.com/AlexxIT/go2rtc) to display smooth WebRTC streams instead of the MJPEG fallback.
179
+
180
+ **Requirements:** go2rtc must be installed and running, with streams already configured pointing to your cameras.
181
+
182
+ **Setup:**
183
+ 1. In the adapter config → *Live Dashboard* tab, enable **go2rtc** and enter the **go2rtc URL** (e.g. `http://192.168.1.10:1984`).
184
+ 2. Fill in the **Stream mapping** table — one row per camera:
185
+ - **AgentDVR camera key**: the ioBroker data point prefix, e.g. `cam_8_Reolink` (visible in the ioBroker object tree)
186
+ - **go2rtc stream name**: the stream name as shown in go2rtc's web UI or `/api/streams` endpoint, e.g. `Reolink`
187
+ 3. Save and restart the adapter. Mapped cameras show the WebRTC stream; unmapped cameras continue using MJPEG.
188
+
189
+ **How it works:** The dashboard connects via WebSocket to the ioBroker web adapter, which proxies the WebRTC signaling to go2rtc internally. This avoids browser cross-origin restrictions without any go2rtc configuration changes.
190
+
162
191
  ## Snapshot as Base64
163
192
 
164
193
  The `snapshot_b64` state stores the current camera frame as a `data:image/jpeg;base64,…` string so it can be used directly in vis/vis-2 image widgets without a separate HTTP request from the browser.
@@ -173,6 +202,9 @@ The `snapshot_b64` state stores the current camera frame as a `data:image/jpeg;b
173
202
  Placeholder for the next version (at the beginning of the line):
174
203
  ### **WORK IN PROGRESS**
175
204
  -->
205
+ ### 0.0.6 (2026-07-01)
206
+ * (ipod86) docs: add Live Dashboard and go2rtc WebRTC sections to README
207
+
176
208
  ### 0.0.5 (2026-07-01)
177
209
  * (ipod86) feat: go2rtc WebRTC stream integration — per-camera mapping table in admin, ioBroker WebSocket proxy to bypass browser cross-origin restrictions
178
210
  * (ipod86) feat: auto-delete camera/microphone data points when device is removed from AgentDVR
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "agent-dvr",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "news": {
6
+ "0.0.6": {
7
+ "en": "add Live Dashboard and go2rtc WebRTC documentation to README",
8
+ "de": "Live-Dashboard- und go2rtc-WebRTC-Dokumentation zur README hinzugefügt",
9
+ "ru": "добавлена документация Live Dashboard и go2rtc WebRTC в README",
10
+ "pt": "documentação do Live Dashboard e go2rtc WebRTC adicionada ao README",
11
+ "nl": "Live Dashboard en go2rtc WebRTC documentatie toegevoegd aan README",
12
+ "fr": "documentation Live Dashboard et go2rtc WebRTC ajoutée au README",
13
+ "it": "documentazione Live Dashboard e go2rtc WebRTC aggiunta al README",
14
+ "es": "documentación de Live Dashboard y go2rtc WebRTC añadida al README",
15
+ "pl": "dodano dokumentację Live Dashboard i go2rtc WebRTC do README",
16
+ "uk": "додано документацію Live Dashboard і go2rtc WebRTC до README",
17
+ "zh-cn": "README 中新增 Live Dashboard 和 go2rtc WebRTC 文档"
18
+ },
6
19
  "0.0.5": {
7
20
  "en": "go2rtc WebRTC integration (admin table mapping, ioBroker WS proxy); auto-delete stale cameras; fix recording prev/next order",
8
21
  "de": "go2rtc WebRTC-Integration (Admin-Tabellen-Mapping, ioBroker WS-Proxy); gelöschte Kameras werden automatisch entfernt; Vor/Zurück-Reihenfolge bei Aufnahmen korrigiert",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.agent-dvr",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Connects ioBroker to AgentDVR: auto-discovers cameras, mirrors all device values as data points, delivers real-time triggers on new recordings, and generates a responsive HTML gallery with optional search and tag filtering.",
5
5
  "author": {
6
6
  "name": "ipod86",