I spent a bit of tonight tweaking last night’s CurrentCost app.
Not a lot to say about it, as it’s more or less the same as it was last night…
I spent a bit of tonight tweaking last night’s CurrentCost app.
Not a lot to say about it, as it’s more or less the same as it was last night…
The CurrentCost meter has been ignored of late as I’ve been a bit busy with other things. Tonight, I started playing with it again.
The plan
The more geeky amongst us have connected the CurrentCost to a server of some sort. By connecting it to something that’s always on, we can collect a history one reading at a time. But what about people without a server? How can they collect history?
As Rich highlighted in his post on the CurrentCost XML output, the CurrentCost meter maintains some running totals in flash memory, and these are included with updates for every reading from the device.
It maintains:
This means that if you store and aggregate these history totals, you can connect the meter to a computer periodically and still get reasonable CurrentCost readings history.
Okay, so the two-hourly history might be a bit much, but the others all seem reasonable, even for non-geeks!
So, the plan is to write a simple Windows application that a user could periodically link to a laptop or computer that will collect CurrentCost readings and aggregate them into history data. And ideally then display them in a pretty way
(Not my plan, incidentally, but rather one that I nicked from Andy. Still, if you’re gonna nick ideas, there are worse places to start… 🙂 )
This is what I’ve got so far…