Den 04-10-2016 kl. 16:53 skrev mwall:

please defer doing the changes i suggested in my last post.

OK.

first try using the attached te923-0.22rc1.py

run it as is (reset is commented)

Tried that - it works :-)

It did log the same first error again:

Oct 5 08:21:22 mail2 weewx[3819]: te923: Failed attempt 1 of 5 to read data: [Errno None] Opkoblingen overskred tidsgrænsen

The Danish text means connection timeout

but this time it recovered nicely for it.
I tried to stop and start weewx a few more times - same 1 error each time, but it recovered from it each time too. Nice to see it finally working :-)

full log here:

Oct  5 08:21:20 mail2 weewx[3819]: engine: Initializing weewx version 3.5.0
Oct 5 08:21:20 mail2 weewx[3819]: engine: Using Python 2.7.5 (default, Sep 15 2016, 22:37:39) #012[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] Oct 5 08:21:20 mail2 weewx[3819]: engine: Platform Linux-3.10.0-327.36.1.el7.x86_64-x86_64-with-centos-7.2.1511-Core Oct 5 08:21:21 mail2 weewx[3819]: engine: Using configuration file /etc/weewx/weewx.conf Oct 5 08:21:21 mail2 weewx[3819]: engine: Loading station type TE923 (weewx.drivers.te923)
Oct  5 08:21:21 mail2 weewx[3819]: te923: driver version is 0.22rc1
Oct  5 08:21:21 mail2 weewx[3819]: te923: polling interval is 10
Oct 5 08:21:21 mail2 weewx[3819]: te923: observation map is {'bat_1': 'outTempBatteryStatus', 'bat_3': 'extraBatteryStatus2', 'bat_2': 'extraBatteryStatus1', 'bat_5': 'extraBatteryStatus4', 'bat_4': 'extraBatteryStatus3', 'bat_wind': 'windBatteryStatus', 't_in': 'inTemp', 'link_rain': 'rainLinkStatus', 't_5': 'extraTemp4', 'h_in': 'inHumidity', 'h_4': 'extraHumid3', 'h_5': 'extraHumid4', 'h_2': 'extraHumid1', 'h_3': 'extraHumid2', 'h_1': 'outHumidity', 't_2': 'extraTemp1', 'link_2': 'extraLinkStatus1', 'link_uv': 'uvLinkStatus', 'link_wind': 'windLinkStatus', 'uv': 'UV', 'bat_uv': 'uvBatteryStatus', 'link_5': 'extraLinkStatus4', 'bat_rain': 'rainBatteryStatus', 'link_3': 'extraLinkStatus2', 't_3': 'extraTemp2', 'link_1': 'outLinkStatus', 't_1': 'outTemp', 't_4': 'extraTemp3', 'link_4': 'extraLinkStatus3'}
Oct  5 08:21:21 mail2 weewx[3819]: te923: Found device on USB bus= device=
Oct 5 08:21:22 mail2 weewx[3819]: te923: Failed attempt 1 of 5 to read data: [Errno None] Opkoblingen overskred tidsgrænsen
Oct  5 08:21:26 mail2 weewx[3819]: te923: logger capacity 3442 records
Oct 5 08:21:26 mail2 weewx[3819]: te923: station time is 1449270000.0, computer time is 1475648486
Oct  5 08:21:26 mail2 weewx[3819]: engine: StdConvert target unit is 0x1
Oct 5 08:21:26 mail2 weewx[3819]: wxcalculate: The following values will be calculated: barometer=prefer_hardware,windchill=prefer_hardware,dewpoint=prefer_hardware,appTemp=prefer_hardware,rainRate=prefer_hardware,windrun=prefer_hardware,heatindex=prefer_hardware,maxSolarRad=prefer_hardware,humidex=prefer_hardware,pressure=prefer_hardware,inDewpoint=prefer_hardware,ET=prefer_hardware,altimeter=prefer_hardware,cloudbase=prefer_hardware Oct 5 08:21:26 mail2 weewx[3819]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA,maxSolarRad=RS Oct 5 08:21:26 mail2 weewx[3819]: engine: Archive will use data binding wx_binding Oct 5 08:21:26 mail2 weewx[3819]: engine: Record generation will be attempted in 'hardware' Oct 5 08:21:26 mail2 weewx[3819]: engine: Using archive interval of 60 seconds Oct 5 08:21:28 mail2 weewx[3819]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Oct 5 08:21:28 mail2 weewx[3819]: manager: Starting backfill of daily summaries
Oct  5 08:21:28 mail2 weewx[3819]: manager: Daily summaries up to date
Oct 5 08:21:30 mail2 weewx[3819]: alarm: Alarm set for expression: 'outTemp < ((8.0*9/5)+32)' Oct 5 08:21:30 mail2 weewx[3819]: lowBattery: LowBattery alarm turned on. Count threshold is 2
Oct  5 08:21:30 mail2 weewx[3819]: engine: Starting up weewx version 3.5.0
Oct 5 08:21:30 mail2 weewx[3819]: te923: reading records from logger since 1475645940
Oct  5 08:21:31 mail2 weewx[3819]: te923: read 0 records from logger
Oct 5 08:21:31 mail2 weewx[3819]: manager: added record 2016-10-05 07:50:00 CEST (1475646600) to database 'weewx.sdb' Oct 5 08:21:31 mail2 weewx[3819]: manager: added record 2016-10-05 07:50:00 CEST (1475646600) to daily summary in 'weewx.sdb' Oct 5 08:21:36 mail2 weewx[3819]: alarm: Alarm expression "outTemp < ((8.0*9/5)+32)" evaluated True at 2016-10-05 07:50:00 CEST (1475646600) Oct 5 08:21:37 mail2 weewx[3819]: manager: added record 2016-10-05 07:55:00 CEST (1475646900) to database 'weewx.sdb' Oct 5 08:21:37 mail2 weewx[3819]: manager: added record 2016-10-05 07:55:00 CEST (1475646900) to daily summary in 'weewx.sdb' Oct 5 08:21:37 mail2 weewx[3819]: manager: added record 2016-10-05 08:00:00 CEST (1475647200) to database 'weewx.sdb' Oct 5 08:21:37 mail2 weewx[3819]: manager: added record 2016-10-05 08:00:00 CEST (1475647200) to daily summary in 'weewx.sdb' Oct 5 08:21:37 mail2 weewx[3819]: manager: added record 2016-10-05 08:05:00 CEST (1475647500) to database 'weewx.sdb' Oct 5 08:21:37 mail2 weewx[3819]: manager: added record 2016-10-05 08:05:00 CEST (1475647500) to daily summary in 'weewx.sdb' Oct 5 08:21:38 mail2 weewx[3819]: manager: added record 2016-10-05 08:10:00 CEST (1475647800) to database 'weewx.sdb' Oct 5 08:21:38 mail2 weewx[3819]: manager: added record 2016-10-05 08:10:00 CEST (1475647800) to daily summary in 'weewx.sdb' Oct 5 08:21:38 mail2 weewx[3819]: manager: added record 2016-10-05 08:15:00 CEST (1475648100) to database 'weewx.sdb' Oct 5 08:21:38 mail2 weewx[3819]: manager: added record 2016-10-05 08:15:00 CEST (1475648100) to daily summary in 'weewx.sdb'
Oct  5 08:21:38 mail2 weewx[3819]: te923: read 6 records from logger
Oct  5 08:21:38 mail2 weewx[3819]: engine: Starting main packet loop.
Oct  5 08:21:38 mail2 weewx[3819]:  **** email sent to: ['xx...@yyyyy.dk']
Oct  5 08:22:01 mail2 systemd: Started Session 36628 of user root.
Oct  5 08:22:01 mail2 systemd: Starting Session 36628 of user root.
Oct 5 08:22:20 mail2 weewx[3819]: manager: added record 2016-10-05 08:22:00 CEST (1475648520) to database 'weewx.sdb' Oct 5 08:22:20 mail2 weewx[3819]: manager: added record 2016-10-05 08:22:00 CEST (1475648520) to daily summary in 'weewx.sdb' Oct 5 08:22:25 mail2 weewx[3819]: cheetahgenerator: Generated 13 files for report StandardReport in 4.20 seconds Oct 5 08:22:28 mail2 weewx[3819]: genimages: Generated 27 images for StandardReport in 3.22 seconds Oct 5 08:22:28 mail2 weewx[3819]: reportengine: copied 10 files to /var/www/clients/client0/web3/web Oct 5 08:22:29 mail2 weewx[3819]: cheetahgenerator: Generated 13 files for report BigReport in 1.32 seconds Oct 5 08:22:33 mail2 weewx[3819]: genimages: Generated 27 images for BigReport in 4.03 seconds Oct 5 08:22:33 mail2 weewx[3819]: reportengine: copied 10 files to /var/www/html/weewx/big Oct 5 08:22:33 mail2 weewx[3819]: imageStackedWindRose: Generated 1 images for StackedWindRose in 0.09 seconds


  Allan.

--
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to