iobroker.agent-dvr 0.5.2 → 0.5.4

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
@@ -406,6 +412,9 @@ 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
+
409
418
  ### 0.5.2 (2026-08-05)
410
419
  * (ipod86) feat: `overview`-Datenpunkt in `widget_live_overview` umbenannt für konsistentes Namensschema
411
420
 
@@ -446,58 +455,6 @@ Gibt `{"ok":true}` bei Erfolg zurück.
446
455
  * (ipod86) fix: go2rtcEnabled-Flag wird in fetchGo2rtcStreams jetzt berücksichtigt
447
456
  * (ipod86) fix: nicht verwendeter isSupportedLang-Export aus widget-i18n entfernt
448
457
 
449
- ### 0.4.2 (2026-07-12)
450
- * (ipod86) fix: FLV-Stream-Proxy sendet jetzt Authorization-Header (HTTP 401 bei AgentDVR-Auth)
451
- * (ipod86) fix: Online-Status der Kameras wurde aus falschem State-Pfad gelesen (data.online → status.online)
452
- * (ipod86) fix: MP4/FLV-Stream-Label war auf Deutsch hardcodiert — jetzt in allen 11 Sprachen übersetzt
453
- * (ipod86) fix: Admin-UI-Standardwerte stimmen jetzt mit io-package.json überein (dashTagPosition, widgetAnzahl, widgetBorderRadius)
454
- * (ipod86) fix: go2rtcEnabled-Flag wird beim Laden der Streams im Admin-UI jetzt berücksichtigt
455
- * (ipod86) fix: enableStreamProxy fehlte in den native-Defaults der io-package.json
456
-
457
- ### 0.4.1 (2026-07-12)
458
- * (ipod86) fix: Übersichtskachel zeigt ioBroker-Host-IP; go2rtc-URL nur bei aktivierter Option sichtbar
459
-
460
- ### 0.4.0 (2026-07-12)
461
- * (ipod86) feat: optionaler MJPEG- und Snapshot-Stream-Proxy über ioBroker (Browser benötigt nur eine Verbindung zu ioBroker, nicht direkt zu AgentDVR)
462
-
463
- ### 0.3.0 (2026-07-06)
464
- * (ipod86) feat: Steuerbuttons scheduleOn/Off und detectorOn/Off für Kameras und Mikrofone
465
- * (ipod86) feat: Empfindlichkeitszustände sensitivityMin, sensitivityMax, sensitivityGain für Kameras (0–100)
466
- * (ipod86) feat: URL-Zustände audio_mp3 und audio_ogg für Mikrofone
467
- * (ipod86) fix: objectDetectOn/Off und Snapshot-Schaltfläche auf Kameras (ot=2) beschränkt
468
- * (ipod86) feat: flv.js in Dashboard-HTML eingebettet — keine externe Datei mehr nötig
469
- * (ipod86) fix: FLV-Stream-Seitenverhältnis nach Tab-Wechsel korrekt beibehalten
470
- * (ipod86) feat: ausklappbarer Tag-Filter in Aufnahmen- und Timeline-Ansicht
471
- * (ipod86) feat: nativer Browser-Vollbild-Button im Live-View-Modal mit korrektem Seitenverhältnis
472
- * (ipod86) feat: Header im Live-View-Modal blendet sich nach 3 s Inaktivität aus, erscheint bei Maus/Touch wieder
473
- * (ipod86) fix: i18n-Keys fsEnter, fsExit, filterByLabel, timelineView, closePanel in allen 10 Sprachen
474
-
475
- ### 0.2.2 (2026-07-04)
476
- * (ipod86) fix: verbleibende deutsche Strings im DashboardPanel via I18n.t() übersetzt
477
- * (ipod86) fix: i18n-Keys loadingCamerasAndStreams, cfgCameraColumn, cfgStreamSourceColumn, reload in allen 11 Sprachen ergänzt
478
- * (ipod86) chore: POSIX mv durch plattformübergreifendes node rename im src-admin Build-Script ersetzt
479
-
480
- ### 0.2.1 (2026-07-04)
481
- * (ipod86) fix: alle deutschen Benutzer-Strings und Fehlermeldungen auf Englisch übersetzt
482
- * (ipod86) fix: DashboardPanel zeigt i18n-fähige Meldungen bei fehlender IP und leerer Kameraliste
483
- * (ipod86) chore: .npmignore entfernt — files-Feld in package.json steuert npm-Paketinhalt korrekt
484
-
485
- ### 0.2.0 (2026-07-04)
486
- * (ipod86) feat: Kamera-Filter-Badges im Dashboard mit localStorage-Persistenz
487
- * (ipod86) feat: FLV/MP4-Stream automatischer Reconnect nach Netzwerkfehler (5 s Verzögerung)
488
- * (ipod86) feat: go2rtc WebSocket automatischer Reconnect nach unerwartetem Verbindungsabbruch (5 s)
489
- * (ipod86) feat: go2rtc Stall-Erkennung — Retry wenn Stream nach 10 s schwarz bleibt
490
- * (ipod86) fix: cameraStreams fehlte in io-package.json native-Defaults (Einstellungen wurden nicht gespeichert)
491
- * (ipod86) fix: adminUI.config „custom" → „materialize" (404 auf der Adapter-Einstellungsseite)
492
- * (ipod86) fix: Auflösungsanzeige beim FLV-Stream-Laden entfernt
493
- * (ipod86) fix: CDN-Fallback für flv.js entfernt — nur lokale Kopie
494
- * (ipod86) fix: AgentDVR/go2rtc-Sektionsüberschriften aus dem Dashboard-Raster entfernt
495
- * (ipod86) fix: cfgGo2rtcMapping_tt Tooltip in allen 11 Sprachen korrigiert
496
- * (ipod86) fix: setTimeout() durch this.setTimeout() ersetzt (E5005)
497
- * (ipod86) fix: veraltete jsonConfig.json entfernt — Einstellungen werden durch React-Admin verwaltet (W5046)
498
- * (ipod86) chore: admin/-Verzeichnis aus ESLint ausgeschlossen (OOM im CI verhindert)
499
- * (ipod86) docs: README und README.de vollständig neu geschrieben mit allen Tabs und Einstellungen
500
-
501
458
  [Ältere Changelog-Einträge in CHANGELOG_OLD.md](CHANGELOG_OLD.md)
