Skip to content

Basic setup

2haloes edited this page May 9, 2018 · 6 revisions

This assumes that you have read and your system meets the requirements

Setting up the weather display is rather simple and doesn't require much technical knowledge

Downloading

First, you will need to download the weather display, this guide will assume being downloaded in the home folder (C:\Users\[USERNAME] or /home/[USERNAME]/) and will try to provide Windows and Linux explanations (Sorry, I don't own or use a Mac)

If you have git installed, you can use
git clone --branch Release-latest https://github.com/2haloes/Weather-Display-Python.git
Or download and unzip from the release
https://github.com/2haloes/Weather-Display-Python/releases/latest
(Or use the direct link below)
https://github.com/2haloes/Weather-Display-Python/archive/1.1.0.zip

Config

In the downloaded files, there should be a file called DarkSkyConfig.py, open this with any text editor (Notepad/Atom/Kate/Gedit ect.) and input the values

Lat and long - This is the location to get information on, there are a few online services that can find the lat and long of a location
Units - This should be fine on auto, the config file contains the details of all of the options
ApiKey - This needs to be obtained from the DarkSky website by signing up as a developer, without this, the program can't get any values
Language - This takes these inputs and changes the language of the summary. By default, it is set to English

Launching

Now, you can load the program, it's likely possible to drag and drop the file into the command line to make things easier

Windows:
python "C:\users\[USERNAME]\Weather Display Python\Weather_display.py"
Linux (check the python command for python 3.x):
python3 "/home/[USERNAME]/Weather Display Python/Weather_display.py"

NOTE: The next section applies to versions below release 1.1.0 (If Weather_Display_gif.py is included then it is below release 1.1.0)

If this results in an obscure odd error, please try the gif version of the program before reporting any issues as the gif version has better compatibility

Windows:
python "C:\users\[USERNAME]\Weather Display Python\Weather_display_gif.py"
Linux (check the python command for python 3.x):
python3 "/home/[USERNAME]/Weather Display Python/Weather_display_gif.py"

After this, it should load and display the current and daily weather

Clone this wiki locally