Do I need to have TIME = date-time in my weewx..conf wxMesh stanza? I thought that the TIME sent from mosquitto would be ignored.
I attempted Vince's suggestion and still same. I'll look it all over again later. Thanks On Wednesday, April 11, 2018 at 11:24:38 AM UTC-7, vince wrote: > > On Wednesday, April 11, 2018 at 10:06:22 AM UTC-7, Bill Morrow wrote: >> >> Line 308 in wxservices.py is failing: >> 306 data['maxSolarRad'] = weewx.wxformulas.solar_rad_RS( >> 307 self.latitude, self.longitude, self.altitude_m, >> 308 data['dateTime'], self.atc) >> >> >> > I'm wondering if perhaps you have no 'dateTime' in the data[] that you > are generating.... > > If you're ok with hacking+slashing in there with a test copy of that file, > I'd suggest trying to print 'data' out and see what's in there.... > > Something like (untested): > > else: > try: > # the existing stuff on lines 306-308 > except: > print data > > > > > -- 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]. For more options, visit https://groups.google.com/d/optout.
