Night and Day usage

New functionality:  method to separate out night / day usage over time. Could you please comment on possibility of adding a method to total kWh for night and Day usage. It would be a useful tool e.g.  calculating benefit of cheap night rate (good for pocket and environment).  I'm not sure where to start any ideas or guidance??

Cheers

Peter

mharizanov's picture

Re: Night and Day usage

That would be useful indeed. I try to run dishwasher and washingmachine at night for that reason and would be nice to assess the savings.

ianjm's picture

Re: Night and Day usage

I am working on this not quite finished yet

It separates the E7 import usage period from the rest of the day

Let me know if you are interested and I will post the code (not sure how to do this)

Ian

PeterN's picture

Re: Night and Day usage

Yes please send code to peter@wedo.ie

TrystanLea's picture

Re: Night and Day usage

Hello Ian, great work! can you add it as an attachment here? Click File Attachments below the editor box here, then browse and upload.

ianjm's picture

Re: Night and Day usage

I have attached my latest version of my revised display

It now shows the current days totals and Yesterdays totals
 

Attached is my code

ianjm's picture

Re: Night and Day usage

Not sure if the attachment worked on the previous post

 

glyn.hudson's picture

Re: Night and Day usage

Nice! I'm considering starting an emonGLCD gallery page with screenshots and code for different customizations. That way users can mix-and-match bit's of emonGLCD code to help customize their own displays. Would you mind if I included your emonGLCD photo and code in the gallery? 

ianjm's picture

Re: Night and Day usage

No problems with that

I will continue to post up my updates

Ian

PeterN's picture

Re: Night and Day usage

Looks great.  However I was looking for something similar to kWh/d except breaking it further down to peak and off peak hours, then to present as bargraph. Any pointers or ideas welcome.

ianjm's picture

Re: Night and Day usage

Hi Peter

The E7 number is Off Peak rate usage and Import is Peak rate usage - I suppose I should have given the Import line a better name - I will change this on the next version.

The current version only caters for Economy Seven times after midnight

Should be easy to change so that it can caters for off peak times that spans midnight.  My off peak times are on a label on my meter - the times vary by region in the UK.

Ian

PeterN's picture

Re: Night and Day usage

Hi Ian, Thanks for reply, your code naming convention and code explanations look fine even for a novice like me, I will definitely use this in near future.

However now I'm investigating how best to get similar information from data collected via the standard emontx by querying the mysql database directly.

I may be missing something but I'm hoping it will be easy enough to query database and retrieve kW used for peak and off peak. Very similar to kWh/d on bargraph except peak/ off-peak would be side by side instead on over 24 hours.

Cheers

Peter 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.