502
459
 
503
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
@@ -406,6 +412,17 @@ Returns `{"ok":true}` on success.
406
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.4 (2026-10-08)
417
+ * (ipod86) fix: single-camera live widget snapshot never refreshed (missing cache-busting timestamp + signature-based dedup skipped rewriting the state)
418
+ * (ipod86) fix: live video element now receives the correct aspect ratio instead of the browser's default placeholder box before playback starts
419
+ * (ipod86) fix: live/recording video no longer gets stretched to fill a mismatched aspect-ratio box — degrades to letterboxing (`object-fit:contain`) instead
420
+
421
+ <!-- markdownlint-disable-next-line MD024 -->
422
+
423
+ ### 0.5.3 (2026-10-04)
424
+ * (ipod86) fix: clear ensuredFolders cache on object deletion to prevent stale "no existing object" warnings for rediscovered drives/cameras
425
+
409
426
  ### 0.5.2 (2026-08-05)
410
427
  * (ipod86) feat: rename `overview` DP to `widget_live_overview` for consistent naming
411
428
 
@@ -440,38 +457,6 @@ Returns `{"ok":true}` on success.
440
457
  * (ipod86) fix: Italian i18n string with apostrophe broke page JS (changed to escaped variant)
441
458
  * (ipod86) fix: detect AgentDVR "Command not found" response on delete and show proper error message
442
459
 
443
- ### 0.4.3 (2026-07-19)
444
- * (ipod86) fix: switch polling loop from setInterval to setTimeout to prevent concurrent poll runs
445
- * (ipod86) fix: httpTimeoutMs=0 now correctly clamps to 1000ms instead of falling back to default
446
- * (ipod86) fix: go2rtcEnabled config flag is now honored in fetchGo2rtcStreams
447
- * (ipod86) fix: remove unused isSupportedLang export from widget-i18n
448
-
449
- ### 0.4.2 (2026-07-12)
450
- * (ipod86) fix: FLV stream proxy now sends Authorization header (HTTP 401 with AgentDVR auth)
451
- * (ipod86) fix: dashboard camera online status was read from wrong state path (data.online → status.online)
452
- * (ipod86) fix: MP4/FLV stream label was hardcoded German — now translated in all 11 languages
453
- * (ipod86) fix: admin UI default values now match io-package.json (dashTagPosition, widgetAnzahl, widgetBorderRadius)
454
- * (ipod86) fix: go2rtcEnabled flag now respected when loading streams in admin UI
455
- * (ipod86) fix: enableStreamProxy missing from native defaults in io-package.json
456
-
457
- ### 0.4.1 (2026-07-12)
458
- * (ipod86) fix: overview tile links to ioBroker host; go2rtc URL shown only when enabled
459
-
460
- ### 0.4.0 (2026-07-12)
461
- * (ipod86) feat: optional MJPEG and snapshot stream proxy through ioBroker (browser needs only one connection to ioBroker, not directly to AgentDVR)
462
-
463
- ### 0.3.0 (2026-07-06)
464
- * (ipod86) feat: add scheduleOn/Off and detectorOn/Off control buttons for cameras and microphones
465
- * (ipod86) feat: add sensitivityMin, sensitivityMax, sensitivityGain level states for cameras (0–100)
466
- * (ipod86) feat: add audio_mp3 and audio_ogg URL states for microphones
467
- * (ipod86) fix: restrict objectDetectOn/Off and snapshot buttons to cameras (ot=2) only
468
- * (ipod86) feat: inline flv.js into dashboard HTML — no external file required
469
- * (ipod86) fix: preserve FLV stream aspect ratio after tab visibility change (all three player call sites)
470
- * (ipod86) feat: collapsible tag filter row on recordings and timeline pages
471
- * (ipod86) feat: native browser fullscreen button in live view modal with correct aspect ratio
472
- * (ipod86) feat: live view modal header auto-hides after 3 s of inactivity; reappears on mouse/touch
473
- * (ipod86) fix: add fsEnter, fsExit, filterByLabel, timelineView, closePanel i18n keys in all 10 languages
474
-
475
460
  [Older changelog entries in CHANGELOG_OLD.md](CHANGELOG_OLD.md)
476
461
 
477
462
  ## License