Thanks Gary, for the pointer. This makes sense. In fact, it is working now! 
Adding user.lastrain.getRainTags to the existing search_list_extentions in 
the skin.conf of Belchertown.

Now moving it to the weewx.conf, to make it less vulnerable to skin-changes 
of Belchertown.



Op maandag 8 juni 2020 10:59:17 UTC+2 schreef gjr80:
>
> When you extend the search list using a search list extension it is done 
> on a skin-by-skin basis. Have a look in the skin config file for the skin 
> that does work with the search list extension, under [CheetahGenerator] you 
> should find a setting search_list_extensions that is set to a comma 
> separated list of items (there may only be one item), something like:
>
> search_list_extensions = user.apple.a_search_list, 
> user.orange.another_search_list
>
> One of the items will be for your last rain extension (hint the search 
> list name (eg a_search_list) is the same as the class name for the search 
> list extension in the search list .py file (eg user/apple.py)).
>
> To use a search list extension in another skin you need to add the 
> search_list_extensions setting (if not already there) under 
> [CheetahGenerator] in the skin config file for the other skin and set it to 
> use search list extension concerned. If there are already entries against 
> search_list_extensions just add you search list to the list with a commma. 
> For example to use the a_search_list search list extension you would simply 
> add the following line:
>
> search_list_extensions = user.apple.a_search_list
>
> No need to restart WeeWX.
>
> Gary
>
>

-- 
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/2668f16d-175b-4e46-b1e9-f90c0ac700c1o%40googlegroups.com.

Reply via email to