This is the longest period in nearly 8 years that weewx has not been 
working, so no weather website for 4 days now. Getting quite fed up with 
this! 

I tried dumping the data in the IP logger to see if that would solve the 
problem.  Even got an error with that, as per below.  Should I try to clear 
memory rather than just dump it perhaps?

I am using Raspbian stretch and weewx ver 4.10.2 - could that have anything 
to do with this problem?  

If anyone can help I would be really grateful.

Thanks

David.


Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.5.2 (weewx.drivers.vantage)
Proceeding will dump all data in the logger.
Are you sure you want to proceed (y/n)? y
Starting dump ...
 Traceback (most recent call last): 2023-12-02 01:05:00 GMT (1701479100)
  File "/usr/share/weewx/wee_device", line 76, in <module>
    main()
  File "/usr/share/weewx/wee_device", line 72, in main
    device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 67, in configure
    self.do_options(options, parser, config_dict, not options.noprompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2197, in do_options
    self.dump_logger(station, config_dict, options.noprompt, 
options.batch_size)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2834, in 
dump_logger
    for record in converted_generator:
  File "/usr/share/weewx/weeutil/weeutil.py", line 1439, in __next__
    for item in self.generator:
  File "/usr/share/weewx/weewx/units.py", line 1586, in __next__
    _record = next(self.input_generator)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 732, in 
genArchiveDump
    _page = self.port.get_data_with_crc16(267, prompt=_ack, 
max_tries=self.max_tries)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 240, in 
get_data_with_crc16
    raise weewx.CRCError("Unable to pass CRC16 check while getting data")
weewx.CRCError: Unable to pass CRC16 check while getting data

On Thursday, 30 November 2023 at 17:14:55 UTC hind...@gmail.com wrote:

> I made sure the time had synced with ntp before starting weewx. Still 
> getting errors same "ip-write error: [Errno 32] Broken pipe", but latest 
> log with debug=1, which is a bit different to before is below:
>
>  ERROR weewx.engine: Import of driver failed: Unable to wake up Vantage 
> console (<class 'weewx.WakeupError'>)
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     **** 
>  Traceback (most recent call last):
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>    self.console = loader_function(config_dict, self)
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 40, in loader
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>    return VantageService(engine, config_dict)
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1989, in __init__
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>    Vantage.__init__(self, **config_dict[DRIVER_NAME])
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 534, in __init__
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>    self._setup()
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1390, in _setup
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>    self.port.wakeup_console(max_tries=self.max_tries)
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>  File "/usr/share/weewx/weewx/drivers/vantage.py", line 121, in 
> wakeup_console
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     ****   
>    raise weewx.WakeupError("Unable to wake up Vantage console")
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL weewx.engine:     **** 
>  WakeupError: Unable to wake up Vantage console
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL __main__: Unable to load 
> driver: Unable to wake up Vantage console
> Nov 30 16:59:37 raspberrypi weewx[2239] CRITICAL __main__:     **** 
>  Exiting...
>
> Any clues anyone as to what is going on?
>
> Thanks
>
> David.
> On Monday, 27 November 2023 at 19:17:52 UTC michael.k...@gmx.at wrote:
>
>>
>>    - Make sure you start weewx after syncing time with ntp, the Pi 
>>    doesn't have a hardware clock. 
>>    - Install ephem (this is not mandatory)
>>
>>
>> hind...@gmail.com schrieb am Montag, 27. November 2023 um 18:56:51 UTC+1:
>>
>>> I am getting some strange errors with my weewx set up.  My log is 
>>> below.  I have tried rebooting the RPi that weewx runs on, and also 
>>> disconnecting the power from the Davis Weather station console.   Anyone 
>>> got any idea what is going on please?
>>>
>>> DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
>>>
>>> Nov 27 17:47:08 raspberrypi weewx[1529] DEBUG weewx.engine: Loading 
>>> service weewx.engine.StdReport
>>>
>>> Nov 27 17:47:08 raspberrypi weewx[1529] INFO weewx.engine: 'pyephem' not 
>>> detected, extended almanac data is not available
>>>
>>> Nov 27 17:47:08 raspberrypi weewx[1529] DEBUG weewx.engine: Finished 
>>> loading service weewx.engine.StdReport
>>>
>>> Nov 27 17:47:08 raspberrypi weewx[1529] INFO __main__: Starting up weewx 
>>> version 4.10.2
>>>
>>> Nov 27 17:47:08 raspberrypi weewx[1529] DEBUG weewx.manager: Daily 
>>> summary version is 4.0
>>>
>>> Nov 27 17:47:08 raspberrypi weewx[1529] DEBUG weewx.manager: Daily 
>>> summary version is 4.0
>>>
>>> Nov 27 17:47:09 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Successfully woke up Vantage console
>>>
>>> Nov 27 17:47:10 raspberrypi weewx[1529] INFO weewx.engine: Clock error 
>>> is -2269.18 seconds (positive is fast)
>>>
>>> Nov 27 17:47:11 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Successfully woke up Vantage console
>>>
>>> Nov 27 17:47:13 raspberrypi weewx[1529] INFO weewx.drivers.vantage: 
>>> Clock set to 2023-11-27 17:47:13 GMT (1701107233)
>>>
>>> Nov 27 17:47:13 raspberrypi weewx[1529] INFO weewx.engine: Using binding 
>>> 'wx_binding' to database 'weewx.sdb'
>>>
>>> Nov 27 17:47:13 raspberrypi weewx[1529] INFO weewx.manager: Starting 
>>> backfill of daily summaries
>>>
>>> Nov 27 17:47:13 raspberrypi weewx[1529] INFO weewx.manager: Daily 
>>> summaries up to date
>>>
>>> Nov 27 17:47:13 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Getting archive packets since 2023-11-27 17:30:00 GMT (1701106200)
>>>
>>> Nov 27 17:47:14 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Successfully woke up Vantage console
>>>
>>> Nov 27 17:47:16 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retrieving 1 page(s); starting index= 3
>>>
>>> Nov 27 17:47:16 raspberrypi weewx[1529] INFO weewx.manager: Added record 
>>> 2023-11-27 17:35:00 GMT (1701106500) to database 'weewx.sdb'
>>>
>>> Nov 27 17:47:16 raspberrypi weewx[1529] INFO weewx.manager: Added record 
>>> 2023-11-27 17:35:00 GMT (1701106500) to daily summary in 'weewx.sdb'
>>>
>>> Nov 27 17:47:17 raspberrypi weewx[1529] INFO weewx.manager: Added record 
>>> 2023-11-27 17:40:00 GMT (1701106800) to database 'weewx.sdb'
>>>
>>> Nov 27 17:47:17 raspberrypi weewx[1529] INFO weewx.manager: Added record 
>>> 2023-11-27 17:40:00 GMT (1701106800) to daily summary in 'weewx.sdb'
>>>
>>> Nov 27 17:47:17 raspberrypi weewx[1529] INFO weewx.restx: PWSWeather: 
>>> Published record 2023-11-27 17:35:00 GMT (1701106500)
>>>
>>> Nov 27 17:47:17 raspberrypi weewx[1529] INFO weewx.restx: WOW: Published 
>>> record 2023-11-27 17:35:00 GMT (1701106500)
>>>
>>> Nov 27 17:47:17 raspberrypi weewx[1529] DEBUG weewx.restx: 
>>> StationRegistry: Failed upload attempt 1: HTTP Error 429: TOO MANY REQUESTS
>>>
>>> Nov 27 17:47:17 raspberrypi weewx[1529] INFO weewx.engine: Starting main 
>>> packet loop.
>>>
>>> Nov 27 17:47:18 raspberrypi weewx[1529] INFO weewx.restx: WOW: Published 
>>> record 2023-11-27 17:40:00 GMT (1701106800)
>>>
>>> Nov 27 17:47:18 raspberrypi weewx[1529] INFO weewx.restx: PWSWeather: 
>>> Published record 2023-11-27 17:40:00 GMT (1701106800)
>>>
>>> Nov 27 17:47:19 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Successfully woke up Vantage console
>>>
>>> Nov 27 17:47:19 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Requesting 200 LOOP packets.
>>>
>>> Nov 27 17:47:21 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Successfully woke up Vantage console
>>>
>>> Nov 27 17:47:23 raspberrypi weewx[1529] DEBUG weewx.restx: 
>>> StationRegistry: Failed upload attempt 2: HTTP Error 429: TOO MANY REQUESTS
>>>
>>> Nov 27 17:47:26 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-read error: timed out
>>>
>>> Nov 27 17:47:26 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> LOOP batch try #1; error: timed out
>>>
>>> Nov 27 17:47:27 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:27 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #1 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:28 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:28 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #2 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:28 raspberrypi weewx[1529] DEBUG weewx.restx: 
>>> StationRegistry: Failed upload attempt 3: HTTP Error 429: TOO MANY REQUESTS
>>>
>>> Nov 27 17:47:28 raspberrypi weewx[1529] ERROR weewx.restx: 
>>> StationRegistry: Failed to publish record 2023-11-27 17:35:00 GMT 
>>> (1701106500): Failed upload after 3 tries
>>>
>>> Nov 27 17:47:28 raspberrypi weewx[1529] DEBUG weewx.restx: 
>>> StationRegistry: wait interval (300 < 86400) has not passed for record 
>>> 2023-11-27 17:40:00 GMT (1701106800)
>>>
>>> Nov 27 17:47:29 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:29 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #3 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:30 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:30 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #4 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:31 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> Unable to wake up Vantage console
>>>
>>> Nov 27 17:47:31 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> LOOP batch try #2; error: Unable to wake up Vantage console
>>>
>>> Nov 27 17:47:31 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:32 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #1 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:33 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:33 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #2 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:34 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:34 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #3 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:35 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:35 raspberrypi weewx[1529] DEBUG weewx.drivers.vantage: 
>>> Retry #4 unable to wake up console... sleeping
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> Unable to wake up Vantage console
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> LOOP batch try #3; error: Unable to wake up Vantage console
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> LOOP max batch errors (3) exceeded.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] INFO weewx.engine: Main loop 
>>> exiting. Shutting engine down.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] DEBUG weewx.restx: Shut down 
>>> MQTT thread.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] DEBUG weewx.restx: Shut down WOW 
>>> thread.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] DEBUG weewx.restx: Shut down 
>>> PWSWeather thread.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] DEBUG weewx.restx: Shut down 
>>> Wunderground-PWS thread.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] DEBUG weewx.restx: Shut down 
>>> StationRegistry thread.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] ERROR weewx.drivers.vantage: 
>>> ip-write error: [Errno 32] Broken pipe
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] CRITICAL __main__: Caught 
>>> WeeWxIOError: LOOP max batch errors (3) exceeded.
>>>
>>> Nov 27 17:47:36 raspberrypi weewx[1529] CRITICAL __main__:     ****  
>>> Waiting 60 seconds then retrying...
>>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3fce981c-a465-451b-9e0c-2176ae524c62n%40googlegroups.com.

Reply via email to