![weather display clock weather display clock](https://m.media-amazon.com/images/I/51Ibsu0yhDS._SL1200_.jpg)
The weather data displayed by rpi_clock is retrieved from the weather JSON file which is taken from OpenWeatherMap. Restart raspberry pi by using the followong command:Īfter reboot, the following data should be displayed on the screen: Save the changes and exit the nano editor. Save changes and exit the nano editor ( “Ctrl”, “O” then “Enter” to save and “Ctrl”, “X” to exit.)Įdit the file $HOME/.profile and add the following line to the end of the file “(cd $HOME/rpi_clock/bin python3 rpi_clock.py rpi_clock.cfg 2>&1 > $HOME/rpi_clock.log) &” OWM_API_KEY = Your Open Weather Map API key Write the following information in the opened configuration file. Open a new terminal or exit the root user and run the following commands.Įdit the configuration file of rpi_clock by using the following command: The installation of the weather tool rpi_clock can be started now, after we have completed the installation of the pre-required software packets as shown above. Installation of the weather tool rpi_clock python3-tk and dependencies, including tk, tcl, and libx11īy using the following command run on a terminal:.Installation of pre-required software on raspberry piįirst, switch to the root user and update raspbian operating system using the following commands run on terminal. Set raspberry pi to start in Desktop without entering credentials like shown below.Once logged in, the key can be copied and used later. OpenWeatherMap API key, which can be created automatically by opening a free account by the official website of openweathermap.This key will be used to get weather data.
![weather display clock weather display clock](https://windows-cdn.softpedia.com/screenshots/Solar-World-Clock_2.png)
![weather display clock weather display clock](https://www.dontwasteyourmoney.com/wp-content/uploads/2019/12/marathon-wall-clock-with-temperature-weather-monitoring-clock.jpg)
#WEATHER DISPLAY CLOCK INSTALL#
If it is not the case, you can install it like described in this link. Usually, Raspbian should be already installed on the microSDHC card, if purchased together with Raspberry Pi. Raspbian operating system installed on the microSDHC.Capacitive 5 inch HDMI touch screen monitor – 800 x 400 HD-LCD screen.Raspberry pi inclusive microSDHC and Micro USB Power Adapter 2A – 5V.The “Humidity” and “weather icon” have been added to the implementation. This original program displays “Date & time”, “temperature” and “weather description” without weather icon. The used weather program has been originally downloaded from the rpi_clock github. The following weather parameters will be displayed:
#WEATHER DISPLAY CLOCK HOW TO#
This tutorial shows how to use raspberry pi to show weather parameters on a touch screen connected to it.