Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart doesn't Update when dbLog/LogProxy used #235

Open
desander opened this issue Jan 15, 2019 · 0 comments
Open

Chart doesn't Update when dbLog/LogProxy used #235

desander opened this issue Jan 15, 2019 · 0 comments

Comments

@desander
Copy link

desander commented Jan 15, 2019

The chart does not update automatically when using dblog and logproxy.

It is primarily because the required devices and readings are not included in the filter of Inform and JsonList requests. So you don't notice any data changes of the devices.

There are 2 reasons for this.
A) The widget_chart.js (init_attr) has to call AddReading for Columnspec
B) fhem-tablet-ui.js (addReading) must detect that Columnspec has been passed and extract DeviceName and Reading at the correct position in the string.

The next one is in widget_chart.js (update), the determination of the variable isLogdevice must be adapted for Columnspec.

This is my Quick and Dirty fix which I have to take over after every update. I am sure that my Quickfix is not the optimal one. For these 2 reasons I would ask you to fix it correctly.

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant