In the Customization Guide (https://www.weewx.com/docs/customizing.htm) it explains the use of skin.conf vs weewx.conf. See Customizing reports | Options | Processing order
Here is the recommendation: "Although it is possible to modify the options at any level, as the user of a skin, it is usually best to keep your modifications in the WeeWX configuration file (weewx.conf) if you can. That way you can apply any fixes or changes when the skin author updates the skin, and your customizations will not be overwritten." I do all my skin.conf additions in weewx.conf so they are not overwritten when the skin or weewx itself is upgraded. I also like having all my modifications in one place instead of scattered around the weewx directory structure. There is a note just above the recommendation that explains the hierarchy differences between the .conf files, specifically "options specified in weewx.conf must use two extra sets of brackets" which is why my example above has more brackets than the original author's example. On Friday, June 2, 2023 at 6:02:32 PM UTC-6 Nate Bargmann wrote: > * On 2023 02 Jun 18:44 -0500, Michael Bruski wrote: > > In reviewing the steps provided by MikeQ above, I see an issue with step > > 3. The search_list_extensions under the [[[CheetahGenerator]]] section > > should not be modified in weewx.conf but in skin.conf. If you don't find > > the search_list_extensions line in that section, just add it. The > original > > author made it clear in his write-up that the METAR data will not be > found > > by the skin unless you call the user.metargenerator.MyMetarSearch > function > > from within the skin. > > > I was indeed adding the extension line in the skin.conf as I already > have an extension for extended statistics in use. > > > Also, the [MetarReport] block is appended at the end > > of the skin.conf file. Notice single square bracket. Your list of > > airports will be encapsulated in double square brackets following the > > section heading. For example: > > > > [MetarReport] > > refresh_interval = 5 > > [[KBOI]] > > [[KONO]] > > ... > > That mirrors what I have near the end of the skin.conf file, after the > ImageGenerator and before the Generators sections. > > I think everything in the skin files was working, the errors originally > seemed to come from some module being called from within > metargenerator.py as the text of the error messages are slightly > different from what is in that file to be sent to syslog. > > - Nate > > -- > "The optimist proclaims that we live in the best of all > possible worlds. The pessimist fears this is true." > Web: https://www.n0nb.us > Projects: https://github.com/N0NB > GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 > > -- 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/f2f3423c-75d0-4409-a0f4-4cb409bf9ac8n%40googlegroups.com.