I thought I'd post a link to a pretty flexible installer script for weewx (Simulator mode) that I cooked up.
By simply uncommenting the right line(s) you can:
- install the latest dpkg'd version
- or install from the main git repo, optionally picking even a different branch there
- or the latest tgz released
- or the latest development_versions tgz
- also supports setting debug on or not
- and optionally install pyephem, either via pip or dpkg as desired
- and of course picking python2 or python3 as desired
I've tested it pretty well on a pi4 running Rasbian current (ie, Debian 10.0) so it's good enough to release I think.
Github link is
The comments at the top of the file are probably good enough documentation, but let me know via email if you have questions.
Again, this installs the Simulator, but it could easily be appended to in order to build up a A-Z installer for your site.
- stop weewx
- remove the simulator database
- do the normal steps to switch driver versions etc.
- start weewx
But this does the heavy lifting for you. Takes just a few seconds on a pi4 if you have the prerequisite/corequisite dpkg's installed, but it will install them if needed too.
Enjoy.