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

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

Open
Lutzion opened this issue Feb 1, 2023 · 0 comments
Open

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

Lutzion opened this issue Feb 1, 2023 · 0 comments

Comments

@Lutzion
Copy link

Lutzion commented Feb 1, 2023

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.

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