And I have tried "sudo wee_device --dump" and "sudo wee_device 
--clear-memory" several times.....

On Sunday, December 27, 2020 at 5:42:05 PM UTC-8 Rob Cranfill wrote:

> I've been running weewx for years, and now all of a sudden I am having 
> this problem over and over again. 
>
> Now, this is a new build on this same RPI - I had a SSD crash - but it 
> seems substantially the same as before, yet here I am.
>
> I realize this has to do with the OS's time not being.... "correct", 
> whatever that means. So why does this confuse me?
>
> pi@pi3b:~ $ wee_device --info | grep time
>       Onboard time:                 2020-12-27 17:37:04
> pi@pi3b:~ $ date
> Sun 27 Dec 2020 05:37:09 PM PST
>
> Is this really the cause of my problems?
>
> Dec 27 17:36:22 pi3b systemd[1]: Starting LSB: weewx weather system...
> Dec 27 17:36:22 pi3b weewx[7655] INFO __main__: Initializing weewx version 
> 4.2.0
> Dec 27 17:36:22 pi3b weewx[7655] INFO __main__: Using Python 3.7.3 
> (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
> Dec 27 17:36:22 pi3b weewx[7655] INFO __main__: Platform 
> Linux-5.4.79-v7+-armv7l-with-debian-10.7
> Dec 27 17:36:22 pi3b weewx[7655] INFO __main__: Locale is 'en_US'
> Dec 27 17:36:22 pi3b weewx[7655] INFO __main__: PID file is 
> /var/run/weewx.pid
> Dec 27 17:36:22 pi3b weewx[7659] INFO __main__: Using configuration file 
> /etc/weewx/weewx.conf
> Dec 27 17:36:22 pi3b weewx[7659] INFO __main__: Debug is 1
> Dec 27 17:36:22 pi3b weewx[7644]: Starting weewx weather system: weewx.
> Dec 27 17:36:22 pi3b systemd[1]: Started LSB: weewx weather system.
>
>
> Dec 27 17:36:27 pi3b weewx[7659] ERROR weewx.drivers.vantage: LOOP try #1; 
> error: Expected to read 99 chars; got 0 instead
> Dec 27 17:36:31 pi3b weewx[7659] ERROR weewx.drivers.vantage: LOOP try #2; 
> error: Expected to read 99 chars; got 0 instead
> Dec 27 17:36:35 pi3b weewx[7659] ERROR weewx.drivers.vantage: LOOP try #3; 
> error: Expected to read 99 chars; got 0 instead
> ^C
>
>
>
> On Sunday, December 27, 2020 at 8:12:00 AM UTC-8 sche...@gmail.com wrote:
>
>> try to set your date and time before start weewx
>>
>> Il giorno domenica 27 dicembre 2020 alle 13:12:19 UTC+1 gjr80 ha scritto:
>>
>>> Hi,
>>>
>>> You can try using 
>>>
>>> $ wee_device —dump
>>>
>>> before clearing the loggers memory, this will dump all available archive 
>>> records to database. It may or may not get any records from the logger that 
>>> have not previously been downloaded, but it is about the best you can do at 
>>> this stage.
>>>
>>> Gary
>>> On Sunday, 27 December 2020 at 21:35:38 UTC+10 jputt...@gmail.com wrote:
>>>
>>>> Hi, suddenly the Raspi Py did not read out any data (console Vantage 
>>>> Pro 2).
>>>> *ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 
>>>> chars; got 0 instead*
>>>> Removing and reconnecting the USB connector and rebooting the Raspi did 
>>>> not help.
>>>> Command *wee_device --clear* and then  *sudo service weewx restart* 
>>>> solved the problem.
>>>> Unfortunately, measurement data was lost in the process.
>>>> Is there another solution without data loss? ( for the future) 
>>>>
>>>> Joachim
>>>>
>>>>

-- 
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/cf2f1912-7af8-4c96-bf44-d4e1b40af229n%40googlegroups.com.

Reply via email to