==> Update <==

Updating this skin is quite easy. A update will replace all files so you may need to redo all changes you've made.

->> Automatic Update <<-

If you've installed this skin as a WeeWX extension you can easily update it via this command as well by just installing the latest version.

Please note that this will override all changes you might have done to this skin. Also the skin.conf might be overridden so make sure your changes are still there after an update. A backup of the skin directory is also always a good idea.

  1. Download the latest version from the project's website
  2. Place the downloaded zip-file on your device which is running weewx
  3. Stop WeeWX: sudo service weewx stop
  4. Run the wee_extension command below.
    If you installed WeeWX via package manager this should be in your $PATH.
    If you installed WeeWX manually, wee_extension is found in weewx's bin directory.
    In most cases: /home/weewx/bin
    wee_extension --install=path/to/neowx-material-latest.zip
  5. Start WeeWX again: sudo service weewx start

->> Manual Update <<-

If you've installed this skin manually or made any changes it's often easier to manually update this skin.

This is done the same way you installed it manually.

  1. Download the latest version from the project's website
  2. Place the downloaded zip-file on your device which is running weewx
  3. Unzip the file: unzip neowx-material-latest.zip
  4. Stop WeeWX: sudo service weewx stop
  5. Make a backup of your current neowx-material skin directory:
    mv /path/to/weewx/skins/neowx-material /path/to/weewx/skins/neowx-material-bak
  6. Move the new skin version to weewx's skin directory. The skin is in some subdirectories:
    mv dist/skins/neowx-material /path/to/weewx/skins/neowx-material
  7. Now the new version of the skin is available to weewx. We can remove the zip file and the dist directory: rm -Rf neowx-material-latest.zip dist
  8. Open the /path/to/weewx/skins/neowx-material/skin.conf and redo any changes there. You can find your old skin.conf in the previously moved neowx-material-bak directory.
  9. If you've made any changes to the templates, you may need to redo them.
  10. Finally restart WeeWX: sudo service weewx restart
  11. Check if everything works fine. If this is the case you can remove the old skin version:
    rm -Rf /path/to/weewx/skins/neowx-material-bak

If the new skin does not work you can always remove the new neowx-material directory and move the neowx-material-bak directory back. Or you can set skin = neowx-material-bak in your weewx.conf to use the old version.