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".
.
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 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 ?!
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?
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
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.
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.
.
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?