How to Install WeeWX on Windows 10
WeeWX is a free and open-source weather software platform that you can run on your personal computer. This tutorial will guide you through the steps to install WeeWX on Windows 10.
Prerequisites
Before you start the installation process, make sure you have the following prerequisites:
- Windows 10 PC
- Python 2.7.x or 3.4.x (download from https://www.python.org/downloads/windows/)
- An internet connection
Steps
- Download the latest version of WeeWX from https://weewx.com/downloads/.
- Extract the downloaded WeeWX archive to
C:\weewx. - Open PowerShell as an Administrator.
- Navigate to the WeeWX directory by typing
cd C:\weewxin the PowerShell window. - Type the following command:
python setup.py install
- Wait for the installation process to finish. If it is successful, you should see the following message:
Installed c:\python27\lib\site-packages\weewx-<version>-py2.7.egg
or
Installed c:\python34\lib\site-packages\weewx-<version>-py3.4.egg
depending on the Python version you have installed.
- Now we need to configure WeeWX to work with your weather station. WeeWX comes with a default configuration file that you can use as a starting point. Copy the default configuration file by typing the following command in the PowerShell window:
cp weewx.conf.dist weewx.conf
- Open
weewx.confwith a text editor, and set the values in the[Station]section according to your weather station’s specifications. If you’re using a USB station, type the following lines according to the port it is connected to:
[[SerialPort]]
port = /dev/ttyUSB0
or
[[SerialPort]]
port = COM1
Save and close the
weewx.conffile.Type the following command in the PowerShell window to start WeeWX:
python C:\weewx\bin\weewxd
- You should now be able to access WeeWX by opening a web browser and navigating to
http://localhost:8080/.
Congratulations! You’ve successfully installed WeeWX on your Windows 10 PC. Happy weather tracking!