iobroker.agent-dvr 0.5.1 → 0.5.3

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
@@ -9,6 +9,8 @@
9
9
 
10
10
  Verbindet ioBroker mit [AgentDVR](https://www.ispyconnect.com): erkennt automatisch alle Kameras, spiegelt jede Geräteeigenschaft als Datenpunkt, stellt Schaltflächen für alle gängigen Befehle bereit (Aufnahme, Scharf, PTZ, …), liefert Push-getriggerte Galerie-Updates bei neuen Aufnahmen, erzeugt ein responsives HTML-Galerie-Widget pro Kamera und enthält ein eingebautes Live-Dashboard mit kameraindividueller Stream-Auswahl (MJPEG, MP4/FLV mit Ton oder go2rtc WebRTC).
11
11
 
12
+ > Dies ist eine Community-Integration, nicht mit iSpyConnect verbunden oder von iSpyConnect unterstützt. Bitte Probleme über den [GitHub-Issue-Tracker dieses Repositories](https://github.com/ipod86/ioBroker.agent-dvr/issues) melden, nicht über iSpyConnect-Support-Kanäle.
13
+
12
14
  ## Voraussetzungen
13
15
 
14
16
  - ioBroker mit `iobroker.web` Adapter
@@ -265,6 +267,10 @@ FLV und go2rtc laufen unabhängig von der Einstellung immer über ioBroker — d
265
267
  - Direktverbindung ist schneller — kein Umweg, geringere Latenz
266
268
  - Weniger Last auf dem ioBroker-Server — Streams müssen nicht durch Node.js laufen
267
269
 
270
+ ### Sicherheit
271
+
272
+ Dieser Adapter speichert deine AgentDVR-Admin-Zugangsdaten und stellt `system.control.purge`, `system.control.restart` und `system.control.unblockExternal` als per Knopfdruck schreibbare Zustände bereit — wer den ioBroker-Web-Port erreichen kann, kann damit Aufnahmen löschen, AgentDVR neu starten oder dessen externe Zugriffssperre deaktivieren. **Stelle sicher, dass `iobroker.web` eine Authentifizierung aktiviert hat, bevor ioBroker außerhalb deines LANs erreichbar gemacht wird** (direkt oder über einen Reverse-Proxy) — das ist bei vielen ioBroker-Installationen nicht der Standard.
273
+
268
274
  > Die Einstellung wird sofort nach dem Speichern wirksam — kein Neustart erforderlich.
269
275
 
270
276
  ## Datenpunkte
@@ -378,7 +384,7 @@ FLV und go2rtc laufen unabhängig von der Einstellung immer über ioBroker — d
378
384
  |-----------|-----|-----|-------------|
379
385
  | `<cam>.events.*` | verschieden | R | Metadaten der letzten Aufnahme — erfordert „Ereignis-Datenpunkte" |
380
386
  | `<cam>.widget_recordings` | string | R | HTML-Aufnahmegalerie — erfordert „Galerie-Widget" |
381
- | `<cam>.widget_live` | string | R | HTML-Live-Einzelkachel der Kamera — erfordert „Galerie-Widget" |
387
+ | `<cam>.widget_live` | string | R | HTML-Live-Einzelkachel der Kamera — erfordert „Galerie-Widget"; Standbild wird bei jedem Adapter-Poll aktualisiert |
382
388
 
383
389
  ## Webhook
384
390
 
@@ -398,7 +404,7 @@ Gibt `{"ok":true}` bei Erfolg zurück.
398
404
 
399
405
  | Datenpunkt | Typ | R/W | Beschreibung |
400
406
  |-----------|-----|-----|-------------|
401
- | `overview` | string | R | HTML-Kachelraster aller Kameras |
407
+ | `widget_live_overview` | string | R | HTML-Kachelraster aller Kameras — Standbilder werden bei jedem Adapter-Poll aktualisiert |
402
408
 
403
409
  ## Changelog
404
410
 
@@ -406,6 +412,12 @@ Gibt `{"ok":true}` bei Erfolg zurück.
406
412
  Placeholder for the next version (at the beginning of the line):
407
413
  ### **WORK IN PROGRESS**
408
414
  -->
415
+ ### 0.5.3 (2026-10-04)
416
+ * (ipod86) fix: ensuredFolders-Cache wird beim Löschen von Objekten mitbereinigt, verhindert veraltete "no existing object"-Warnungen bei wiederentdeckten Laufwerken/Kameras
417
+
418
+ ### 0.5.2 (2026-08-05)
419
+ * (ipod86) feat: `overview`-Datenpunkt in `widget_live_overview` umbenannt für konsistentes Namensschema
420
+
409
421
  ### 0.5.1 (2026-08-05)
410
422
  * (ipod86) feat: Instanz-eigenes URL-Routing — jede Adapter-Instanz erhält einen eigenen URL-Namespace (`agent-dvr.0/`, `agent-dvr.1/`, …)
411
423
  * (ipod86) feat: Aufnahme-Widget-Datenpunkt pro Kamera von `widget` zu `widget_recordings` umbenannt; neuer Datenpunkt `widget_live` mit Live-Einzelkachel der Kamera
@@ -443,58 +455,6 @@ Gibt `{"ok":true}` bei Erfolg zurück.
443
455
  * (ipod86) fix: go2rtcEnabled-Flag wird in fetchGo2rtcStreams jetzt berücksichtigt
444
456
  * (ipod86) fix: nicht verwendeter isSupportedLang-Export aus widget-i18n entfernt
445
457
 
446
- ### 0.4.2 (2026-07-12)
447
- * (ipod86) fix: FLV-Stream-Proxy sendet jetzt Authorization-Header (HTTP 401 bei AgentDVR-Auth)
448
- * (ipod86) fix: Online-Status der Kameras wurde aus falschem State-Pfad gelesen (data.online → status.online)
449
- * (ipod86) fix: MP4/FLV-Stream-Label war auf Deutsch hardcodiert — jetzt in allen 11 Sprachen übersetzt
450
- * (ipod86) fix: Admin-UI-Standardwerte stimmen jetzt mit io-package.json überein (dashTagPosition, widgetAnzahl, widgetBorderRadius)
451
- * (ipod86) fix: go2rtcEnabled-Flag wird beim Laden der Streams im Admin-UI jetzt berücksichtigt
452
- * (ipod86) fix: enableStreamProxy fehlte in den native-Defaults der io-package.json
453
-
454
- ### 0.4.1 (2026-07-12)
455
- * (ipod86) fix: Übersichtskachel zeigt ioBroker-Host-IP; go2rtc-URL nur bei aktivierter Option sichtbar
456
-
457
- ### 0.4.0 (2026-07-12)
458
- * (ipod86) feat: optionaler MJPEG- und Snapshot-Stream-Proxy über ioBroker (Browser benötigt nur eine Verbindung zu ioBroker, nicht direkt zu AgentDVR)
459
-
460
- ### 0.3.0 (2026-07-06)
461
- * (ipod86) feat: Steuerbuttons scheduleOn/Off und detectorOn/Off für Kameras und Mikrofone
462
- * (ipod86) feat: Empfindlichkeitszustände sensitivityMin, sensitivityMax, sensitivityGain für Kameras (0–100)
463
- * (ipod86) feat: URL-Zustände audio_mp3 und audio_ogg für Mikrofone
464
- * (ipod86) fix: objectDetectOn/Off und Snapshot-Schaltfläche auf Kameras (ot=2) beschränkt
465
- * (ipod86) feat: flv.js in Dashboard-HTML eingebettet — keine externe Datei mehr nötig
466
- * (ipod86) fix: FLV-Stream-Seitenverhältnis nach Tab-Wechsel korrekt beibehalten
467
- * (ipod86) feat: ausklappbarer Tag-Filter in Aufnahmen- und Timeline-Ansicht
468
- * (ipod86) feat: nativer Browser-Vollbild-Button im Live-View-Modal mit korrektem Seitenverhältnis
469
- * (ipod86) feat: Header im Live-View-Modal blendet sich nach 3 s Inaktivität aus, erscheint bei Maus/Touch wieder
470
- * (ipod86) fix: i18n-Keys fsEnter, fsExit, filterByLabel, timelineView, closePanel in allen 10 Sprachen
471
-
472
- ### 0.2.2 (2026-07-04)
473
- * (ipod86) fix: verbleibende deutsche Strings im DashboardPanel via I18n.t() übersetzt
474
- * (ipod86) fix: i18n-Keys loadingCamerasAndStreams, cfgCameraColumn, cfgStreamSourceColumn, reload in allen 11 Sprachen ergänzt
475
- * (ipod86) chore: POSIX mv durch plattformübergreifendes node rename im src-admin Build-Script ersetzt
476
-
477
- ### 0.2.1 (2026-07-04)
478
- * (ipod86) fix: alle deutschen Benutzer-Strings und Fehlermeldungen auf Englisch übersetzt
479
- * (ipod86) fix: DashboardPanel zeigt i18n-fähige Meldungen bei fehlender IP und leerer Kameraliste
480
- * (ipod86) chore: .npmignore entfernt — files-Feld in package.json steuert npm-Paketinhalt korrekt
481
-
482
- ### 0.2.0 (2026-07-04)
483
- * (ipod86) feat: Kamera-Filter-Badges im Dashboard mit localStorage-Persistenz
484
- * (ipod86) feat: FLV/MP4-Stream automatischer Reconnect nach Netzwerkfehler (5 s Verzögerung)
485
- * (ipod86) feat: go2rtc WebSocket automatischer Reconnect nach unerwartetem Verbindungsabbruch (5 s)
486
- * (ipod86) feat: go2rtc Stall-Erkennung — Retry wenn Stream nach 10 s schwarz bleibt
487
- * (ipod86) fix: cameraStreams fehlte in io-package.json native-Defaults (Einstellungen wurden nicht gespeichert)
488
- * (ipod86) fix: adminUI.config „custom" → „materialize" (404 auf der Adapter-Einstellungsseite)
489
- * (ipod86) fix: Auflösungsanzeige beim FLV-Stream-Laden entfernt
490
- * (ipod86) fix: CDN-Fallback für flv.js entfernt — nur lokale Kopie
491
- * (ipod86) fix: AgentDVR/go2rtc-Sektionsüberschriften aus dem Dashboard-Raster entfernt
492
- * (ipod86) fix: cfgGo2rtcMapping_tt Tooltip in allen 11 Sprachen korrigiert
493
- * (ipod86) fix: setTimeout() durch this.setTimeout() ersetzt (E5005)
494
- * (ipod86) fix: veraltete jsonConfig.json entfernt — Einstellungen werden durch React-Admin verwaltet (W5046)
495
- * (ipod86) chore: admin/-Verzeichnis aus ESLint ausgeschlossen (OOM im CI verhindert)
496
- * (ipod86) docs: README und README.de vollständig neu geschrieben mit allen Tabs und Einstellungen
497
-
498
458
  [Ältere Changelog-Einträge in CHANGELOG_OLD.md](CHANGELOG_OLD.md)
499
459
 
500
460
  ## Lizenz
package/README.md CHANGED
@@ -14,6 +14,8 @@
14
14
 
15
15
  Connects ioBroker to [AgentDVR](https://www.ispyconnect.com): auto-discovers all cameras, mirrors every device property as data points, provides buttons for all common commands (record, arm, PTZ, …), delivers push-triggered gallery updates on new recordings, generates a responsive HTML gallery widget per camera, and includes a built-in live dashboard with per-camera stream selection (MJPEG, MP4/FLV with audio, or go2rtc WebRTC).
16
16
 
17
+ > This is a community-maintained integration, not affiliated with or supported by iSpyConnect. Please report issues via [this repository's GitHub tracker](https://github.com/ipod86/ioBroker.agent-dvr/issues), not iSpyConnect support channels.
18
+
17
19
  ## Requirements
18
20
 
19
21
  - ioBroker with `iobroker.web` adapter
@@ -270,6 +272,10 @@ FLV and go2rtc always run through ioBroker regardless of the setting — the bro
270
272
  - Direct connection is faster — no extra hop, lower latency
271
273
  - Less load on the ioBroker server — streams do not pass through Node.js
272
274
 
275
+ ### Security
276
+
277
+ This adapter stores your AgentDVR admin credentials and exposes `system.control.purge`, `system.control.restart` and `system.control.unblockExternal` as one-click writable states — anyone who can reach the ioBroker web port can wipe recordings, restart AgentDVR or disable its external-access block. **Make sure `iobroker.web` has authentication enabled before exposing ioBroker outside your LAN** (directly or via a reverse proxy) — this is not the default in many ioBroker setups.
278
+
273
279
  > The setting takes effect immediately after saving — no restart required.
274
280
 
275
281
  ## Data points
@@ -383,7 +389,7 @@ FLV and go2rtc always run through ioBroker regardless of the setting — the bro
383
389
  |-----------|------|-----|-------------|
384
390
  | `<cam>.events.*` | various | R | Latest recording metadata — requires "Event data points" |
385
391
  | `<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" |
392
+ | `<cam>.widget_live` | string | R | HTML single-camera live tile — requires "Gallery widget"; snapshot refreshes on each adapter poll |
387
393
 
388
394
  ## Webhook
389
395
 
@@ -403,9 +409,16 @@ Returns `{"ok":true}` on success.
403
409
 
404
410
  | Data point | Type | R/W | Description |
405
411
  |-----------|------|-----|-------------|
406
- | `overview` | string | R | HTML tile grid of all cameras |
412
+ | `widget_live_overview` | string | R | HTML tile grid of all cameras — snapshot refreshes on each adapter poll |
407
413
 
408
414
  ## Changelog
415
+ <!-- markdownlint-disable-next-line MD024 -->
416
+ ### 0.5.3 (2026-10-04)
417
+ * (ipod86) fix: clear ensuredFolders cache on object deletion to prevent stale "no existing object" warnings for rediscovered drives/cameras
418
+
419
+ ### 0.5.2 (2026-08-05)
420
+ * (ipod86) feat: rename `overview` DP to `widget_live_overview` for consistent naming
421
+
409
422
  ### 0.5.1 (2026-08-05)
410
423
  * (ipod86) feat: per-instance URL routing — each adapter instance uses its own URL namespace (`agent-dvr.0/`, `agent-dvr.1/`, …)
411
424
  * (ipod86) feat: rename per-camera recording widget DP from `widget` to `widget_recordings`; add new `widget_live` DP with a single-camera live tile
@@ -443,32 +456,6 @@ Returns `{"ok":true}` on success.
443
456
  * (ipod86) fix: go2rtcEnabled config flag is now honored in fetchGo2rtcStreams
444
457
  * (ipod86) fix: remove unused isSupportedLang export from widget-i18n
445
458
 
446
- ### 0.4.2 (2026-07-12)
447
- * (ipod86) fix: FLV stream proxy now sends Authorization header (HTTP 401 with AgentDVR auth)
448
- * (ipod86) fix: dashboard camera online status was read from wrong state path (data.online → status.online)
449
- * (ipod86) fix: MP4/FLV stream label was hardcoded German — now translated in all 11 languages
450
- * (ipod86) fix: admin UI default values now match io-package.json (dashTagPosition, widgetAnzahl, widgetBorderRadius)
451
- * (ipod86) fix: go2rtcEnabled flag now respected when loading streams in admin UI
452
- * (ipod86) fix: enableStreamProxy missing from native defaults in io-package.json
453
-
454
- ### 0.4.1 (2026-07-12)
455
- * (ipod86) fix: overview tile links to ioBroker host; go2rtc URL shown only when enabled
456
-
457
- ### 0.4.0 (2026-07-12)
458
- * (ipod86) feat: optional MJPEG and snapshot stream proxy through ioBroker (browser needs only one connection to ioBroker, not directly to AgentDVR)
459
-
460
- ### 0.3.0 (2026-07-06)
461
- * (ipod86) feat: add scheduleOn/Off and detectorOn/Off control buttons for cameras and microphones
462
- * (ipod86) feat: add sensitivityMin, sensitivityMax, sensitivityGain level states for cameras (0–100)
463
- * (ipod86) feat: add audio_mp3 and audio_ogg URL states for microphones
464
- * (ipod86) fix: restrict objectDetectOn/Off and snapshot buttons to cameras (ot=2) only
465
- * (ipod86) feat: inline flv.js into dashboard HTML — no external file required
466
- * (ipod86) fix: preserve FLV stream aspect ratio after tab visibility change (all three player call sites)
467
- * (ipod86) feat: collapsible tag filter row on recordings and timeline pages
468
- * (ipod86) feat: native browser fullscreen button in live view modal with correct aspect ratio
469
- * (ipod86) feat: live view modal header auto-hides after 3 s of inactivity; reappears on mouse/touch
470
- * (ipod86) fix: add fsEnter, fsExit, filterByLabel, timelineView, closePanel i18n keys in all 10 languages
471
-
472
459
  [Older changelog entries in CHANGELOG_OLD.md](CHANGELOG_OLD.md)
473
460
 
474
461
  ## License