2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

Counter added, timestamp renamed

git-svn-id: https://svn.fhem.de/fhem/trunk@505 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2009-12-10 07:50:48 +00:00
parent 757d908e5d
commit 88d71000f0
2 changed files with 4 additions and 2 deletions

View File

@ -786,7 +786,8 @@ CUL_Parse($$$$$)
return;
}
$hash->{RAWMSGTIME} = TimeNow();
$hash->{"${name}_MSGCNT"}++;
$hash->{"${name}_TIME"} = TimeNow();
$hash->{RAWMSG} = $rmsg;
my %addvals = (RAWMSG => $rmsg);
if(defined($rssi)) {

View File

@ -692,7 +692,8 @@ FHZ_Read($)
next;
}
$hash->{RAWMSGTIME} = TimeNow();
$hash->{"${name}_MSGCNT"}++;
$hash->{"${name}_TIME"} = TimeNow();
$hash->{RAWMSG} = $dmsg;
my %addvals = (RAWMSG => $dmsg);
my $foundp = Dispatch($hash, $dmsg, \%addvals);