Weewx does not update website with new data.

189 views
Skip to first unread message

Bob Rose

unread,
Nov 17, 2022, 4:31:36 PM11/17/22
to weewx-user
After running weewx with a ecowitt gw1000 for about 2 years I decided to build a new server. The initial install of 4.9.1 and “simulator” test went well. I used the "Deb" install method. Ubuntu server. weewx updated the new website with simulated data. I went ahead and installed the GW1000 driver. Weewx is now not updating the website. The old simulator data remains.  It is collecting data and seems to be parsing the generated files in the “website”/ecowitt/ directory. Well at least they appear and disappear. I did uses the sqlite file from the old install. nothing else. Note this station does not have an outside temperature sensor. I am using 3 Wh31s sensors in places outdoors. I did set debug to 1 trying to gain info from the logs. I did note that "tempf" seems to trigger the fault. see second log output.
From one of the files in /ecowitt/
Array
(
    [PASSKEY] => “a bunch of hex stuff”
    [stationtype] => GW1000B_V1.7.5
    [runtime] => 1033890
    [dateutc] => 2022-11-17 20:51:06
    [tempinf] => 69.08
    [humidityin] => 38
    [baromrelin] => 30.127
    [baromabsin] => 27.569
    [winddir] => 65
    [windspeedmph] => 2.91
    [windgustmph] => 4.47
    [maxdailygust] => 17.22
    [solarradiation] => 56.27
    [uv] => 0
    [rainratein] => 0.000
    [eventrainin] => 0.000
    [hourlyrainin] => 0.000
    [dailyrainin] => 0.000
    [weeklyrainin] => 0.000
    [monthlyrainin] => 0.000
    [yearlyrainin] => 5.346
    [totalrainin] => 5.346
    [temp1f] => 71.06
    [humidity1] => 20
    [temp2f] => 69.80
    [humidity2] => 20
    [temp3f] => 74.30
    [humidity3] => 18
    [soilmoisture1] => 48
    [soilmoisture2] => 27
    [lightning_num] => 8
    [lightning] => 14
    [lightning_time] => 1668699860
    [wh68batt] => 1.62
    [batt1] => 0
    [batt2] => 0
    [batt3] => 0
    [soilbatt1] => 1.3
    [soilbatt2] => 1.3
    [wh57batt] => 3
    [freq] => 915M
    [model] => GW1000B_Pro
)


From systemlog. Note it is bottom to top. Newest at top. Just after a restart of weewx.

