iobroker.agent-dvr 0.5.0 → 0.5.2
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 +22 -11
- package/README.md +22 -11
- package/admin/assets/index-D01Axkcs.js +685 -0
- package/admin/i18n/de.json +1 -1
- package/admin/i18n/es.json +1 -1
- package/admin/i18n/fr.json +1 -1
- package/admin/i18n/it.json +1 -1
- package/admin/i18n/nl.json +1 -1
- package/admin/i18n/pl.json +1 -1
- package/admin/i18n/pt.json +1 -1
- package/admin/i18n/ru.json +1 -1
- package/admin/i18n/uk.json +1 -1
- package/admin/i18n/zh-cn.json +1 -1
- package/admin/index_m.html +1 -1
- package/build/main.js +56 -4
- package/build/main.js.map +2 -2
- package/io-package.json +28 -28
- package/lib/web.js +4 -3
- package/package.json +1 -1
- package/www/index.html +15 -14
package/README.de.md
CHANGED
|
@@ -25,9 +25,9 @@ Verbindet ioBroker mit [AgentDVR](https://www.ispyconnect.com): erkennt automati
|
|
|
25
25
|
- PTZ-Steuerung mit Halte-Schaltern (links, rechts, oben, unten, diagonal, Zoom, Stopp, Mitte)
|
|
26
26
|
- Stream-URLs pro Kamera (Snapshot, Foto, MJPEG, MP4)
|
|
27
27
|
- Webhook-Endpunkt für Echtzeit-Updates — per AgentDVR-Action aufrufbar, löst sofortigen vollständigen Poll aus
|
|
28
|
-
- HTML-
|
|
28
|
+
- HTML-Aufnahme-Widget pro Kamera (`widget_recordings`) und Live-Einzelkachelansicht (`widget_live`) — reines HTML/CSS oder JS-Modus mit Suche und Tag-Filter
|
|
29
29
|
- Übersichts-Widget, das alle Kameras in einem HTML-Zustand kombiniert
|
|
30
|
-
- **Eingebautes Live-Dashboard** unter `http://<iobroker>:<webport>/agent-dvr/` — keine zusätzliche App nötig:
|
|
30
|
+
- **Eingebautes Live-Dashboard** unter `http://<iobroker>:<webport>/agent-dvr.0/` — keine zusätzliche App nötig:
|
|
31
31
|
- Kameraindividuelle Stream-Auswahl: MJPEG, MP4/FLV mit Ton oder go2rtc WebRTC/MSE
|
|
32
32
|
- Kamera-Filter-Schaltfläche im Header (Trichter-Symbol) — öffnet ein Popover mit Checkboxen pro Kamera und einem „Alle"-Toggle; Badge zeigt Anzahl verborgen Kameras; Zustand im localStorage gespeichert
|
|
33
33
|
- Echtzeit-Bewegungs- und Alarm-Indikatoren (gelber / oranger Kachelrahmen) via Socket.io
|
|
@@ -210,7 +210,8 @@ Die go2rtc-Streamnamen werden automatisch vom go2rtc-Server abgerufen, wenn das
|
|
|
210
210
|
|
|
211
211
|
## Live-Dashboard
|
|
212
212
|
|
|
213
|
-
Das eingebaute Live-Dashboard ist erreichbar unter `http://<iobroker>:<webport>/agent-dvr/`.
|
|
213
|
+
Das eingebaute Live-Dashboard ist erreichbar unter `http://<iobroker>:<webport>/agent-dvr.0/`.
|
|
214
|
+
Eine zweite Instanz ist unter `/agent-dvr.1/` erreichbar, eine dritte unter `/agent-dvr.2/` usw.
|
|
214
215
|
|
|
215
216
|
**Funktionen:**
|
|
216
217
|
- Kameraindividuelle Stream-Auswahl: MJPEG, MP4/FLV mit Ton (via flv.js) oder go2rtc WebRTC/MSE
|
|
@@ -244,10 +245,10 @@ Der Adapter kann alle Medien über ioBroker leiten, sodass der Browser keine dir
|
|
|
244
245
|
|
|
245
246
|
| Was wird geleitet | Proxy aus | Proxy an |
|
|
246
247
|
|-------------------|-----------|----------|
|
|
247
|
-
| MJPEG-Livestream | direkte AgentDVR-URL | `/agent-dvr/api/mjpeg?oid=…` |
|
|
248
|
-
| Snapshot | direkte AgentDVR-URL | `/agent-dvr/api/snap?oid=…` |
|
|
249
|
-
| Aufnahmen-Vorschaubilder | direkte AgentDVR-URL | `/agent-dvr/api/thumb?oid=…` |
|
|
250
|
-
| Aufnahmen-Videos | direkte AgentDVR-URL | `/agent-dvr/api/media?oid=…` |
|
|
248
|
+
| MJPEG-Livestream | direkte AgentDVR-URL | `/agent-dvr.0/api/mjpeg?oid=…` |
|
|
249
|
+
| Snapshot | direkte AgentDVR-URL | `/agent-dvr.0/api/snap?oid=…` |
|
|
250
|
+
| Aufnahmen-Vorschaubilder | direkte AgentDVR-URL | `/agent-dvr.0/api/thumb?oid=…` |
|
|
251
|
+
| Aufnahmen-Videos | direkte AgentDVR-URL | `/agent-dvr.0/api/media?oid=…` |
|
|
251
252
|
| FLV-Livestream | **immer über ioBroker** | **immer über ioBroker** |
|
|
252
253
|
| go2rtc-WebSocket | **immer über ioBroker** | **immer über ioBroker** |
|
|
253
254
|
|
|
@@ -376,16 +377,19 @@ FLV und go2rtc laufen unabhängig von der Einstellung immer über ioBroker — d
|
|
|
376
377
|
| Datenpunkt | Typ | R/W | Beschreibung |
|
|
377
378
|
|-----------|-----|-----|-------------|
|
|
378
379
|
| `<cam>.events.*` | verschieden | R | Metadaten der letzten Aufnahme — erfordert „Ereignis-Datenpunkte" |
|
|
379
|
-
| `<cam>.
|
|
380
|
+
| `<cam>.widget_recordings` | string | R | HTML-Aufnahmegalerie — erfordert „Galerie-Widget" |
|
|
381
|
+
| `<cam>.widget_live` | string | R | HTML-Live-Einzelkachel der Kamera — erfordert „Galerie-Widget"; Standbild wird bei jedem Adapter-Poll aktualisiert |
|
|
380
382
|
|
|
381
383
|
## Webhook
|
|
382
384
|
|
|
383
385
|
Der Adapter stellt einen Webhook-Endpunkt bereit, der einen sofortigen vollständigen Poll auslöst:
|
|
384
386
|
|
|
385
387
|
```
|
|
386
|
-
GET http://<iobroker>:<webport>/agent-dvr/webhook
|
|
388
|
+
GET http://<iobroker>:<webport>/agent-dvr.0/webhook
|
|
387
389
|
```
|
|
388
390
|
|
|
391
|
+
`agent-dvr.0` durch die tatsächliche Instanznummer ersetzen (`agent-dvr.1` usw.) wenn mehrere Instanzen laufen.
|
|
392
|
+
|
|
389
393
|
Diese URL als **Action** in AgentDVR eintragen (Kamera → Bearbeiten → Alarme → Actions → URL), um bei abgeschlossenen Aufnahmen oder Alarmen sofortige Aktualisierungen zu erhalten. Der Adapter holt dann sofort alle Kameradaten, Aufnahmen und Systemstats neu — ohne auf den nächsten Poll-Zyklus warten zu müssen.
|
|
390
394
|
|
|
391
395
|
Gibt `{"ok":true}` bei Erfolg zurück.
|
|
@@ -394,7 +398,7 @@ Gibt `{"ok":true}` bei Erfolg zurück.
|
|
|
394
398
|
|
|
395
399
|
| Datenpunkt | Typ | R/W | Beschreibung |
|
|
396
400
|
|-----------|-----|-----|-------------|
|
|
397
|
-
| `
|
|
401
|
+
| `widget_live_overview` | string | R | HTML-Kachelraster aller Kameras — Standbilder werden bei jedem Adapter-Poll aktualisiert |
|
|
398
402
|
|
|
399
403
|
## Changelog
|
|
400
404
|
|
|
@@ -402,12 +406,19 @@ Gibt `{"ok":true}` bei Erfolg zurück.
|
|
|
402
406
|
Placeholder for the next version (at the beginning of the line):
|
|
403
407
|
### **WORK IN PROGRESS**
|
|
404
408
|
-->
|
|
409
|
+
### 0.5.2 (2026-08-05)
|
|
410
|
+
* (ipod86) feat: `overview`-Datenpunkt in `widget_live_overview` umbenannt für konsistentes Namensschema
|
|
411
|
+
|
|
412
|
+
### 0.5.1 (2026-08-05)
|
|
413
|
+
* (ipod86) feat: Instanz-eigenes URL-Routing — jede Adapter-Instanz erhält einen eigenen URL-Namespace (`agent-dvr.0/`, `agent-dvr.1/`, …)
|
|
414
|
+
* (ipod86) feat: Aufnahme-Widget-Datenpunkt pro Kamera von `widget` zu `widget_recordings` umbenannt; neuer Datenpunkt `widget_live` mit Live-Einzelkachel der Kamera
|
|
415
|
+
|
|
405
416
|
### 0.5.0 (2026-08-03)
|
|
406
417
|
* (ipod86) feat: Kamera-Chip-Leiste durch kompakten Header-Filter-Button ersetzt — Trichter-Icon öffnet Popover mit Checkboxen und Drag-to-Reorder; Reihenfolge im localStorage gespeichert
|
|
407
418
|
* (ipod86) feat: Neue-Aufnahmen-Badge am Aufnahmen-Tab — zeigt Anzahl neuer Aufnahmen seit letztem Besuch; browser- und gerätebezogen im localStorage gespeichert
|
|
408
419
|
* (ipod86) feat: Aufnahmen-Anzeigeeinstellungen — ⚙ Zahnrad im Auswahl-/Löschen-Balken; Schieberegler für Rasterspaltengröße, maximale Aufnahmen und Badge-Toggle (alles im localStorage)
|
|
409
420
|
* (ipod86) feat: Erstbesuchs-Hinweis-Modals für Live-Ansicht (Filter & Sortierung) und Aufnahmen-Tab (Gesten, Zahnrad, Badge)
|
|
410
|
-
* (ipod86) feat: Webhook-Endpunkt `/agent-dvr/webhook` löst sofortigen vollständigen Poll aus — als AgentDVR-Action konfigurierbar für Echtzeit-Updates
|
|
421
|
+
* (ipod86) feat: Webhook-Endpunkt `/agent-dvr.0/webhook` löst sofortigen vollständigen Poll aus — als AgentDVR-Action konfigurierbar für Echtzeit-Updates
|
|
411
422
|
* (ipod86) feat: PTZ-Presets — gespeicherte Positionen im PTZ-Overlay anzeigen und anfahren; Selektor-Datenpunkt `<cam>.control.ptz.preset` pro Kamera (ab AgentDVR v7.7.8.0+)
|
|
412
423
|
* (ipod86) feat: Ereignisprotokoll-Ansicht im Aufnahmen-Bereich (Uhr-Icon neben Raster und Timeline)
|
|
413
424
|
* (ipod86) feat: Aufnahme löschen direkt aus dem Video-Player-Modal (Papierkorb, 2-Klick-Bestätigung, ab AgentDVR v7.7.8.0+)
|
package/README.md
CHANGED
|
@@ -30,9 +30,9 @@ Connects ioBroker to [AgentDVR](https://www.ispyconnect.com): auto-discovers all
|
|
|
30
30
|
- PTZ control with hold-to-move switches
|
|
31
31
|
- Stream URLs per camera (snapshot, photo, MJPEG, MP4)
|
|
32
32
|
- Webhook endpoint for real-time updates — call it from an AgentDVR action to trigger an immediate full poll
|
|
33
|
-
- HTML gallery widget per camera (pure HTML/CSS or full JS mode with search and tag filter
|
|
33
|
+
- HTML recording gallery widget per camera (`widget_recordings`) and single-camera live tile (`widget_live`) — pure HTML/CSS or full JS mode with search and tag filter
|
|
34
34
|
- Overview widget combining all cameras in one HTML state
|
|
35
|
-
- **Built-in live dashboard** at `http://<iobroker>:<webport>/agent-dvr/` — no additional app needed:
|
|
35
|
+
- **Built-in live dashboard** at `http://<iobroker>:<webport>/agent-dvr.0/` — no additional app needed:
|
|
36
36
|
- Per-camera stream selection: MJPEG, MP4/FLV with audio, or go2rtc WebRTC/MSE
|
|
37
37
|
- Camera filter button in the header (funnel icon) — opens a per-camera checkbox popover; badge shows how many cameras are hidden; state saved in localStorage
|
|
38
38
|
- Real-time motion and alert indicators (yellow / orange tile border) via Socket.io
|
|
@@ -215,7 +215,8 @@ The go2rtc stream names are fetched automatically from the go2rtc server when th
|
|
|
215
215
|
|
|
216
216
|
## Live Dashboard
|
|
217
217
|
|
|
218
|
-
The adapter ships a built-in live dashboard at `http://<iobroker>:<webport>/agent-dvr/`.
|
|
218
|
+
The adapter ships a built-in live dashboard at `http://<iobroker>:<webport>/agent-dvr.0/`.
|
|
219
|
+
A second instance is reachable at `/agent-dvr.1/`, a third at `/agent-dvr.2/`, and so on.
|
|
219
220
|
|
|
220
221
|
**Features:**
|
|
221
222
|
- Per-camera stream selection: MJPEG, MP4/FLV with audio (via flv.js), or go2rtc WebRTC/MSE
|
|
@@ -249,10 +250,10 @@ The adapter can route all media through ioBroker so the browser never needs a di
|
|
|
249
250
|
|
|
250
251
|
| What is proxied | Proxy off | Proxy on |
|
|
251
252
|
|-----------------|-----------|----------|
|
|
252
|
-
| MJPEG live stream | direct AgentDVR URL | `/agent-dvr/api/mjpeg?oid=…` |
|
|
253
|
-
| Snapshot | direct AgentDVR URL | `/agent-dvr/api/snap?oid=…` |
|
|
254
|
-
| Recording thumbnails | direct AgentDVR URL | `/agent-dvr/api/thumb?oid=…` |
|
|
255
|
-
| Recording videos | direct AgentDVR URL | `/agent-dvr/api/media?oid=…` |
|
|
253
|
+
| MJPEG live stream | direct AgentDVR URL | `/agent-dvr.0/api/mjpeg?oid=…` |
|
|
254
|
+
| Snapshot | direct AgentDVR URL | `/agent-dvr.0/api/snap?oid=…` |
|
|
255
|
+
| Recording thumbnails | direct AgentDVR URL | `/agent-dvr.0/api/thumb?oid=…` |
|
|
256
|
+
| Recording videos | direct AgentDVR URL | `/agent-dvr.0/api/media?oid=…` |
|
|
256
257
|
| FLV live stream | **always via ioBroker** | **always via ioBroker** |
|
|
257
258
|
| go2rtc WebSocket | **always via ioBroker** | **always via ioBroker** |
|
|
258
259
|
|
|
@@ -381,16 +382,19 @@ FLV and go2rtc always run through ioBroker regardless of the setting — the bro
|
|
|
381
382
|
| Data point | Type | R/W | Description |
|
|
382
383
|
|-----------|------|-----|-------------|
|
|
383
384
|
| `<cam>.events.*` | various | R | Latest recording metadata — requires "Event data points" |
|
|
384
|
-
| `<cam>.
|
|
385
|
+
| `<cam>.widget_recordings` | string | R | HTML recording gallery — requires "Gallery widget" |
|
|
386
|
+
| `<cam>.widget_live` | string | R | HTML single-camera live tile — requires "Gallery widget"; snapshot refreshes on each adapter poll |
|
|
385
387
|
|
|
386
388
|
## Webhook
|
|
387
389
|
|
|
388
390
|
The adapter exposes a webhook endpoint that triggers an immediate full poll of AgentDVR:
|
|
389
391
|
|
|
390
392
|
```
|
|
391
|
-
GET http://<iobroker>:<webport>/agent-dvr/webhook
|
|
393
|
+
GET http://<iobroker>:<webport>/agent-dvr.0/webhook
|
|
392
394
|
```
|
|
393
395
|
|
|
396
|
+
Replace `agent-dvr.0` with the actual instance number (`agent-dvr.1`, etc.) if you run multiple instances.
|
|
397
|
+
|
|
394
398
|
Configure this URL as an **Action** in AgentDVR (Camera → Edit → Alerts → Actions → URL) to get real-time updates whenever a recording finishes or an alert fires. The adapter will immediately re-fetch all camera data, recordings, and system stats — no need to wait for the next poll cycle.
|
|
395
399
|
|
|
396
400
|
Returns `{"ok":true}` on success.
|
|
@@ -399,15 +403,22 @@ Returns `{"ok":true}` on success.
|
|
|
399
403
|
|
|
400
404
|
| Data point | Type | R/W | Description |
|
|
401
405
|
|-----------|------|-----|-------------|
|
|
402
|
-
| `
|
|
406
|
+
| `widget_live_overview` | string | R | HTML tile grid of all cameras — snapshot refreshes on each adapter poll |
|
|
403
407
|
|
|
404
408
|
## Changelog
|
|
409
|
+
### 0.5.2 (2026-08-05)
|
|
410
|
+
* (ipod86) feat: rename `overview` DP to `widget_live_overview` for consistent naming
|
|
411
|
+
|
|
412
|
+
### 0.5.1 (2026-08-05)
|
|
413
|
+
* (ipod86) feat: per-instance URL routing — each adapter instance uses its own URL namespace (`agent-dvr.0/`, `agent-dvr.1/`, …)
|
|
414
|
+
* (ipod86) feat: rename per-camera recording widget DP from `widget` to `widget_recordings`; add new `widget_live` DP with a single-camera live tile
|
|
415
|
+
|
|
405
416
|
### 0.5.0 (2026-08-03)
|
|
406
417
|
* (ipod86) feat: replace live-view camera chip-bar with compact header filter button — funnel icon opens a popover with per-camera checkboxes and drag-to-reorder; order persisted in localStorage
|
|
407
418
|
* (ipod86) feat: new-recordings badge on the Recordings tab — shows count of recordings since last visit; persisted per browser/device in localStorage
|
|
408
419
|
* (ipod86) feat: recording display settings panel — ⚙ gear button in the select/delete bar; grid column width slider, max-recordings override, badge toggle (all persisted in localStorage)
|
|
409
420
|
* (ipod86) feat: first-visit onboarding modals for live view (camera filter & sort) and recordings tab (gestures, gear panel, badge)
|
|
410
|
-
* (ipod86) feat: webhook endpoint `/agent-dvr/webhook` triggers immediate full poll — configure as AgentDVR action for real-time updates
|
|
421
|
+
* (ipod86) feat: webhook endpoint `/agent-dvr.0/webhook` triggers immediate full poll — configure as AgentDVR action for real-time updates
|
|
411
422
|
* (ipod86) feat: PTZ presets — navigate to saved presets from PTZ overlay; single selector DP `<cam>.control.ptz.preset` per camera (requires AgentDVR v7.7.8.0+)
|
|
412
423
|
* (ipod86) feat: add event log view to recordings panel (clock icon toggle) alongside grid and timeline
|
|
413
424
|
* (ipod86) feat: delete recording from video modal (trash icon, two-click confirm, requires AgentDVR v7.7.8.0+)
|