2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

- Pest Jun 12, 21:33:00 MEST 2007

- in 62_EMEM.pm: added energy_today and energy_total


git-svn-id: https://svn.fhem.de/fhem/trunk@76 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
pest 2007-06-12 19:34:28 +00:00
parent 43caf82344
commit adc7a04d95
2 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,8 @@ EMEM_GetStatus($)
my %vals; my %vals;
$vals{"5min_pulses"} = $pulses; $vals{"5min_pulses"} = $pulses;
$vals{"energy"} = sprintf("%0.3f kWh/h", dw($d,33) / $iec); $vals{"energy"} = sprintf("%0.3f kWh/h", dw($d,33) / $iec);
$vals{"energy_today"} = sprintf("%0.3f kWh/d", dw($d,37) / $iec);
$vals{"energy_total"} = sprintf("%0.3f kWh (total)", dw($d,41) / $iec);
$vals{"power"} = sprintf("%.3f", $cur_power); $vals{"power"} = sprintf("%.3f", $cur_power);
$vals{"alarm_PA"} = w($d,45) . " Watt"; $vals{"alarm_PA"} = w($d,45) . " Watt";
$vals{"price_CF"} = sprintf("%.3f", w($d,47)/10000); $vals{"price_CF"} = sprintf("%.3f", w($d,47)/10000);

View File

@ -114,3 +114,5 @@
- Pest Jun 10, 23:16:23 MEST 2007 - Pest Jun 10, 23:16:23 MEST 2007
- Set wrong values in 62_EMEM to -1 - Set wrong values in 62_EMEM to -1
- Pest Jun 12, 21:33:00 MEST 2007
- in 62_EMEM.pm: added energy_today and energy_total