Database only operation

135 views
Skip to first unread message

Jörg Spory

unread,
May 7, 2025, 6:34:39 PM5/7/25
to weewx-user
Hi, I'm new here and have a problem with config.
I set up Weewx in simulator mode and sql datatabase.
That works fine :-)
I set up my own station based on a Rasberry zero and some sensors.
I can write into the weex mysql database.
What have i set up in the station section that Weewx only reads teh database for evaluation visualisaton and don't use an station hardware or simulates weather data??

Thanks for our answers and ideas!

Regards
Joerg

Graham Eddy

unread,
May 7, 2025, 9:43:45 PM5/7/25
to WeeWX User
i think you are asking: how do i configure weewx to use my weather station hardware instead of the weather simulator
⊣GE⊢

--
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 visit https://groups.google.com/d/msgid/weewx-user/c486dbfd-47f3-4c1b-ad34-87671c41d8f9n%40googlegroups.com.

Jörg Spory

unread,
May 8, 2025, 10:17:27 AM5/8/25
to weewx-user
Hello Graham,
thanks for your answer.
I don't want tu use a commercial weather station.
I have built my own that writes e.g. every one minute the values in the original Weewx sql database.
Now i want to configure Weewx in a way that it only reads and visualize the database data. without any communication with a weather station.

MyStation ----> Database <-----> Weewx

Regards
Joerg

p q

unread,
May 8, 2025, 10:26:48 AM5/8/25
to weewx...@googlegroups.com
I think the way to do this is to write a driver that reads the SQL and fills out the data dictionary. And probably doesn't have a database binding either so it doesn't try to write back to the database.



--
Peter Quinn
(415)794-2264

vince

unread,
May 8, 2025, 12:31:57 PM5/8/25
to weewx-user
Run ‘weectl report run’ occasionally via cron perhaps…

Jörg Spory

unread,
May 9, 2025, 5:40:47 AM5/9/25
to weewx-user
Hi,
many thanks for your suggestions!
I found a simple solution for my problem.
I installed the fileparse driver and pointed it to an empty file.
So, now Weewx only reads the database and generates the charts etc.

Regards
Joerg
Reply all
Reply to author
Forward
0 new messages