Nov 17 14:00:58 ubuntserver weewx[552308] INFO user.gw1000: Skipping lightning count of 8: no last count
Nov 17 14:00:58 ubuntserver weewx[552308] INFO user.gw1000: skipping rain measurement of 135.8: no last rain
Nov 17 14:00:58 ubuntserver weewx[552308] INFO user.gw1000: Using 't_rainyear' for rain total
Nov 17 14:00:58 ubuntserver weewx[552308] DEBUG user.gw1000: Next update in 60 seconds
Nov 17 14:00:58 ubuntserver weewx[552308] DEBUG user.gw1000: Unknown field address '7B' detected. Remaining data '00' ignored.
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: Starting main packet loop.
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.manager: Daily summaries up to date
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.manager: Starting backfill of daily summaries
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Station does not support reading the time
Nov 17 14:00:57 ubuntserver weewx[552308] INFO __main__: Starting up weewx version 4.9.1
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: 'pyephem' not detected, extended almanac data is not available
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.restx: AWEKAS: Posting not enabled.
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.restx: WOW: Posting not enabled.
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.restx: CWOP: Posting not enabled.
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.restx: PWSweather: Posting not enabled.
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.restx: Wunderground: Posting not enabled.
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.restx: StationRegistry: Registration not requested.
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: Record generation will be attempted in 'software'
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: Archive will use data binding wx_binding
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.manager: Daily summary version is 4.0
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdQC
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: StdConvert target unit is 0x1
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service user.ecowitt.AddEcowittData
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service user.ecowitt.AddEcowittData
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG user.gw1000: GatewayDriver: field map is {'co2': 'co2', 'co2_24h_avg': 'co2_24h_avg', 'dateTime': 'datetime', 'daymaxwind': 'daymaxwind', 'dayRain': 't_rainday', 'dewpoint': 'dewpoint', 'extraHumid1': 'humid1', 'extraHumid2': 'humid2', 'extraHumid3': 'humid3', 'extraHumid4': 'humid4', 'extraHumid5': 'humid5', 'extraHumid6': 'humid6', 'extraHumid7': 'humid7', 'extraHumid8': 'humid8', 'extraHumid17': 'humid17', 'extraTemp1': 'temp1', 'extraTemp2': 'temp2', 'extraTemp3': 'temp3', 'extraTemp4': 'temp4', 'extraTemp5': 'temp5', 'extraTemp6': 'temp6', 'extraTemp7': 'temp7', 'extraTemp8': 'temp8', 'extraTemp9': 'temp9', 'extraTemp10': 'temp10', 'extraTemp11': 'temp11', 'extraTemp12': 'temp12', 'extraTemp13': 'temp13', 'extraTemp14': 'temp14', 'extraTemp15': 'temp15', 'extraTemp16': 'temp16', 'extraTemp17': 'temp17', 'heatindex': 'heatindex', 'inHumidity': 'inhumid', 'inTemp': 'intemp', 'leafWet1': 'leafwet1', 'leafWet2': 'leafwet2', 'leafWet3': 'leafwet3', 'leafWet4': 'leafwet4', 'leafWet5': 'leafwet5', 'leafWet6': 'leafwet6', 'leafWet7': 'leafwet7', 'leafWet8': 'leafwet8', 'leak1': 'leak1', 'leak2': 'leak2', 'leak3': 'leak3', 'leak4': 'leak4', 'lightning_distance': 'lightningdist', 'lightning_last_det_time': 'lightningdettime', 'lightning_strike_count': 'lightning_strike_count', 'lightningcount': 'lightningcount', 'luminosity': 'light', 'monthRain': 't_rainmonth', 'outHumidity': 'outhumid', 'outTemp': 'outtemp', 'p_dayRain': 'p_rainday', 'p_monthRain': 'p_rainmonth', 'p_rain': 'p_rain', 'p_rainRate': 'p_rainrate', 'p_stormRain': 'p_rainevent', 'p_weekRain': 'p_rainweek', 'p_yearRain': 'p_rainyear', 'pm2_5': 'pm251', 'pm2_51_24h_avg': 'pm251_24h_avg', 'pm2_52': 'pm252', 'pm2_52_24h_avg': 'pm252_24h_avg', 'pm2_53': 'pm253', 'pm2_53_24h_avg': 'pm253_24h_avg', 'pm2_54': 'pm254', 'pm2_54_24h_avg': 'pm254_24h_avg', 'pm2_55': 'pm255', 'pm2_55_24h_avg': 'pm255_24h_avg', 'pm10': 'pm10', 'pm10_24h_avg': 'pm10_24h_avg', 'pressure': 'absbarometer', 'rain': 't_rain', 'rainRate': 't_rainrate', 'relbarometer': 'relbarometer', 'soilMoist1': 'soilmoist1', 'soilMoist2': 'soilmoist2', 'soilMoist3': 'soilmoist3', 'soilMoist4': 'soilmoist4', 'soilMoist5': 'soilmoist5', 'soilMoist6': 'soilmoist6', 'soilMoist7': 'soilmoist7', 'soilMoist8': 'soilmoist8', 'soilMoist9': 'soilmoist9', 'soilMoist10': 'soilmoist10', 'soilMoist11': 'soilmoist11', 'soilMoist12': 'soilmoist12', 'soilMoist13': 'soilmoist13', 'soilMoist14': 'soilmoist14', 'soilMoist15': 'soilmoist15', 'soilMoist16': 'soilmoist16', 'soilTemp1': 'soiltemp1', 'soilTemp2': 'soiltemp2', 'soilTemp3': 'soiltemp3', 'soilTemp4': 'soiltemp4', 'soilTemp5': 'soiltemp5', 'soilTemp6': 'soiltemp6', 'soilTemp7': 'soiltemp7', 'soilTemp8': 'soiltemp8', 'soilTemp9': 'soiltemp9', 'soilTemp10': 'soiltemp10', 'soilTemp11': 'soiltemp11', 'soilTemp12': 'soiltemp12', 'soilTemp13': 'soiltemp13', 'soilTemp14': 'soiltemp14', 'soilTemp15': 'soiltemp15', 'soilTemp16': 'soiltemp16', 'stormRain': 't_rainevent', 'totalRain': 't_raintotals', 'UV': 'uvi', 'uvradiation': 'uv', 'weekRain': 't_rainweek', 'wh24_batt': 'wh24_batt', 'wh24_sig': 'wh24_sig', 'wh25_batt': 'wh25_batt', 'wh25_sig': 'wh25_sig', 'wh26_batt': 'wh26_batt', 'wh26_sig': 'wh26_sig', 'wh31_ch1_batt': 'wh31_ch1_batt', 'wh31_ch1_sig': 'wh31_ch1_sig', 'wh31_ch2_batt': 'wh31_ch2_batt', 'wh31_ch2_sig': 'wh31_ch2_sig', 'wh31_ch3_batt': 'wh31_ch3_batt', 'wh31_ch3_sig': 'wh31_ch3_sig', 'wh31_ch4_batt': 'wh31_ch4_batt', 'wh31_ch4_sig': 'wh31_ch4_sig', 'wh31_ch5_batt': 'wh31_ch5_batt', 'wh31_ch5_sig': 'wh31_ch5_sig', 'wh31_ch6_batt': 'wh31_ch6_batt', 'wh31_ch6_sig': 'wh31_ch6_sig', 'wh31_ch7_batt': 'wh31_ch7_batt', 'wh31_ch7_sig': 'wh31_ch7_sig', 'wh31_ch8_batt': 'wh31_ch8_batt', 'wh31_ch8_sig': 'wh31_ch8_sig', 'wh32_batt': 'wh32_batt', 'wh32_sig': 'wh32_sig', 'wh40_batt': 'wh40_batt', 'wh40_sig': 'wh40_sig', 'wh41_ch1_batt': 'wh41_ch1_batt', 'wh41_ch1_sig': 'wh41_ch1_sig', 'wh41_ch2_batt': 'wh41_ch2_batt', 'wh41_ch2_sig': 'wh41_ch2_sig', 'wh41_ch3_batt': 'wh41_ch3_batt', 'wh41_ch3_sig': 'wh41_ch3_sig', 'wh41_ch4_batt': 'wh41_ch4_batt', 'wh41_ch4_sig': 'wh41_ch4_sig', 'wh45_batt': 'wh45_batt', 'wh45_sig': 'wh45_sig', 'wh51_ch1_batt': 'wh51_ch1_batt', 'wh51_ch1_sig': 'wh51_ch1_sig', 'wh51_ch2_batt': 'wh51_ch2_batt', 'wh51_ch2_sig': 'wh51_ch2_sig', 'wh51_ch3_batt': 'wh51_ch3_batt', 'wh51_ch3_sig': 'wh51_ch3_sig', 'wh51_ch4_batt': 'wh51_ch4_batt', 'wh51_ch4_sig': 'wh51_ch4_sig', 'wh51_ch5_batt': 'wh51_ch5_batt', 'wh51_ch5_sig': 'wh51_ch5_sig', 'wh51_ch6_batt': 'wh51_ch6_batt', 'wh51_ch6_sig': 'wh51_ch6_sig', 'wh51_ch7_batt': 'wh51_ch7_batt', 'wh51_ch7_sig': 'wh51_ch7_sig', 'wh51_ch8_batt': 'wh51_ch8_batt', 'wh51_ch8_sig': 'wh51_ch8_sig', 'wh51_ch9_batt': 'wh51_ch9_batt', 'wh51_ch9_sig': 'wh51_ch9_sig', 'wh51_ch10_batt': 'wh51_ch10_batt', 'wh51_ch10_sig': 'wh51_ch10_sig', 'wh51_ch11_batt': 'wh51_ch11_batt', 'wh51_ch11_sig': 'wh51_ch11_sig', 'wh51_ch12_batt': 'wh51_ch12_batt', 'wh51_ch12_sig': 'wh51_ch12_sig', 'wh51_ch13_batt': 'wh51_ch13_batt', 'wh51_ch13_sig': 'wh51_ch13_sig', 'wh51_ch14_batt': 'wh51_ch14_batt', 'wh51_ch14_sig': 'wh51_ch14_sig', 'wh51_ch15_batt': 'wh51_ch15_batt', 'wh51_ch15_sig': 'wh51_ch15_sig', 'wh51_ch16_batt': 'wh51_ch16_batt', 'wh51_ch16_sig': 'wh51_ch16_sig', 'wh55_ch1_batt': 'wh55_ch1_batt', 'wh55_ch1_sig': 'wh55_ch1_sig', 'wh55_ch2_batt': 'wh55_ch2_batt', 'wh55_ch2_sig': 'wh55_ch2_sig', 'wh55_ch3_batt': 'wh55_ch3_batt', 'wh55_ch3_sig': 'wh55_ch3_sig', 'wh55_ch4_batt': 'wh55_ch4_batt', 'wh55_ch4_sig': 'wh55_ch4_sig', 'wh57_batt': 'wh57_batt', 'wh57_sig': 'wh57_sig', 'wh65_batt': 'wh65_batt', 'wh65_sig': 'wh65_sig', 'wh68_batt': 'wh68_batt', 'wh68_sig': 'wh68_sig', 'windchill': 'windchill', 'windDir': 'winddir', 'windGust': 'gustspeed', 'windSpeed': 'windspeed', 'wn34_ch1_batt': 'wn34_ch1_batt', 'wn34_ch1_sig': 'wn34_ch1_sig', 'wn34_ch2_batt': 'wn34_ch2_batt', 'wn34_ch2_sig': 'wn34_ch2_sig', 'wn34_ch3_batt': 'wn34_ch3_batt', 'wn34_ch3_sig': 'wn34_ch3_sig', 'wn34_ch4_batt': 'wn34_ch4_batt', 'wn34_ch4_sig': 'wn34_ch4_sig', 'wn34_ch5_batt': 'wn34_ch5_batt', 'wn34_ch5_sig': 'wn34_ch5_sig', 'wn34_ch6_batt': 'wn34_ch6_batt', 'wn34_ch6_sig': 'wn34_ch6_sig', 'wn34_ch7_batt': 'wn34_ch7_batt', 'wn34_ch7_sig': 'wn34_ch7_sig', 'wn34_ch8_batt': 'wn34_ch8_batt', 'wn34_ch8_sig': 'wn34_ch8_sig', 'wn35_ch1_batt': 'wn35_ch1_batt', 'wn35_ch1_sig': 'wn35_ch1_sig', 'wn35_ch2_batt': 'wn35_ch2_batt', 'wn35_ch2_sig': 'wn35_ch2_sig', 'wn35_ch3_batt': 'wn35_ch3_batt', 'wn35_ch3_sig': 'wn35_ch3_sig', 'wn35_ch4_batt': 'wn35_ch4_batt', 'wn35_ch4_sig': 'wn35_ch4_sig', 'wn35_ch5_batt': 'wn35_ch5_batt', 'wn35_ch5_sig': 'wn35_ch5_sig', 'wn35_ch6_batt': 'wn35_ch6_batt', 'wn35_ch6_sig': 'wn35_ch6_sig', 'wn35_ch7_batt': 'wn35_ch7_batt', 'wn35_ch7_sig': 'wn35_ch7_sig', 'wn35_ch8_batt': 'wn35_ch8_batt', 'wn35_ch8_sig': 'wn35_ch8_sig', 'ws80_batt': 'ws80_batt', 'ws80_sig': 'ws80_sig', 'ws90_batt': 'ws90_batt', 'ws90_sig': 'ws90_sig', 'yearRain': 't_rainyear'}
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG user.gw1000: GatewayDriver: socket timeout is 2 seconds
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG user.gw1000: GatewayDriver: broadcast address is 255.255.255.255:46000, broadcast timeout is 5 seconds
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG user.gw1000: GatewayDriver: max tries is 3, retry wait time is 10 seconds
Nov 17 14:00:57 ubuntserver weewx[552308] INFO user.gw1000: GatewayDriver: poll interval is 60 seconds
Nov 17 14:00:57 ubuntserver weewx[552308] INFO user.gw1000: GatewayDriver: GW1000 address is 192.168.1.204:45000
Nov 17 14:00:57 ubuntserver weewx[552308] INFO user.gw1000: GatewayDriver: version is 0.5.0b5
Nov 17 14:00:57 ubuntserver weewx[552308] INFO user.gw1000: Legacy WH40 detected, WH40 battery state data will be ignored
Nov 17 14:00:57 ubuntserver systemd[1]: Started LSB: weewx weather system.
Nov 17 14:00:57 ubuntserver weewx[552293]:    ...done.
Nov 17 14:00:57 ubuntserver weewx[552308] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
Nov 17 14:00:57 ubuntserver weewx[552308] DEBUG __main__: Initializing engine
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: PID file is /var/run/weewx.pid
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Debug is 1
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Locale is 'en_US.UTF-8'
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Platform Linux-5.15.0-53-generic-x86_64-with-glibc2.35
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Located at /bin/python3
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Using Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0]
Nov 17 14:00:57 ubuntserver weewx[552304] INFO __main__: Initializing weewx version 4.9.1
Nov 17 14:00:57 ubuntserver weewx[552293]:  * Starting weewx weather system weewx
Nov 17 14:00:57 ubuntserver systemd[1]: Starting LSB: weewx weather system...
Nov 17 14:00:57 ubuntserver systemd[1]: Stopped LSB: weewx weather system.
Nov 17 14:00:57 ubuntserver systemd[1]: weewx.service: Deactivated successfully.
Nov 17 14:00:57 ubuntserver weewx[552282]:    ...done.
Nov 17 14:00:57 ubuntserver weewx[552282]:  *  not running...
Nov 17 14:00:57 ubuntserver weewx[552282]:  * Stopping weewx weather system weewx
Nov 17 14:00:57 ubuntserver systemd[1]: Stopping LSB: weewx weather system...

