Okay, so I distilled the code down to the bare minimum, and still get the same results, (returning N/A the first time it runs for each report cycle), and have included it below. I know that this SLE doesn't actually add anything, but since it has the same symptoms I am trying to diagnose, it should be a bit easier.
from weewx.cheetahgenerator import SearchList from weewx.tags import TimespanBinder from weeutil.weeutil import TimeSpan import weeutil.weeutil import weewx.tags class GarageDoorAnalyzer(SearchList): def __init__(self, generator): SearchList.__init__(self, generator) self.search_list_extension = {} def get_extension_list(self, timespan, db_lookup): garagedoor_options = {'outTemp' : 'outTemp'} stats = weewx.tags.TimeBinder( db_lookup, timespan.stop, formatter=self.generator.formatter, converter=self.generator.converter) latest = stats.day().outTemp.last print latest return [self.search_list_extension] This little bit of code produces the output, It is essentially the same run though the main engine, just intertwined with loop packet output: sudo wee_reports /etc/weewx/weewx.conf Using configuration file /etc/weewx/weewx.conf Generating for all time N/A 44.1°F 44.1°F 44.1°F 44.1°F 44.1°F 44.1°F There is nothing in syslog or messages during this time. This 'server' this is running on is a Raspberry Pi 1, could it be lack of resources? Gary, your getattr code was exactly what I needed, and worked perfectly. Thank you all! Thomas On Friday, June 30, 2017 at 2:01:52 PM UTC-6, gjr80 wrote: > > Seeing the code and the context in which it is used is probably a good > starting point. > > Gary > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.