Thank you, I've been reading up on fileparse.

The input for "fileparse" has to be key=value so one would have to get a 
continuous update into the file.
As I'm receiving data off site this would be an issue - I can't expect - 
not consistently - a stream of updates.
Second, the data I'm receiving now comes as a CSV, so I would have to 
rewrite into individual events, or just tap into the "Device" table and 
send that.
Third, there does not seem to be any unit conversion, "wee_import" does 
support this.

So as I appreciate the feedback, and I really hope it will be useful for 
somebody else down the line, it does not quite suit *my* use case.

However, by experimenting I've found out that I don't really need weewx to 
be running.
"wee_import" will happily create the database - with input from weewx.conf 
and "wee_reports" will create the appropriate reports.

So to answer my own question.

   1. Install weewx
   2. Configure weewx.conf
   3. Disable weewx from starting (systemctl disable weewx ; systemctl stop 
   weewx) ymmv
   4. Configure the "wee_import" input config file
   5. Run "wee_import" to import
   6. Run "wee_reports" to create the reports.

I wrapped the latter in a script which I can "sudo" from the remote source 
which ships the logs to my server.
mandag 29. august 2022 kl. 13:50:02 UTC+2 skrev Graham Eddy:

> perhaps consider the provided ‘fileparse’ driver - see 
> ~weewx/examples/fileparse/readme.txt
>
> On 29 Aug 2022, at 7:43 pm, Stein Arne Storslett <[email protected]> 
> wrote:
>
> Is there a way to only run the weewx database with data through 
> "wee_import" without connecting a weather station?
> I.e. just producing the web pages / reports.
>
> Re another thread I have issues getting weewx to connect to my weather 
> station console, the Cotech Weather Station sold by ClasOhlson in the 
> nordics, Europe.
>
> However I've been able to produce data via the station's (somewhat arcane) 
> software WeatherHome so I want to create the reports based on that.
>
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/fc0712e7-326d-45ed-811b-3e4c6c3a94b0n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/fc0712e7-326d-45ed-811b-3e4c6c3a94b0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8e5a94db-89a5-4ddd-b1c8-1fdf283f37a5n%40googlegroups.com.

Reply via email to