diff --git a/fhem/contrib/DS_Starter/49_SSCam.pm b/fhem/contrib/DS_Starter/49_SSCam.pm
index a9a3ba9bb..c46190153 100644
--- a/fhem/contrib/DS_Starter/49_SSCam.pm
+++ b/fhem/contrib/DS_Starter/49_SSCam.pm
@@ -9068,6 +9068,7 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
(for further information execute "get <name> versionNotes 7")
Alternatively you can activate the Email-shipping one-time when you specify the "recEmailTxt:"-tag in the "on"-command.
In this case the tag-text is used for creating the Email instead the text specified in "recEmailTxt"-attribute.
+ (the tag syntax is identical to the "recEmailTxt" attribute)
Examples:
@@ -9530,18 +9531,14 @@ http(s)://<hostname><port>/webapi/entry.cgi?api=SYNO.SurveillanceSta
snapEmailTxt | - Activates the Email shipping of snapshots. This attribute has the format:
- subject => <subject text>, body => <message text>
- The placeholder $CAM, $DATE and $TIME can be used. $CAM is
- replaced by the device name, device alias or the name of camera in SVS if alias is not
- defined. $DATE and $TIME are replaced with the current date and time.
+ subject => <subject text>, body => <message text>
+ The placeholder $CAM, $DATE and $TIME can be used.
Optionally you can specify the "snapEmailTxt:"-tag when trigger snap shot with the "snap"-command.
In this case the Email shipping is activated one-time for the snapshot or the tag-text
is used instead of the text defined in the "snapEmailTxt"-attribute. |
recEmailTxt | - Activates the Email shipping of recordings. This attribute has the format:
- subject => <subject text>, body => <message text>
- The placeholder $CAM, $DATE and $TIME can be used. $CAM is
- replaced by the device name, device alias or the name of camera in SVS if alias is not
- defined. $DATE and $TIME are replaced with the current date and time.
+ subject => <subject text>, body => <message text>
+ The placeholder $CAM, $DATE and $TIME can be used.
Optionally you can specify the "recEmailTxt:"-tag when start recording with the "on"-command.
In this case the Email shipping is activated one-time for the started recording or the tag-text
is used instead of the text defined in the "recEmailTxt"-attribute. |
@@ -9557,10 +9554,22 @@ http(s)://<hostname><port>/webapi/entry.cgi?api=SYNO.SurveillanceSta
- For further information please see description of the attributes.
-
-
+ For further information please see description of the attributes.
+ Description of the placeholders:
+
+
+
+
+ $CAM | - Device alias respectively the name of the camera in SVS if the device alias isn't set |
+ $DATE | - current date |
+ $TIME | - current time |
+ $FILE | - name of the snapshot file |
+ $CTIME | - creation time of the snapshot |
+
+
+
+
Polling of Camera/SVS-Properties
@@ -9790,10 +9799,18 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
recEmailTxt subject => <subject text>, body => <message text>
Activates the Email shipping of recordings after whose creation.
- The attribute has to be definied in the form as described. You can use the placeholder variables $CAM, $DATE and $TIME.
- The variable $CAM is replaced by the device alias or the name of the camera in SVS if the device alias isn't available.
- $DATE and $TIME are replaced with the current date and time.
-
+ The attribute has to be definied in the form as described.
+ You can use the placeholder in "subject" and "body".
+
+
+
+
+ $CAM | - Device alias respectively the name of the camera in SVS if the device alias isn't set |
+ $DATE | - current date |
+ $TIME | - aktuelle time |
+
+
+
Example:
@@ -9875,14 +9892,15 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
- snapEmailTxt subject => <subject text>, body => <message text>
Activates the Email shipping of snapshots after whose creation.
- The attribute has to be definied in the form as described. You can use the placeholder in "subject" and "body".
+ The attribute has to be definied in the form as described.
+ You can use the placeholder in "subject" and "body".
$CAM | - Device alias respectively the name of the camera in SVS if the device alias isn't set |
$DATE | - current date |
- $TIME | - aktuelle time |
+ $TIME | - current time |
@@ -9891,8 +9909,41 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
Example:
snapEmailTxt subject => Motion alarm $CAM, body => A motion was recognized at $CAM.
+
+
+
+
+ snapTelegramTxt tbot => <TelegramBot device>, peers => [<peer1 peer2 ...>], subject => [<subject text>]
+ Activates the permanent shipping of snapshots by TelegramBot after their creation. If several snapshots were triggert,
+ they will be sequentially delivered.
+ The attribute has to be definied in the form as described. With key "tbot" the TelegramBot device is specified, which is
+ used for shipping the data. Of course, the TelegramBot device
+ must be available and has to be running well.
+ The setting of "peers" and "subject" is optional, but the keys must (empty) specified.
+ If "peer" is empty, teh default peer of the TelegramBot is used.
+ You can use the placeholder in "subject".
+
+
+
+
+ $CAM | - Device alias respectively the name of the camera in SVS if the device alias isn't set |
+ $DATE | - current date |
+ $TIME | - current time |
+ $FILE | - Name of snapshot file |
+ $CTIME | - creation time of the snapshot |
+
+
+
+
+
+ Examples:
+ snapTelegramTxt tbot => teleBot, peers => , subject => Motion alarm ($FILE)
+ snapTelegramTxt tbot => teleBot, peers => @nabuko @foo @bar, subject =>
+ snapTelegramTxt tbot => teleBot, peers => , subject =>
+ snapTelegramTxt tbot => teleBot, peers => , subject => Motion alarm from $CAM. At $CTIME the snapshot $FILE was created
+
-
+
snapGalleryBoost
@@ -10694,8 +10745,8 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
Ein Email-Versand der letzten Aufnahme kann durch Setzen des Attributs "recEmailTxt"
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)
- Alternativ kann durch Verwendung des optionalen "snapEmailTxt:"-Tags der Email-Versand der gestarteten Aufnahme nach deren
- Beendigung aktiviert werden. Sollte das Attribut "recEmailTxt" bereits gesetzt sein, wird der Text des "snapEmailTxt:"-Tags
+ Alternativ kann durch Verwendung des optionalen "recEmailTxt:"-Tags der Email-Versand der gestarteten Aufnahme nach deren
+ Beendigung aktiviert werden. Sollte das Attribut "recEmailTxt" bereits gesetzt sein, wird der Text des "recEmailTxt:"-Tags
anstatt des Attribut-Textes verwendet.
Beispiele :
@@ -10867,7 +10918,7 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
- - set <name> snap [<Anzahl>] [<Zeitabstand>] [snapEmailTxt:"subject => <Betreff-Text>, body => <Mitteilung-Text>"] (gilt für CAM)
+ - set <name> snap [<Anzahl>] [<Zeitabstand>] [snapEmailTxt:"subject => <Betreff-Text>, body => <Mitteilung-Text>"] [snapTelegramTxt:"tbot => <TelegramBot-Device>, peers => [<peer1 peer2 ...>], subject => [<Betreff-Text>]"] (gilt für CAM)
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.
@@ -10876,17 +10927,26 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
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" permanent 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)
Der Text im Attribut "snapEmailTxt" kann durch die Spezifikation des optionalen "snapEmailTxt:"-Tags, wie oben
gezeigt, temporär überschrieben bzw. geändert werden. Sollte das Attribut "snapEmailTxt" nicht gesetzt sein, wird durch Angabe dieses Tags
- der Email-Versand einmalig aktiviert.
+ der Email-Versand einmalig aktiviert. (Tag-Syntax entspricht dem "snapEmailTxt"-Attribut)
+
+ Ein Telegram-Versand der Schnappschüsse kann durch Setzen des Attributs "snapTelegramTxt" permanent aktiviert
+ werden. Zuvor ist der Email-Versand wie bereits erwähnt einzustellen.
+ Der Text im Attribut "snapTelegramTxt" kann durch die Spezifikation des optionalen "snapTelegramTxt:"-Tags, wie oben
+ gezeigt, temporär überschrieben bzw. geändert werden. Sollte das Attribut "snapTelegramTxt" nicht gesetzt sein, wird durch Angabe dieses Tags
+ der Telegram-Versand einmalig aktiviert. (Tag-Syntax entspricht dem "snapTelegramTxt"-Attribut)
Beispiele:
+ set <name> snap
set <name> snap 4
set <name> snap 3 3 snapEmailTxt:"subject => Bewegungsalarm $CAM, body => Eine Bewegung wurde am Carport registriert"
+ set <name> snap 2 snapTelegramTxt:"tbot => teleBot, peers => , subject => Bewegungsalarm bei $CAM. Es wurde $CTIME der Schnappschuss $FILE erstellt"
@@ -11197,10 +11257,7 @@ http(s)://<hostname><port>/webapi/entry.cgi?api=SYNO.SurveillanceSta
subject => <Betreff-Text>, body => <Mitteilung-Text>
- Es können die Platzhalter $CAM, $DATE und $TIME verwendet werden. $CAM wird
- durch den Device-Namen, Device-Alias bzw. den Namen der Kamera in der SVS
- ersetzt falls der Device-Alias nicht gesetzt ist.
- $DATE und $TIME werden durch das aktuelle Datum und Zeit ersetzt.
+ Es können die Platzhalter $CAM, $DATE und $TIME verwendet werden.
Der Email-Versand des letzten Schnappschusses wird einmalig aktiviert falls der "recEmailTxt:"-Tag
beim "snap"-Kommando verwendet wird bzw. der in diesem Tag definierte Text statt des Textes im
Attribut "recEmailTxt" verwendet.
@@ -11210,10 +11267,7 @@ http(s)://<hostname><port>/webapi/entry.cgi?api=SYNO.SurveillanceSta
subject => <Betreff-Text>, body => <Mitteilung-Text>
- Es können die Platzhalter $CAM, $DATE und $TIME verwendet werden. $CAM wird
- durch den Device-Namen, Device-Alias bzw. den Namen der Kamera in der SVS
- ersetzt falls der Device-Alias nicht gesetzt ist.
- $DATE und $TIME werden durch das aktuelle Datum und Zeit ersetzt.
+ Es können die Platzhalter $CAM, $DATE und $TIME verwendet werden.
Der Email-Versand der letzten Aufnahme wird einamlig aktiviert falls der "recEmailTxt:"-Tag beim
"on"-Kommando verwendet wird bzw. der in diesem Tag definierte Text statt des Textes im
Attribut "recEmailTxt" verwendet.
@@ -11230,8 +11284,21 @@ http(s)://<hostname><port>/webapi/entry.cgi?api=SYNO.SurveillanceSta
- Zur näheren Erläuterung siehe Beschreibung der Attribute.
-
+ Zur näheren Erläuterung siehe Beschreibung der Attribute.
+
+ Erläuterung der Platzhalter:
+
+
+
+
+ $CAM | - Device-Alias bzw. den Namen der Kamera in der SVS ersetzt falls der Device-Alias nicht vorhanden ist |
+ $DATE | - aktuelles Datum |
+ $TIME | - aktuelle Zeit |
+ $FILE | - Filename des Schnappschusses |
+ $CTIME | - Erstellungszeit des Schnappschusses |
+
+
+
@@ -11470,9 +11537,18 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
recEmailTxt subject => <Betreff-Text>, body => <Mitteilung-Text>
Aktiviert den Emailversand von Aufnahmen nach deren Erstellung.
- Das Attribut muß in der angegebenen Form definiert werden. Es können die Platzhalter $CAM, $DATE und $TIME verwendet werden.
- $CAM wird durch den Device-Alias bzw. den Namen der Kamera in der SVS ersetzt falls der Device-Alias nicht vorhanden
- ist. $DATE und $TIME werden durch das aktuelle Datum und Zeit ersetzt.
+ Das Attribut muß in der angegebenen Form definiert werden.
+ Es können die Platzhalter im subject und body verwendet werden.
+
+
+
+
+ $CAM | - Device-Alias bzw. der Name der Kamera in der SVS falls der Device-Alias nicht vorhanden ist |
+ $DATE | - aktuelles Datum |
+ $TIME | - aktuelle Zeit |
+
+
+
Beispiel:
@@ -11558,7 +11634,7 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
Aktiviert den Emailversand von Schnappschüssen nach deren Erstellung. Wurden mehrere Schnappschüsse ausgelöst,
werden sie gemeinsam in einer Mail versendet.
Das Attribut muß in der angegebenen Form definiert werden.
- Es können die Platzhalter im subject verwendet werden.
+ Es können die Platzhalter im subject und body verwendet werden.
@@ -11585,7 +11661,7 @@ attr <name> genericStrmHtmlTag <video $HTMLATTR controls autoplay>
den Versand der Daten verwendet werden soll. Das TelegramBot-Device muss natürlich
vorhanden und funktionstüchtig sein.
Die Angabe von "peers" und "subject" ist optional, jedoch muß der Schlüssel (leer) angegeben werden.
- Wurde "peer" nicht angegeben, wird der Default-Peer des TelegramBot verwendet.
+ Wurde "peer" leer gelassen, wird der Default-Peer des TelegramBot verwendet.
Es können die Platzhalter im subject verwendet werden.