Then about 5 minutes later.

Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  Exiting.
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  KeyError: 'tempf'
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      event.record['extraTemp2']  = float(dEcowittData['tempf'])
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/user/ecowitt.py", line 44, in new_archive_record
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      callback(event)
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 715, in _software_catchup
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      self._software_catchup()
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 644, in post_loop
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      callback(event)
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 221, in run
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      engine.run()
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewxd", line 154, in main
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  Traceback (most recent call last):
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  During handling of the above exception, another exception occurred:
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  weewx.engine.BreakLoop
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      raise BreakLoop
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 634, in check_loop
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      callback(event)
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 214, in run
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  Traceback (most recent call last):
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__:     ****  'tempf'
Nov 17 14:06:00 ubuntserver weewx[552308] CRITICAL __main__: Caught unrecoverable exception:
Nov 17 14:06:00 ubuntserver weewx[552308] INFO user.gw1000: GatewayCollector thread has been terminated
Nov 17 14:05:59 ubuntserver weewx[552308] INFO weewx.engine: Main loop exiting. Shutting engine down.
Nov 17 14:05:59 ubuntserver weewx[552308] DEBUG user.gw1000: Next update in 60 seconds
Nov 17 14:05:59 ubuntserver weewx[552308] DEBUG user.gw1000: Unknown field address '7B' detected. Remaining data '00' ignored.

