Stats duration (zoom in/out on graphs) & storage

135 views
Skip to first unread message

Rob_in

unread,
Feb 2, 2017, 11:53:25 AM2/2/17
to Loxone English
So I've now added a temperature/humidity sensor to my test setup, have turned on statistic and can view the short term trend via the web interface. Which clearly raises a few questions... ;)

1. The web interface shows a few days only on the horizontal axis. Is there a way to zoom out to see different periods such as a month, quarter, etc. at a time? Is there a way to zoom in?

2. Did I read that when the SD card is full the Miniserver will stop recording stats in preference to deleting/overwriting old data? This doesn't sound particularly nice. Especially if you cannot zoom out (and it appears very hard to scroll backwards through time) so why would Loxone not choose to overwrite old data that you can probably never see?

I'm (and I'm sure a few here are too) familiar with RRDTool and monitoring systems that use this (Cacti, MRTG, etc) and am surprised (frustrated?) that Loxone statistics gathering doesn't seem to use a similar scheme to show values over various different periods.

Does a project to store stats long term need to go on my ToDo list? Or does one already exist?

Cheers,

Robin

Andrew B

unread,
Feb 2, 2017, 7:08:32 PM2/2/17
to Loxone English
I was just talking to one of their support guys today and asked exactly this.  He seemed to say that the oldest data gets tossed in preference to the new data (FIFO-style).  He also said that data could be sent to logging servers, retrieved via FTP (he's going to get me the binary format they use), emailed, and possibly other methods.

I have scrolled back to when I started logging (May... i.e. almost 9 months of data) using the apps.  Just tried it in the browser and it let me scroll there very fast, but am still waiting for the data to download and display...

He also mentioned they only support accessing 4GB on an SD-card.  I guess I won't bother putting my 64GB card into the miniserver.

Duncan

unread,
Feb 3, 2017, 4:36:55 AM2/3/17
to Loxone English
mine is running on a 32gb sd without problems

Andrew Brownsword

unread,
Feb 3, 2017, 8:58:12 AM2/3/17
to Duncan, Loxone English
Yes, he said it will work fine on larger cards but won't use more than 4GB.  How much of yours is consumed?
--
You received this message because you are subscribed to a topic in the Google Groups "Loxone English" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/loxone-english/mfr1hVc2MAQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to loxone-englis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loxone-english/ccad356e-378f-4195-a50e-f2281d97e1b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kops

unread,
Feb 4, 2017, 6:11:08 AM2/4/17
to Loxone English
Hello,
1) On a touch devices you can simply use "pinch to zoom" finger gesture zoom in and out in the chart. It works in standard web browser the same way as in the app. Not sure how to achieve the same with a mouse though.
2) Your card most probably dies earlier than gets totally full. Well, it won't be dead completely but will report numerous errors. In my case this happened after three years (or at least on that moment I started noticing it). You can manage the stored data either through the Loxone Config App, or via FTP (data are stored in the /stats directory. However, none of these is an automated process, but I can imagine an external solution with regular data pulls from Miniserver and use some third party utilities to visualize those XMLs. I am not sure if there is ready-made solution for this already, would be great to share. But in case the data you measure represent some value for you I would strongly recommend to take them somewhere else to store (cloud?).
Temperature_graph.png

Rob_in

unread,
Feb 6, 2017, 2:16:38 AM2/6/17
to Loxone English
Ahhhh... so I left my test system running for a few days and after a while, yes, zoom and scroll started to work. I guess if there's not much data they have coded it to disable these functions.

So all good (although I would still prefer to see RRD based stats with min/max averages and other nice features that allows).

Robin
Reply all
Reply to author
Forward
0 new messages