Thanks for the help!
Ok, So I tried pulling the cord and batteries and let the Weather Envoy sit
for about 5 minutes and that didn't help.
I next tried the wee_device -- clear-memory and got the following...
root@deadduck:/etc/init.d# wee_device --clear-memory
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Proceeding will erase all archive records.
Are you sure you wish to proceed (y/n)? y
Erasing all archive records ...
Traceback (most recent call last):
File "/usr/bin/wee_device", line 66, in <module>
main()
File "/usr/bin/wee_device", line 62, in main
device.configure(config_dict)
File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
self.do_options(options, parser, config_dict, prompt)
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1987, in do_options
self.clear_memory(station, options.noprompt)
File "/usr/share/weewx/weewx/drivers/vantage.py", line 2287, in
clear_memory
station.clearLog()
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1109, in clearLog
raise weewx.RetriesExceeded("While clearing log")
weewx.RetriesExceeded: While clearing log
After the wee_ device command I get the following in the syslog, over and
over...
Feb 6 16:09:45 deadduck weewx[947]: engine: retrying...
Feb 6 16:09:45 deadduck weewx[947]: engine: Using configuration file
/etc/weewx/weewx.conf
Feb 6 16:09:45 deadduck weewx[947]: engine: Debug is 1
Feb 6 16:09:45 deadduck weewx[947]: engine: Initializing engine
Feb 6 16:09:45 deadduck weewx[947]: engine: Loading station type Vantage
(weewx.drivers.vantage)
Feb 6 16:09:45 deadduck weewx[947]: vantage: Driver version is 3.1.1
Feb 6 16:09:45 deadduck weewx[947]: vantage: Opened up serial port
/dev/ttyUSB0; baud 19200; timeout 4.00
Feb 6 16:09:46 deadduck weewx[947]: vantage: Gentle wake up of console
successful
Feb 6 16:09:46 deadduck weewx[947]: vantage: Hardware type is 16
Feb 6 16:09:46 deadduck weewx[947]: vantage: ISS ID is 1
Feb 6 16:09:46 deadduck weewx[947]: vantage: Hardware name: Vantage Pro2
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdTimeSynch
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdTimeSynch
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdConvert
Feb 6 16:09:46 deadduck weewx[947]: engine: StdConvert target unit is 0x1
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdConvert
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdCalibrate
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdCalibrate
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdQC
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdQC
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.wxservices.StdWXCalculate
Feb 6 16:09:46 deadduck weewx[947]: wxcalculate: The following values will
be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
dewpoint=prefer_hardware, appTemp=prefer_hardware,
rainRate=prefer_hardware, windrun=prefer_hardware,
heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
humidex=prefer_hardware, pressure=prefer_hardware,
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
cloudbase=prefer_hardware
Feb 6 16:09:46 deadduck weewx[947]: wxcalculate: The following algorithms
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.wxservices.StdWXCalculate
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdArchive
Feb 6 16:09:46 deadduck weewx[947]: engine: Archive will use data binding
wx_binding
Feb 6 16:09:46 deadduck weewx[947]: engine: Record generation will be
attempted in 'hardware'
Feb 6 16:09:46 deadduck weewx[947]: engine: Using archive interval of 600
seconds (specified by hardware)
Feb 6 16:09:46 deadduck weewx[947]: engine: Use LOOP data in hi/low
calculations: 1
Feb 6 16:09:46 deadduck weewx[947]: manager: Daily summary version is 2.0
Feb 6 16:09:46 deadduck weewx[947]: engine: Using binding 'wx_binding' to
database 'weewx.sdb'
Feb 6 16:09:46 deadduck weewx[947]: manager: Starting backfill of daily
summaries
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdArchive
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.restx.StdStationRegistry
Feb 6 16:09:46 deadduck weewx[947]: restx: StationRegistry: Station will
be registered.
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.restx.StdStationRegistry
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.restx.StdWunderground
Feb 6 16:09:46 deadduck weewx[947]: restx: WU essentials: {}
Feb 6 16:09:46 deadduck weewx[947]: restx: Wunderground-PWS: Data for
station KCOBERTH88 will be posted
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.restx.StdWunderground
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.restx.StdPWSweather
Feb 6 16:09:46 deadduck weewx[947]: restx: PWSweather: Posting not enabled.
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.restx.StdPWSweather
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.restx.StdCWOP
Feb 6 16:09:46 deadduck weewx[947]: restx: CWOP: Posting not enabled.
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.restx.StdCWOP
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.restx.StdWOW
Feb 6 16:09:46 deadduck weewx[947]: restx: WOW: Posting not enabled.
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.restx.StdWOW
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.restx.StdAWEKAS
Feb 6 16:09:46 deadduck weewx[947]: restx: AWEKAS: Posting not enabled.
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.restx.StdAWEKAS
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdPrint
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdPrint
Feb 6 16:09:46 deadduck weewx[947]: engine: Loading service
weewx.engine.StdReport
Feb 6 16:09:46 deadduck weewx[947]: engine: Finished loading service
weewx.engine.StdReport
Feb 6 16:09:46 deadduck weewx[947]: engine: Starting up weewx version 3.9.2
Feb 6 16:09:46 deadduck weewx[947]: manager: Daily summary version is 2.0
Feb 6 16:09:46 deadduck weewx[947]: vantage: Gentle wake up of console
successful
Feb 6 16:09:46 deadduck weewx[947]: engine: Clock error is -0.52 seconds
(positive is fast)
Feb 6 16:09:46 deadduck weewx[947]: vantage: Getting archive packets since
2020-01-16 17:20:00 MST (1579220400)
Feb 6 16:09:46 deadduck weewx[947]: vantage: Gentle wake up of console
successful
Feb 6 16:09:47 deadduck weewx[947]: vantage: send_data_with_crc16; try #1
Feb 6 16:09:47 deadduck weewx[947]: vantage: Unable to pass CRC16 check
while sending data
Feb 6 16:09:47 deadduck weewx[947]: vantage: DMPAFT try #1; error: Unable
to pass CRC16 check while sending data to Vantage console
Feb 6 16:09:47 deadduck weewx[947]: vantage: Getting archive packets since
2020-01-16 17:20:00 MST (1579220400)
Feb 6 16:09:47 deadduck weewx[947]: vantage: Gentle wake up of console
successful
Feb 6 16:09:48 deadduck weewx[947]: vantage: send_data_with_crc16; try #1
Feb 6 16:09:48 deadduck weewx[947]: vantage: Unable to pass CRC16 check
while sending data
Feb 6 16:09:48 deadduck weewx[947]: vantage: DMPAFT try #2; error: Unable
to pass CRC16 check while sending data to Vantage console
Feb 6 16:09:48 deadduck weewx[947]: vantage: Getting archive packets since
2020-01-16 17:20:00 MST (1579220400)
Feb 6 16:09:48 deadduck weewx[947]: vantage: Gentle wake up of console
successful
Feb 6 16:09:49 deadduck weewx[947]: vantage: send_data_with_crc16; try #1
Feb 6 16:09:49 deadduck weewx[947]: vantage: Unable to pass CRC16 check
while sending data
Feb 6 16:09:49 deadduck weewx[947]: vantage: DMPAFT try #3; error: Unable
to pass CRC16 check while sending data to Vantage console
Feb 6 16:09:49 deadduck weewx[947]: vantage: Getting archive packets since
2020-01-16 17:20:00 MST (1579220400)
Feb 6 16:09:49 deadduck weewx[947]: vantage: Gentle wake up of console
successful
Feb 6 16:09:50 deadduck weewx[947]: vantage: send_data_with_crc16; try #1
Feb 6 16:09:50 deadduck weewx[947]: vantage: Unable to pass CRC16 check
while sending data
Feb 6 16:09:50 deadduck weewx[947]: vantage: DMPAFT try #4; error: Unable
to pass CRC16 check while sending data to Vantage console
Feb 6 16:09:50 deadduck weewx[947]: vantage: DMPAFT max tries (4) exceeded.
Feb 6 16:09:50 deadduck weewx[947]: engine: Main loop exiting. Shutting
engine down.
Feb 6 16:09:50 deadduck weewx[947]: restx: Shut down Wunderground-PWS
thread.
Feb 6 16:09:50 deadduck weewx[947]: restx: Shut down StationRegistry
thread.
Feb 6 16:09:50 deadduck weewx[947]: engine: Caught WeeWxIOError: Max tries
exceeded while getting archive data.
Feb 6 16:09:50 deadduck weewx[947]: **** Waiting 60 seconds then
retrying...
Feb 6 16:10:08 deadduck systemd[1]: Stopping LSB: weewx weather system...
Feb 6 16:10:08 deadduck weewx[2606]: * Stopping weewx weather system weewx
Feb 6 16:10:08 deadduck weewx[947]: engine: Received signal TERM (15).
Feb 6 16:10:13 deadduck weewx[2606]: . ...done.
I can get a good response from the envoy when I try...
root@deadduck:/etc/init.d# wee_device --info
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Querying...
Davis Vantage EEPROM settings:
CONSOLE TYPE: Vantage Pro2
CONSOLE FIRMWARE:
Date: Dec 30 2008
Version: 1.82
CONSOLE SETTINGS:
Archive interval: 600 (seconds)
Altitude: 6100 (foot)
Wind cup type: large
Rain bucket type: 0.01 inches
Rain year start: 1
Onboard time: 2020-02-06 16:14:51
CONSOLE DISPLAY UNITS:
Barometer: inHg
Temperature: degree_F
Rain: inch
Wind: mile_per_hour
CONSOLE STATION INFO:
Latitude (onboard): +40.3°
Longitude (onboard): -105.2°
Use manual or auto DST? MANUAL
DST setting: OFF
Use GMT offset or zone code? GMT_OFFSET
Time zone code: N/A
GMT offset: -7.0 hours
Temperature logging: LAST
Retransmit channel: ON (255)
TRANSMITTERS:
Channel Receive Repeater Type
1 inactive none (N/A)
2 active none iss
3 inactive none (N/A)
4 inactive none (N/A)
5 inactive none (N/A)
6 inactive none (N/A)
7 inactive none (N/A)
8 inactive none (N/A)
RECEPTION STATS:
Total packets received: 0
Total packets missed: 0
Number of resynchronizations: 0
Longest good stretch: 0
Number of CRC errors: 0
BAROMETER CALIBRATION DATA:
Current barometer reading: 29.703 inHg
Altitude: 6100 feet
Dew point: 255 F
Virtual temperature: 25 F
Humidity correction factor: 3.6
Correction ratio: 1.259
Correction constant: +0.000 inHg
Gain: 0.000
Offset: -36.000
OFFSETS:
Wind direction: +0 deg
Inside Temperature: +0.0 F
Inside Humidity: +0 %
Outside Temperature: +0.0 F
Outside Humidity: +0 %
root@deadduck:/etc/init.d#
I'm really at a loss here... I don't understand the errors from the
wee_device --clear-memory command...
File "/usr/bin/wee_device", line 66, in <module>
main()
File "/usr/bin/wee_device", line 62, in main
device.configure(config_dict)
File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
self.do_options(options, parser, config_dict, prompt)
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1987, in do_options
self.clear_memory(station, options.noprompt)
File "/usr/share/weewx/weewx/drivers/vantage.py", line 2287, in
clear_memory
station.clearLog()
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1109, in clearLog
raise weewx.RetriesExceeded("While clearing log")
weewx.RetriesExceeded: While clearing log
What else can I try??
Thanks!
Troy
On Wednesday, February 5, 2020 at 8:43:47 PM UTC-7, gjr80 wrote:
>
> Hi,
>
> Looks like a classic case of corrupted station memory, can easily happen
> if you have a power outage. Have a read of the section Corrupt station
> memory <http://weewx.com/docs/usersguide.htm#Corrupt_station_memory> in
> the User's Guide <http://weewx.com/docs/usersguide.htm>. There are a
> couple of suggested ways ahead in there. If you get to the stage of
> clearing the memory with wee_device, make sure you follow the link to
> dump your stations memory first as this will minimise any data loss. Note
> that you need to stop WeeWX before running wee_device.
>
> Oh, and you should put WEEWX_ROOT back to what it was.
>
> Gary
>
> On Thursday, 6 February 2020 12:37:29 UTC+10, Troy Lass wrote:
>>
>> Ok, I've been fighting this for a quite a while now.... I did have this
>> working fine then 1 day is just stopped updating the data. It writes new
>> index.html files but it's from over a month ago when I rebooted and I've
>> had this issue for months. I've tried setting mobile=true and it's the
>> same, last update 1/16/20.
>>
>> I've turned debug on and don't see anything that stands out.
>>
>> I did update to the latest version ( 3.9.2 ) a couple months back hoping
>> that would help and it didn't. I did see something that didn't look right
>> in the weewx.conf, the WEEWX_ROOT was = /. I tried changing to
>> /var/lib/weewx as that's where I think the data should be but that made no
>> difference. I'm attaching the conf file and the output from the messages
>> file from a weewx restart is below.
>>
>> Any guidance would be very welcome. I was a wview using and gave up on
>> that a couple years back and have had good luck with weewx until this
>> issue. I really like this tool and have come to rely on it.
>>
>> URL=http://www.deadduck.net/weather
>>
>> root@deadduck:/etc# lsb_release -a
>> No LSB modules are available.
>> Distributor ID: Ubuntu
>> Description: Ubuntu 18.04.3 LTS
>> Release: 18.04
>> Codename: bionic
>> root@deadduck:/etc#
>>
>> I have a DavisPro weather station and have a Weather envoy connected to
>> the server via USB. I have multiple other Davis consoles in the house and
>> they're all working properly.
>>
>> What else can I tell you??
>>
>> Thanks,
>> Troy
>>
>
--
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/2f118d47-f996-42ef-adac-c6d04834c44b%40googlegroups.com.