The "Expected 99, got 0" error is pretty common, especially after the
logger has done a catch up. I have not noticed any correlation with the age
of the logger.

What kind of connection are you using? USB? Serial? Serial through a USB
converter? The last (converters) are notoriously flaky.

-tk

On Sun, May 8, 2022 at 1:03 PM Dave McCreath <dave.mccre...@gmail.com>
wrote:

> Spoke too soon.  The error appears to back back up, is this a data logger
> issue?:
>
> May  8 20:55:18 raspberrypi weewx[8172] INFO weewx.restx: AWEKAS:
> Published record 2022-05-08 20:55:00 BST (1652039700)
> May  8 20:55:18 raspberrypi weewx[8172] INFO weewx.restx: PWSWeather:
> Published record 2022-05-08 20:55:00 BST (1652039700)
> May  8 20:55:18 raspberrypi weewx[8172] INFO weewx.restx:
> Wunderground-PWS: Published record 2022-05-08 20:55:00 BST (1652039700)
> May  8 20:55:19 raspberrypi weewx[8172] INFO weewx.cheetahgenerator:
> Generated 8 files for report SeasonsReport in 1.07 seconds
> May  8 20:55:21 raspberrypi weewx[8172] INFO weewx.imagegenerator:
> Generated 30 images for report SeasonsReport in 2.44 seconds
> May  8 20:55:21 raspberrypi weewx[8172] INFO weewx.reportengine: Copied 0
> files to /var/www/html/weewx
> May  8 20:55:28 raspberrypi weewx[8172] ERROR weewx.drivers.vantage: LOOP
> try #1; error: Expected to read 99 chars; got 0 instead
> May  8 20:55:32 raspberrypi weewx[8172] ERROR weewx.drivers.vantage: LOOP
> try #2; error: Expected to read 99 chars; got 0 instead
> May  8 20:55:36 raspberrypi weewx[8172] ERROR weewx.drivers.vantage: LOOP
> try #3; error: Expected to read 99 chars; got 0 instead
> May  8 20:55:40 raspberrypi weewx[8172] ERROR weewx.drivers.vantage: LOOP
> try #4; error: Expected to read 99 chars; got 0 instead
> May  8 20:55:40 raspberrypi weewx[8172] ERROR weewx.drivers.vantage: LOOP
> max tries (4) exceeded.
> May  8 20:55:40 raspberrypi weewx[8172] INFO weewx.engine: Main loop
> exiting. Shutting engine down.
> May  8 20:55:40 raspberrypi weewx[8172] INFO weewx.engine: Shutting down
> StdReport thread
> May  8 20:55:40 raspberrypi weewx[8172] CRITICAL __main__: Caught
> WeeWxIOError: Max tries exceeded while getting LOOP data.
> May  8 20:55:40 raspberrypi weewx[8172] CRITICAL __main__:     ****
>  Waiting 60 seconds then retrying...
> May  8 20:56:40 raspberrypi weewx[8172] INFO __main__: retrying...
> May  8 20:56:40 raspberrypi weewx[8172] INFO __main__: Using configuration
> file /etc/weewx/weewx.conf
> May  8 20:56:40 raspberrypi weewx[8172] INFO __main__: Debug is 0
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Loading station
> type Vantage (weewx.drivers.vantage)
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: StdConvert
> target unit is 0x1
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Archive will
> use data binding wx_binding
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Record
> generation will be attempted in 'software'
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Using archive
> interval of 300 seconds (software record generation)
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.restx: StationRegistry:
> Station will not be registered: no station_url specified.
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.restx:
> Wunderground-PWS: Data for station ICAMBSLE2 will be posted
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.restx: PWSWeather: Data
> for station WISBECH will be posted
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.restx: CWOP: Posting
> not enabled.
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.restx: WOW: Posting not
> enabled.
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.restx: AWEKAS: Data
> will be uploaded for user DMacWx
> May  8 20:56:40 raspberrypi weewx[8172] INFO __main__: Starting up weewx
> version 4.5.1
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Clock error is
> 0.55 seconds (positive is fast)
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Using binding
> 'wx_binding' to database 'weewx.sdb'
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.manager: Starting
> backfill of daily summaries
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.manager: Daily
> summaries up to date
> May  8 20:56:40 raspberrypi weewx[8172] INFO weewx.engine: Starting main
> packet loop.
> May  8 21:00:16 raspberrypi weewx[8172] INFO weewx.manager: Added record
> 2022-05-08 21:00:00 BST (1652040000) to database 'weewx.sdb'
> May  8 21:00:16 raspberrypi weewx[8172] INFO weewx.manager: Added record
> 2022-05-08 21:00:00 BST (1652040000) to daily summary in 'weewx.sdb'
> May  8 21:00:16 raspberrypi weewx[8172] INFO weewx.restx: AWEKAS:
> Published record 2022-05-08 21:00:00 BST (1652040000)
> May  8 21:00:16 raspberrypi weewx[8172] INFO weewx.restx: PWSWeather:
> Published record 2022-05-08 21:00:00 BST (1652040000)
> May  8 21:00:16 raspberrypi weewx[8172] INFO weewx.restx:
> Wunderground-PWS: Published record 2022-05-08 21:00:00 BST (1652040000)
> May  8 21:00:17 raspberrypi weewx[8172] INFO weewx.cheetahgenerator:
> Generated 8 files for report SeasonsReport in 1.02 seconds
> May  8 21:00:21 raspberrypi weewx[8172] INFO weewx.imagegenerator:
> Generated 45 images for report SeasonsReport in 4.30 seconds
> May  8 21:00:21 raspberrypi weewx[8172] INFO weewx.reportengine: Copied 5
> files to /var/www/html/weewx
>
> Any suggestions welcome.
>
> Dave
>
> On Sunday, 8 May 2022 at 20:20:45 UTC+1 Dave McCreath wrote:
>
>> Just noticed a couple of errors thrown up by WeeWX:
>>
>> ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99
>> chars; got 0 instead.
>>
>> Having then read through this forum I then reset the data logger in the
>> Vantage console (removed all power, pulled the data logger out for 20
>> seconds, replaced and then powered back up) and all appears to be back up
>> and running OK.
>>
>> My first data logger lasted about 5 years before giving up on me, this
>> one is about 3 years old, is this a sign that it's on its way out as well?
>>
>> They're not cheap!
>>
>>
>> Thanks
>>
>>
>> Dave
>>
>>
>> --
> 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/9244ee2d-e630-4fd1-ae09-96e5815c52f8n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/9244ee2d-e630-4fd1-ae09-96e5815c52f8n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEC5tH6qqu4HW4G2z1Cu8689WWi_D3f9YtaiW6YemXxfKg%40mail.gmail.com.

Reply via email to