Skip to content

Downgrade

gjr80 edited this page Jul 31, 2024 · 4 revisions

Downgrade Instructions

To downgrade to an earlier release:

  1. Uninstall the currently installed Ecowitt gateway driver (or GW1000 driver) using the weectl utility.

    Note: The exact command syntax to invoke weectl on your system will depend on the installer used to install WeeWX. Refer to Installation methods in the WeeWX User's Guide.

    For WeeWX package installs:

    weectl extension uninstall GW1000 
    

    For WeeWX pip installs the Python virtual environment must be activated before the extension is installed:

    source ~/weewx-venv/bin/activate
    weectl extension uninstall GW1000
    

    For WeeWX installs from git the Python virtual environment must be activated before the extension is installed:

    source ~/weewx-venv/bin/activate
    python3 ~/weewx/src/weectl.py extension uninstall GW1000
    
  2. Locate the Ecowitt Gateway driver version you wish to downgrade to on the Ecowitt Gateway driver Github Releases page. Under the Assets dropdown below the release notes right click on the release package and copy the link to the package.

    Note: The release package is a .tar.gz or .zip file. The .tar.gz file will have the name gw1000-x.y.z.tar.gz where x.y.z is the driver version. The .zip file will have the name gw1000.zip. Each release will have either a gw1000-x.y.z.tar.gz file or a gw1000.zip file, but not both.

    Note: How you copy the release package link will depend on the browser being used.

  3. Install the desired release as per the Installation Instructions above but substitute the link copied at step 1 for the link (https://github.com/gjr80/weewx-gw1000/releases/latest/download/gw1000.zip) used in the Installation Instructions above.

Note: Care should be taken when downgrading to an earlier release as subsequent releases may have entailed enduring changes; for example database schema driver config stanza changes, that are not undone by simply installing an earlier driver version.