mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
powermeter frequency calculation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4543 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dd31a9fd8b
commit
c391674608
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user