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 33311e3bcf
commit 08f6bb6b01
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);