Home

Welcome! Log in or Join us

call: 1300 889 851

Forums SEGmeter Graphing issues

Subscribe to Graphing issues 9 posts, 2 voices

Reply to topic
 

 
Erik-square_medium
Aug 15, 2012 7:47pm
6 posts

I noticed a few issues with charts:

  1. When I specify the "k" prefix for a P or E stream (for instance, my main panel), then in some widgets (e.g. "Big Number" widget) it shows the kW value (example: the raw value may be 2345 Watts, and the "Big Number" widget will show 2.34kW), whereas in some other widgets (Stacked Energy chart for instance) it shows the same value divided by 1000 - which means it's not possible to mix W and kW streams and get a meaningful display. I took it that the prefix defines the unit of the input stream, and not a display scaling factor, or is it? Either way, it appears to be inconsisent across widgets?
  2. The performance is pretty bad of some of the pages. When I click a stream, I often get "this script is not responsive" alerts in Firefox. Performance on an iPad is similarly sluggish. It seems to be very javascript heavy? Are there any plans to improve performance?
  3. I tried a combined temperature and usage chart, and while the usage is correctly scaled (0-1500 in my experiment), the temperature scale on the left was also 0-1500, rendering it useless (it should have been 0-40 Celcius or so). Perhaps a bug, or did I miss a config step? Example where you can see this in action (at the bottom - temp scale is 0-4000 C, where actual max temperatures is < 36 deg C): https://smartenergygroups.com/widgets/4c98bc4be...

Any suggestion for me to try?

Let me know if you need more specific information.

Thanks,
Erik

 
Samotage_300_medium
Aug 16, 2012 10:39pm
398 posts

Hey Erik,

Strange results will occur with mixed prefixes or units.  Make sure you compare the apples with the apples.  Once bananas get in there, it's going to become fruit salad!

Yes, there is a lot of JavaScript.  All the visualisations are drawn with JS.  I know the device and sites pages are quite slow as they are using some early JS charting tools.  There are plans to improve these by upgrading them. Pretty much all the dashboard stuff will work well and not crash ;). What FF version are you using?  Have you tried chrome?  It's got a pretty quick JS engine.  Forget IE - unless you want the pages to either crash or render next year.

Sam, @samotage

 
Samotage_300_medium
Aug 16, 2012 10:42pm
398 posts

With your energy temperature, the temperature should be the last stream in the list.

Edit the gadget nd drg to sort the streams to move the temperature down.  It should scale the units... check the raw units that a hitting SEG to make sure they are sensible!

I run kWh for all my energy streams.  There is also another candlestick chart which is really good for this type of thing, I think it still has a jigsaw puzzle piece in the gadget palette.

Sam, @samotage

 
Erik-square_medium
Aug 17, 2012 12:14am
6 posts

Thanks Sam,

I'll give your suggestions a try. 

As for the units - all p streams are uploaded to SEG as Watts. This works, but some of the displays become unwieldingly large. There doesn't seem to be a way currently to scale that in the widget (or let the widget do itself), is there?

As for speed, I tried safari on a mac, dual Xeon pc, newest Firefox on an older core duo laptop, newest Firefox on dual core Xeon, and safari on iPad. It's unbearable on the laptop, and sluggish on all but the fastest machine. Perhaps it's the number of streams or the report interval (30 sec) that I have that play a role?

Thanks,

Erik

 
Samotage_300_medium
Aug 17, 2012 12:24am
398 posts

Hey Erik,

The system will deal with rounding, decimal places automatically.  Raw data is stored in the non prefixed, and adjusted at display time based on the streams selected prefix.  If you have big W values, I'd recommend setting them all to kW.

Please let me know if it's the device page or the sites pages you are having probs with.  If you need to, you can email me: Sam @ this domain and I can check it out. If I can reproduce, the faster up treatment will be appled.  Note - I run a relatively old MacBook of the core two duo type, and it's really good with chrome - the browser I do most dev with.

Sam, @samotage

 
Erik-square_medium
Aug 17, 2012 4:20am
6 posts

Thanks for the clarification Sam.

It would be very nice if SEG could auto scale the units in a smart way. I have some streams that are mere watts, but other (like my main panel) that are thousands of watts. So I would prefer to keep my data at the same resolution for now. 

The graphing slowness is most apparent when stream details are opened. In my case, when you would select the GEM device, then click for instance "Line V". The page loads quickly, but then it takes quite a while before the graph shows. Half a minute or more. I wouldn't be surprised if its transferring the hash data in the background? When I click the "30 min" tab on the top right, it's much faster. However, it seems that the "Raw" tab is the default... Example stream: https://smartenergygroups.com/streams/7520

I addition, I noticed that the aggregate data (like the "30 min" tab) for Volt data (which is a gauge, not a counter) makes no sense. It should have averaged the numbers of that 30 sec interval, but instead I get 7k volts or so. Is there any chance you could make SEG aware of units like volt, or alternatively provide a way on the stream page to tweak the behavior (average the values instead of add)?

I have some other streams (output from an APC UPS) that I would like to add as well, but I noticed that the menu of steam types is somewhat restricted. For instance, there is battery voltage, but not line voltage. Can these options be expanded? Lastly, and this is more cosmetic, both of my devices show up as SEGMeter with its icon. Any way to customize device and icon?

 

Thanks,

Erik

 

 
Samotage_300_medium
Aug 17, 2012 5:47am
398 posts

Hey Evan,

I checked out your stream for voltage.  I changed the stream type name to Voltage as I agree - this makes more sense than Battery.  ( which was config'd a long, long time ago!)  Not sure what happened with its voltages. I saw what you said, cleared then regenerated your aggs and all looked fine.  Was this stream set to another unit type at some stage?

I checked your page, and this one was slow for me too... It's trying to draw a weeks worth on 30 second data...  I suspect that's the problem - I don't think that chart fires on a callback.  This page has the fast charting too.

Ive has a couple of cosmetically things like you ask, maybe one day?  There is a lot of stuff to do.  You can change the device type if you like, this will show an alternate image.

Sam, @samotage

 
Erik-square_medium
Aug 17, 2012 1:43pm
6 posts

Thanks for looking into this Sam.

Yes, I think the stream was set to the generic "Number" at some point. Only recently switched that to "Voltage".

As for the slowness, perhaps you can temporarily make the "30 min" tab the default view when you click stream details? That would be a lot less data and more responsive. Of course, the raw display would still need to be addressed at some point, but this simple (?) change alone would greatly increase usability for me.

I understand there's a lot to be done. Let me know if I can help in any way though.

Take care,
Erik

 

 
Samotage_300_medium
Aug 18, 2012 10:36pm
398 posts

Ahhhh, number will add ;)

There should be an option under edit for the stream to set the default detail view - change this to aggregate.

Sam, @samotage

Log in to reply to this topic

Forums SEGmeter Graphing issues

copyright © 2013 Smart Energy Groups pty ltd