Skip to content

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

@desander

Description

@desander

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions