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

powermeter frequency calculation

git-svn-id: https://svn.fhem.de/fhem/trunk@4543 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-01-03 11:31:23 +00:00
parent 6d47e305e1
commit 6286d4c5da

View File

@ -1227,7 +1227,7 @@ sub CUL_HM_Parse($$) {##############################
push @event, "power:" . hex($P )/100; # 0.0 ..167772.15 W
push @event, "current:" . hex($I )/1; # 0.0 ..65535.0 mA
push @event, "voltage:" . hex($U )/10; # 0.0 ..6553.5 mV
push @event, "frequency:". hex($F )/100+50; # 48.72..51.27 Hz
push @event, "frequency:".(hex($F )/100+50); # 48.72..51.27 Hz
push @event, "boot:" .((hex($eCnt)&0x800000)?"on":"off");
}
}