Skip to content

ftui tries to get chart-data from wrong file #47

@Lutzion

Description

@Lutzion

today, on the 01.02.2023 i try to see the chart-data of the last days.

So i click the navigator to move date to 27.01.2023, but i dont get any data.
With fhem global.verbose = 5 i get the log entries:

2023.02.01 21:39:16 4: WEB_192.168.64.2_55640 GET /fhem/?cmd=get+FileLog_Bewegung_MDIR_O_4F96CF+-+-+**2023-01-27**_00%3A00%3A00+**2023-01-28**_00%3A00%3A00+4%3Atrigger_cnt&asyncCmd=0&fwcsrf=csrf_355115176078942&XHR=1; BUFLEN:0
2023.02.01 21:39:16 5: Cmd: >get FileLog_Bewegung_MDIR_O_4F96CF - - 2023-01-27_00:00:00 2023-01-28_00:00:00 4:trigger_cnt<
2023.02.01 21:39:16 4: FileLog_Bewegung_MDIR_O_4F96CF get: **Input file** ./log/Bewegung_MDIR_O_4F96CF-**2023-02**.log, from:**2023-01-27**_00:00:00  to:**2023-01-28**_00:00:00
2023.02.01 21:39:16 4: FileLog_Bewegung_MDIR_O_4F96CF get: line 1, regexp:trigger_cnt, col:3, output lines:0

The problem seems to be
get: Input file ./log/Bewegung_MDIR_O_4F96CF-2023-02.log, from:2023-01-27_00:00:00 to:2023-01-28_00:00:00

ftui tries to read the chart-data from 2023-01-27 to 2023-01-28 from the file *2023-02.log.
That means ftui chooses the wrong logfile.

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