diff --git a/fhem/CHANGED b/fhem/CHANGED index 59a9c7b78..9c2b210a6 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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_IPCAM: not sending events for sequential snapshots fixed - new: SYSSTAT: umstellung auf non-blocking frei konfigurierbare zusatz readings mehr siehe: https://forum.fhem.de/index.php?topic=42771 diff --git a/fhem/FHEM/49_IPCAM.pm b/fhem/FHEM/49_IPCAM.pm index 5351feb80..2f35ea3ee 100644 --- a/fhem/FHEM/49_IPCAM.pm +++ b/fhem/FHEM/49_IPCAM.pm @@ -566,8 +566,7 @@ sub RequestSnapshot_Callback { Log3 $name, 4, "IPCAM ($name) - snapshot $storage/$imageFile written."; readingsBulkUpdate($hash, "last", $lastSnapshot, 1); $hash->{STATE} = "last: $dateTime"; - $hash->{READINGS}{"snapshot$seqF"}{TIME} = $dateTime; - $hash->{READINGS}{"snapshot$seqF"}{VAL} = $imageFile; + readingsBulkUpdate($hash, "snapshot$seqF", $imageFile, 1); Log3 $name, 4, "IPCAM ($name) - image: $imageFile"; }