Historical Data from KlimaLogg missing in report and database

66 views
Skip to first unread message

David

unread,
Sep 22, 2020, 3:55:11 AM9/22/20
to weewx-user

Hi there,
I just installed weewx and really like it!
I do have no problems with the reports or data.
When I open the index.html I get the layou I expect.

Problem is: I only see data starting today when I installed weewx.
But I see in syslog that "all" historical data from my KlimaLogg-Device got read by weewx.

So I assume this data should be in the database and should also be contained in the reports.
But it is definitly not contained in reports and seems to be missing in the database as well. As when I ask the rport to be generated with timestamp yesterday "he" says not to have the data.
Command->  wee_reports weewx.conf 1600671954
Output in Syslog: INFO weewx.cheetahgenerator: Skipping template index.html.tmpl: generate time 2020-09-21 09:05:54 CEST (1600671954) not in database

What should I do?

Sorry if this might be a dumb question to someone, but if it is: Please help ;-)

Best regards
David

Tom Keffer

unread,
Sep 22, 2020, 10:35:09 AM9/22/20
to weewx-user
Hard to say without seeing the log. Stop weewx, set debug=1, restart, then post from the restart through the first reporting cycle.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/873a2959-59bc-4445-b87a-2b511e0b2a8cn%40googlegroups.com.

David

unread,
Sep 23, 2020, 9:55:09 AM9/23/20
to weewx-user
Hi.
Attached you find the requested log after "normal" restart: 20200923_1_DebugLogAfterRestart.txt
As well as another excerpt of the syslog after manual invocing "wee_reports weewx.conf 1600671954": 20200923_2_DebugLogAfterManualReport.txt
20200923_2_DebugLogAfterManualReport.txt
20200923_1_DebugLogAfterRestart.txt

David

unread,
Sep 24, 2020, 3:18:42 PM9/24/20
to weewx-user
Hi again,
I did import some historical data via wee_import into the database.
Just to make sure the data gets in the database and to outrule the kl-driver.

That was successfull:
Sep 24 20:39:52 xxx wee_import[29297] INFO weeimport.weeimport: Mapping raw import data for period 1 ...
Sep 24 20:39:52 xxx wee_import[29297] INFO weeimport.weeimport: Mapped 61 records.
Sep 24 20:39:52 xxx wee_import[29297] INFO weeimport.weeimport: Raw import data mapped successfully for period 1.
Sep 24 20:39:52 xxx wee_import[29297] INFO weeimport.weeimport: Saving mapped data to archive for period 1 ...
Sep 24 20:39:54 xxx wee_import[29297] INFO weewx.manager: Added record 2020-09-19 10:00:00 CEST (1600503000) to database 'weewx-kl.sdb'
Sep 24 20:39:54 xxx wee_import[29297] INFO weewx.manager: Added record 2020-09-19 10:00:00 CEST (1600503000) to daily summary in 'weewx-kl.sdb'
...
I did import temp and humidity from 2020-09-19 10:00:00 to 2020-09-19 11:00:00 for every 1 minute.

Afterwards I did create the reports for that time manually:
>sudo wee_reports /etc/weewx/weewx.conf 1600503000
->Using configuration file /etc/weewx/weewx.conf
->Generating for requested time 2020-09-19 10:10:00 CEST (1600503000)

But in the created images I do not see a hint of the above mentioned data.

Does anyone have a clue, what I might be missing?

Really do appreciate a hint.
Best regards
David
Reply all
Reply to author
Forward
0 new messages