2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

jeelink, panstamp: update state timestamp on message reception. see forum: http://forum.fhem.de/index.php/topic,14786.msg410022.html#msg410022

git-svn-id: https://svn.fhem.de/fhem/trunk@10852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-02-15 09:30:03 +00:00
parent 8ed43270e7
commit a98bb6893e
2 changed files with 2 additions and 0 deletions

View File

@ -473,6 +473,7 @@ panStamp_Parse($$$$)
$hash->{"${name}_MSGCNT"}++;
$hash->{"${name}_TIME"} = TimeNow();
readingsSingleUpdate($hash, "state", $hash->{READINGS}{state}{VAL}, 0);
$hash->{RAWMSG} = $rmsg;
my %addvals = (RAWMSG => $rmsg);
if(defined($rssi)) {

View File

@ -771,6 +771,7 @@ JeeLink_Parse($$$$)
$hash->{"${name}_MSGCNT"}++;
$hash->{"${name}_TIME"} = TimeNow();
readingsSingleUpdate($hash, "state", $hash->{READINGS}{state}{VAL}, 0);
$hash->{RAWMSG} = $rmsg;
my %addvals = (RAWMSG => $rmsg);
if(defined($rssi)) {