Seth Ratner schrieb am Donnerstag, 21. Oktober 2021 um 21:27:14 UTC+2:

> How are variables in weewx.conf referenced?


By the variable config_dict you find in __init__. It is a dictionary the 
represents weewx.conf. For Example the section [Station] you find as 
config_dict['Station']. The entry "location" in the [Station] section you 
find as config_dict['Station']['location'].

If you need your own entries, define a section and put your values there. 
Then you can access them via config_dict.
 

-- 
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/8f3975bd-a8d0-4313-bbf5-ae04a8109489n%40googlegroups.com.

Reply via email to