This might work in StdCalibrate/Corrections (not tested): outHumidity = extraHumid1 if extraHumid1 is not None and 'outHumidity' not in locals() else None
michael.k...@gmx.at schrieb am Mittwoch, 8. Mai 2024 um 18:38:58 UTC+2: > You can map the value to extrahumid1 and use this (hacky) extension: > https://github.com/mKainzbauer/weewx_extensions/blob/master/usePreferred.py > > and put this in your weewx.conf: > > [UsePreferred] > outHumidity = extraHumid1 > > Tom Keffer schrieb am Mittwoch, 8. Mai 2024 um 16:07:09 UTC+2: > >> On Wed, May 8, 2024 at 1:28 AM Lieven Hollevoet <lieven.h...@gmail.com> >> wrote: >> >>> >>> I did find back this thread: >>> https://www.mail-archive.com/weewx...@googlegroups.com/msg47494.html >>> <https://www.mail-archive.com/weewx-user@googlegroups.com/msg47494.html> >>> where I extracted the following correction formula: >>> >>> outHumidity = extraHumid1 if 'extraHumid1' in locals() else None >>> >> >> Of course! Totally forgot about that solution! >> > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c851daf6-beb2-4136-8f6e-7edc659eb19fn%40googlegroups.com.