Ian, Happy to help out re creating an extension. Rather than clogging up this thread I will leave you with a couple of thoughts and then we can take this to wee-development as required.
I guess you have read the section in the Customization Guide regarding extensions - http://weewx.com/docs/customizing.htm#extensions. An extension package is structured in a particular way, and if you are hosting your extension on github you can make life a lot easier for you by structuring your github repo in a similar manner. If you have done it properly your extension package (ie the file a user downloads to install your extension) is simply a zip/tar.gz of your repo. The other key point is the installer (install.py) within your extension that takes care of copying files from the extension package to WeeWX as well as creating/modifying any config settings/stanzas in weewx.conf. My best advice when starting out is to have a look at other extensions, particularly those that are hosted on github. The WeeWX wiki is a good starting point. Matthew (mwall) has a number as do I. Extensions can be a simple as installing just a driver or a custom WeeWX service or as complex as a package with a driver, multiple search list extensions and one or more skins containing multiple templates. Have a look at the respective github repo, in particular its structure and relate that to the contents of the respective install.py. You will pick it up pretty quickly. That should get you started and will probably open up a few questions. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/12e1cd69-5ed0-4ce2-a5a8-558a65719499%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
