diff --git a/fhem/CHANGED b/fhem/CHANGED
index 8782de870..a2543c891 100644
--- a/fhem/CHANGED
+++ b/fhem/CHANGED
@@ -1,5 +1,7 @@
# 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.
+ - feature 49_SSCAM: Reading "CamLastRec" added which contains Path/name
+ of last recording
- feature: FB_CALLLIST: new attribute "expire-calls-after" to automatically
delete call entries after a certain time frame. See commandref
for details and syntax.
diff --git a/fhem/FHEM/49_SSCam.pm b/fhem/FHEM/49_SSCam.pm
index 7cddd9054..5ded065d5 100644
--- a/fhem/FHEM/49_SSCam.pm
+++ b/fhem/FHEM/49_SSCam.pm
@@ -27,6 +27,8 @@
##########################################################################################################
# Versions History:
#
+# 1.19.2 06.03.2016 Reading "CamLastRec" added which contains Path/name
+# of last recording
# 1.19.1 28.02.2016 enhanced command runView by option "link_open" to
# open a streamlink immediately
# 1.19 25.02.2016 functions for cam-livestream added
@@ -3033,10 +3035,12 @@ sub camret_nonbl ($) {
elsif ($OpMode eq "geteventlist")
{
my $eventnum = $data->{'data'}{'total'};
+ my $lastrecord = $data->{'data'}{'events'}[0]{name};
# Setreading
readingsBeginUpdate($hash);
readingsBulkUpdate($hash,"CamEventNum",$eventnum);
+ readingsBulkUpdate($hash,"CamLastRec",$lastrecord);
readingsBulkUpdate($hash,"Errorcode","none");
readingsBulkUpdate($hash,"Error","none");
readingsEndUpdate($hash, 1);
@@ -3995,7 +3999,8 @@ return;
With command "get <name> caminfoall" dependend of the type of Camera (e.g. Fix- or PTZ-Camera) the available properties will be retrieved and provided as Readings.
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 creating events.
- By command "get <name> eventlist" the Reading "CamEventNum" will be refreshed which containes the total number of in SVS registered camera events.
+ By command "get <name> eventlist" the Reading "CamEventNum" and "CamLastRecord" will be refreshed which containes the total number of in SVS
+ registered camera events and the path / name of the last recording..
This command will be implicit executed when "get ... caminfoall" is running.
Using "get <name> snapfileinfo" the filename of the last snapshot will be retrieved. This command will be executed with "get <name> snap" automatically.
The command "get <name> svsinfo" is not really dependend on a camera, but rather a command to determine common informations about the installed SVS-version and other properties.
@@ -4071,6 +4076,7 @@ return;