-
Notifications
You must be signed in to change notification settings - Fork 13
How to add support for a new weewx version
Tom Mitchell edited this page Mar 17, 2016
·
1 revision
To support a new weewx version in the Dockerfile:
-
Copy default weewx.conf from dist to ./conf/default
-
Add a Simulator section (example from weewx 3.5.0): ##############################################################################
[Simulator] # This section for the weewx weather station simulator
# The time (in seconds) between LOOP packets. loop_interval = 2.5 # The simulator mode can be either 'simulator' or 'generator'. # Real-time simulator. Sleep between each LOOP packet. mode = simulator # Generator. Emit LOOP packets as fast as possible (useful for testing). #mode = generator # The start time. If not specified, the default is to use the present time. #start = 2011-01-01 00:00 driver = weewx.drivers.simulator
##############################################################################
-
Change station type to Simulator so the default run works
-
run 'docker build -t mitct02/docker-weewx:
-
If the version is the latest and greatest production version, repeat #5 but use latest as the version number
-
Push the new image to the repo!