Clearing database going from Simulator to Vantage

46 views
Skip to first unread message

eolsson

unread,
Mar 18, 2022, 7:20:57 PM3/18/22
to weewx-user
Hi all
New to weewx, has been setting it up running the Simulator. Now that I'm happy with my settings I wan't to connect my davis vp2 using the vantage driver. When I do that, what happens with the database? I do not wan't to have the simulator records in the database when I start recording real weather. Is there a way to clear the database or does it happen automatically when you change driver?

/Esbjörn

gjr80

unread,
Mar 18, 2022, 8:17:02 PM3/18/22
to weewx-user
Hi,

Simple, just stop WeeWX, delete your database file (it will be either /home/weewx/archive/weewx.sdb or /var/lib/weewx/weewx.sdb depending on how you installed WeeWX), connect your VP2 and reconfigure WeeWX to use the vantage driver and finally restart WeeWX. WeeWX will automatically create a new database for you.

Of course if you have customised things or are using MySQL the overall process (stop, delete, reconfigure, restart) is similar but slightly different.

Gary

eolsson

unread,
Mar 19, 2022, 5:08:14 AM3/19/22
to weewx-user
Thank you very much. 

/Esbjörn

Reply all
Reply to author
Forward
0 new messages