This program is a Simple Weather-Station written in Python. It can measure the humidity and temperature from outside (via OpenWeatherMap) and it can measure the humidity and temperature from a DHT11 Sensor (on Raspberry Pi)
- Measure Temperature & Humidity from Outside (via OpenWeatherMap) (Outdoor Mode)
- Measure Temperature & Humidity from Inside (DHT11 with RPi) (Indoor Mode)
- Show a fitting icon to the weather from outside (Sunny Weather --> Sun Icon ; Rainy Weather --> Rain Icon)
- Fullscreen Mode (after you press the "Exit Fullscreen" Button you wont be able to open the fullscreen again until you restarted the script)
- Exit Button for closing the program
- Error Handling (No Internet connection = Error Box)
- An easy to use GUI with Tkinter
- Live Clock
- Disclaimer: You wont be able to use the Indoor mode in Windows.
- Download and Install the newest version of Python3
- Open the command prompt and type:
python -m pip install Pillow - Then type(If not installed):
python -m pip install requests - ^ :
python -m pip install json - Then, you need to register on the OpenWeatherMap Website
- Then, go to "Profile > API Keys and copy the long API key. (it contains random numbers and letters)
- Open the Script in any text editor and paste the copied API Key into the
tokenvariable - In the script, edit the variable
cityfor any city you want to get the data from - Run the script
- Press the
Show databutton to show the data
- Disclaimer: You wont be able to use the Indoor mode in Linux Computers EXCEPT the Raspberry Pi with a DHT11.
- Open the terminal and type:
sudo apt-get update -y && sudo apt-get upgrade -y - Download and Install the newest version of Python3:
sudo apt-get install python3 - Open the command prompt and type:
sudo pip3 install PillowORsudo python -m pip install Pillow - Then type(If not installed):
sudo pip3 install requestsORsudo python -m pip install requests - ^ :
sudo pip3 install jsonORsudo python -m pip install json - Then, you need to register on the OpenWeatherMap Website
- Then, go to "Profile > API Keys and copy the long API key. (it contains random numbers and letters)
- Open the Script in any text editor and paste the copied API Key into the
tokenvariable - In the script, edit the variable
cityfor any city you want to get the data from - Run the script
- Press the
Show databutton to show the data - FOR RASPBERRY PI ONLY: For Indoor Data, click on the options menu and choose
Indoor
... to run the script and get correct data
