From d0d8bf02dc99786f112c51964f319e586dbdad92 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sun, 20 Jan 2019 09:43:30 +0000 Subject: [PATCH] 49_SSCam: contrib 8.6.0 git-svn-id: https://svn.fhem.de/fhem/trunk@18348 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/49_SSCam.pm | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/fhem/contrib/DS_Starter/49_SSCam.pm b/fhem/contrib/DS_Starter/49_SSCam.pm index 772ee35b1..35c37b76c 100644 --- a/fhem/contrib/DS_Starter/49_SSCam.pm +++ b/fhem/contrib/DS_Starter/49_SSCam.pm @@ -4970,16 +4970,12 @@ sub SSCam_camop_parse ($) { } $snapid = $data->{data}{'id'}; - #readingsSingleUpdate($hash,"LastSnapId",$snapid, 0) if($snapid); - #my $rotnum = AttrVal($name,"snapReadingRotate",0); - #SSCam_rotateReading($hash,"LastSnapId",$snapid,$rotnum,0); readingsBeginUpdate($hash); readingsBulkUpdate($hash,"Errorcode","none"); readingsBulkUpdate($hash,"Error","none"); readingsEndUpdate($hash, 1); - # Logausgabe if ($snapid) { Log3($name, 3, "$name - Snapshot of Camera $camname created. ID: $snapid"); } else { @@ -8772,7 +8768,10 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay> One or multiple snapshots are triggered. The number of snapshots to trigger and the time difference (in seconds) between each snapshot can be optionally specified. Without any specification only one snapshot is triggered.
- The ID and the filename of the last snapshot will be displayed in Reading "LastSnapId" respectively "LastSnapFilename". + The ID and the filename of the last snapshot will be displayed in Reading "LastSnapId" respectively + "LastSnapFilename".
+ To get data of the last 1-10 snapshots in various versions, the attribute "snapReadingRotate" + can be used.

The snapshot Email shipping can be activated by setting attribute "snapEmailTxt". @@ -9437,6 +9436,12 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay> If mode "Full" is set, the images are retrieved with their original available resolution. That requires more ressources and may slow down the display. By setting attribute "snapGalleryBoost=1" the display may accelerated, because in that case the images will be retrieved by continuous polling and need only bring to display.
+ + +
  • snapReadingRotate 0...10
    + Activates the version control of snapshot readings (default: 0). A consecutive number of readings "LastSnapFilename", + "LastSnapId" and "LastSnapTime" until to the specified value of snapReadingRotate will be created and contain the data + of the last X snapshots.

  • showStmInfoFull
    @@ -10359,7 +10364,10 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay> Ein oder mehrere Schnappschüsse werden ausgelöst. Es kann die Anzahl der auszulösenden Schnappschüsse und deren zeitlicher Abstand in Sekunden optional angegeben werden. Ohne Angabe wird ein Schnappschuß getriggert.
    Es wird die ID und der Filename des letzten Snapshots als Wert der Readings "LastSnapId" bzw. "LastSnapFilename" in - der Kamera gespeichert.

    + der Kamera gespeichert.
    + Um die Daten der letzen 1-10 Schnappschüsse zu versionieren, kann das Attribut "snapReadingRotate" + verwendet werden. +

    Ein Email-Versand der Schnappschüsse kann durch Setzen des Attributs "snapEmailTxt" aktiviert werden. Zuvor ist der Email-Versand, wie im Abschnitt Einstellung Email-Versand beschrieben, einzustellen. (Für weitere Informationen "get <name> versionNotes 7" ausführen)
    @@ -11052,7 +11060,13 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay> Im Modus "Full" wird die original vorhandene Auflösung der Images abgerufen. Dies erfordert mehr Ressourcen und kann die Anzeige verlangsamen. Mit "snapGalleryBoost=1" kann die Ausgabe beschleunigt werden, da in diesem Fall die Aufnahmen über Polling abgerufen und nur noch zur Anzeige gebracht werden.

  • - + + +
  • snapReadingRotate 0...10
    + Aktiviert die Versionierung von Schnappschußreadings (default: 0). Es wird eine fortlaufende Nummer der Readings + "LastSnapFilename", "LastSnapId" und "LastSnapTime" bis zum eingestellten Wert von snapReadingRotate erzeugt und enthält + die Daten der letzten X Schnappschüsse.

  • +
  • showStmInfoFull
    zusaätzliche Streaminformationen wie LiveStreamUrl, StmKeyUnicst, StmKeymjpegHttp werden