Author Topic: wee_device --clear-memory  (Read 387 times)

0 Members and 1 Guest are viewing this topic.

Offline johnd

  • Forecaster
  • *****
  • Posts: 5102
    • www.weatherstations.co.uk
wee_device --clear-memory
« on: April 05, 2025, 10:18:14 AM »
Does anyone know what the wee_device --clear-memory command actually does for Davis stations? The documentation is a bit confusing.

I'm guessing that it only clears the archive memory (ie logger memory as opposed to console memory) with a CLRLOG command. Or does it also issue additional clear commands like CLRDATA that will additionally target console memory?
Prodata Weather Systems
Prodata's FAQ/support site for Davis stations
Includes many details on 6313 Weatherlink console.
UK Davis Premier Dealer - All Davis stations, accessories and spares
Cambridge UK

Sorry, but I don't usually have time to help with individual issues by email unless you are a Prodata customer. Please post your issue in the relevant forum section here & I will comment there if I have anything useful to add.

Offline mwall

  • Contributor
  • ***
  • Posts: 136
Re: wee_device --clear-memory
« Reply #1 on: April 05, 2025, 12:32:34 PM »
according to the code, it just does 'CLRLOG', at least in weewx 5

take a look at drivers/vantage.py - the clear_memory function invokes clearLog, which sends CLRLOG.


Offline johnd

  • Forecaster
  • *****
  • Posts: 5102
    • www.weatherstations.co.uk
Re: wee_device --clear-memory
« Reply #2 on: April 05, 2025, 12:52:09 PM »
OK thanks. That makes sense and fits in with what I was expecting, but just wanted to double-check
Prodata Weather Systems
Prodata's FAQ/support site for Davis stations
Includes many details on 6313 Weatherlink console.
UK Davis Premier Dealer - All Davis stations, accessories and spares
Cambridge UK

Sorry, but I don't usually have time to help with individual issues by email unless you are a Prodata customer. Please post your issue in the relevant forum section here & I will comment there if I have anything useful to add.