Logo

dev-resources.site

for different kinds of informations.

Weather Dashboard with 5-Day Forecast and Wi-Fi Menu

Published at
12/30/2024
Categories
raspberrypi
python
Author
blueskyson
Categories
2 categories in total
raspberrypi
open
python
open
Author
10 person written this
blueskyson
open
Weather Dashboard with 5-Day Forecast and Wi-Fi Menu

Image description

Countless people have built weather display projects before, and just showing the current weather can get a little dull. So, I decided to take it up a notch. My weather panel displays the current weather and includes a bar chart showing the 5-day high and low temperatures. On top of that, there's a menu interface for switching Wi-Fi connections.

Hardware setup: Raspberry Pi Zero WH paired with a Nextion NX8048T050 HMI touchscreen display.

Features:

  • Weather data fetching from Open-Meteo API
  • Utilizes GI (PyGObject) and pycairo for network connection management
  • Utilizes Nextion GUI designing commands to draw 5-day weather bar chart
  • Automatic location detection via IPInfo.io API
  • Geocoder for location name resolution via Nominatim API

This project was implemented on Linux using Python. While Python made the development process straightforward, I felt that the approach lacked the feeling of IoT development. I plan to rewrite the code in C/C++. Another plan is to switch the controller to an ESP32 and maybe implement it on a lightweight RTOS.

Demo video: https://www.youtube.com/shorts/vR5DYhlheCI
GitHub: https://github.com/blueskyson/pi-zero-weather

raspberrypi Article's
30 articles in total
Favicon
Nextcloud on Raspberry Pi - Fedora + Podman Quadlets
Favicon
Vecchio RaspberryPi, Nuova HomeLab!
Favicon
Building a Smart Heater Controller with Python, Docker, and Bluetooth #3
Favicon
Building a Smart Heater Controller with Python, Docker, and Bluetooth #2
Favicon
Building a Smart Heater Controller with Python, Docker, and Bluetooth #1
Favicon
How to Install Docker on Raspberry Pi
Favicon
How to SSH into a Raspberry Pi?
Favicon
node.js and docker on raspberry
Favicon
Open source mealie type docker container for recipes
Favicon
Deploy a Node.js Application Using MySQL and Prisma on a Raspberry Pi
Favicon
Getting started with Nix and Nix Flakes
Favicon
How to edit boot config Raspberry Pi 5 USB?
Favicon
Weather Dashboard with 5-Day Forecast and Wi-Fi Menu
Favicon
The Intelligent Disaster Management System with Alternative Energy and AI-Powered
Favicon
How I Leverage Raspberry Pi as a DevOps Engineer
Favicon
How to self-host MongoDB on a Raspberry Pi 4
Favicon
How to Turn a USB-Only Printer into a Wireless Printer Using CUPS and a Raspberry Pi
Favicon
Raspberry Pi project: Install project management software
Favicon
Running Raspberry Pi OS in a Docker Container
Favicon
The Smart House Experience: Crafting Innovation with a Raspberry Pi
Favicon
From Mobile Simplicity to Pi Complexity
Favicon
Setting Up Home Assistant on a Raspberry Pi 3 Model B
Favicon
Create an AP with Network Manager
Favicon
🏠 GPT Home 🤖💬 an Open-source Raspberry Pi Home Assistant!
Favicon
Controlling an LED with a Snap Using the KY-037 Sound Sensor and Raspberry Pi
Favicon
How to Build Your Own Website with a Raspberry Pi: An Entertaining Guide
Favicon
How to self-host Postgres Database on Linux
Favicon
[K8s] A Complete Series of Articles on Kubernetes Environment Locally
Favicon
How to control a Noctua NF-A20 PWM fan from Raspberry Pi (OFF or 20%-100%)
Favicon
Rockchip SoC Roadmap for AI & Vision

Featured ones: