Skip to content

Uninstallation

gjr80 edited this page Aug 1, 2024 · 8 revisions

Uninstallation

Uninstallation of the Ecowitt gateway driver can be completed either manually or automatically using the weectl extension utility. If uninstalling under WeeWX v4 or earlier refer to the legacy WeeWX instructions.

Note: The preferred method of uninstalling the Ecowitt gateway driver is to use the weectl extension utility; however, weectl extension can only be used to remove the Ecowitt gateway driver if the Ecowitt gateway driver was installed using the weectl extension utility. You can check if the Ecowitt gateway driver was installed with the weectl extension utility by using the weectl extension list command:

weectl extension list

If the Ecowitt gateway driver was installed using the weectl extension utility 'GW1000' will be listed as an installed extension.

File locations

As WeeWX file locations vary by system and installation method, the following symbolic name, as per the Where to find things section of the WeeWX User's Guide, are used in this document:

  • BIN_ROOT. The path to the directory where WeeWX executables are saved. This directory is dependent on the type of WeeWX install (eg setup.py or package install).

Uninstallation using the wee_extension utility

To remove the Ecowitt gateway driver using the wee_extension utility:

  • if not already done so confirm the Ecowitt gateway driver was installed using the wee_extension utility:

    $ wee_extension --list
    
  • use the wee_extension utility to uninstall the Ecowitt gateway driver package:

    $ wee_extension --uninstall=GW1000
    
  • edit weewx.conf and:

    • confirm the entire [GW1000] stanza has been deleted, if not delete the [GW1000] stanza in its entirety; and
    • if the Ecowitt gateway driver was used as a WeeWX service confirm the user.gw1000.GatewayService entry has been deleted from the relevant setting under [Engine] [[Services]], if not delete the user.gw1000.GatewayService entry from the relevant setting under [Engine] [[Services]].
  • if the Ecowitt gateway driver was used as a driver use the wee_config utility to select another driver.

Manual uninstallation

To manually uninstall the Ecowitt gateway driver:

  • delete the file gw1000.py from the BIN/user directory
  • edit weewx.conf and:
    • remove the [GW1000] stanza in its entirety
    • if the Ecowitt gateway driver was used as a WeeWX service remove the user.gw1000.GatewayService entry from the relevant setting under [Engine] [[Services]]
  • if the Ecowitt gateway driver was used as a driver use the wee_config utility to select another driver