==> 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.
- Download the latest version from the project's website
- Place the downloaded zip-file on your device which is running weewx
-
Stop WeeWX:
sudo service weewx stop
-
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
-
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.
- Download the latest version from the project's website
- Place the downloaded zip-file on your device which is running weewx
-
Unzip the file:
unzip neowx-material-latest.zip
-
Stop WeeWX:
sudo service weewx stop
-
Make a backup of your current neowx-material skin directory:
mv /path/to/weewx/skins/neowx-material /path/to/weewx/skins/neowx-material-bak
-
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
-
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
-
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 movedneowx-material-bak
directory. - If you've made any changes to the templates, you may need to redo them.
-
Finally restart WeeWX:
sudo service weewx restart
-
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.