Nice public dashboards to show what can be done with OEM?

Hi there,

I am meeting some students tomorrow in CAT to talk about the openenergymonitor and was wondering if anybody has any cool dashboard (public) that i could show them. I know the ones that come with emonCMS (my elektric, heatpump, etc)

Thanks,

   Carlos

JD's picture

Re: Nice public dashboards to show what can be done with OEM?

I don't know how cool these are compared to others, but you are free to use them in your class:

Ranch with Solar:

http://data.peakmonitor.com/proto3

 

3 phase well pump irrigating a vineyard:

http://data.peakmonitor.com/proto2&id=13

 

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

Here's an example of some mods I've made to my dashboard.

167.114.114.94/emoncms/meter
 

Regards,

Bill

 

cagabi's picture

Re: Nice public dashboards to show what can be done with OEM?

This is brilliant Bill. They look very cool and work great for what i need.

Thank you very much,

    Carlos

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

Hi Carlos,

Glad I could help. Thanks for the complement!

Bill

JD's picture

Re: Nice public dashboards to show what can be done with OEM?

Very cool Bill.

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

Thanks JD.

I added some JS code to make the import/export feedvalue widget red during import, and green during export.

 

 

cagabi's picture

Re: Nice public dashboards to show what can be done with OEM?

Hi,

I did my presentation yesterday, everybody was impressed with your installations and the dashboards fit the purpouse very well. They were really helpful in order to show the potential of emonCMS. Great work you have done.

Thank you very much again,  :-)

   Carlos

 

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

You're very welcome, sir.

Thanks again for the good words!

Bill

 

nrgbod's picture

Re: Nice public dashboards to show what can be done with OEM?

I added some JS code to make the import/export feedvalue widget red during import, and green during export.

 

Bill, how did you do this, would you mind sharing the JS code? It looks like a feature I'd like to add to some of my dashboards if possible. 

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

Bill, how did you do this, would you mind sharing the JS code? It looks like a feature I'd like to add to some of my dashboards if possible. 

Here's the file I modified. (emoncms/Modules/dashboard/Views/js/widgets/feedvalue_render.js) I added comments to make the changes easy to find, and explain the logic. I'm not a coder by trade, so this is very much a hack. i.e. it will get overwritten by an upgrade.

In my post, I mentioned adding javascript code. It's actually jquery.

Regards,

Bill

 

nrgbod's picture

Re: Nice public dashboards to show what can be done with OEM?

Thanks Bill, I'll give it a try.

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

nrgbod,

Here's an update to the jquery code. The text "Importing" or "Exporting" tracks the color change.

    var get_impexp = document.getElementById('17').innerHTML;
    var impexp = parseInt(get_impexp, 10);
    if (impexp < 1) {
    $('#16').html("Exporting");
    $('#16').css({'color':'limegreen', fontStyle:'italic'});
    $('#17').css('color','limegreen');
    } else {
    $('#16').html("Importing");
    $('#16').css({'color':'red', 'fontStyle':'italic'});
    $('#17').css('color','red');
    }

On the dashboard edit screen, I deleted the "Import/Export" text, but did not remove the text box itself.

As with the earlier example, the element ID needs to be determined. (use the browser's inspect element function)

hercules71035's picture

Re: Nice public dashboards to show what can be done with OEM?

Hi Bill,

How can I have the last three graphs that you have in a public page? I'm trying to do Kwh/daily for production / Consumption / (production - consumption), but I have some trouble to do that. I use emoncms v. 8.5 and Wh accumulator inputs.

Thanks! :)

Bill Thomson's picture

Re: Nice public dashboards to show what can be done with OEM?

Hello Maurizio,

I take it you mean the three graphs on the lower 2/3rds of my page. They are "simple zoom" graphs that I modified to display the buttons toward the left side of the graph, and reduce the size of the text when the bars are clicked on or hovered over.

I use "power to kWh" and "power to kWh/d" to give me PV generation, import/export, and house consumption.

I've never used the Wh accumulator, so I don't have any advice for you there.

Regards,

Bill

Comment viewing options

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