You have a long archive period (30 minutes) so WeeWX will only generate 
reports at most every 30 minutes. You log extract appears to only cover two 
seconds, was there anything in the subsequent one hour? I don't believe an 
unrecognised magic number is a serious error with the fousb driver. I 
suggest you provide a longer log extract covering the full WeeWX start up 
and at least two archive periods (one hour) of WeeWX operation. Make sure 
you edit weewx.conf and set debug = 1 before restarting WeeWX.

Gary

On Wednesday, 29 June 2022 at 02:44:32 UTC+10 [email protected] 
wrote:

> weewx runs as service on the work station. A bit puzzling is that there is 
> an error message in the syslog that the magic number is wrong:
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] ERROR weewx.drivers.fousb: 
> unrecognised magic number 2714
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.engine: Using 
> archive interval of 1800 seconds (specified by hardware)
> Jun 27 00:58:32 wolfgang-desktop goa-daemon[2908]: goa-daemon version 
> 3.44.0 starting
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.restx: 
> StationRegistry: Registration not requested.
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.restx: 
> Wunderground: Posting not enabled.
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.restx: PWSweather: 
> Posting not enabled.
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.restx: CWOP: 
> Posting not enabled.
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.restx: WOW: 
> Posting not enabled.
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.restx: AWEKAS: 
> Posting not enabled.
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.engine: 'pyephem' 
> not detected, extended almanac data is not available
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO __main__: Starting up 
> weewx version 4.8.0
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.engine: Using 
> binding 'wx_binding' to database 'weewx.sdb'
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.manager: Starting 
> backfill of daily summaries
> Jun 27 00:58:32 wolfgang-desktop weewx[1753] INFO weewx.manager: Daily 
> summaries up to date
>
>
> Wolfgang Bosswick schrieb am Dienstag, 28. Juni 2022 um 16:07:32 UTC+2:
>
>> [FineOffsetUSB]
>>     # This section is for the Fine Offset series of weather stations.
>>     
>>     # The station model, e.g., WH1080, WS1090, WS2080, WH3081
>>     model = WH1080
>>     
>>     # How often to poll the station for data, in seconds
>>     polling_interval = 60
>>     
>>     # The driver to use:
>>     driver = weewx.drivers.fousb
>>
>> ...
>>
>> [StdReport]
>>
>>     # Where the skins reside, relative to WEEWX_ROOT
>>     SKIN_ROOT = /etc/weewx/skins
>>
>>     # Where the generated reports should go, relative to WEEWX_ROOT
>>     HTML_ROOT = /var/www/html/weewx
>>
>>     # Uncomment and change to override logging for reports
>>     log_success = True
>>     log_failure = True
>>
>>     # The database binding indicates which data should be used in reports.
>>     data_binding = wx_binding
>>
>>     # Each of the following subsections defines a report that will be run.
>>     # See the customizing guide to change the units, plot types and line
>>     # colors, modify the fonts, display additional sensor data, and other
>>     # customizations. Many of those changes can be made here by overriding
>>     # parameters, or by modifying templates within the skin itself.
>>
>>     [[SeasonsReport]]
>>         # The SeasonsReport uses the 'Seasons' skin, which contains the
>>         # images, templates and plots for the report.
>>         skin = Seasons
>>         enable = true
>>
>>  After an update to Ubuntu 22.04, weewx stopped updating the 
>> /var/www/hatml/weewx files. I updated weewx to 4.8.0 and phython 3, and 
>> after that, I managed to get updated reports from the first  start of the 
>> server. Alas, after that, no more updates.
>> Any ideas?
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: Initializing 
>> weewx version 4.8.0
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: Using Python 
>> 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0]
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: Platform 
>> Linux-5.15.0-25-generic-x86_64-with-glibc2.35
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: Locale is 
>> 'de_DE.UTF-8'
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: Using 
>> configuration file /etc/weewx/weewx.conf
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: Debug is 0
>> Jun 27 00:58:31 wolfgang-desktop weewx[1609] INFO __main__: PID file is 
>> /var/run/weewx.pid
>> Jun 27 00:58:31 wolfgang-desktop weewx[1753] INFO weewx.engine: Loading 
>> station type FineOffsetUSB (weewx.drivers.fousb)
>> Jun 27 00:58:31 wolfgang-desktop weewx[1566]:    ...done.
>> Jun 27 00:58:31 wolfgang-desktop systemd[1]: Started LSB: weewx weather 
>> system.
>> Jun 27 00:58:31 wolfgang-desktop weewx[1753] INFO weewx.drivers.fousb: 
>> driver version is 1.20
>> Jun 27 00:58:31 wolfgang-desktop weewx[1753] INFO weewx.drivers.fousb: 
>> polling mode is PERIODIC
>> Jun 27 00:58:31 wolfgang-desktop weewx[1753] INFO weewx.drivers.fousb: 
>> polling interval is 60
>> Jun 27 00:58:31 wolfgang-desktop sssd_pam[1746]: Starting up
>>
>>
>>

-- 
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/c64d473b-0bb2-41fb-94d3-e7ce83644564n%40googlegroups.com.

Reply via email to