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/CAPq0zEBbdwaCzE95-na-tEthB__ZXHUA5h%2BFUpLKbWwXh7so1g%40mail.gmail.com.
