Would anyone be interested in a graph like the one below built into the gui interface. It would allow you to select different Pachube feeds and datastreams to be displayed as a single graph.
I'm not a coder like Brett, so it wouldn't be done overnight, but if enough people think that they can make use of it I'll have a go.
Member for
15 years 2 monthsDefinitely!
Having overlay of multiple feeds would be very useful.
Thanks for the offer.
Member for
15 years 3 monthsMe too, please
Thanks for taking this to the next stage......however....
Can you also code for short time frames - ie y-axis of (say) 2 hours? with a high resolution....(the 30 day data doesn't really have enough plot points when you drill down to the hours)....like
https://api.pachube.com/v2/feeds/34982/datastreams/2.png?width=750&heig…
I'm also not a coder - but I can massage most snippets to give me what I want...if the tools are available. I'd certainly be up for being an alpha/beta tester - if not a code monkey!!!
Cheers
EJ
PS Did you embed the graph image in your message as a file....
Member for
16 years 5 monthsLive Graph
The graph is live, using live data from your feeds EJ, I hope you don't mind, so no, it's not a Photoshop job.
I take it that you haven't been able to get a png graph with multi feeds on, if you have, do you have the code for it?
To get better resolution, I think I could get the JSON data from Pachube and then feed that in a graph. With the graph above Google and Pachube do all the work.
What I'll do is continue with the graph type above, it should be fairly easy and help me learn how to put them together.
Once that is completed, I should have a better understanding about them and be better equiped to select data for a specific time period, one step at a time I guess.
Does anyone have a feel for the maximum number of feeds per graph, I would suggest 4, otherwise I guess they could start to look a bit busy, any thoughhts?
Is there anything else worth considering now?
Member for
15 years 3 monthsThought I recognised it!!!
Hi Boxing!
Yeah! No problems...I use everybody elses so why not..... I've changed my feed slightly so you might want to re-visit the graph.... I've added a cc.total at #4 so that's pushed everything up one!
Brett suggested looking at 'flot' - have a google and see what you think!
I'm after no more that 4 curves per graph....but from 4 different feeds.....all on the same axis values....
Cheers
EJ
Member for
15 years 3 monthsMulti-Line png graphs
Hi Boxing....
Take a goooood look at http://www.jibble.org/currentcost/
I think this is exactly what I'm after!!!
You should be able to incorporate it into the GUI, but I've no idea how the rrd-tool stuff will impact the HAHHub!!!
Keep the faith...
EJ
Member for
16 years 10 monthsFrom the other thread - don't
From the other thread - don't forget that CACTI uses RRDTOOL and it well suited to this task. Running RRDTOOL on the HAH would be tricky due to space limitation of R/W flash.
/content/multi-line-graphs#comment-718
Member for
15 years 3 monthsUSB drive?
Isn't there a move afoot to up the storage available using USB sticks? Would this give us enough space?
Member for
16 years 10 monthsTwo minds
Initially I was thinking USB on the livebox would cool (its easily doable now) you don't need me to release anything get this this to work. Just surf around the wiki there are some docs there.
http://www.dbzoo.com/livebox/development#usb_filesystem_support
Anyway moving to the Raspberry Pi would get you a 8/16/32/64 Gb flash filesystem whatever you happen to slap into the SD slot, so I'm thinking this might be the go.
I grabbed the VM and virtual box for development but I've not had time to look into porting yet.
Brett
Member for
16 years 5 monthsUpdate
OK, I've now got this working in a form that I'd be happy for someone to test. Just so you know, you can pick any pachube feeds you like, as long as they're public, pick the name and colour of each feed, I've limited it to 6 feeds for now. I can give instructions on how to test it without reflashing your existing firmware. If you're interested send me a message.
I haven't implemented a method of getting graphs at a higher resolution, ie datapoints for every 5 minutes, I know EJ is keen for this, and I would prefer it myself, but I've started simple so that I can build up, I just don't know enough about getting the data out of Pachube and formatting it yet, more reading to do.
I've been looking at other methods for implementing these types of graphs, and your suggestions have been followed up with lots of reading.
My favourite for now is Cacti, but Brett has already pointed out why this might be difficult, I guess we'll all have to wait for the Rasberry Pi and Brett to get back in the saddle.
Member for
15 years 3 monthsGreat news
Hi Boxing.....
Looks like I'm first up for the beta - please keep plugging away and get those high res features asap....i'm keen on gettiing a good look see.
hope to hear from you soon....I'll check back in 30 mins....
EJ