2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

HMInfo:set rssi default to full

git-svn-id: https://svn.fhem.de/fhem/trunk@10518 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2016-01-16 11:38:39 +00:00
parent d6d03ad349
commit 356a277b1d
2 changed files with 3 additions and 2 deletions

View File

@ -5359,6 +5359,7 @@ sub CUL_HM_valvePosUpdt(@) {#update valve position periodically to please valve
# int32_t result = (((_address << 8) | messageCounter) * 1103515245 + 12345) >> 16;
# 4e6d = 20077 12996205 = C64E6D
# return (result & 0xFF) + 480;
Log 1,"General valveUpdate $name";
if ($tn > ($nextF + 3000)){# missed 20 periods;
Log3 $name,3,"CUL_HM $name virtualTC timer off by:".int($tn - $nextF);
$nextF = $tn;

View File

@ -1133,8 +1133,8 @@ sub HMinfo_GetFn($@) {#########################################################
elsif($cmd eq "msgStat") {##print message statistics----------------------
$ret = HMinfo_getMsgStat();
}
elsif($cmd =~ m/^(rssi|rssiG)$/){##print RSSI protocol-events-----------------
my ($type) = @a;
elsif($cmd =~ m/^(rssi|rssiG)$/){##print RSSI protocol-events----------------
my ($type) = (@a,"full");# ugly way to set "full" as default
my @rssiList = ();
my %rssiH;
my @io;