Gary,
The closing remark in your message is not without merit and needs to be 
applied ....

;-( Enthousiastically wiped weewx.sdb from /home/weewx/archive (*without 
first shifting a copy elswhere*) and now in trouble.
At restart of WeeWX (= with weatherflowudp as driver) no signs of life, 
except the logging of raw packets (because of related setting).
Then executed the actions as shown in the attached zip-file.
Now headscratching how to proceed:
- with Simulator as datasource everything OK and database filling
- with WeatherflowUDP as driver see raw packets passing, but no further 
signs of life, seemingly confirmed by time-out information.

A complete fresh reinstall & setup obviously will remedy the problem, but 
quicker correction would be nice ....

[This problem (in my case) has direct practical relation with 'cleaning' of 
the database, but possibly better to shift the discussion to another, more 
appropiate thread dealing with integration of Tempest]

Op dinsdag 4 mei 2021 om 22:03:37 UTC+2 schreef gjr80:

> The thread you linked describes the process to (1) have WeeWX use a clean 
> database and (2) change the driver from simulator to FineOffsetUSB (fousb). 
> Step 3 was all about the latter, it has nothing to do with clearing the 
> database. If you simply want to have WeeWX start with a clean database then 
> the easiest thing to do is to stop weewx, delete the database file (a 
> default install will use database weewx.sdb located in either 
> /var/lib/weewx or /home/weewx/archive) and then restart WeeWX. WeeWX will 
> automatically create a clean database during startup. Unless you have 
> manually changed the structure of your archive this will give you a clean 
> database with the same structure (schema) as the original.
>
> Of course if you want to keep the old database/data you should make a copy 
> of the database before deleting.
>
> Gary
>
> On Wednesday, 5 May 2021 at 05:14:38 UTC+10 [email protected] wrote:
>
>> Have started operation of WeeWX with the Simulator.
>> Now switched to Tempest, and getting real data.
>>
>> The thread 
>> https://groups.google.com/g/weewx-user/c/NJ_XFLbWrNc/m/fpRqGIBWBQAJ 
>> describes a method to transition the database(s) from Simulator to 'Real' 
>> sensor by defining completely new database(s).
>> But what is the easy way to *wipe *the data in the database(s) *while* 
>> maintaining the datastructure?
>> In other words:
>> can the goal be achieved with less action than redefinition according to 
>> steps 2.+3. in the quoted message?
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2eb50314-fba4-404b-b340-1c0c7c50e74bn%40googlegroups.com.

Attachment: SysLog20210505.rar
Description: application/rar

Reply via email to