New features for EmonCMS

https://github.com/XaroRSA/emoncms

  • Add images in dashboard easy(PNG,BMP,JPG,GIF){Filenames must have alphabetical character and no white spaces}{Place images in Modules\dashboard\Views\js\widgets\image directory
  • Toggle Mutligraph serieses by clicking on legends
  • Save Multigraph to desktop through Save button on multigraph

 

 

 

 

Paul Reed's picture

Re: New features for EmonCMS

Nice work Kenneth, I look forward to them being merged, especially the Multigraph toggle feature which looks really useful.

Paul

JBecker's picture

Re: New features for EmonCMS

I wanted to have this (selectable graphs in multigraph) since a long time! Very nice.

If I download the code, there is a missing closing curly bracket at the end of multigraph.js. Everything else seems fine.

BR, Jörg.

 

XaroRSA's picture

Re: New features for EmonCMS

Ok thanks fixed it.

Eric_AMANN's picture

Re: New features for EmonCMS

Hi XaroRSA,

Thank's for your great work ! Not yet merged ?

I would like to add the Multigraph toggle feature to my RaspberryPi which is running the low-write image (emonSD-13-08-14.img).

As I don't know how to use git, I just dowloaded the following files from your git repository:

  • Modules/vis/canvas2image.js
  • Modules/vis/multigraph_api.js
  • Modules/vis/html2canvas.js
  • Modules/vis/multigraph_edit.js
  • Modules/vis/jquery.flot.hiddengraphs.js
  • Modules/vis/multigraph.js
  • Modules/vis/visualisations/multigraph.js
  • Modules/vis/visualisations/multigraph.php

Then I replaced my local files with yours but it looks like that nothings has changed

Something is missing ?

Eric

 

 

 

EmilianoM's picture

Re: New features for EmonCMS

Please include also XY visualizations. Thanks !

XaroRSA's picture

Re: New features for EmonCMS

Try this BETA site :D

http://178.62.202.222/

Yes that is Bootstrap 3, with custom themes selection.

JBecker's picture

Re: New features for EmonCMS

YES, It would be very nice if this feature could be merged into the standard EmonCMS because it simply works perfectly.

Eric, does it work for you now? Don't forget to clear the browser cache.

BR, Jörg.

 

Eric_AMANN's picture

Re: New features for EmonCMS

Hi,

It's working fine after clearing the browser cache.

No need to modify any other files.

Thank's Jörg !

Eric

Eric_AMANN's picture

Re: New features for EmonCMS

Hi all,

Using XaroRSA's files as a starting point, I added the following features to the multigraph visualisation:
   - set the min/max values of the y-axis (very usefull to hide spikes or to show data on a specific range)
   - plot the moving average (useful for environmental data like CO2, VOC, ...)

Attached are the modified files and an example that plots the output of a voc sensor (0-100%) with different moving average (none/1h/2h/4h).

Eric

 

XaroRSA's picture

Re: New features for EmonCMS

Good work!

Check out my latest version at http://188.226.137.252/

Numerous updates, themes and looks. play and have fun!

JBecker's picture

Re: New features for EmonCMS

Is there any chance we might get these features (toggle multigraph ON/OFF by clicking the legend, min/max values for y-axis, moving average for multigraphs) in the standard branch of EmonCMS?

After every update I have to add these features again to my local EmonCMS (and I am seriously missing it on Emoncms.org).

Is there any reason why this is not possible/wanted?

BR, Jörg.

 

TrystanLea's picture

Re: New features for EmonCMS

Hello Jorg, Id be happy to accept a pull request for these on version 9.0, would you be able to help with integrating them?, it sounds like you must be quite familiar with the steps by now!

There's a large amount of work needed on emoncms.org and I've been struggling with time but I have upgrading the dashboards module and app's module as high on my priority list and will be getting on to that in the next week.

JBecker's picture

Re: New features for EmonCMS

Hello Trystan,

I know that you are busy with all the things that have to be done on emoncms and the other things and I surely did not want to 'complain' in any way about the missing features! It was just a question and I thought that some other people are also working on the code by now.

I think that most of the work has already be done and it 'just' has to be integrated into the code. I would love to help but I have a similar problem as you :-))

Will see if I find time to setup a V9.0 on a Raspberry and then try to integrate the features. Have to learn how to use git, pull request and all the like, too. And then V9.0 is absolutely new to me and a lot of things seem to have changed on it. Let's see ....

BR, Jörg.

 

TrystanLea's picture

Re: New features for EmonCMS

Thanks Jorg, didnt take it as a complaint, probably that exclamation mark was a bit misplaced :) Im just writing up the steps to upgrade a stock emonpi v8.5 lowwrite image to emoncms v9 which will probably spare you some time.. very soon to be posted

Comment viewing options

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