Mariadb databases are directly supported by weewx (MySQL is one of its standard database types, and Mariadb can, for most purposes, be regarded as a MySQL variant). So, for historical data, the easiest approach would probably be to set up weewx with its simulator driver and MySQL support, and then (within Mariadb) transfer the data from your archives into the appropriate columns of weewx's database. For newly arriving data, the simplest approach might well be to write a text file for each new set of readings and modify the fileparse driver (in the /examples folder) to read each new set in, when it appears.
On Monday, April 22, 2024 at 4:22:33 PM UTC-4 matteo pirazzi wrote: > dear all, i'm sorry for my poor english, i'm italian and i haven't take a > lesson for english in my life ;) > I ask if it's possible to get data not from hardware but from a mariadb > database. This because i think that is one the way to make the softwate for > many people in the world that not have access to buy a hardware station in > list ,... i'm one of this peopole . > I have made my personal weather station by hardware on internet and i have > write the code to read data whit one simple raspberry. Now is 5 years that > the software register the data every 5 minutes on Mariadb database on local > hdd, and i would put the data on internet for read meteo data with my phone > (also another data like temperature of my home and level of water tank for > my garden). > I haven't problem to read php and html code, but i haven't experience with > java code, there someome to helpo me to modify phpo code to realize my > project? > thanks in advance and kind regards at all > matteo > > > > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/770ddd6b-e4f6-4e23-9ba5-0f505ed5adddn%40googlegroups.com.
