Hi Rui Pinto,

I am assuming that you have installed WeeWX using the debian packages. If 
that is so, then in the folder: /etc/WeeWX
You will find the WeeWX.conf file.
NOT the WeeWX.conf.dist file.

Open the WeeWX.conf file (with sudo privileges).
At the bottom of the document, in the last-but-one section, you will find 
[DatabaseTypes].
In [[SQLite]] sub-section, you have:
        SQLITE_ROOT = /var/lib/weewx

This is my guess (Sorry), but if you have a database ready elsewhere, you 
can simply change the address in the above line and your data will be 
written to your specified location.

On Wednesday, July 3, 2019 at 7:40:58 PM UTC+5:30, Rui Pinto wrote:
>
> Hi!! I have a Davis Vantage Pro2 station and i'm using Weewx to save data 
> aswell as displaying it using MQTT, Influxdb and Grafana.
>
> I'm using a raspberry PI to connect to the station and I Weewx it's 
> installed in the raspberry pi. The influx database is on another machine.
> But Weewx stores automatically in a SQLite database locally, in other 
> words, on the raspberry pi.
>
> I want to store in a SQLite also, don't get me wrong but i don't want to 
> store that data on the SD Card of the RaspberryPI, i instead want to store 
> on a hard drive.
>
> Is it possible to specify to the Weewx software where i want to save the 
> SQLite Database?
>
> Thank you.
> Best Regards.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ecce5a06-b80b-457b-8640-609d2449793d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to