Problem registering my weather station in the WeeWX global station map

171 views
Skip to first unread message

Remy Lavabre

unread,
Nov 20, 2023, 3:31:50 AM11/20/23
to weewx-user
Good morning,
I previously used weeWX connected to the USB output of my weather station. No problem, the station was well referenced on the world map of WeeWX weather stations.

Unfortunately my station broke down and an exchange was carried out under warranty with a new station without a USB port. This station sends data to AWEKAS.

I was therefore forced to modify everything, to stop the WeeWX daemon permanently, to automatically retrieve the data from the AWEKAS site every 5 minutes, save it in CSV format and run wee_import at the same frequency to update my weewx.sdb database and generate all the graphics, html pages etc...

It works perfectly EXCEPT that my weather station is no longer referenced on the WeeWX map! :-(
Is there a way to reference it again although only using wee_import (which nevertheless uses the weewx.conf configuration file)?

Thank you...

Tom Keffer

unread,
Nov 20, 2023, 7:54:59 AM11/20/23
to weewx...@googlegroups.com
The simplest would be to go back to using WeeWX, but this time using a driver that reads from your file. 

The WeeWX distribution includes an example, fileparse, that reads from a file using key=value pairs. Either change your file format to match, or modify fileparse to use a CSV input.

--
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/1b7247b6-4b94-4ff4-8160-006f54faff2fn%40googlegroups.com.

Remy LAVABRE

unread,
Nov 20, 2023, 4:50:45 PM11/20/23
to weewx...@googlegroups.com
Thanks for your response Tom.

just a clarification on the use of fileparse:

if the fileparse setting for the loop packet recovery timeout in weewx.conf is 10 seconds and the file containing the loop packet is only updated after 60 seconds (this is an example), what happens during the 50 seconds where weewx will retrieve the same packet loop 5 times?

Does Weewx know how to manage the recovery of a same packet loop recovered several times ?

THANKS

Tom Keffer

unread,
Nov 20, 2023, 5:31:37 PM11/20/23
to weewx...@googlegroups.com
It's a good question. One would have to modify fileparse to either stat the file to see if it's new, or look at the timestamp (field "dateTime") of the resultant LOOP packet. Something fancier would use pyinotify to block until the file changes.

Δημήτρης Βήχος

unread,
Nov 21, 2023, 12:36:40 PM11/21/23
to weewx-user
i have the same problem. suddenly without reason my weather station in kolxiko thessalonikis not appears in map. while the other weather station who i have in moudania halkidiki with just same settings same weather hardware same linux dist apeears!

Tom Keffer

unread,
Nov 21, 2023, 4:30:19 PM11/21/23
to weewx...@googlegroups.com
Unless, like Remy, you are not running weewxd, I doubt you're having the same problem. 

To avoid confusion, please start a new email thread. Set debug=1, then restart weewxd. Post the log from startup through the first reporting cycle. We'll see if we can figure out the problem.


Reply all
Reply to author
Forward
0 new messages