A Weather display and Clock on the Pimoroni Galactic Unicorn https://talktech.info
Find a file
2025-07-08 17:27:33 +01:00
.gitignore Initial commit 2023-12-03 14:00:54 +00:00
01d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
01n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
02d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
02n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
03d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
03n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
04d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
04n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
09d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
09n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
10d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
10n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
11d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
11n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
13d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
13n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
50d.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
50n.jpg Add Weather Icons 2023-12-03 14:07:09 +00:00
IMG20231203143608~2-EDIT.jpg Example 3 2023-12-03 14:41:16 +00:00
IMG20231203143608~2.jpg Example 2 2023-12-03 14:39:02 +00:00
IMG_20231202_161041-EDIT.jpg Example Display 2023-12-03 14:02:49 +00:00
LICENSE Create LICENSE 2024-01-07 11:57:09 +00:00
main.py Update main.py 2024-01-01 13:03:10 +00:00
README.md Testing commit 2025-07-08 17:27:33 +01:00
secrets.py Update secrets.py 2023-12-03 17:52:11 +00:00

#New

GU_WeatherClock

A Weatrher display and Clock on the Pimoroni Galactic Unicorn Example Example

Usage

Upload everything (example example images) to your Galactic Unicorn (Using Thony or your choice of tools)

Edit main.py

Line 32 & 33:

city = 'MARS'
country_code = 'UK'

Add your city and country

Get your API key from https://home.openweathermap.org/api_keys

Edit secrets.py with your WIFI details and your Open Weather Map API Key

WIFI_SSID = 'YOUR SSID'
WIFI_PASSWORD = 'YOURPSK'
WIFI_COUNTRY = 'GB'
API_KEY = 'APIKEY'

In Use

Whilst the screen is active press the LUX + and - keys (bottom right back) of the display to change the brightness


Special thanks goes to the original icon author https://www.dovora.com/resources/weather-icons/


Get your display from Pimoroni : https://shop.pimoroni.com/products/space-unicorns?variant=40842033561683