Just wanted to come back and say thanks again. I finally added it to my /usr/share/weewx/user/extention.py and all works now! (well except that if i start the deamon proccess it fails to load the SDR driver but thats another issue entirely! =)
On Sunday, April 21, 2019 at 11:00:28 PM UTC-4, Bruce Butkus wrote: > > Awesome! Thanks. That's probably it. I did extend the schema but didn't > give temp 8 any units. I'll do that and report back. > THANKS!!!!!!!! > > On Sun, Apr 21, 2019 at 6:45 PM mwall <[email protected]> wrote: > >> i assume that you have already extended the schema to include extraTemp8 >> - the wview schema (which is the default schema for weewx) only goes to >> extraTemp7 >> >> when you extend the schema, you must also (separately) define the units >> for the new fields that you add to the schema >> >> if you do not define units, then weewx does not know how to do any >> conversions >> >> assuming that you have a field extraTemp8 in your database, >> >> import weewx.units >> weewx.units.obs_group_dict['extraTemp8'] = 'group_temperature' >> >> the typical place to put this is in the file extensions.py in the weewx >> user directory. you must restart weewx after making this change. >> >> see the section "assigning a unit group" in the weewx customization guide. >> >> http://weewx.com/docs/customizing.htm#Assigning_a_unit_group >> >> m >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/ENXfGa40QpE/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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.
