diff --git a/fhem/CHANGED b/fhem/CHANGED index d67a8184d..9e294f85e 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,9 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - change: 49_SSCam: Change of define-string related to rectime. + Note: see all changes of rectime usage in commandref + or in Forum: + .../index.php/topic,45671.msg391664.html#msg391664 - added: 98_count: count devices specified by devspec or all - bugfix: 57_CALVIEW: bugfix for started terms - feature: 10_KOPP_FC: Receive Mode for dimmer implemented, diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm index 9c40565cc..22bc277c0 100644 --- a/fhem/FHEM/49_SSCam.pm +++ b/fhem/FHEM/49_SSCam.pm @@ -27,7 +27,10 @@ ########################################################################################################## # Versions History: # -# 1.5.1 11.01.2016 Vars "USERNAME" and "RECTIME" removed from internals, +# 1.6 16.01.2016 Change the define-string related to rectime. +# Note: See all changes to rectime usage in commandref or here: +# http://forum.fhem.de/index.php/topic,45671.msg391664.html#msg391664 +# 1.5.1 11.01.2016 Vars "USERNAME" and "RECTIME" removed from internals, # Var (Internals) "SERVERNAME" changed to "SERVERADDR", # minor change of Log messages, # Note: use rereadcfg in order to activate the changes @@ -44,19 +47,11 @@ # LWP is not needed anymore # # -# Definition: define SSCam +# Definition: define SSCam # -# Example: define CamCP1 SSCAM 192.168.2.20 5000 apiuser apipw Carport 5 +# Example: define CamCP1 SSCAM 192.168.2.20 5000 apiuser apipw Carport # -# Parameters: -# -# $serveraddr = ""; # DS-IP-Address -# $serverport = ""; # DS Port -# $username = ""; # User für login auf DS -# $password = ""; # Passwort für User login -# $camname = ""; # Name der Kamera -# $rectime = ""; # Dauer der Aufnahme in Sekunden - + package main; @@ -80,6 +75,7 @@ sub SSCam_Initialize($) { $hash->{AttrList} = "pollcaminfoall ". "pollnologging:1,0 ". + "rectime ". "webCmd ". $readingFnAttributes; @@ -89,16 +85,16 @@ sub SSCam_Initialize($) { sub SSCam_Define { # Die Define-Funktion eines Moduls wird von Fhem aufgerufen wenn der Define-Befehl für ein Gerät ausgeführt wird # Welche und wie viele Parameter akzeptiert werden ist Sache dieser Funktion. Die Werte werden nach dem übergebenen Hash in ein Array aufgeteilt - # define CamCP1 SSCAM 192.168.2.20 5000 apiuser Support4me Carport 5 - # ($hash) [1] [2] [3] [4] [5] [6] [7] + # define CamCP1 SSCAM 192.168.2.20 5000 apiuser Support4me Carport + # ($hash) [1] [2] [3] [4] [5] [6] # my ($hash, $def) = @_; my $name = $hash->{NAME}; my @a = split("[ \t][ \t]*", $def); - if(int(@a) < 8) { - return "You need to specify more parameters.\n". "Format: define SSCAM "; + if(int(@a) < 7) { + return "You need to specify more parameters.\n". "Format: define SSCAM "; } my $serveraddr = $a[2]; @@ -106,24 +102,14 @@ sub SSCam_Define { my $username = $a[4]; my $password = $a[5]; my $camname = $a[6]; - my $rectime = $a[7]; - - - unless ($rectime =~ /^\d+$/) { return " The given Recordtime is not valid. Use only figures 0-9 without decimal places !";} - # führende Nullen entfernen - $rectime =~ s/^0+//; + $hash->{SERVERADDR} = $serveraddr; $hash->{SERVERPORT} = $serverport; $hash->{HELPER}{USERNAME} = $username; $hash->{HELPER}{PASSWORD} = $password; $hash->{CAMNAME} = $camname; - $hash->{HELPER}{RECTIME} = $rectime; - # für später - # Standard für rectime setzen, überschreibbar durch Attribut "rectime" - # $hash->{HELPER}{RECTIME} = 15; - # $attr{$name}{rectime} = $rectime; - + # benötigte API's in $hash einfügen $hash->{HELPER}{APIINFO} = "SYNO.API.Info"; # Info-Seite für alle API's, einzige statische Seite ! $hash->{HELPER}{APIAUTH} = "SYNO.API.Auth"; @@ -133,14 +119,16 @@ sub SSCam_Define { $hash->{HELPER}{APIPTZ} = "SYNO.SurveillanceStation.PTZ"; # Anfangswerte setzen - $hash->{HELPER}{ACTIVE} = "off"; # Funktionstoken "off", Funktionen können sofort starten - $hash->{HELPER}{OLDVALPOLLNOLOGGING} = "0"; # Loggingfunktion für Polling ist an - $hash->{STATE} = "initialized"; # Anfangsstatus der Geräte - readingsSingleUpdate($hash,"Record","Stop",0); # Recordings laufen nicht - readingsSingleUpdate($hash,"Availability", "", 0); # Verfügbarkeit ist unbekannt - readingsSingleUpdate($hash,"PollState","Inactive",0); # es ist keine Gerätepolling aktiv + $attr{$name}{webCmd} = "on:off:snap:enable:disable"; # initiale Webkommandos setzen + $hash->{HELPER}{ACTIVE} = "off"; # Funktionstoken "off", Funktionen können sofort starten + $hash->{HELPER}{OLDVALPOLLNOLOGGING} = "0"; # Loggingfunktion für Polling ist an + $hash->{STATE} = "initialized"; # Anfangsstatus der Geräte + $hash->{HELPER}{RECTIME_DEF} = "15"; # Standard für rectime setzen, überschreibbar durch Attribut "rectime" bzw. beim "set .. on-for-time" + readingsSingleUpdate($hash,"Record","Stop",0); # Recordings laufen nicht + readingsSingleUpdate($hash,"Availability", "", 0); # Verfügbarkeit ist unbekannt + readingsSingleUpdate($hash,"PollState","Inactive",0); # es ist keine Gerätepolling aktiv - RemoveInternalTimer($hash); # alle evtl. noch laufenden Timer löschen + RemoveInternalTimer($hash); # alle evtl. noch laufenden Timer löschen # Subroutine Watchdog-Timer für Polling Kamera-Infos starten, verzögerter zufälliger Start 0-60s (Vermeidung v. Überschneidungen) @@ -166,33 +154,42 @@ sub SSCam_Attr { if ($aName eq "pollcaminfoall") { unless ($aVal =~ /^\d+$/) { return " The Value for $aName is not valid. Use only figures 0-9 without decimal places !";} } + if ($aName eq "rectime") { + unless ($aVal =~ /^\d+$/) { return " The Value for $aName is not valid. Use only figures 0-9 without decimal places !";} + } } return undef; } sub SSCam_Set { - my ( $hash, @a ) = @_; + my ($hash, @a) = @_; return "\"set X\" needs at least an argument" if ( @a < 2 ); - my $name = shift @a; - my $opt = shift @a; + my $name = $a[0]; + my $opt = $a[1]; + my $prop = $a[2]; my %SSCam_sets = ( - on => "on", - off => "off", - snap => "snap", - enable => "enable", - disable => "disable", - # presets => "presets", + "on" => "on", + "off" => "off", + "snap" => "snap:", + "enable" => "enable", + "disable" => "disable", + # presets => "presets", ); +# my $list .= "on off snap enable disable on-for-timer"; +# return SetExtensions($hash, $list, $name, $opt) if( $opt eq "?" ); +# return SetExtensions($hash, $list, $name, $opt) if( !grep( $_ =~ /^\Q$opt\E($|:)/, split( ' ', $list ) ) ); + + my $camname = $hash->{CAMNAME}; my $logstr; my @cList; - + # ist die angegebene Option verfügbar ? if(!defined($SSCam_sets{$opt})) { - @cList = keys %SSCam_sets; + @cList = keys(%SSCam_sets); return "Unknown argument $opt, choose one of " . join(" ", @cList); } @@ -200,7 +197,14 @@ sub SSCam_Set { { if ($opt eq "on") { + + if (defined($prop)) { + unless ($prop =~ /^\d+$/) { return " The Value for \"$opt\" is not valid. Use only figures 0-9 without decimal places !";} + $hash->{HELPER}{RECTIME_TEMP} = $prop; + } + &camstartrec($hash); + } elsif ($opt eq "off") { @@ -1279,12 +1283,12 @@ sub camret_nonbl ($) { my $serveraddr = $hash->{SERVERADDR}; my $serverport = $hash->{SERVERPORT}; my $camname = $hash->{CAMNAME}; - my $rectime = AttrVal($name, "rectime",undef) ? AttrVal($name, "rectime",undef) : $hash->{HELPER}{RECTIME}; my $apiauth = $hash->{HELPER}{APIAUTH}; my $apiauthpath = $hash->{HELPER}{APIAUTHPATH}; my $apiauthmaxver = $hash->{HELPER}{APIAUTHMAXVER}; my $sid = $hash->{HELPER}{SID}; my $OpMode = $hash->{OPMODE}; + my $rectime; my $url; my $data; my $logstr; @@ -1299,6 +1303,17 @@ sub camret_nonbl ($) { my ($presetcnt,$cnt,%allpresets,$presid,$presname,@preskeys,$presetlist); my $verbose; + # Die Aufnahmezeit setzen + # wird "set on-for-timer [rectime]" verwendet -> dann [rectime] nutzen, + # sonst Attribut "rectime" wenn es gesetzt ist, falls nicht -> "RECTIME_DEF" + if (defined($hash->{HELPER}{RECTIME_TEMP})) { + $rectime = delete $hash->{HELPER}{RECTIME_TEMP}; + } + else + { + $rectime = AttrVal($name, "rectime",undef) ? AttrVal($name, "rectime",undef) : $hash->{HELPER}{RECTIME_DEF}; + } + # Verarbeitung der asynchronen Rückkehrdaten aus sub "camop_nonbl" if ($err ne "") # wenn ein Fehler bei der HTTP Abfrage aufgetreten ist @@ -1351,7 +1366,7 @@ sub camret_nonbl ($) { readingsEndUpdate($hash, 1); # Logausgabe - $logstr = "Camera $camname Recording with Recordtime $rectime"."s started"; + $logstr = $rectime != "0" ? "Camera $camname Recording with Recordtime $rectime"."s started" : "Camera $camname endless Recording started - stop it manually or by stop-command !"; &printlog($hash,$logstr,"2"); $logstr = "--- End Function cam: $OpMode nonblocking ---"; &printlog($hash,$logstr,"4"); @@ -1360,9 +1375,10 @@ sub camret_nonbl ($) { $logstr = "Time for Recording is set to: $rectime"; &printlog($hash,$logstr,"4"); - # Stop der Aufnahme nach Ablauf $rectime - InternalTimer(gettimeofday()+$rectime, "camstoprec", $hash, 0); - + if ($rectime != "0") { + # Stop der Aufnahme nach Ablauf $rectime, wenn rectime = 0 -> endlose Aufnahme + InternalTimer(gettimeofday()+$rectime, "camstoprec", $hash, 0); + } } elsif ($OpMode eq "Stop") @@ -1966,7 +1982,7 @@ return;

