-
Notifications
You must be signed in to change notification settings - Fork 100
Upgrading
Nick Horvath edited this page Mar 24, 2019
·
17 revisions
This page assumes you have a current running installation of sprinklers_pi. If not, follow the Installation instructions.
NOTE: If you are upgrading from version 1.0.1 please note that upgrading will erase your settings and load the default settings. BE FOREWARNED. Upgrading from version 1.0.3 onward will not require reloading settings. The version number is located in the lower left corner of the home page
- Stop your existing sprinklers_pi process:
sudo /etc/init.d/sprinklers_pi stop
- Backup your current settings (optional, but recommended):
cd /usr/local/etc
sudo tar czf spinklers_pi.bak.tgz sprinklers_pi
- CD back to a place to download, unpack, and build. eg. ~/src
4.Download the latest source tarball:
wget https://github.com/rszimm/sprinklers_pi/archive/v#.#.#.tar.gz
Where #.#.# is the latest version from here: https://github.com/rszimm/sprinklers_pi/releases/latest - Unpack the source tarball:
tar -xzvf v#.#.#.tar.gz
- Apply any changes you previously had to config.h
- Build and install the module:
cd sprinklers_pi-#.#.#
make clean
make
sudo make upgrade
You're done!
You may need to clear your browser cache after the upgrade. In some browsers you can do this quickly by doing a "hard refresh" by pressing Ctrl+Shift+R. If that doesn't work try one of these options:
- In chrome you do this by pressing Ctrl-Shift-Delete, make sure the "empty the cache" checkbox is checked, and click "Clear Browsing Data".
- On IE, press Ctrl-Shift-Delete and make sure 'Temporary Internet Files and website files" is selected. On the iPhone you do this in the Settings->Safari window.
- On other browsers look in the menu mentioning clearing browser data or cache.