Thanks for any help.

vince

unread,
Nov 17, 2022, 5:52:17 PM11/17/22
to weewx-user
Bottom to top ?   C'mon.
Run "tail" please so people can have a chance to try to help.


Bob Rose

unread,
Nov 17, 2022, 6:20:34 PM11/17/22
to weewx-user
Sorry. It was just the way the logview I was using is set up. Here is an oldest at the top cut.

Nov 17 16:13:44 ubuntserver weewx[720010]:  * Starting weewx weather system weewx
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Initializing weewx version 4.9.1
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Using Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0]
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Located at /bin/python3
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Platform Linux-5.15.0-53-generic-x86_64-with-glibc2.35
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Locale is 'en_US.UTF-8'
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: Debug is 1
Nov 17 16:13:44 ubuntserver weewx[720021] INFO __main__: PID file is /var/run/weewx.pid
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG __main__: Initializing engine
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
Nov 17 16:13:44 ubuntserver weewx[720010]:    ...done.
Nov 17 16:13:44 ubuntserver systemd[1]: Started LSB: weewx weather system.
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: Legacy WH40 detected, WH40 battery state data will be ignored
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: GatewayDriver: version is 0.5.0b5
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: GatewayDriver: GW1000 address is 192.168.1.204:45000
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: GatewayDriver: poll interval is 60 seconds
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG user.gw1000: GatewayDriver: max tries is 3, retry wait time is 10 seconds
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG user.gw1000: GatewayDriver: broadcast address is 255.255.255.255:46000, broadcast timeout is 5 seconds
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG user.gw1000: GatewayDriver: socket timeout is 2 seconds
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG user.gw1000: GatewayDriver: field map is {'co2': 'co2', 'co2_24h_avg': 'co2_24h_avg', 'dateTime': 'datetime', 'daymaxwind': 'daymaxwind', 'dayRain': 't_rainday', 'dewpoint': 'dewpoint', 'extraHumid1': 'humid1', 'extraHumid2': 'humid2', 'extraHumid3': 'humid3', 'extraHumid4': 'humid4', 'extraHumid5': 'humid5', 'extraHumid6': 'humid6', 'extraHumid7': 'humid7', 'extraHumid8': 'humid8', 'extraHumid17': 'humid17', 'extraTemp1': 'temp1', 'extraTemp2': 'temp2', 'extraTemp3': 'temp3', 'extraTemp4': 'temp4', 'extraTemp5': 'temp5', 'extraTemp6': 'temp6', 'extraTemp7': 'temp7', 'extraTemp8': 'temp8', 'extraTemp9': 'temp9', 'extraTemp10': 'temp10', 'extraTemp11': 'temp11', 'extraTemp12': 'temp12', 'extraTemp13': 'temp13', 'extraTemp14': 'temp14', 'extraTemp15': 'temp15', 'extraTemp16': 'temp16', 'extraTemp17': 'temp17', 'heatindex': 'heatindex', 'inHumidity': 'inhumid', 'inTemp': 'intemp', 'leafWet1': 'leafwet1', 'leafWet2': 'leafwet2', 'leafWet3': 'leafwet3', 'leafWet4': 'leafwet4', 'leafWet5': 'leafwet5', 'leafWet6': 'leafwet6', 'leafWet7': 'leafwet7', 'leafWet8': 'leafwet8', 'leak1': 'leak1', 'leak2': 'leak2', 'leak3': 'leak3', 'leak4': 'leak4', 'lightning_distance': 'lightningdist', 'lightning_last_det_time': 'lightningdettime', 'lightning_strike_count': 'lightning_strike_count', 'lightningcount': 'lightningcount', 'luminosity': 'light', 'monthRain': 't_rainmonth', 'outHumidity': 'outhumid', 'outTemp': 'outtemp', 'p_dayRain': 'p_rainday', 'p_monthRain': 'p_rainmonth', 'p_rain': 'p_rain', 'p_rainRate': 'p_rainrate', 'p_stormRain': 'p_rainevent', 'p_weekRain': 'p_rainweek', 'p_yearRain': 'p_rainyear', 'pm2_5': 'pm251', 'pm2_51_24h_avg': 'pm251_24h_avg', 'pm2_52': 'pm252', 'pm2_52_24h_avg': 'pm252_24h_avg', 'pm2_53': 'pm253', 'pm2_53_24h_avg': 'pm253_24h_avg', 'pm2_54': 'pm254', 'pm2_54_24h_avg': 'pm254_24h_avg', 'pm2_55': 'pm255', 'pm2_55_24h_avg': 'pm255_24h_avg', 'pm10': 'pm10', 'pm10_24h_avg': 'pm10_24h_avg', 'pressure': 'absbarometer', 'rain': 't_rain', 'rainRate': 't_rainrate', 'relbarometer': 'relbarometer', 'soilMoist1': 'soilmoist1', 'soilMoist2': 'soilmoist2', 'soilMoist3': 'soilmoist3', 'soilMoist4': 'soilmoist4', 'soilMoist5': 'soilmoist5', 'soilMoist6': 'soilmoist6', 'soilMoist7': 'soilmoist7', 'soilMoist8': 'soilmoist8', 'soilMoist9': 'soilmoist9', 'soilMoist10': 'soilmoist10', 'soilMoist11': 'soilmoist11', 'soilMoist12': 'soilmoist12', 'soilMoist13': 'soilmoist13', 'soilMoist14': 'soilmoist14', 'soilMoist15': 'soilmoist15', 'soilMoist16': 'soilmoist16', 'soilTemp1': 'soiltemp1', 'soilTemp2': 'soiltemp2', 'soilTemp3': 'soiltemp3', 'soilTemp4': 'soiltemp4', 'soilTemp5': 'soiltemp5', 'soilTemp6': 'soiltemp6', 'soilTemp7': 'soiltemp7', 'soilTemp8': 'soiltemp8', 'soilTemp9': 'soiltemp9', 'soilTemp10': 'soiltemp10', 'soilTemp11': 'soiltemp11', 'soilTemp12': 'soiltemp12', 'soilTemp13': 'soiltemp13', 'soilTemp14': 'soiltemp14', 'soilTemp15': 'soiltemp15', 'soilTemp16': 'soiltemp16', 'stormRain': 't_rainevent', 'totalRain': 't_raintotals', 'UV': 'uvi', 'uvradiation': 'uv', 'weekRain': 't_rainweek', 'wh24_batt': 'wh24_batt', 'wh24_sig': 'wh24_sig', 'wh25_batt': 'wh25_batt', 'wh25_sig': 'wh25_sig', 'wh26_batt': 'wh26_batt', 'wh26_sig': 'wh26_sig', 'wh31_ch1_batt': 'wh31_ch1_batt', 'wh31_ch1_sig': 'wh31_ch1_sig', 'wh31_ch2_batt': 'wh31_ch2_batt', 'wh31_ch2_sig': 'wh31_ch2_sig', 'wh31_ch3_batt': 'wh31_ch3_batt', 'wh31_ch3_sig': 'wh31_ch3_sig', 'wh31_ch4_batt': 'wh31_ch4_batt', 'wh31_ch4_sig': 'wh31_ch4_sig', 'wh31_ch5_batt': 'wh31_ch5_batt', 'wh31_ch5_sig': 'wh31_ch5_sig', 'wh31_ch6_batt': 'wh31_ch6_batt', 'wh31_ch6_sig': 'wh31_ch6_sig', 'wh31_ch7_batt': 'wh31_ch7_batt', 'wh31_ch7_sig': 'wh31_ch7_sig', 'wh31_ch8_batt': 'wh31_ch8_batt', 'wh31_ch8_sig': 'wh31_ch8_sig', 'wh32_batt': 'wh32_batt', 'wh32_sig': 'wh32_sig', 'wh40_batt': 'wh40_batt', 'wh40_sig': 'wh40_sig', 'wh41_ch1_batt': 'wh41_ch1_batt', 'wh41_ch1_sig': 'wh41_ch1_sig', 'wh41_ch2_batt': 'wh41_ch2_batt', 'wh41_ch2_sig': 'wh41_ch2_sig', 'wh41_ch3_batt': 'wh41_ch3_batt', 'wh41_ch3_sig': 'wh41_ch3_sig', 'wh41_ch4_batt': 'wh41_ch4_batt', 'wh41_ch4_sig': 'wh41_ch4_sig', 'wh45_batt': 'wh45_batt', 'wh45_sig': 'wh45_sig', 'wh51_ch1_batt': 'wh51_ch1_batt', 'wh51_ch1_sig': 'wh51_ch1_sig', 'wh51_ch2_batt': 'wh51_ch2_batt', 'wh51_ch2_sig': 'wh51_ch2_sig', 'wh51_ch3_batt': 'wh51_ch3_batt', 'wh51_ch3_sig': 'wh51_ch3_sig', 'wh51_ch4_batt': 'wh51_ch4_batt', 'wh51_ch4_sig': 'wh51_ch4_sig', 'wh51_ch5_batt': 'wh51_ch5_batt', 'wh51_ch5_sig': 'wh51_ch5_sig', 'wh51_ch6_batt': 'wh51_ch6_batt', 'wh51_ch6_sig': 'wh51_ch6_sig', 'wh51_ch7_batt': 'wh51_ch7_batt', 'wh51_ch7_sig': 'wh51_ch7_sig', 'wh51_ch8_batt': 'wh51_ch8_batt', 'wh51_ch8_sig': 'wh51_ch8_sig', 'wh51_ch9_batt': 'wh51_ch9_batt', 'wh51_ch9_sig': 'wh51_ch9_sig', 'wh51_ch10_batt': 'wh51_ch10_batt', 'wh51_ch10_sig': 'wh51_ch10_sig', 'wh51_ch11_batt': 'wh51_ch11_batt', 'wh51_ch11_sig': 'wh51_ch11_sig', 'wh51_ch12_batt': 'wh51_ch12_batt', 'wh51_ch12_sig': 'wh51_ch12_sig', 'wh51_ch13_batt': 'wh51_ch13_batt', 'wh51_ch13_sig': 'wh51_ch13_sig', 'wh51_ch14_batt': 'wh51_ch14_batt', 'wh51_ch14_sig': 'wh51_ch14_sig', 'wh51_ch15_batt': 'wh51_ch15_batt', 'wh51_ch15_sig': 'wh51_ch15_sig', 'wh51_ch16_batt': 'wh51_ch16_batt', 'wh51_ch16_sig': 'wh51_ch16_sig', 'wh55_ch1_batt': 'wh55_ch1_batt', 'wh55_ch1_sig': 'wh55_ch1_sig', 'wh55_ch2_batt': 'wh55_ch2_batt', 'wh55_ch2_sig': 'wh55_ch2_sig', 'wh55_ch3_batt': 'wh55_ch3_batt', 'wh55_ch3_sig': 'wh55_ch3_sig', 'wh55_ch4_batt': 'wh55_ch4_batt', 'wh55_ch4_sig': 'wh55_ch4_sig', 'wh57_batt': 'wh57_batt', 'wh57_sig': 'wh57_sig', 'wh65_batt': 'wh65_batt', 'wh65_sig': 'wh65_sig', 'wh68_batt': 'wh68_batt', 'wh68_sig': 'wh68_sig', 'windchill': 'windchill', 'windDir': 'winddir', 'windGust': 'gustspeed', 'windSpeed': 'windspeed', 'wn34_ch1_batt': 'wn34_ch1_batt', 'wn34_ch1_sig': 'wn34_ch1_sig', 'wn34_ch2_batt': 'wn34_ch2_batt', 'wn34_ch2_sig': 'wn34_ch2_sig', 'wn34_ch3_batt': 'wn34_ch3_batt', 'wn34_ch3_sig': 'wn34_ch3_sig', 'wn34_ch4_batt': 'wn34_ch4_batt', 'wn34_ch4_sig': 'wn34_ch4_sig', 'wn34_ch5_batt': 'wn34_ch5_batt', 'wn34_ch5_sig': 'wn34_ch5_sig', 'wn34_ch6_batt': 'wn34_ch6_batt', 'wn34_ch6_sig': 'wn34_ch6_sig', 'wn34_ch7_batt': 'wn34_ch7_batt', 'wn34_ch7_sig': 'wn34_ch7_sig', 'wn34_ch8_batt': 'wn34_ch8_batt', 'wn34_ch8_sig': 'wn34_ch8_sig', 'wn35_ch1_batt': 'wn35_ch1_batt', 'wn35_ch1_sig': 'wn35_ch1_sig', 'wn35_ch2_batt': 'wn35_ch2_batt', 'wn35_ch2_sig': 'wn35_ch2_sig', 'wn35_ch3_batt': 'wn35_ch3_batt', 'wn35_ch3_sig': 'wn35_ch3_sig', 'wn35_ch4_batt': 'wn35_ch4_batt', 'wn35_ch4_sig': 'wn35_ch4_sig', 'wn35_ch5_batt': 'wn35_ch5_batt', 'wn35_ch5_sig': 'wn35_ch5_sig', 'wn35_ch6_batt': 'wn35_ch6_batt', 'wn35_ch6_sig': 'wn35_ch6_sig', 'wn35_ch7_batt': 'wn35_ch7_batt', 'wn35_ch7_sig': 'wn35_ch7_sig', 'wn35_ch8_batt': 'wn35_ch8_batt', 'wn35_ch8_sig': 'wn35_ch8_sig', 'ws80_batt': 'ws80_batt', 'ws80_sig': 'ws80_sig', 'ws90_batt': 'ws90_batt', 'ws90_sig': 'ws90_sig', 'yearRain': 't_rainyear'}
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service user.ecowitt.AddEcowittData
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service user.ecowitt.AddEcowittData
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: StdConvert target unit is 0x1
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdQC
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.manager: Daily summary version is 4.0
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: Archive will use data binding wx_binding
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: Record generation will be attempted in 'software'
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.restx: StationRegistry: Registration not requested.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.restx: Wunderground: Posting not enabled.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.restx: PWSweather: Posting not enabled.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.restx: CWOP: Posting not enabled.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.restx: WOW: Posting not enabled.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.restx: AWEKAS: Posting not enabled.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: 'pyephem' not detected, extended almanac data is not available
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Nov 17 16:13:44 ubuntserver weewx[720039] INFO __main__: Starting up weewx version 4.9.1
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG weewx.engine: Station does not support reading the time
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.manager: Starting backfill of daily summaries
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.manager: Daily summaries up to date
Nov 17 16:13:44 ubuntserver weewx[720039] INFO weewx.engine: Starting main packet loop.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG user.gw1000: Unknown field address '7B' detected. Remaining data '00' ignored.
Nov 17 16:13:44 ubuntserver weewx[720039] DEBUG user.gw1000: Next update in 60 seconds
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: Using 't_rainyear' for rain total
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: skipping rain measurement of 135.8: no last rain
Nov 17 16:13:44 ubuntserver weewx[720039] INFO user.gw1000: Skipping lightning count of 12: no last count


