I have had a closer look at the database and table archive_day_intemp does
not contain anything but 0:s, except for the timestamp which is correct,
while archive_day_barometer does have numbers. This is probably why none of
my skins can report "inTemp". Now I only need to find out why the table is
empty :)
//R
On Tuesday, December 28, 2021 at 4:06:40 PM UTC+1 Balla wrote:
> I agree the NameMapper issue is different, let's ignore it for now.
>
> It's the same type of problem in both skins not that the exact same line
> exists in both skins. For Seasons I made this modification to display the
> inTemp and inHumidity graphs:
> weewx@weewx:~ $ diff weewx-4.5.1/skins/Seasons/index.html.tmpl
> skins/Seasons/index.html.tmpl
> 61c61
> < #if $day.inTemp.has_data
> ---
> > #if $current.inTemp.has_data
> 64c64
> < #if $day.inHumidity.has_data
> ---
> > #if $current.inHumidity.has_data
>
> It seems to me, "$day.[inTemp,inHumidity].has_data" will return "False"
> while "$current.[inTemp,inHumidity].has_data" is correct.
>
> There is no error when I run this, it simply does not do what I expect it
> to do. Here is the log form a cycle without my hack:
> weewx[71139] DEBUG __main__: Initializing engine
> weewx[71139] INFO weewx.engine: Loading station type GW1000 (user.gw1000)
> weewx[71139] INFO user.gw1000: field map is {'co2': 'co2', 'co2_24h_avg':
> 'co2_24h_avg', 'dateTime': 'datetime', 'daymaxwind': 'daymaxwind',
> 'dayRain': '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', 'hourRain': 'rainhour',
> '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': 'rainmonth', 'outHumidity': 'outhumid', 'outTemp':
> 'outtemp', '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': 'rain', 'rainRate': 'rainrate', 'relbarometer': 'relbarometer',
> 'rxCheckPercent': 'wh65_sig', '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': 'rainevent', 'totalRain': 'raintotals',
> 'txBatteryStatus': 'wh65_batt', 'UV': 'uvi', 'uvradiation': 'uv',
> 'weekRain': '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', 'wh35_ch1_batt': 'wh35_ch1_batt', 'wh35_ch1_sig':
> 'wh35_ch1_sig', 'wh35_ch2_batt': 'wh35_ch2_batt', 'wh35_ch2_sig':
> 'wh35_ch2_sig', 'wh35_ch3_batt': 'wh35_ch3_batt', 'wh35_ch3_sig':
> 'wh35_ch3_sig', 'wh35_ch4_batt': 'wh35_ch4_batt', 'wh35_ch4_sig':
> 'wh35_ch4_sig', 'wh35_ch5_batt': 'wh35_ch5_batt', 'wh35_ch5_sig':
> 'wh35_ch5_sig', 'wh35_ch6_batt': 'wh35_ch6_batt', 'wh35_ch6_sig':
> 'wh35_ch6_sig', 'wh35_ch7_batt': 'wh35_ch7_batt', 'wh35_ch7_sig':
> 'wh35_ch7_sig', 'wh35_ch8_batt': 'wh35_ch8_batt', 'wh35_ch8_sig':
> 'wh35_ch8_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', 'wh68_batt': 'wh68_batt', 'wh68_sig': 'wh68_sig',
> 'windchill': 'windchill', 'windDir': 'winddir', 'windGust': 'gustspeed',
> 'windSpeed': 'windspeed', 'ws80_batt': 'ws80_batt', 'ws80_sig': 'ws80_sig',
> 'yearRain': 'rainyear'}
> weewx[71139] INFO user.gw1000: driver version is 0.4.1
> weewx[71139] INFO user.gw1000: GW1000 address is 10.0.10.11:45000
> weewx[71139] INFO user.gw1000: poll interval is 20 seconds
> weewx[71139] DEBUG user.gw1000: max tries is 3, retry wait time is 10
> seconds
> weewx[71139] DEBUG user.gw1000: broadcast address is
> b'255.255.255.255':46000, broadcast timeout is 5 seconds
> weewx[71139] DEBUG user.gw1000: socket timeout is 2 seconds
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdTimeSynch
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
> weewx[71139] INFO weewx.engine: StdConvert target unit is 0x1
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdConvert
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdCalibrate
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdQC
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdQC
> weewx[71139] DEBUG weewx.engine: Loading service
> weewx.wxservices.StdWXCalculate
> weewx[71139] DEBUG weewx.manager: Daily summary version is 4.0
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.wxservices.StdWXCalculate
> weewx[71139] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.wxxtypes.StdWXXTypes
> weewx[71139] DEBUG weewx.engine: Loading service
> weewx.wxxtypes.StdPressureCooker
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.wxxtypes.StdPressureCooker
> weewx[71139] DEBUG weewx.engine: Loading service
> weewx.wxxtypes.StdRainRater
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.wxxtypes.StdRainRater
> weewx[71139] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.wxxtypes.StdDelta
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
> weewx[71139] INFO weewx.engine: Archive will use data binding wx_binding
> weewx[71139] INFO weewx.engine: Record generation will be attempted in
> 'software'
> weewx[71139] INFO weewx.engine: Using archive interval of 300 seconds
> (software record generation)
> weewx[71139] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdArchive
> weewx[71139] DEBUG weewx.engine: Loading service
> weewx.restx.StdStationRegistry
> weewx[71139] DEBUG user.gw1000: Next update in 20 seconds
> weewx[71139] INFO weewx.restx: StationRegistry: Registration not requested.
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdStationRegistry
> weewx[71139] DEBUG weewx.engine: Loading service
> weewx.restx.StdWunderground
> weewx[71139] INFO weewx.restx: Wunderground: Posting not enabled.
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdWunderground
> weewx[71139] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
> weewx[71139] INFO weewx.restx: PWSweather: Posting not enabled.
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdPWSweather
> weewx[71139] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
> weewx[71139] INFO weewx.restx: CWOP: Posting not enabled.
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdCWOP
> weewx[71139] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
> weewx[71139] INFO weewx.restx: WOW: Posting not enabled.
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdWOW
> weewx[71139] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
> weewx[71139] INFO weewx.restx: AWEKAS: Posting not enabled.
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.restx.StdAWEKAS
> weewx[71139] DEBUG weewx.engine: Loading service user.mqtt.MQTT
> weewx[71139] INFO user.mqtt: service version is 0.23
> weewx[71139] INFO user.mqtt: binding to archive
> weewx[71139] INFO user.mqtt: topic is /XXX/weewx
> weewx[71139] INFO user.mqtt: desired unit system is METRIC
> weewx[71139] INFO user.mqtt: data will be uploaded to
> mqtt://[REMOVED]:[SECRET]@[HOSTNAME]:1883/
> weewx[71139] DEBUG weewx.engine: Finished loading service user.mqtt.MQTT
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdPrint
> weewx[71139] DEBUG weewx.engine: Loading service weewx.engine.StdReport
> weewx[71139] DEBUG weewx.engine: Finished loading service
> weewx.engine.StdReport
> weewx[71139] INFO __main__: Starting up weewx version 4.5.1
> weewx[71139] DEBUG weewx.engine: Station does not support reading the time
> weewx[71139] INFO weewx.engine: Using binding 'wx_binding' to database
> 'weewx'
> weewx[71139] INFO weewx.manager: Starting backfill of daily summaries
> weewx[71139] INFO weewx.manager: Daily summaries up to date
> weewx[71139] INFO weewx.engine: Starting main packet loop.
> weewx[71139] INFO user.gw1000: Using 'rainyear' for rain total
> weewx[71139] INFO user.gw1000: skipping rain measurement of 38.1: no last
> rain
> weewx[71139] DEBUG weewx.manager: Daily summary version is 4.0
> weewx[71139] DEBUG user.gw1000: Next update in 20 seconds
> weewx[71139] DEBUG user.gw1000: Next update in 20 seconds
> weewx[71139] DEBUG user.gw1000: Next update in 20 seconds
> weewx[71139] INFO weewx.manager: Added record 2021-12-28 15:35:00 CET
> (1640702100) to database 'weewx'
> weewx[71139] INFO weewx.manager: Added record 2021-12-28 15:35:00 CET
> (1640702100) to daily summary in 'weewx'
> weewx[71139] DEBUG weewx.reportengine: Running reports for latest time in
> the database.
> weewx[71139] DEBUG weewx.reportengine: Running report 'neowx-material'
> weewx[71139] DEBUG weewx.reportengine: Found configuration file
> /home/weewx/skins/neowx-material/skin.conf for report 'neowx-material'
> weewx[71139] INFO weewx.restx: MQTT: Published record 2021-12-28 15:35:00
> CET (1640702100)
> weewx[71139] DEBUG weewx.cheetahgenerator: Using search list
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
> 'weewx.cheetahgenerator.JSONHelpers']
> weewx[71139] DEBUG weewx.manager: Daily summary version is 4.0
> weewx[71139] INFO weewx.cheetahgenerator: Generated 10 files for report
> neowx-material in 9.24 seconds
> weewx[71139] INFO weewx.reportengine: Copied 97 files to
> /home/weewx/public_html/neowx
> weewx[71139] DEBUG weewx.reportengine: Running report 'SeasonsReport'
> weewx[71139] DEBUG weewx.reportengine: Found configuration file
> /home/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
> weewx[71139] DEBUG weewx.cheetahgenerator: Using search list
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
> 'weewx.cheetahgenerator.JSONHelpers']
> weewx[71139] DEBUG weewx.manager: Daily summary version is 4.0
> weewx[71139] INFO weewx.cheetahgenerator: Generated 8 files for report
> SeasonsReport in 1.37 seconds
> weewx[71139] DEBUG weewx.manager: Daily summary version is 4.0
> weewx[71139] INFO weewx.imagegenerator: Generated 15 images for report
> SeasonsReport in 0.27 seconds
> weewx[71139] INFO weewx.reportengine: Copied 5 files to
> /home/weewx/public_html
> weewx[71139] DEBUG weewx.reportengine: Report 'SmartphoneReport' not
> enabled. Skipping.
> weewx[71139] DEBUG weewx.reportengine: Report 'MobileReport' not enabled.
> Skipping.
> weewx[71139] DEBUG weewx.reportengine: Report 'Belchertown' not enabled.
> Skipping.
> weewx[71139] DEBUG weewx.reportengine: Report 'StandardReport' not
> enabled. Skipping.
> weewx[71139] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
> weewx[71139] DEBUG weewx.reportengine: Report 'RSYNC' not enabled.
> Skipping.
> weewx[71139] DEBUG user.gw1000: Next update in 20 seconds
> weewx[71139] INFO weewx.engine: Main loop exiting. Shutting engine down.
> weewx[71139] INFO weewx.engine: Shutting down StdReport thread
> weewx[71139] DEBUG weewx.engine: StdReport thread has been terminated
> weewx[71139] DEBUG weewx.restx: Shut down MQTT thread.
> weewx[71139] INFO user.gw1000: Gw1000Collector thread has been terminated
> weewx[71139] CRITICAL __main__: Keyboard interrupt.
>
>
> stdout from the same cycle:
> root@weewx:/home/weewx # bin/weewxd --config=weewx.conf
> LOOP: 2021-12-28 15:34:23 CET (1640702063) UV: 0, altimeter:
> 29.497312135237266, appTemp: 26.042106151623482, barometer:
> 29.50163703022599, cloudbase: 181.18143087668903, dateTime: 1640702063,
> dayRain: 0.0, daymaxwind: 9.2, dewpoint: 31.571359498020804, heatindex:
> 31.82, humidex: 31.82, inDewpoint: 44.3787738932715, inHumidity: 40,
> inTemp: 69.80000000000001, luminosity: 0.0, maxSolarRad:
> 0.004150215609375167, monthRain: 1.5000000000000002, outHumidity: 99,
> outTemp: 31.82, pressure: 29.361666571249998, rain: None, rainRate: 0.0,
> relbarometer: 994.3, rxCheckPercent: 4, stormRain: 0.0, txBatteryStatus: 0,
> usUnits: 1, uvradiation: 0.3, weekRain: 2.3, windDir: 79, windGust:
> 8.052990666981495, windSpeed: 3.8028011482968176, windchill:
> 28.092148719839717, yearRain: 1.5000000000000002
> LOOP: 2021-12-28 15:34:44 CET (1640702084) UV: 0, altimeter:
> 29.497312135237266, appTemp: 25.034106151623483, barometer:
> 29.50163703022599, cloudbase: 181.18143087668903, dateTime: 1640702084,
> dayRain: 0.0, daymaxwind: 9.2, dewpoint: 31.571359498020804, heatindex:
> 31.82, humidex: 31.82, inDewpoint: 44.3787738932715, inHumidity: 40,
> inTemp: 69.80000000000001, luminosity: 0.0, maxSolarRad:
> 0.003454141406884352, monthRain: 1.5000000000000002, outHumidity: 99,
> outTemp: 31.82, pressure: 29.361666571249998, rain: 0.0, rainRate: 0.0,
> relbarometer: 994.3, rxCheckPercent: 4, stormRain: 0.0, txBatteryStatus: 0,
> usUnits: 1, uvradiation: 0.2, weekRain: 2.3, windDir: 127, windGust:
> 6.934519741011844, windSpeed: 5.592354629848261, windchill:
> 26.346623760567752, yearRain: 1.5000000000000002
> LOOP: 2021-12-28 15:35:04 CET (1640702104) UV: 0, altimeter:
> 29.500276304359602, appTemp: 25.664106151623482, barometer:
> 29.50460410626242, cloudbase: 181.18143087668903, dateTime: 1640702104,
> dayRain: 0.0, daymaxwind: 9.2, dewpoint: 31.571359498020804, heatindex:
> 31.82, humidex: 31.82, inDewpoint: 44.3787738932715, inHumidity: 40,
> inTemp: 69.80000000000001, luminosity: 0.0, maxSolarRad:
> 0.0028621060353471255, monthRain: 1.5000000000000002, outHumidity: 99,
> outTemp: 31.82, pressure: 29.36461957, rain: 0.0, rainRate: 0.0,
> relbarometer: 994.4, rxCheckPercent: 4, stormRain: 0.0, txBatteryStatus: 0,
> usUnits: 1, uvradiation: 0.2, weekRain: 2.3, windDir: 118, windGust:
> 6.934519741011844, windSpeed: 4.473883703878609, windchill:
> 27.36968979445511, yearRain: 1.5000000000000002
> LOOP: 2021-12-28 15:35:24 CET (1640702124) UV: 0, altimeter:
> 29.500276304359602, appTemp: 27.302106151623484, barometer:
> 29.50460410626242, cloudbase: 181.18143087668903, dateTime: 1640702124,
> dayRain: 0.0, daymaxwind: 9.2, dewpoint: 31.571359498020804, heatindex:
> 31.82, humidex: 31.82, inDewpoint: 44.3787738932715, inHumidity: 40,
> inTemp: 69.80000000000001, luminosity: 0.0, maxSolarRad:
> 0.0023333685598295037, monthRain: 1.5000000000000002, outHumidity: 99,
> outTemp: 31.82, pressure: 29.36461957, rain: 0.0, rainRate: 0.0,
> relbarometer: 994.4, rxCheckPercent: 4, stormRain: 0.0, txBatteryStatus: 0,
> usUnits: 1, uvradiation: 0.2, weekRain: 2.3, windDir: 109, windGust:
> 2.2369418519393043, windSpeed: 1.565859296357513, windchill: 31.82,
> yearRain: 1.5000000000000002
> REC: 2021-12-28 15:35:00 CET (1640702100) ET: None, UV: 0.0, altimeter:
> 29.497312135237266, appTemp: 25.53810615162348, barometer:
> 29.50163703022599, cloudbase: 181.18143087668903, dateTime: 1640702100,
> dayRain: 0.0, daymaxwind: 9.2, dewpoint: 31.571359498020804, heatindex:
> 31.82, humidex: 31.82, inDewpoint: 44.3787738932715, inHumidity: 40.0,
> inTemp: 69.80000000000001, interval: 5.0, luminosity: 0.0, maxSolarRad:
> 0.0038021785081297594, monthRain: 1.5000000000000002, outHumidity: 99.0,
> outTemp: 31.82, pressure: 29.361666571249998, rain: 0.0, rainRate: 0.0,
> relbarometer: 994.3, rxCheckPercent: 4.0, stormRain: 0.0, txBatteryStatus:
> 0.0, usUnits: 1, uvradiation: 0.25, weekRain: 2.3, windDir:
> 107.84739659109457, windGust: 8.052990666981495, windGustDir: 79,
> windSpeed: 4.697577889072539, windchill: 27.219386240203733, windrun:
> 0.39146482408937827, yearRain: 1.5000000000000002
> _home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:406:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:418:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:430:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:481:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:493:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:505:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_head_inc.py:172: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_head_inc.py:184: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:100: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:131: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:150: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:169: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:188: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:207: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:226: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:245: SyntaxWarning:
> "is" with a literal. Did you mean "=="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:263: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_header_inc.py:276: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:152: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:170: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:178: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:201: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:212: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:223: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:234: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:295: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _usr_home_weewx_skins_neowx_material_footer_inc.py:305: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year__Y_html_tmpl.py:412: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year__Y_html_tmpl.py:424: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year__Y_html_tmpl.py:436: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year__Y_html_tmpl.py:487: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year__Y_html_tmpl.py:499: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year__Y_html_tmpl.py:511: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_index_html_tmpl.py:454: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_index_html_tmpl.py:466: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_index_html_tmpl.py:478: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_yesterday_html_tmpl.py:372:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_yesterday_html_tmpl.py:381:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_yesterday_html_tmpl.py:390:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_yesterday_html_tmpl.py:428:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_yesterday_html_tmpl.py:437:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_yesterday_html_tmpl.py:446:
> SyntaxWarning: "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_week_html_tmpl.py:395: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_week_html_tmpl.py:407: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_week_html_tmpl.py:419: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month_html_tmpl.py:395: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month_html_tmpl.py:407: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_month_html_tmpl.py:419: SyntaxWarning:
> "is not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year_html_tmpl.py:417: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year_html_tmpl.py:429: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year_html_tmpl.py:441: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year_html_tmpl.py:492: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year_html_tmpl.py:504: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> _home_weewx_skins_neowx_material_year_html_tmpl.py:516: SyntaxWarning: "is
> not" with a literal. Did you mean "!="?
> LOOP: 2021-12-28 15:35:45 CET (1640702145) UV: 0, altimeter:
> 29.500276304359602, appTemp: 26.67210615162348, barometer:
> 29.50460410626242, cloudbase: 181.18143087668903, dateTime: 1640702145,
> dayRain: 0.0, daymaxwind: 9.2, dewpoint: 31.571359498020804, heatindex:
> 31.82, humidex: 31.82, inDewpoint: 44.3787738932715, inHumidity: 40,
> inTemp: 69.80000000000001, luminosity: 0.0, maxSolarRad:
> 0.001840409558563516, monthRain: 1.5000000000000002, outHumidity: 99,
> outTemp: 31.82, pressure: 29.36461957, rain: 0.0, rainRate: 0.0,
> relbarometer: 994.4, rxCheckPercent: 4, stormRain: 0.0, txBatteryStatus: 0,
> usUnits: 1, uvradiation: 0.2, weekRain: 2.3, windDir: 122, windGust:
> 3.3554127779089566, windSpeed: 2.6843302223271652, windchill: 31.82,
> yearRain: 1.5000000000000002
> ^CTraceback (most recent call last):
> File "bin/weewxd", line 264, in <module>
> main()
> File "bin/weewxd", line 157, in main
> engine.run()
> File "/usr/home/weewx/bin/weewx/engine.py", line 208, in run
> for packet in self.console.genLoopPackets():
> File "/usr/home/weewx/bin/user/gw1000.py", line 2125, in genLoopPackets
> queue_data = self.collector.queue.get(True, 10)
> File "/usr/local/lib/python3.8/queue.py", line 179, in get
> self.not_empty.wait(remaining)
> File "/usr/local/lib/python3.8/threading.py", line 306, in wait
> gotit = waiter.acquire(True, timeout)
> KeyboardInterrupt
>
> The missing "inTemp" and "inHumidity" png graphs are generated but not
> displayed/added to index.html due to the has_data helper problem mentioned
> above. Graphs can be accessed directly so my question is why the contents
> of $day differ from $current in my setup and how to debug it? Any help
> appreciated since I'm stuck on this.
>
> //R
> On Tuesday, December 28, 2021 at 2:54:40 PM UTC+1 [email protected] wrote:
>
>> OK, slow down a bit. Your first post shows a NameMapper problem with
>> "nolabel" in the neowx skin, using WeeWX v4.5.1. But, you're giving me
>> descriptions about "has_data", which is unrelated. Also, V4.5.1 of the
>> Seasons skin does not use the "$getVar()" construct at all (V4.6 does).
>>
>> Let's take it one problem at a time. I can't help you with the neowx skin
>> problems, but I can with the Seasons skin. Can we see the log for the fault
>> with the Seasons skin?
>>
>> Stop weewxd, set debug=1, let it run through the first reporting cycle,
>> then post the resultant log.
>>
>> -tk
>>
>> On Tue, Dec 28, 2021 at 2:50 AM Balla <[email protected]> wrote:
>>
>>> I doubt that since my modifications was to make it work. If I run the
>>> unchanged skin it's even worse. Also I see the same problem with both
>>> Seasons and neowx-materials skins so I do not think my issue is the skin.
>>> The problem is that when "if $getVar('day.' + name + '.has_data')" is run,
>>> ".exists" will always return "False" for temperature sensors when helper
>>> ".has_data" is called. However swapping "day" for "current" will return
>>> correct values for ".has_data". I have also changed to the gw1000 driver
>>> instead of the interceptor, with the same result.
>>>
>>> From where does "day" and "current" originate in the index templates and
>>> why isn't there any temperature value for day? Do I have to add it as a
>>> calculation in weewx.conf?
>>> It's the same for the other tabs..."yesterday", "month" and "year" do
>>> not contain my temperature readings.
>>>
>>> Thanks
>>>
>> On Tuesday, December 28, 2021 at 3:32:44 AM UTC+1 [email protected] wrote:
>>>
>>>> Most likely a problem with the neowx skin, or, if you made
>>>> modifications to it, with the modifications.
>>>>
>>>> On Mon, Dec 27, 2021 at 6:21 PM Balla <[email protected]> wrote:
>>>>
>>>>> hw: gw-1000 (ecowitt)
>>>>> weewx: 4.5.1 (user.interceptor + ecowitt-client)
>>>>> neowx: 1.11
>>>>> os: freeBSD 12.2p10
>>>>>
>>>>> I'm not getting the expected values set by skin.conf;
>>>>>
>>>>> values_order = outTemp, outHumidity, barometer, windSpeed, rain,
>>>>> snowDepth, dewpoint, windchill, heatindex, inTemp, inHumidity, UV, ET,
>>>>> radiation, appTemp, cloudbase, extraTemp1, extraHumid1, extraTemp2,
>>>>> extraHumid2, extraTemp3, extraHumid3, extraTemp4, extraHumid4,
>>>>> extraTemp5,
>>>>> extraHumid5, extraTemp6, extraHumid6, extraTemp7, extraHumid7,
>>>>> extraTemp8,
>>>>> extraHumid8
>>>>>
>>>>> I only get; barometer, rain, dewpoint, windchill, heatindex,
>>>>> radiation, cloudbase
>>>>>
>>>>> Had a similar issue with the Seasons skin where inTemp and inHumidity
>>>>> was not displayed, I worked around the problem by commenting out the if:s
>>>>> with "#if $day.in[Temp,Humidity].has_data" from index.html.tmpl then
>>>>> it was working for Seasons. I have not found any similar line for neowx
>>>>> and
>>>>> it should not even be a problem.
>>>>>
>>>>> I know the data exists since I can see it both in the database and
>>>>> from the Seasons report.
>>>>>
>>>>> There are some errors in the log but it seems unrelated:
>>>>> weewx[80653] DEBUG weewx.reportengine: Running reports for latest time
>>>>> in the database.
>>>>> weewx[80653] DEBUG weewx.reportengine: Running report 'neowx-material'
>>>>> weewx[80653] DEBUG weewx.reportengine: Found configuration file
>>>>> /home/weewx/skins/neowx-material/skin.conf for report 'neowx-material'
>>>>> weewx[80653] DEBUG weewx.cheetahgenerator: Using search list
>>>>> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station',
>>>>> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats',
>>>>> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras',
>>>>> 'weewx.cheetahgenerator.JSONHelpers']
>>>>> weewx[80653] INFO weewx.restx: MQTT: Published record 2021-12-27
>>>>> 15:50:00 CET (1640616600)
>>>>> weewx[80653] DEBUG weewx.manager: Daily summary version is 4.0
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: Generate failed with
>>>>> exception '<class 'NameMapper.NotFound'>'
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** Ignoring template
>>>>> /home/weewx/skins/neowx-material/archive/NOAA-%Y-%m.txt.tmpl
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** Reason: cannot find
>>>>> 'format' while searching for 'format'
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** Traceback (most
>>>>> recent call last):
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** File
>>>>> "/usr/home/weewx/bin/weewx/cheetahgenerator.py", line 326, in generate
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** unicode_string =
>>>>> compiled_template.respond()
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** File
>>>>> "_home_weewx_skins_neowx_material_archive_NOAA__Y__m_txt_tmpl.py", line
>>>>> 188, in respond
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound:
>>>>> cannot find 'format' while searching for 'format'
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: Generate failed with
>>>>> exception '<class 'NameMapper.NotFound'>'
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** Ignoring template
>>>>> /home/weewx/skins/neowx-material/archive/NOAA-%Y.txt.tmpl
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** Reason: cannot find
>>>>> 'nolabel' while searching for 'nolabel'
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** Traceback (most
>>>>> recent call last):
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** File
>>>>> "/usr/home/weewx/bin/weewx/cheetahgenerator.py", line 326, in generate
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** unicode_string =
>>>>> compiled_template.respond()
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** File
>>>>> "_home_weewx_skins_neowx_material_archive_NOAA__Y_txt_tmpl.py", line 250,
>>>>> in respond
>>>>>
>>>>> weewx[80653] ERROR weewx.cheetahgenerator: **** NameMapper.NotFound:
>>>>> cannot find 'nolabel' while searching for 'nolabel'
>>>>>
>>>>> weewx[80653] INFO weewx.cheetahgenerator: Generated 10 files for
>>>>> report neowx-material in 9.49 seconds
>>>>> weewx[80653] INFO weewx.reportengine: Copied 0 files to
>>>>> /home/weewx/public_html/neowx
>>>>>
>>>>> Any ideas how to debug this further?
>>>>>
>>>>> --
>>>>> 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/6e94e4cc-e459-4535-af8d-9a665aa1b6afn%40googlegroups.com
>>>>>
>>>>> <https://groups.google.com/d/msgid/weewx-user/6e94e4cc-e459-4535-af8d-9a665aa1b6afn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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/9004f851-e32e-452c-9d15-8eb0f2f85c89n%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/weewx-user/9004f851-e32e-452c-9d15-8eb0f2f85c89n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
--
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/a1a27951-3a8f-4c87-868e-16b318626cc4n%40googlegroups.com.