> On Feb 25, 2026, at 13:10, Vince Skahan <[email protected]> wrote:
> 
> Would some kind of utility to permit simple edits of 'any' item in weewx.conf 
> be of any value to think about ?

how about start with a validator?  invoke it something like this:

weectl config validate [/path/to/config.conf]

it would first try to load the file using configobj.  if that fails, try to 
explain why (if the configobj messages are not obvious enough).  if that 
succeeds, then run through a list of sanity checks, like having a lat/lon 
somewhere in the ocean, etc.

it should work with a weewx config file and/or a skin config file.

a validator could then be used by any weewx gui that might be developed, or 
just as something else to help someone figure out what is wrong.

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/D43784CB-3F26-48F8-9440-AE3DE09F2C54%40gmail.com.

Reply via email to