On Sunday, November 19, 2017 at 11:11:38 PM UTC-5, Rod in Edm wrote:
>
> Am I missing something that would prevent such a project, or make it 
> difficult?  Or is this effort already underway by you, Tom, or the weewx 
> user-base?  I appreciate expanding the app may not be in the cards, as 
> doing so might make it bigger and slower than your original plan had in 
> mind.
>>
>>
>>
a gui for managing weewx would be nice, but it should never be part of 
weewx, imho.  you will never be able to write a gui that is as expressive 
as the configuration files.  however, one could fairly easily write a gui 
that could robustly manage the basics, and without breaking with every new 
weewx release.

the gui will need a way to communicate with weewx.  doing that 
cross-platform is not difficult, but definitely not trivial.  one way to do 
it would be a simple weewx service that periodically emits weewx state to 
file(s), or via a restful api.

the basics are easy - latest loop data, n-latest records, which uploaders 
are enabled, which skins are enabled, which extensions are installed.

it gets tricky when you have to do parameters for each extension.  or even 
for each driver.  you'll need a generic way to map configuration parameters 
to gui elements, without having the gui look like a generic config editor.

like i said at the start, i would start with just the basics, and use the 
gui for start/stop/status rather than trying to tweak every possible config 
option through the gui.

btw, i find the wviewmgmt pages rather archaic - mark copied the look and 
feel of the old wrt54 (now linksys) routers, a design that was rather 
cumbersome even in its prime.  when i wrote the exfoliation skin for wview, 
i also started a rewrite of the wview configurator and mgmt gui.  way too 
brittle!

you could do much more now with a simple bootstrap/jquery interface, or 
even with an openwrt lua-based ui.

m 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to