Problem solved after weewx uninstall and install again. Thanks for your help!
Στις Δευτέρα 15 Ιανουαρίου 2024 στις 9:25:37 μ.μ. UTC+2, ο χρήστης Μάριος έγραψε: > And my wee_device --info > > Using configuration file /etc/weewx/weewx.conf > Using FineOffsetUSB driver version 1.20 (weewx.drivers.fousb) > Querying the station... > Fine Offset station settings: > local time: 2024.01.15 21:23:07 EET > polling mode: PERIODIC > > abs_pressure: 948.2 > current_pos: 1072 > data_changed: 0 > data_count: 52 > date_time: 2024-01-12 04:33 > hum_in_offset: 13060 > hum_out_offset: 4609 > id: 19986 > lux_wm2_coeff: None > magic_1: 0x55 > magic_2: 0xaa > model: 4224 > rain_coef: 24580 > read_period: 5 > rel_pressure: 1014.1 > temp_in_offset: 9471 > temp_out_offset: None > timezone: None > unknown_01: 0 > unknown_18: 96 > version: 32 > wind_coef: 2785 > wind_mult: None > max.abs_pressure.date: 2165-165-165 165:165 > max.abs_pressure.val: None > max.dewpoint.date: 2023-11-25 21:15 > max.dewpoint.val: 13.5 > max.hum_in.date: 2024-01-01 00:13 > max.hum_in.val: 70 > max.hum_out.date: 2023-11-26 16:16 > max.hum_out.val: 98 > max.illuminance.val: 32767.9 > max.rain.day.date: 2165-165-165 165:165 > max.rain.day.val: None > max.rain.hour.date: 2165-165-165 165:165 > max.rain.hour.val: None > max.rain.month.date: 2165-165-165 165:165 > max.rain.month.val: None > max.rain.total.date: 2165-165-165 165:165 > max.rain.total.val: None > max.rain.week.date: 2165-165-165 165:165 > max.rain.week.val: None > max.rel_pressure.date: 2165-165-165 165:165 > max.rel_pressure.val: None > max.temp_in.date: 2015-01-01 12:01 > max.temp_in.val: 22.1 > max.temp_out.date: 2023-11-26 00:35 > max.temp_out.val: 20.0 > max.uv.val: None > max.wind_ave.date: 2165-165-165 165:165 > max.wind_ave.val: None > max.wind_gust.date: 2165-165-165 165:165 > max.wind_gust.val: None > max.windchill.date: 2023-11-26 00:35 > max.windchill.val: 20.0 > min.abs_pressure.date: 2015-01-02 00:54 > min.abs_pressure.val: 938.8 > min.dewpoint.date: 2024-01-11 01:03 > min.dewpoint.val: -8.2 > min.hum_in.date: 2165-165-165 165:165 > min.hum_in.val: None > min.hum_out.date: 2015-01-07 11:09 > min.hum_out.val: 23 > min.rel_pressure.date: 2024-01-03 03:42 > min.rel_pressure.val: 1000.4 > min.temp_in.date: 2165-165-165 165:165 > min.temp_in.val: None > min.temp_out.date: 2024-01-10 18:14 > min.temp_out.val: -1.8 > min.windchill.date: 2024-01-10 18:14 > min.windchill.val: -1.8 > > settings_1.pressure_inHg: True > settings_1.pressure_hPa: True > settings_1.temp_out_F: False > settings_1.pressure_mmHg: True > settings_1.rain_in: True > settings_1.temp_in_F: False > settings_1.bit4: True > settings_1.bit3: True > settings_2.wind_bft: True > settings_2.wind_mps: True > settings_2.wind_knot: True > settings_2.bit7: True > settings_2.bit6: True > settings_2.bit5: True > settings_2.wind_kmph: True > settings_2.wind_mph: True > > display_1.wind_gust: True > display_1.show_day_name: True > display_1.show_year: True > display_1.time_scale_24: True > display_1.pressure_rel: True > display_1.alarm_time: True > display_1.date_mdy: True > display_1.clock_12hr: True > display_2.temp_out_temp: True > display_2.rain_hour: True > display_2.rain_month: True > display_2.rain_week: True > display_2.temp_out_chill: False > display_2.rain_day: True > display_2.temp_out_dew: False > display_2.rain_total: True > display_3.illuminance_fc: True > display_3.bit7: True > display_3.bit6: True > display_3.bit5: True > display_3.bit4: True > display_3.bit3: True > display_3.bit2: True > display_3.bit1: True > > alarm.abs_pressure.hi: None > alarm.abs_pressure.lo: None > alarm.dewpoint.hi: -381.8 > alarm.dewpoint.lo: -381.8 > alarm.hum_in.hi: None > alarm.hum_in.lo: None > alarm.hum_out.hi: None > alarm.hum_out.lo: None > alarm.illuminance: None > alarm.rain.day: None > alarm.rain.hour: None > alarm.rel_pressure.hi: None > alarm.rel_pressure.lo: None > alarm.temp_in.hi: -381.8 > alarm.temp_in.lo: -381.8 > alarm.temp_out.hi: -381.8 > alarm.temp_out.lo: -381.8 > alarm.time: 165:165 > alarm.uv: None > alarm.wind_ave.bft: None > alarm.wind_ave.ms: None > alarm.wind_dir: 13 > alarm.wind_gust.bft: None > alarm.wind_gust.ms: None > alarm.windchill.hi: -381.8 > alarm.windchill.lo: -381.8 > alarm_1.hum_out_hi: False > alarm_1.hum_in_lo: True > alarm_1.hum_in_hi: False > alarm_1.hum_out_lo: False > alarm_1.time: True > alarm_1.bit3: True > alarm_1.wind_dir: False > alarm_1.bit0: True > alarm_2.wind_ave: True > alarm_2.wind_gust: False > alarm_2.rain_hour: True > alarm_2.pressure_rel_lo: True > alarm_2.pressure_abs_hi: True > alarm_2.rain_day: True > alarm_2.pressure_rel_hi: False > alarm_2.pressure_abs_lo: True > alarm_3.temp_out_hi: False > alarm_3.wind_chill_lo: True > alarm_3.dew_point_lo: True > alarm_3.temp_in_lo: False > alarm_3.wind_chill_hi: True > alarm_3.temp_in_hi: False > alarm_3.temp_out_lo: False > alarm_3.dew_point_hi: True > Στις Δευτέρα 15 Ιανουαρίου 2024 στις 9:16:39 μ.μ. UTC+2, ο χρήστης Μάριος > έγραψε: > >> 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/77bb270b-7e81-42f4-b9b4-5343e995c501n%40googlegroups.com.