Archive interval with fileparser is not reliable

72 views
Skip to first unread message

mihec

unread,
Apr 18, 2025, 12:05:42 AM4/18/25
to weewx-user
Hello,
while trying to make my remote Ecowitt station work with weewx over fileparser driver, I noticed an issue with archive interval.

My weewx.conf settings:
##############################################################################

[FileParse]
    poll_interval = 60
    path = /home/pi/data/source_data.txt
    driver = user.fileparse

##############################################################################

When I monitor the syslog, I see that the archive logs are created every 1 or 2 minutes. The issue is it is not constant. In many occasions it is just 2 minutes.

Example of one log entry:
apr 18 05:57:14 vreme-sateliti weewxd[70726]: INFO weewx.manager: Added record 2025-04-18 05:57:00 CEST (1744948620) to database 'weewx.sdb'
apr 18 05:57:14 vreme-sateliti weewxd[70726]: INFO weewx.manager: Added record 2025-04-18 05:57:00 CEST (1744948620) to daily summary in 'weewx.sdb'

I tried changing the poll interval from 60 seconds to 30 seconds but it is still the same. I run this configuration in a Raspberry Pi and in a more powerful PC to exclude the possible CPU overload. It behaves the same in both systems so I assume an issue somewhere in the code (or something I don't understand yet).

Many thanks for any insight.

gjr80

unread,
Apr 18, 2025, 5:57:49 AM4/18/25
to weewx-user
The issue is likely that no loop packets are received during an archive interval meaning no archive record is generated and hence no archive record can be saved to database. If you read my earlier post to your other thread it might help.

It might also help to run WeeWX directly so you can see what/when loop packets are received and what/when archive records are generated. 

Gary

mihec

unread,
Apr 25, 2025, 2:39:59 AM4/25/25
to weewx-user
This has been explained and resolved together with my other post, thanks!

petek, 18. april 2025 ob 11:57:49 UTC+2 je oseba gjr80 napisala:
Reply all
Reply to author
Forward
0 new messages