I think I've just tried what you suggested, but it's still picking up the 
old data. Just to confirm, I've:

1) Stopped weewx
2) sudo wee_device --clear-memory
3) Then started weewx again and refreshed

Do I also need to clear the data at the console and delete the existing 
database file at the same time?

Here are the logs of the memory clear:

systemd[1]: Stopped LSB: weewx weather system.
wee_device[500270] DEBUG weewx.drivers.vantage: Driver version is 3.2.1
wee_device[500270] DEBUG weewx.drivers.vantage: Option loop_request=1
wee_device[500270] DEBUG weewx.drivers.vantage: Opened up serial port 
/dev/ttyUSB0; baud 19200; timeout 4.00
wee_device[500270] DEBUG weewx.drivers.vantage: Gentle wake up of console 
successful
wee_device[500270] DEBUG weewx.drivers.vantage: Hardware type is 16
wee_device[500270] DEBUG weewx.drivers.vantage: ISS ID is 1
wee_device[500270] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
wee_device[500270] DEBUG weewx.drivers.vantage: Gentle wake up of console 
successful
wee_device[500270] INFO weewx.drivers.vantage: Archive memory cleared.
On Friday, 12 March 2021 at 19:30:00 UTC [email protected] wrote:

> The records are definitely coming from the logger. Try clearing the logger 
> again, except this time
>
>    1. Make sure weewxd is stopped.
>    2. Make sure you have the necessary privileges. You may have to use 
>    'sudo' before wee_device.
>    3. Use "wee_device --clear-memory".
>    4. If you get no satisfaction, post the logs from the invocation of 
>    wee_device through its termination.
>
> -tk
>
> On Fri, Mar 12, 2021 at 9:38 AM Jon B <[email protected]> wrote:
>
>> Sorry, forgot to add the logs! Here's one example (there are lots of 
>> entries like this)
>>
>> INFO weewx.manager: Added record 2020-11-26 08:30:00 GMT (1606379400) to 
>> database 'weewx.sdb'
>> INFO weewx.manager: Added record 2020-11-26 08:30:00 GMT (1606379400) to 
>> daily summary in 'weewx.sdb'
>>
>> Seems as though it is picking up old data from the logger as you suggest, 
>> which is strange as I've tried clearing it a few times so presumably it 
>> isn't deleting properly when I do that. I've barely had it turned on since 
>> December, hence why the dates are a few months ago
>>
>> I'll do as you suggest and try clearing it out in a couple of weeks, 
>> unless anyone can suggest a reason that it's not clearing properly
>> On Friday, 12 March 2021 at 17:04:25 UTC vince wrote:
>>
>>> On Friday, March 12, 2021 at 8:26:29 AM UTC-8 [email protected] wrote:
>>>
>>>> I've got a new Davis Vantage Pro2 which I've got setup with weewx, 
>>>> using the Belchertown skin. While I was testing it, I had the station 
>>>> indoors and so I've got some data from that period. I've installed the 
>>>> station outdoors now so want to delete the old data, but I can't seem to 
>>>> get rid of it! 
>>>>
>>>>
>>> Hard to say without any logs in your post, but my guess is you see old 
>>> data from your datalogger.
>>>
>>> You might want to just wait a couple weeks til the logger has only 
>>> outside data in it, then stop weewx and clean up any data before a 
>>> particular date+time.  There are lots of docs online for how to do that.
>>>  
>>>
>> -- 
>> 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/6ebdd45f-ffe9-4837-9dfe-22047bbcaef1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/6ebdd45f-ffe9-4837-9dfe-22047bbcaef1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/3ec6b943-2c5b-4b97-8cf1-80399720398en%40googlegroups.com.

Reply via email to