SSCam

    - Using this Module you are able to operate with cameras which are defined in Synology Surveillance Station.
    + Using this Module you are able to operate with cameras which are defined in Synology Surveillance Station (SVS).
    At present the following functions are available:

        @@ -1974,10 +1990,11 @@ return;
      • Stop a Recording (using command or automatically after the <RecordTime> period
      • Trigger a Snapshot
      • Deaktivate a Camera in Synology Surveillance Station
      • -
      • Activate a Camera in Synology Surveillance Station

      • +
      • Activate a Camera in Synology Surveillance Station
      • +
      • Retrieval of Camera Properties (Polling)

    - The recordings and snapshots will be stored in Synology Surveillance Station and are managed like the other (normal) recordings / snapshots defined by Surveillance Station rules.
    + The recordings and snapshots will be stored in Synology Surveillance Station (SVS) and are managed like the other (normal) recordings / snapshots defined by Surveillance Station rules.
    For example the recordings are stored for a defined time in Surveillance Station and will be deleted after that period.

    If you like to discuss or help to improve this module please use FHEM-Forum with link:
    @@ -1993,13 +2010,10 @@ return; Define

      - define <name> SSCam <ServerAddr> <Port> <Username> <Password> <Cameraname> <RecordTime>
      + define <name> SSCam <ServerAddr> <Port> <Username> <Password> <Cameraname>

      Defines a new camera device for SSCam. At first the devices have to be set up and operable in Synology Surveillance Station 7.0 and above.

      - The parameter <RecordTime> describes the minimum Recordtime. Dependend on other factors like the performance of your Synology Diskstation and
      - Surveillance Station the effective Recordtime could be a little bit longer. - The Modul SSCam ist based on functions of Synology Surveillance Station API.
      Please refer the Web API Guide.

      @@ -2008,8 +2022,8 @@ return; The parameters are in detail:

      - - + +
      @@ -2017,41 +2031,57 @@ return; - -
      name: the name of the new device to use in FHEM
      ServerAddr: IP-address of Synology Surveillance Station Host. Note: avoid using hostnames because of DNS-Calls are not unblocking in FHEM
      Username: Username defined in the Diskstation. Has to be a member of Admin-group
      Password: the Password for the User
      Cameraname: Cameraname as defined in Synology Surveillance Station, Spaces are not allowed in Cameraname !
      Recordtime: it's the time for recordings
      +

      Examples:
      -      define CamCP SSCAM 192.168.2.20 5000 apiuser apipass Carport 10      
      +      define CamCP SSCAM 192.168.2.20 5000 apiuser apipass Carport     
           
      + + + When a new Camera is defined, as a start the recordingtime of 15 seconds will be assigned to the device.
      + Using the attribute "rectime" you can adapt the recordingtime for every camera individually.
      + The value of "0" for rectime will lead to an endless recording which has to be stopped by a "set <name> off" command.
      + Due to a Log-Entry with a hint to that circumstance will be written.

      + + If the attribute "rectime" would be deleted again, the default-value for recording-time (15s) become active.

      + + With command "set <name> on [rectime]" a temporary recordingtime is determinded which would overwrite the dafault-value of recordingtime
      + and the attribute "rectime" (if it is set) uniquely.

      + + In that case the command "set <name> on 0" leads also to an endless recording.

      + + If you have specified a pre-recording time in SVS it will be considered too.
      +
    -
    +


    Set
      - There are the following options for "Set" at present:

      + Currently there are the following options for "Set <name> ..." :

      - - - - - + + + + + +
      "on": starts a recording. The recording will be stopped automatically after a period of <RecordTime> as determined
      "off" : stopps a running recording manually or using other events (e.g. with at, notify)
      "snap": triggers a snapshot of the relevant camera and store it into Synology Surveillance Station
      "disable": deactivates a camera in Synology Surveillance Station
      "enable": activates a camera in Synology Surveillance Station
      "on [rectime]": starts a recording. The recording will be stopped automatically after a period of [rectime]
      if [rectime] = 0 an endless recording will be started
      "off" : stopps a running recording manually or using other events (e.g. with at, notify)
      "snap": triggers a snapshot of the relevant camera and store it into Synology Surveillance Station
      "disable": deactivates a camera in Synology Surveillance Station
      "enable": activates a camera in Synology Surveillance Station


      - Example for simple Start/Stop of a Recording:

      + Examples for simple Start/Stop a Recording:

      - - - + + +
      set <name> on starts a recording of camera <name>, stops automatically after the time <RecordTime> as determined in device-definition
      set <name> off stops the recording of camera <name>
      set <name> on [rectime] starts a recording of camera <name>, stops automatically after [rectime] (default 15s or defined by attribute)
      set <name> off stops the recording of camera <name>

      @@ -2067,7 +2097,7 @@ return; When the recording of camera "CamHE1" starts (Attribut event-on-change-reading -> "Record" has to be set), then 3 snapshots at intervals of 2 seconds are triggered.
      -     define he1_snap_3 notify CamHE1:Record.*Start define h3 at +*{3}00:00:02 set CamHE1 snap 
      +     define he1_snap_3 notify CamHE1:Record.*on define h3 at +*{3}00:00:02 set CamHE1 snap 
         
      Release of 2 Snapshots of camera "CamHE1" at intervals of 6 seconds after the motion sensor "MelderHE1" has sent an event,
      @@ -2119,7 +2149,7 @@ return; For example the Reading "Availability" will be set to "disconnected" if the Camera would be disconnected from Synology Surveillance Station and can be used for further
      processing like crearing events.

      - Polling of Camera-Preperties:

      + Polling of Camera-Properties:

      Retrieval of Camera-Properties can be done automatically if the attribute "pollcaminfoall" will be set to a value > 10.
      As default that attribute "pollcaminfoall" isn't be set and the automatic polling isn't be active.
      @@ -2199,11 +2229,13 @@ return;

          -
        • pollcaminfoall - Interval of automatic polling the Camera properties (if < 10: no polling, if > 10: polling with interval)
        • +
        • pollcaminfoall - Interval of automatic polling the Camera properties (if < 10: no polling, if > 10: polling with interval)
        • -
        • pollnologging - "0" resp. not set = Logging device polling active (default), "1" = Logging device polling inactive
        • - -
        • verbose

        • +
        • pollnologging - "0" resp. not set = Logging device polling active (default), "1" = Logging device polling inactive
        • + +
        • rectime - the determined recordtime when a recording starts. If rectime = 0 an endless recording will be started. If it isn't defined, the default recordtime of 15s is activated
        • + +
        • verbose

          • Different Verbose-Level are supported.
            @@ -2235,7 +2267,7 @@ return;

            SSCam

              - Mit diesem Modul können Operationen von in der Synology Surveillance Station definierten Kameras ausgeführt werden.
              + Mit diesem Modul können Operationen von in der Synology Surveillance Station (SVS) definierten Kameras ausgeführt werden.
              Zur Zeit werden folgende Funktionen unterstützt:

                  @@ -2243,11 +2275,12 @@ return;
                • Stop einer Aufnahme (per Befehl bzw. automatisch nach Ablauf der Aufnahmedauer)
                • Aufnehmen eines Schnappschusses und Ablage in der Synology Surveillance Station
                • Deaktivieren einer Kamera in Synology Surveillance Station
                • -
                • Aktivieren einer Kamera in Synology Surveillance Station

                • +
                • Aktivieren einer Kamera in Synology Surveillance Station
                • +
                • Abfrage von Kameraeigenschaften (Polling)

              - Die Aufnahmen stehen in der Synology Surveillance Station zur Verfügung und unterliegen, wie jede andere Aufnahme, den in der Synology Surveillance Station eingestellten Regeln.
              - So werden zum Beispiel die Aufnahmen entsprechend ihrer Archivierungsfrist gehalten und dann gelöscht.

              + Die Aufnahmen stehen in der Synology Surveillance Station (SVS) zur Verfügung und unterliegen, wie jede andere Aufnahme, den in der Synology Surveillance Station eingestellten Regeln.
              + So werden zum Beispiel die Aufnahmen entsprechend ihrer Archivierungsfrist gespeichert und dann gelöscht.

              Wenn sie über dieses Modul diskutieren oder zur Verbesserung des Moduls beitragen möchten, ist im FHEM-Forum ein Sammelplatz unter:
              49_SSCam: Fragen, Hinweise, Neuigkeiten und mehr rund um dieses Modul.

              @@ -2261,14 +2294,10 @@ return; Definition

                - define <name> SSCam <ServerAddr> <Port> <Username> <Password> <Kameraname in SS> <RecordTime>
                + define <name> SSCam <ServerAddr> <Port> <Username> <Password> <Kameraname in SVS>

                Definiert eine neue Kamera für SSCam. Zunächst muß diese Kamera in der Synology Surveillance Station 7.0 oder höher eingebunden sein und entsprechend funktionieren.

                - - Der Parameter "<RecordTime> beschreibt die Mindestaufnahmezeit. Abhängig von Faktoren wie Performance der Synology Diskstation und der Surveillance Station
                - kann die effektive Aufnahmezeit geringfügig länger sein.

                - Das Modul SSCam basiert auf Funktionen der Synology Surveillance Station API.
                Weitere Informationen unter: Web API Guide.

                @@ -2286,44 +2315,56 @@ return; Username: Name des in der Diskstation definierten Nutzers. Er muß ein Mitglied der Admin-Gruppe sein Password: das Passwort des Nutzers Cameraname: Kameraname wie er in der Synology Surveillance Station angegeben ist. Leerzeichen im Namen sind nicht erlaubt ! - Recordtime: die definierte Aufnahmezeit

                Beispiel:
                -      define CamCP SSCAM 192.168.2.20 5000 apiuser apipass Carport 10      
                +      define CamCP SSCAM 192.168.2.20 5000 apiuser apipass Carport     
                      
                + + + Wird eine neue Kamera definiert, wird diesem Device zunächst eine Standardaufnahmedauer von 15 zugewiesen.
                + Über das Attribut "rectime" kann die Aufnahmedauer für jede Kamera individuell angepasst werden. Der Wert "0" für "rectime" führt zu einer Endlosaufnahme, die durch "set <name> off" wieder gestoppt werden muß.
                + Ein Logeintrag mit einem entsprechenden Hinweis auf diesen Umstand wird geschrieben.

                + + Wird das Attribut "rectime" gelöscht, greift wieder der Default-Wert (15s) für die Aufnahmedauer.

                + + Mit dem Befehl "set <name> on [rectime]" wird die Aufnahmedauer temporär festgelegt und überschreibt einmalig sowohl den Defaultwert als auch den Wert des gesetzten Attributs "rectime".
                + Auch in diesem Fall führt "set <name> on 0" zu einer Daueraufnahme.

                + + Eine eventuell in der SVS eingestellte Dauer der Voraufzeichnung wird weiterhin berücksichtigt.
              - +


              Set
                - Es gibt zur Zeit folgende Optionen für "Set":

                + Es gibt zur Zeit folgende Optionen für "Set <name> ...":

                - - - - - + + + + + +
                "on": startet eine Aufnahme. Die Aufnahme wird automatisch nach Ablauf der Zeit <RecordTime> gestoppt.
                "off" : stoppt eine laufende Aufnahme manuell oder durch die Nutzung anderer Events (z.B. über at, notify)
                "snap": löst einen Schnappschuß der entsprechenden Kamera aus und speichert ihn in der Synology Surveillance Station
                "disable": deaktiviert eine Kamera in der Synology Surveillance Station
                "enable": aktiviert eine Kamera in der Synology Surveillance Station
                "on [rectime]": startet eine Aufnahme. Die Aufnahme wird automatisch nach Ablauf der Zeit [rectime] gestoppt.
                Mit rectime = 0 wird eine Daueraufnahme gestartet die durch "set <name> off" wieder gestoppt werden muß.
                "off" : stoppt eine laufende Aufnahme manuell oder durch die Nutzung anderer Events (z.B. über at, notify)
                "snap": löst einen Schnappschuß der entsprechenden Kamera aus und speichert ihn in der Synology Surveillance Station
                "disable": deaktiviert eine Kamera in der Synology Surveillance Station
                "enable": aktiviert eine Kamera in der Synology Surveillance Station


                Beispiele für einfachen Start/Stop einer Aufnahme:

                - - + +
                set <name> on startet die Aufnahme der Kamera <name>, automatischer Stop der Aufnahme nach Ablauf der Zeit <RecordTime> wie im define angegeben
                set <name> on [rectime] startet die Aufnahme der Kamera <name>, automatischer Stop der Aufnahme nach Ablauf der Zeit [rectime] (default 15s oder wie im Attribut "rectime" angegeben)
                set <name> off stoppt die Aufnahme der Kamera <name>

                - Ein Schnappschuß kann ausgelöst werden durch: + Ein Schnappschuß kann ausgelöst werden mit:
                 
                      set <name> snap 
                   
                @@ -2465,11 +2506,13 @@ return;

                    -
                  • pollcaminfoall - Intervall der automatischen Eigenschaftsabfrage (Polling) einer Kamera (kleiner 10: kein Polling, größer 10: Polling mit Intervall)
                  • +
                  • pollcaminfoall - Intervall der automatischen Eigenschaftsabfrage (Polling) einer Kamera (kleiner 10: kein Polling, größer 10: Polling mit Intervall)
                  • -
                  • pollnologging - "0" bzw. nicht gesetzt = Logging Gerätepolling aktiv (default), "1" = Logging Gerätepolling inaktiv
                  • +
                  • pollnologging - "0" bzw. nicht gesetzt = Logging Gerätepolling aktiv (default), "1" = Logging Gerätepolling inaktiv
                  • + +
                  • rectime - festgelegte Aufnahmezeit wenn eine Aufnahme gestartet wird. Mit rectime = 0 wird eine Endlosaufnahme gestartet. Ist "rectime" nicht gesetzt, wird der Defaultwert von 15s verwendet.
                  • -
                  • verbose

                  • +
                  • verbose

                    • Es werden verschiedene Verbose-Level unterstützt.