user-img

Mirko Pavleski

  • 80 Projects
  • 23 Followers
  • Jan 20,2026
+ Follow

Build a 5-Day forecast Raspberry Pi Weather Dashboard

How to create a professional, full-screen weather dashboard featuring a 5-day forecast and dynamic meteogram using the Elecrow Pi Terminal and Raspberry Pi.

Build a 5-Day forecast Raspberry Pi Weather Dashboard
 
  • thumbnail-img
 

Hardware Components

  • 7 inch Elecrow Pi Terminal

    elecrow
    X 1 fenxiang

Tools, APP Software Used etc.

  • soldering kit

Story

 

  Recently in one of my previous videos,I introduced you to the 7 inch Elecrow Pi Terminal and how to make an SDR radio with it. This time I will present you with a very simple way to make a beautiful weather dashboard with current weather, 5 day weather forecast and 5 day meteogram graph. The original project and idea are from the given github page (https://github.com/infinitel8p/weather-forecast?tab=readme-ov-file) and all the credit goes to the author of this project. 

  I have previously developed many projects in this area, so based on that experience I decided to modify this project in the best possible way. The program is developed in Astro wich is a JavaScript web framework optimized for building websites. I tested the device on the latest Raspberry Pi OS Debian 64bit, but it works great on older 32 bit versions of the OS. 

I performed the development and testing on a Raspberry Pi 5 board and a standard PC monitor, and then I just transferred the SD card to the Elecrow Pi Terminal which uses Raspberry Pi CM4 without any modifications, except for setting the appropriate resolution according to the display.

 Below I will explain in detail how to install and configure the weather dashboard:

    First, we open a Terminal window and clone the project from GitHub with the command:

(git clone https://github.com/infinitel8p/weather-forecast.git)

    This creates a folder named weather-forecast in: /home/pi

  We need to replace certain files with the given ones to make the changes. The files that need to be replaced are:

WeatherChart.jsx

index.astro

and global.css

 

I performed the development and testing on a Raspberry Pi 5 board and a standard PC monitor, and then I just transferred the SD card to the Elecrow Pi Terminal which uses Raspberry Pi CM4 without any modifications, except for setting the appropriate resolution according to the display.

 Below I will explain in detail how to install and configure the weather dashboard:

    First, we open a Terminal window and clone the project from GitHub with the command:

(git clone https://github.com/infinitel8p/weather-forecast.git)

    This creates a folder named weather-forecast in: /home/pi

  We need to replace certain files with the given ones to make the changes. The files that need to be replaced are:

WeatherChart.jsx

index.astro

and global.css

Here we select the Linux OS and run the given script in the Terminal.

 When the installation of the support is complete, we can start the program. 

 In the Weather-forecast folder in the terminal, we write: (npm run dev).

Now, by right-clicking on LOCAL (address), we select open in URL. This opens the program within the browser, and to switch to full screen, we need to press F11.

 Next we insert the prepared micro-SD card into the Elecrow Pi Terminal device and start it. When starting the program and entering data, I use a standard keyboard and mouse, but it is desirable to use a mini Bluetooth keyboard-mouse combination for compactness. In the coming period, I will also create a simple script to start the program automatically when the Operating System starts. In fact, this weather dashboard is a Web-based interface, so the size is automatically adjusted according to the screen resolution. So without modifications, it can be started in fullscreen on displays with different resolutions.

  Now let's see how the device works in real conditions. Immediately after starting the program, data is downloaded from the openweathermap page and displayed on the display. Changes compared to the original are:

- English language instead of German

- Using the Free API key from OpenWeatherMaps instead of the One Call API key which gives more information but is paid

- The most important change is the graph for the next 5 days, unlike the previous one which covered a 24-hour period.

- And small changes in the colors and overall appearance

Now, by right-clicking on LOCAL (address), we select open in URL. This opens the program within the browser, and to switch to full screen, we need to press F11.

 Next we insert the prepared micro-SD card into the Elecrow Pi Terminal device and start it. When starting the program and entering data, I use a standard keyboard and mouse, but it is desirable to use a mini Bluetooth keyboard-mouse combination for compactness. In the coming period, I will also create a simple script to start the program automatically when the Operating System starts. In fact, this weather dashboard is a Web-based interface, so the size is automatically adjusted according to the screen resolution. So without modifications, it can be started in fullscreen on displays with different resolutions.

  Now let's see how the device works in real conditions. Immediately after starting the program, data is downloaded from the openweathermap page and displayed on the display. Changes compared to the original are:

- English language instead of German

- Using the Free API key from OpenWeatherMaps instead of the One Call API key which gives more information but is paid

- The most important change is the graph for the next 5 days, unlike the previous one which covered a 24-hour period.

- And small changes in the colors and overall appearance

I should also mention that the program has two color schemes: daytime, and night (dark blue background) which change automatically depending on whether it is day or night.

 And finally a short conclusion. This is full-screen weather dashboard featuring a 5-day forecast and dynamic meteogram using the Elecrow Pi Terminal and Raspberry Pi. My goal was to create a display where a single glance tells you everything you need to know for the week ahead—from temperature trends to air pressure and precipitation.

 

Code

Build a 5-Day forecast Raspberry Pi Weather Dashboard

How to create a professional, full-screen weather dashboard featuring a 5-day forecast and dynamic meteogram using the Elecrow Pi Terminal and Raspberry Pi.

46
 
2
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 2 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Guaranteed Purchase: Full techsupport