Expose the fancy graphs

Feels like i’m spamming you with feature requests here Chris…

I’m planning on setting up a couple of android-pads on the walls here… and I will expose the vital house info on them (using an simple webpage with ajax requests composing data from from various sources).

It would be really nice if I could reuse/expose your nice graphs (house consumption initially) somehow in an iframe or fetching the datamine-generated-svg or something similar.

Do you think this is doable somehow? Just ask and I’ll help with development if necessary!

I think that raising my familys awareness of consumption of various stuff here at home would really make a difference… :smiley:

No problem…

This is the original intent of the short graph name that I had in the “save graph” dialogue. I removed it recently(ish) as I’d not implemented this, however the idea was that you could go to /dm/saved_graph.html and get a full window with just that graph. I ran into a few problems with implementing this in a flexible way so haven’t looked at it for a while.

The idea is it would reuse as much of the DM interface script as possible, but also be a lot lighter - ie no configuration, and ideally not using the extjs library which is quite heavy - I think it should be just the graph library, and jquery. This would make it quicker to load on iphones etc.

It’s actually not a lot of work (I think!) - the issue is getting the structure right so that I don’t have to maintain two source bases.

Let me have a think about it while I’m building my decking over the weekend (I’ll need something to think about other than decking boards!).

Cheers
Chris

Ah so that explains why I couldn’t get to the short graph name.

I’ve been looking at buying a cheapo android tablet to control some of the lights. When I saw the saved graphs I thought the same thing - graph the data to show energy use.
Although this has since morphed into a Heater/temperature page with set-point control and graphs of current temperatures.
This has got my vote. :slight_smile:

This feature is available in the last version or two of dataMine. The manual explains how to set this up, so take a look there, and if there’s any problems let me know.

Chris

Thanks, that works great (it even has a mouse-over help to tell you how to use it )

  • really you posted this in July …