Possability to add a second "target" archive DB as "data_binding to weewx.engine.StdArchive" Service?

27 views
Skip to first unread message

Rekaf

unread,
Mar 24, 2020, 4:21:38 AM3/24/20
to weewx-user
Hi,

i have a questing regarding the "target" archive database, where weewx stores the weather data.
Is it possible to add a second archive database, so that weewx stores the same data during main loop in a second archive database?

I'm currently using one weewx instance running on my RasPi, collecting data from my usb connected weather station. Data will be stored in the default sqlite database. Thats fine, weewx takes care if units are correct converted, if data is already inside the database, ...
HTML Reports are generated and available in the local network, but I want to upload the measured data also to a remote mysql server outside of my network (not only copy html files to a web-server).


Example behavior:
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
archive_services = weewx.engine.StdArchiveSqlite, weewx.engine.StdArchiveMysql
restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
report_services = weewx.engine.StdPrint, weewx.engine.StdReport 

Thanks in advance!
Reply all
Reply to author
Forward
0 new messages