GetEnergyUsageByDay,Wk and Month now seems shown correct start and
end-date. But the summarize of energy are limited only for 19 events Not
the real of weekly or month sum. I couldn't find where we have set up
this. I am possibly too tried. YOu could help me these function tomorrow
or Sunday. Another issue, is Weekly sum always show event data only from
30.04.. which the actualy should be from 27.04.. weird. Anyway, I will
start to implement set up policy tomorrow. I hope it will have some luck
for me. below is the printline from our solution as your reference.. Pu




Updating measurement data for rooms
START 2013-05-03 00:00
END 2013-05-04 00:00
START 2013-05-03 00:00
END 2013-05-04 00:00
Energy usage by day: 0.0 kWh
date: Sat May 04 01:51:01 CEST 2013  Sat Apr 27 01:51:01 CEST 2013
START 2013-04-27 00:00
END 2013-05-04 00:00
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:54:38+00:00 t=1367308478: gain = 1.0 Energy = 900.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:54:53+00:00 t=1367308493: gain = 1.0 Energy = 1800.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:55:08+00:00 t=1367308508: gain = 1.0 Energy = 2700.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:55:23+00:00 t=1367308523: gain = 1.0 Energy = 3600.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:55:38+00:00 t=1367308538: gain = 1.0 Energy = 4500.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:55:53+00:00 t=1367308553: gain = 1.0 Energy = 5400.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:56:08+00:00 t=1367308568: gain = 1.0 Energy = 6300.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:56:23+00:00 t=1367308583: gain = 1.0 Energy = 7200.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:56:38+00:00 t=1367308598: gain = 1.0 Energy = 8100.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:56:53+00:00 t=1367308613: gain = 1.0 Energy = 9000.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:57:08+00:00 t=1367308628: gain = 1.0 Energy = 9900.0 Ws in
15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:57:23+00:00 t=1367308643: gain = 1.0 Energy = 10800.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:57:38+00:00 t=1367308658: gain = 1.0 Energy = 11700.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:57:53+00:00 t=1367308673: gain = 1.0 Energy = 12600.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:58:08+00:00 t=1367308688: gain = 1.0 Energy = 13500.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:58:23+00:00 t=1367308703: gain = 1.0 Energy = 14400.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:58:38+00:00 t=1367308718: gain = 1.0 Energy = 15300.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:58:53+00:00 t=1367308733: gain = 1.0 Energy = 16200.0 Ws
in 15 seconds
(W) Energy used by device room-1-light-2 in time
2013-04-30T09:59:08+00:00 t=1367308748: gain = 1.0 Energy = 17100.0 Ws
in 15 seconds
START 2013-04-27 00:00
END 2013-05-04 00:00
Energy usage by week: 0.0047500003 kWh
START 2013-04-04 00:00
END 2013-05-04 00:00
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:41:23+00:00 t=1365075683: gain = 1.0 Energy = 900.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:41:38+00:00 t=1365075698: gain = 1.0 Energy = 1800.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:41:53+00:00 t=1365075713: gain = 1.0 Energy = 2700.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:42:08+00:00 t=1365075728: gain = 1.0 Energy = 3600.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:42:23+00:00 t=1365075743: gain = 1.0 Energy = 4500.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:42:38+00:00 t=1365075758: gain = 1.0 Energy = 5400.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:42:53+00:00 t=1365075773: gain = 1.0 Energy = 6300.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:43:08+00:00 t=1365075788: gain = 1.0 Energy = 7200.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:43:23+00:00 t=1365075803: gain = 1.0 Energy = 8100.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:43:38+00:00 t=1365075818: gain = 1.0 Energy = 9000.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:43:53+00:00 t=1365075833: gain = 1.0 Energy = 9900.0 Ws in
15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:44:08+00:00 t=1365075848: gain = 1.0 Energy = 10800.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:44:23+00:00 t=1365075863: gain = 1.0 Energy = 11700.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:44:38+00:00 t=1365075878: gain = 1.0 Energy = 12600.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:44:53+00:00 t=1365075893: gain = 1.0 Energy = 13500.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:45:08+00:00 t=1365075908: gain = 1.0 Energy = 14400.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:45:23+00:00 t=1365075923: gain = 1.0 Energy = 15300.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:45:38+00:00 t=1365075938: gain = 1.0 Energy = 16200.0 Ws
in 15 seconds
(M) Energy used by device room-1-light-2 in time
2013-04-04T13:45:53+00:00 t=1365075953: gain = 1.0 Energy = 17100.0 Ws
in 15 seconds
START 2013-04-04 00:00
END 2013-05-04 00:00
Energy usage by month: 0.0047500003 kWh