After about 5 minutes.

Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  'tempf'
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  Traceback (most recent call last):
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 214, in run
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.CHECK_LOOP, packet=packet))
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      callback(event)
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 634, in check_loop
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      raise BreakLoop
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  weewx.engine.BreakLoop
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  During handling of the above exception, another exception occurred:
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  Traceback (most recent call last):
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewxd", line 154, in main
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      engine.run()
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 221, in run
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.POST_LOOP))
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      callback(event)
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 644, in post_loop
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      self._software_catchup()
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 715, in _software_catchup
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 245, in dispatchEvent
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      callback(event)
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****    File "/usr/share/weewx/user/ecowitt.py", line 44, in new_archive_record
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****      event.record['extraTemp2']  = float(dEcowittData['tempf'])
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  KeyError: 'tempf'
Nov 17 16:15:46 ubuntserver weewx[720039] CRITICAL __main__:     ****  Exiting.

vince

unread,
Nov 17, 2022, 7:04:47 PM11/17/22
to weewx-user
Gonna have to defer to Gary many timezones Down Under on this one, but it would be prudent to post your GW1000 stanza from weewx.conf so he has a complete picture of your setup.

And a couple crazy ideas/questions in the interim:

The reason I'm suggesting the first test is that v4 of weewx uses the wview_extended schema which is different than the v3 defaults.  The other two tests (and posting your weewx.conf excerpt) are for trying to diagnose what's up.

