Time logged is off by an hour

Hello,

I’m new to vera and it’s environment, so greetings to everyone here.

I recently installed datamine and everything seems to work, data is logged and channels are updating.

The problem is that the data logged is one hour behind the actual time shown on vera.
If vera’s time is 14:00, the events get logged at 13:00, so when I see the graphs, I need to add an hour to every measure, which is kind of odd.
Also DM reports with the yellow sign that it has no recent data.

Does anyone know how to fix this so the data is looged correctly?

Thanks in advance.

I have this issue too, but only on the graphs accessed via a browser. The correct time is shown on the graphs displayed within the dataMine plug-in.

Odd!

On reflection I’m wondering if this could be a Daylight Saving Time issue…?

Update: Not DST-related.

If I use the graph’s name to display in a browser it shows the time off by an hour. If I go to dm/index.html in the browser, then select the same graph, the time is correct.

This can be fixed by setting the charting component to not use UTC in graph.html.

Edit /www/dm/graph.html to add in the setOptions line as shown below.

[code] Highcharts.setOptions({ global: { useUTC: false } });

            chartObject = new Highcharts.Chart(options);[/code]

@ConstantSphere - could this be added to the main codebase?

Thanks for the suggestion @rge, but makes no difference for me. :frowning: