ioBroker/ioBroker.history

History data - diagramm hangs

sv-hjo opened this issue · 24 comments

I use history with Loxone datapoints.
There is a bug concerning history and habpanel visualisation. There is an other case open already.
Now the admin-problem:
If I want to see the diagramm of a datapoint (objekts - config - diagramm) there are no datapoints to see, the output "hangs".
kein Diagramm.
admin: 6.1.5
history: 2.1.5
Ingo Fischer analyzed the log for the hisory adapter. I attach it here as well.
Log history 260622.txt

2022-06-26 12:10:17.086 - objekt diagramm
2022-06-26 12:13:07.318 - visu

I have the same issue with admin 6.1.5 and history 2.1.4
Values in tab "Verlaufsdaten" are available but no diagram in tab "Diagramm".
There is no error in the browser console

If the source for the diagram is "influxdb" the diagramm is drawn correctly.

@GermanBluefox Data were delivered correctly (ok the step was interesting because set to "1h" for " a day" request time which seems a bit odd, but no idea :-)

@is there any error in the browser console?

I have the same problem, at least it looks so to me. I use history adapter, can collect history data but the diagramm output hangs.

Following information i can provide:
grafik

grafik

grafik

grafik

Any idea? Any question? Can i provide you with more information?

@is there any error in the browser console?

I have no errors in the browser console

This bug i could see sometimes but not always in the past. Since update of history adapter to the latest version 2.1.7 this error is always there. And there are no errors in the browser console of firefox.

I testet this in Edge: same behavier.

Question would be if updating admin to 6.x (in Beta) solves this ?!

same problem with admin 6.x

grafik

Then please enable the extended logging for such a datapoint in the history settings of the datapoint, then set the loglevel ofg history to debug and you should see the reuests admin is doing in the log ... lets see what we can see there

I tried to generate an extended logging, see attached file. Can i do more to analyze this problem?

iobroker log.txt

Ok, seems to be a history issue ...

@seebaernd Please install history from Github (important: with npm 6 such an install can take 10 +minutes). Then please provide another such log ... hopefully it works because I found something ... or we should see more

is there anywhere a short instruction, how to install history adapter from Github on my system? I have never done this before this way.

Admin - enable Expert mode - Adapter tab will have aan icon "custom install" with a github logo. Click there, then choose in the dialog the "From github" tab. select history, install

with the history adapter from github it works again :-) Thanks a lot for this greatful help!

grafik

Some data is missing in the graph. I think this will work pretty fine in the future with the fixed adapter.

do you need actual Logfiles for further analysis?

No, I will release a fix

Installed history version 2.2.0 today. Works fine. Thx again.

carhe commented

Hi there, thanks a lot for the fix.

Unfortunately, I still have trouble with one datapoint (don't know why this one). For some reason, the diagram skips the measurements of two days (see the attached screenshots). I don't remember exactly, but the 26th could be the day when I updated the history adapter from 2.1.7 to 2.2.0. I attached the history files of this single datapoint, maybe it is helpful.

screenshot-a
screenshot-b
screenshot-c
history.zip

.

carhe commented

Update: The diagram does not only have problems until 29.07. 00:25, instead this time continuously moves on. Currently it looks like this.

screenshot-d

carhe commented

Update: Sometimes some values are shown. More than once the first shown value has been the first value of the current day (as in the screenshot). However, I cannot say if this is always the case.

screenshot-e
screenshot-f

Hello,
since updates to newer Versions i think last week i do have problems with Diagram as well. Values are logged in history adapter properly. But Diagram output is not working normally. Reinstalled history adapter from git with newest version 2.2.0

Hello, since updates to newer Versions i think last week i do have problems with Diagram as well. Values are logged in history adapter properly. But Diagram output is not working normally. Reinstalled history adapter from git with newest version 2.2.0

I've fixed the diagram by changing history options that only one state per minute is saved. Now the Diagram for me with habpanel works again.

For Diagram output please check the parameter s... maybe you simply request not enough datapoints but use aggregate none? Why not simply use aggregate=average or such?