Glenn McKechnie

unread,
Nov 17, 2022, 7:39:43 PM11/17/22
to weewx...@googlegroups.com
Agree with Vince; but...

Where does the file /usr/share/weewx/user/ecowitt.py come from?

It's not in the driver that weewx reports as
user.gw1000: GatewayDriver: version is 0.5.0b5

The ecowitt.py drivers I tripped over don't sync with the line 44
number but there is a tempf in ...
https://github.com/MRevitt/Weewx/blob/8cb89587017ecb87419a384b68647850b1a50c7f/bin/user/ecowitt.py

and a temp2f in
https://github.com/MRevitt/Weewx/blob/8cb89587017ecb87419a384b68647850b1a50c7f/bin/user/ecowitt.py

Have you configured the GW1000 driver or used an old setup - ie;
different driver.

You also mention reusing an old database - ExtraTemp2 was tempf under
the MRevitt driver - do you need to rename that field?

Yes, Questions with no real answers.
Only you or Gary will have the answers ;-)

I'll go now.




On 18/11/2022, vince <vince...@gmail.com> wrote:
> Gonna have to defer to Gary many timezones Down Under on this one, but it
> would be prudent to post your GW1000 stanza from weewx.conf so he has a
> complete picture of your setup.
>
> And a couple crazy ideas/questions in the interim:
>
> - stop weewx, delete (or move aside) your db, and restart weewx ... does
>
> it work now ?
> - if not, verify you did step 3 of https://github.com/gjr80/weewx-gw1000
> - then run step 4 of https://github.com/gjr80/weewx-gw1000 and see what
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/0fecf1ec-98fa-49ef-aed6-7927f215d10cn%40googlegroups.com.
>


