Thanks for your answer, after changing these:

# sudo wee_device --set-interval=5
Using configuration file /etc/weewx/weewx.conf
Using FineOffsetUSB driver version 1.20 (weewx.drivers.fousb)
Interval is None
Set interval to 5 minutes (y/n)? y
Interval is now 5

and

/etc/weewx/weewx.conf
polling_interval = 300
polling_mode = PERIODIC
archive_interval = 300

The error dissapeard but weewx web page that says the weather station data, 
not updated and has data from last day before the error. Same situation on 
AWEKAS, Wunderground-PWS, PWSWeather web pages, the station seems offline.

My weewx syslog is:

Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Initializing weewx version 
4.10.2
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Using Python 2.7.16 
(default, Oct 10 2019, 22:02:15) #012[GCC 8.3.0]
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Located at /usr/bin/python2
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Platform 
Linux-4.19.97-v7+-armv7l-with-debian-10.3
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Locale is 'en_GB.UTF-8'
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: Debug is 0
Jan 15 20:52:11 Pi weewx[25014] INFO __main__: PID file is 
/var/run/weewx.pid
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: Loading station type 
FineOffsetUSB (weewx.drivers.fousb)
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.drivers.fousb: driver version is 
1.20
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.drivers.fousb: polling mode is 
PERIODIC
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.drivers.fousb: polling interval 
is 300
Jan 15 20:52:11 Pi weewx[25004]: Starting weewx weather system: weewx.
Jan 15 20:52:11 Pi systemd[1]: Started LSB: weewx weather system.
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.drivers.fousb: found station on 
USB bus= device=
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: StdConvert target unit 
is 0x1
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.wxservices: StdWXCalculate will 
use data binding wx_binding
Jan 15 20:52:11 Pi weewxd: aprx: service version is 0.1
Jan 15 20:52:11 Pi weewxd: aprx: binding is loop
Jan 15 20:52:11 Pi weewxd: aprx: output goes to /var/log/aprx_wx.txt
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: Archive will use data 
binding wx_binding
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: Record generation will 
be attempted in 'software'
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: Using archive interval 
of 300 seconds (software record generation)
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.restx: StationRegistry: Station 
will be registered.
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.restx: Wunderground-PWS: Data 
for station XXXXXXXX will be posted
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.restx: PWSWeather: Data for 
station XXXXXXXX will be posted
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.restx: CWOP: Posting not enabled.
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.restx: WOW: Posting not enabled.
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.restx: AWEKAS: Data will be 
uploaded for user XXXXXXXX
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: 'pyephem' not detected, 
extended almanac data is not available
Jan 15 20:52:11 Pi weewx[25018] INFO __main__: Starting up weewx version 
4.10.2
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.manager: Starting backfill of 
daily summaries
Jan 15 20:52:11 Pi weewx[25018] INFO weewx.manager: Daily summaries up to 
date
Jan 15 20:52:12 Pi weewx[25018] INFO weewx.drivers.fousb: synchronising to 
the weather station (quality=1)
Jan 15 20:52:36 Pi weewx[25018] INFO weewx.drivers.fousb: unstable read: 
blocks differ for ptr 0x000420
Jan 15 20:53:26 Pi weewx[25018] INFO weewx.drivers.fousb: unstable read: 
blocks differ for ptr 0x000000
Jan 15 21:02:14 Pi weewx[25018] INFO weewx.drivers.fousb: unstable read: 
blocks differ for ptr 0x000420


Στις Κυριακή 7 Ιανουαρίου 2024 στις 12:52:55 μ.μ. UTC+2, ο χρήστης Ξ έγραψε:

> Hi Mario,
>
> I have no idea what's going on :)
> However it appears your weather station is a rebranded Fine Offset one 
> which means you're likely using the fousb driver, if that's indeed the case 
> you can look up these topics (I found them by searching for the error 
> message you've posted):
> https://groups.google.com/g/weewx-user/c/6B897_FcdsY/m/K0vV22x1L8gJ
> https://groups.google.com/g/weewx-user/c/3k1fU4taNtc/m/Ae6YlLjzx1cJ
>
> basically, try changing polling interval as advised in these threads.
>
> Regards,
>
> Ivo
> On Sunday, December 31, 2023 at 12:33:17 AM UTC+2 Μάριος wrote:
>
>> Hello,
>>
>> I'm getting this error in weexw log
>> "weewx[1689] CRITICAL __main__: Caught WeeWxIOError: invalid read_period 
>> in get_records"
>> "weewx[1689] CRITICAL __main__:     ****  Waiting 60 seconds then 
>> retrying..."
>>
>> My setup is Raspberry Pi 3, WH1080 weather station and weewx 4.10.2-1. The 
>> error appeared suddenly without change anything.
>> I have already disconnect the weather station from USB and power source 
>> for 8+ hours, i changed the usb port and i updete the weewx version.
>> I checked an older backup sd card, but same error.
>> The weather station on my Windows machine with Easyweather works fine.
>>
>> Whats going wrong?
>>
>

-- 
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/2d52f305-4835-477b-a684-6b1a5c5357f0n%40googlegroups.com.

Reply via email to