stregthening tom’s words, it should be added to extensions.py rather than in addition to units.py. units.py is part of weewx’s code base and subject to updates. extensions.py is the hook to allow custom changes to weewx code base and is not changed by weewx updates. ⊣GE⊢
> On 5 Nov 2025, at 4:53 am, Tom Keffer <[email protected]> wrote: > > If you added the additional fields in extensions.py you should be OK. That > file is imported before starting processing. > > On Tue, Nov 4, 2025 at 9:16 AM 'Werner Krenn' via weewx-user > <[email protected] <mailto:[email protected]>> wrote: >> Tom >> thanks, it worked. >> >> I have another question: >> >> I'm using additional fields, e.g., "co2_Temp" with the group >> "group_temperature". To ensure this field is also converted, I'm adding >> these fields and their group assignments to "units.py". >> >> Could this assignment also be entered into "extensions.py" so that the >> conversion is performed? -- 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 visit https://groups.google.com/d/msgid/weewx-user/1A41672B-47D3-4D21-860C-8BDCE9444C85%40geddy.au.
