Where to find things¶
Location of WeeWX components¶
Here is a summary of the layout for the different install methods, along with the symbolic names used for each component. These names are used throughout the documentation.
Component | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
/etc/weewx/ |
Skins and templates | SKIN_ROOT |
skins/ |
User directory | USER_ROOT |
bin/user/ |
Examples | EXAMPLE_ROOT |
examples/ |
Executables | BIN_ROOT |
/usr/share/weewx/ |
SQLite databases | SQLITE_ROOT |
/var/lib/weewx/ |
Web pages and images | HTML_ROOT |
/var/www/html/weewx/ |
Documentation | https://weewx.com/docs |
Component | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
/etc/weewx/ |
Skins and templates | SKIN_ROOT |
skins/ |
User directory | USER_ROOT |
bin/user/ |
Examples | EXAMPLE_ROOT |
examples/ |
Executables | BIN_ROOT |
/usr/share/weewx/ |
SQLite databases | SQLITE_ROOT |
/var/lib/weewx/ |
Web pages and images | HTML_ROOT |
/var/www/html/weewx/ |
Documentation | https://weewx.com/docs |
Component | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
/etc/weewx/ |
Skins and templates | SKIN_ROOT |
skins/ |
User directory | USER_ROOT |
bin/user/ |
Examples | EXAMPLE_ROOT |
examples/ |
Executables | BIN_ROOT |
/usr/share/weewx/ |
SQLite databases | SQLITE_ROOT |
/var/lib/weewx/ |
Web pages and images | HTML_ROOT |
/var/www/html/weewx/ |
Documentation | https://weewx.com/docs |
Component | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
~/weewx-data/ |
Skins and templates | SKIN_ROOT |
skins/ |
User directory | USER_ROOT |
bin/user/ |
Examples | EXAMPLE_ROOT |
examples/ |
Executables | BIN_ROOT |
varies (see below) |
SQLite databases | SQLITE_ROOT |
archive/ |
Web pages and images | HTML_ROOT |
public_html/ |
Documentation | https://weewx.com/docs |
Note
In the locations above, relative paths are relative to WEEWX_ROOT
.
Absolute paths begin with a forward slash (/
). The tilde character
(~
) represents the HOME
directory of the user.
Location of log files¶
In the default configuration, WeeWX sends log messages to the system logging facility. On some systems, the log messages end up in files that you can browse as you would any other file. On other systems you will have to use tools provided by the operating system to see the log messages.
See the section Monitoring WeeWX.
Location of executables in a pip install¶
This is something you are not likely to need, but can occasionally be useful. It's included here for completeness. If you use a pip install, the location of the executables will depend on how the installation was done.
Install method | Commands | Location of executables |
---|---|---|
Virtual environment (recommended) |
python3 -m venv ~/ve source ~/ve/bin/activate pip3 install weewx |
~/ve/bin/ |
pip no sudo with --user |
pip3 install weewx --user |
~/.local/bin/ |
pip no sudo no --user |
pip3 install weewx |
~/.local/bin/ |
pip with sudo (not recommended) |
sudo pip3 install weewx |
/usr/local/bin/ (1) |
Virtual environment with --user (not allowed) |
python3 -m venv ~/ve source ~/ve/bin/activate pip3 install weewx --user |
N/A |
(1) Checked on Ubuntu 22.02 and Rocky v9.1