Home · Configuration · Tags in your skin · Translating (i18n) · GitHub project
Installation is two independent steps: build and install XTide (the
tide program and its harmonics data), then install the weewx-xtide
extension. Do not proceed to the extension until tide runs.
Execute the following commands (it’s probably easier to save them to a file and run it as a script):
# Install dependencies
sudo apt install build-essential libpng-dev
# Download and install libtcd
cd /tmp
wget https://flaterco.com/files/xtide/libtcd-2.2.7-r2.tar.bz2
tar xf libtcd-2.2.7-r2.tar.bz2
cd libtcd-2.2.7
./configure
make
sudo make install
sudo ldconfig
# Download and build xtide
cd /tmp
wget https://flaterco.com/files/xtide/xtide-2.16.tar.xz
tar xf xtide-2.16.tar.xz
cd xtide-2.16
./configure --without-x --disable-shared CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
make
sudo make install
# Download harmonics data
cd /tmp
wget https://flaterco.com/files/xtide/harmonics-dwf-20251228-free.tar.xz
tar xf harmonics-dwf-20251228-free.tar.xz
cd harmonics-dwf-20251228
sudo mkdir -p /usr/local/share/xtide
sudo cp harmonics-dwf-20251228-free.tcd /usr/local/share/xtide/
# Create conf file
echo "/usr/local/share/xtide" | sudo tee /etc/xtide.conf
Verify that xtide works as the user that WeeWX runs under:
/usr/local/bin/tide -l "Palo Alto Yacht Harbor"
If that prints tide predictions, XTide is ready.
. /home/weewx/weewx-venv/bin/activate
Download weewx-xtide.zip from the latest release on the
releases page.
weectl extension install weewx-xtide.zip
Set location and prog in weewx.conf — see
Configuration.
<weewx-html-directory>/xtide for the tide page.The same weectl extension install upgrades in place; no weewx.conf changes
are needed. Note that upgrading replaces the bundled skin
(skins/xtide/) — if you customized it, save a copy first.