--


Cheers
Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

Bob Rose

unread,
Nov 17, 2022, 7:48:10 PM11/17/22
to weewx-user
Thanks Vince,
I did move the db aside and weewx created new one.  I do have " record_generation = software". 
Step 4 produces 
~$ PYTHONPATH=/home/weewx/bin python3 -m user.gw1000 --test-driver
/usr/bin/python3: Error while finding module specification for 'user.gw1000' (ModuleNotFoundError: No module named 'user')

Earlier this produced and output of values from the GW1000. I will check on what has happened there. 
From weewx.conf:
   # Set to type of station hardware. There must be a corresponding stanza
    # in this file, which includes a value for the 'driver' option.
    station_type = GW1000
   
    # If you have a website, you may specify an URL. This is required if you
    # intend to register your station.
    #station_url = https://bobsastronomy.com
   
    # The start of the rain year (1=January; 10=October, etc.). This is
    # downloaded from the station if the hardware supports it.
    rain_year_start = 1
   
    # Start of week (0=Monday, 6=Sunday)
    week_start = 6

##############################################################################

[GW1000]
    # This section is for the Ecowitt Gateway driver.
   
    # How often to poll the API, default is every 20 seconds:
    poll_interval = 60
   
    # The driver to use:
    driver = user.gw1000
    ip_address = 192.168.1.204
    port = 45000

###############################################################

vince

unread,
Nov 17, 2022, 7:53:52 PM11/17/22
to weewx-user
Sigh - you're running a setup.py command on a prepackaged weewx installation.

