49_SSCam: empty event LastSnapId corrected

git-svn-id: https://svn.fhem.de/fhem/trunk@11983 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2016-08-18 19:57:56 +00:00
parent ee3a4fde39
commit a74d76b3de
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# 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.
- bugfix: 49_SSCam: empty event LastSnapId corrected
- change: 49_SSCam: Logging of verbose 4 changed
- change: 10_ZWave.pm: change numbers in events (hex -> dec, Forum #56682)
- feature: 49_SSCam: new attribute "noQuotesForSID"

View File

@ -27,6 +27,7 @@
##########################################################################################################
# Versions History:
#
# 1.32.1 18.08.2016 empty event LastSnapId corrected
# 1.32 17.08.2016 Logging of verbose 4 changed
# 1.31 15.08.2016 Attr "noQuotesForSID" added, avoid possible 402 - permission denied problems
# in some SVS/DS-combinations
@ -2524,7 +2525,7 @@ sub camop_nonbl ($) {
# ein Schnappschuß wird ausgelöst
$url = "http://$serveraddr:$serverport/webapi/$apitakesnappath?api=\"$apitakesnap\"&dsId=\"0\"&method=\"TakeSnapshot\"&version=\"$apitakesnapmaxver\"&camId=\"$camid\"&blSave=\"true\"&_sid=\"$sid\"";
readingsSingleUpdate($hash,"state", "snap", 0);
readingsSingleUpdate($hash, "LastSnapId", "", 1);
readingsSingleUpdate($hash, "LastSnapId", "", 0);
}
elsif ($OpMode eq "getsnapfilename")
{