From adc7a04d9525b5ebe5b2c6bb8a79a6d3dc94c523 Mon Sep 17 00:00:00 2001 From: pest <> Date: Tue, 12 Jun 2007 19:34:28 +0000 Subject: [PATCH] - 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 --- fhem/FHEM/62_EMEM.pm | 2 ++ fhem/HISTORY | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fhem/FHEM/62_EMEM.pm b/fhem/FHEM/62_EMEM.pm index 54f55da90..d0aa97446 100755 --- a/fhem/FHEM/62_EMEM.pm +++ b/fhem/FHEM/62_EMEM.pm @@ -62,6 +62,8 @@ EMEM_GetStatus($) my %vals; $vals{"5min_pulses"} = $pulses; $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{"alarm_PA"} = w($d,45) . " Watt"; $vals{"price_CF"} = sprintf("%.3f", w($d,47)/10000); diff --git a/fhem/HISTORY b/fhem/HISTORY index 496b27e0b..b40372841 100644 --- a/fhem/HISTORY +++ b/fhem/HISTORY @@ -114,3 +114,5 @@ - Pest Jun 10, 23:16:23 MEST 2007 - 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