Try the 'second' command there in step4 of https://github.com/gjr80/weewx-gw1000

Man that trips up soooooooo many people it is just amazing.  Yecccch.

Bob Rose

unread,
Nov 17, 2022, 7:54:14 PM11/17/22
to weewx-user
Glen, During the initial install I did not see a option for the ecowitt/gw1000. After the install I found :  Add Ecowitt Data to WeeWX (cougar.eu.com). And used that. So, I probably have it all wrong. 

vince

unread,
Nov 17, 2022, 8:03:57 PM11/17/22
to weewx-user
Strongly suggest using Gary's excellent driver - https://github.com/gjr80/weewx-gw1000

Glenn McKechnie

unread,
Nov 17, 2022, 8:09:28 PM11/17/22
to weewx...@googlegroups.com
On 18/11/2022, Bob Rose <rose0...@gmail.com> wrote:
> Glen, During the initial install I did not see a option for the
> ecowitt/gw1000. After the install I found : Add Ecowitt Data to WeeWX
> (cougar.eu.com)
> <https://www.cougar.eu.com/useful-guides/weewx-guides/rasberry-pi/add-ecowitt/modify-weewx.html>.

Yes. That's Mike Revitt's site so that would match his driver
(mentioned previously) which does indeed use tempf for ExtraTemp2

> And used that. So, I probably have it all wrong.

Yep. Mixing instructions, like drinks; never ends well!

If you are using Gary's GW1000 driver then follow his instructions. I
note that he has a wiki with the driver so it should be very well
documented.

https://github.com/gjr80/weewx-gw1000/wiki

And if it's not - I'm sure he would appreciate a heads up as I have no
doubt he would fix / clarify it.

> On Thursday, November 17, 2022 at 5:39:43 PM UTC-7 Glenn McKechnie wrote:
>
>> Agree with Vince; but...
>>
>> Where does the file /usr/share/weewx/user/ecowitt.py come from?
>>
>> It's not in the driver that weewx reports as
>> user.gw1000: GatewayDriver: version is 0.5.0b5
>>
>> The ecowitt.py drivers I tripped over don't sync with the line 44
>> number but there is a tempf in ...
>>
>> https://github.com/MRevitt/Weewx/blob/8cb89587017ecb87419a384b68647850b1a50c7f/bin/user/ecowitt.py
>>
>> and a temp2f in
>>
>> https://github.com/MRevitt/Weewx/blob/8cb89587017ecb87419a384b68647850b1a50c7f/bin/user/ecowitt.py
>>
>> Have you configured the GW1000 driver or used an old setup - ie;
>> different driver.
>>
>> You also mention reusing an old database - ExtraTemp2 was tempf under
>> the MRevitt driver - do you need to rename that field?
>>
>> Yes, Questions with no real answers.
>> Only you or Gary will have the answers ;-)
>>
>> I'll go now.


gjr80

unread,
Nov 17, 2022, 8:45:07 PM11/17/22
to weewx-user
Sorry, no internet access this morning.

As suggested in the earlier posts your issue has nothing to do with the Ecowitt Gateway driver (aka the GW100 driver), but rather the issue is in the AddEcowittData service in ecowitt.py. tempf is typically the outside temperature field used in Ecowitt and WU format messages. I'm guessing your lack of an outdoor temperature sensor is causing your Ecowitt gateway to omit the tempf field in these messages and the AddEcowittData service cannot tolerate this omission. The issue needs to be taken up with the author of the AddEcowittData service.

I'm not sure what your configuration/use case is, but if you are trying to use two different services/drivers to populate WeeWX with data from a single Ecowitt Gateway device I suspect you are playing with fire. Unless you have specific requirements my suggestion would be to pick one as a driver and stick with that.

Gary

Bob Rose

unread,
Nov 17, 2022, 10:24:29 PM11/17/22
to weewx-user
Thanks All, I got it going. I still have to remap out some data inputs as I do not have some of the default (expected) sensors.  You guys are a big help. I should not have picked up on the other driver, as i was even using the old ecowitt driver on the old system. I'll be Down Under in a few months. If we meet up first rounds on me. 
Thanks again.

Rainer Lang

unread,
Nov 18, 2022, 4:11:25 AM11/18/22
to weewx...@googlegroups.com
What I would do first is assigning one of your WH31 sensors (also) to the outdoor T/H sensor
in weewx.conf
[StdCalibrate]
[[Corrections]] add the lines
outTemp = extraTemp1
outHumidity = extraHumid1
(as an example - you can take whichever of your WH31 you prefer, extraTemp1, 2, 3, 4 ...))
As a result, weewx will save these WH31 values also as outTemp/outHumidity, so you missing tempf issue might disappear.
Try that and see what it gives
--
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+...@googlegroups.com.

Rainer Lang

unread,
Nov 18, 2022, 4:51:44 AM11/18/22
to weewx...@googlegroups.com
I'm only realizing now - after having read Gary's mail which came in late due to internet issues - that you seem to use two different drivers/services in parallel in one weewx instance, which is likely to be the cause for unpredictable behaviour.
You better choose only one of them - and by experience, I'd prefer the Ecowitt Gateway (GW1000) driver and remove this AddEcowittData thing
which probably was once written to cover for a those days not yet existing GW-GW driver.
Gary's EW-GW driver is very stable and covers all sensors of the these days Ecowitt (sensor) universe.

Bob Rose

unread,
Nov 18, 2022, 6:27:40 PM11/18/22
to weewx-user
Thanks Lang. I have it all working except the battery stuff. Not sure if that is important to me. I do have all the other data points being displayed. This really functions well.
Reply all
Reply to author
Forward
0 new messages