I’ve put the next version of dataMine in apps for approval. This is mostly minor changes and bug fixes.
One reasonably significant change is that I’ve enabled the month button, and added a year button to display longer periods of data. It should be noted though that if you try and graph channels with a LOT of data, then this will timeout after 12 seconds, and you’ll only get part of the data returned. You’ll get a warning if this happens, and it won’t cause any problems (other than you don’t get all your data), but it’s just worth keeping this in mind.
The full changelog is below…
Version 0.973
[ul][li]Fixed bug with animation selection not working on some axis[/li]
[li]Added notification selection to saved graphs[/li]
[li]Modified graph data function to cope with periods of missing files[/li]
[li]Modified graph data function to cope with corrupted lines of data[/li]
[li]Enabled monthly view button[/li]
[li]Fixed bug sizing energy donut graph when browser resizes[/li]
[li]Changed some toolbar button icons[/li]
[li]Added yearly view button[/li]
[li]Fixed bug reporting maximum value if it was the first record[/li]
[li]Added version numbers to startup screen in GUI[/li]
[li]Fixed display of variable value in channel list[/li]
[li]Fixed bug with UUID/Mount when both are not initialised[/li]
[li]Changed the event retrieval to avoid math calcs that don’t work in Vera 2[/li]
[li]Fixed cut and paste error saving UUID in multiple varibles[/li]
[li]Made config window unclosable except through buttons[/li][/ul]
Oh no… “Loading dataMine web application for Vera”
It’s not working anymore… after rebor vera I can see it mounts the USB stick and also it shows that I am having 25 channel… but clicking the link won’t work anymore… ???
@SanderL,
Does the debug link still work? If it doesn’t, can you get me the dataMine log entries using the command below from either WinSCP or PuTTY…
cat /var/log/cmh/LuaUPnP.log | grep -i dataMine
Also, what is the error you see with the “Loading dataMine web application” message - does it just sit there with that message, or does it give an exclamation mark and an error message as I’ve attached below?
@SanderL,
Thinking about this a little more - if you aren’t getting the above error message, then if probably means that the webpage is fundimentally “broken” - eg it’s missing some files or something. This may be caused by the tar file not being completely/properly extracted, or the download from apps not working properly. I’ve seen this happen in the past… It might be worth seeing if you can force an upgrade so that it gets downloaded again (not sure how or if you can do this though!).
[quote=“Chris, post:4, topic:174587”]@SanderL,
Does the debug link still work? If it doesn’t, can you get me the dataMine log entries using the command below from either WinSCP or PuTTY…
cat /var/log/cmh/LuaUPnP.log | grep -i dataMine
Also, what is the error you see with the “Loading dataMine web application” message - does it just sit there with that message, or does it give an exclamation mark and an error message as I’ve attached below?
Thanks.
Cheers
Chris[/quote]
No exlamation mark. Debug page works. Where to send the logfile to?
Ok - so it’s “just” a GUI problem then - all your data will still be being logged, you just can’t graph it (I know - it’s kind of a useful function ;))…
If you click on the email icon under my name on the side of the post, that should give you my email address.
Given the issue, I suspect that the log file won’t help since the problem is in the GUI - I’m not sure if it’s possible to force a re-download of the same version from apps.mios.com - I’ll take a look this evening.
That keeps me ongoing the “Loading dataMine web application for Vera” message untill… never.
If I remove the “index.html” part from the link and go to: http://vera/dm/ it gives me:
Loading dataMine web application for Vera
GUI Version: 0.973
LUA Version: 0.973
And then it does load the datamine app…
MODIFICATION: It woks directly on MS internet explorer. NOT on Chrome (expect when using above).
[quote=“SanderL, post:8, topic:174587”]If I press the link it goes to: http://vera/dm/index.html[/quote]
What happens if you type the IP address instead of “vera” in the above address? ie - keeping the index.html on the end.
I’ve tried it on Chrome and Firefox and it’s ok here…
I assume that this all worked fine on the previous version? The thing that I added in this version is the printout of version numbers, so I’ll have a look at this…
[quote=“Chris, post:12, topic:174587”][quote=“SanderL, post:8, topic:174587”]If I press the link it goes to: http://vera/dm/index.html[/quote]
What happens if you type the IP address instead of “vera” in the above address? ie - keeping the index.html on the end.
I’ve tried it on Chrome and Firefox and it’s ok here…
I assume that this all worked fine on the previous version? The thing that I added in this version is the printout of version numbers, so I’ll have a look at this…
Chris[/quote]
Chris where vera is, is an ip. I replaced it by vera for readily on this forum…
Just to let you know the auto download worked fine and the GUI is also working just fine - I’m enjoying the use of the month and yearly buttons. Note however refreshing the browser cache with ctrl F5 was required. My browser has dropped into quirks mode, so validating the html may be useful.
I have used version 0.973 almost from the day one. It was working without any problems (using Chrome). But today I couldn’t load the dataMine web application. After some thinking (and Vera restarts) I tested again using instruction found on these mails. Now it is working again.
But some findings. Do you know why after Vera restart all channel and date is lost. But after second restart everyting (channels and all saved date) is back. I have seen this many times when I updated the firmware. First restart > no data, second restart everything is back. Is there some time limit after restart that you have to wait before opening the dataMine graphichs?
And thanks for the excellent plugin. I am using it every day to check my energy usage.
When Vera/dataMine starts, it shouldn’t sometimes start properly, and others not show variables/configuration. I’ve not seen this here, so all I can suggest is that if you get dataMine into this state, then please click the “Debug” link from the plugin to get a debug file and I’ll take a look. It may be an issue with USB mounting (the most common problem I think), but it’s difficult to comment on without the debug logs.
While Luup or Vera is restarting, the GUI won’t load and you’ll get an error saying dataMine couldn’t download some data. This is the only limit to getting the graphics. This is simply due to the startup time of the plugin within Vera - if the browser can’t get the config data from Vera, then it doesn’t start.
If you see these issues again, please get the debug data - this is expecially useful if it covers the dataMine startup (ie is captured shortly after Vera or Luup restarts) as it avoids data being lost due to log file rotation. If we can capture the problem in the logs, then I’ll try and solve it. The next version of dataMine has another fix for a new USB issue, and also the ability to load a backup configuration if the main config is corrupted - I doubt your problem is the corrupted config though as if this is the case, it wouldn’t come back to life again without some intervention.