Weather Script for Hong Kong
On your display
Display current weather using data provided by Hong Kong Observatory
- Topic
- News
- Includes
- Script
Runs on
- Does not run on 32×8 (TC001 & DIY) Made for 52×16 (TC002).
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
It is a quick update from Weather Script by bagrue. Update via Google Gemini for the following
- Modified Weather Source. Script will collect from Hong Kong Observatory instead. No user account or API key is required
- Display Weather Station name. Select via App config
Just a test drive for my 3 hour old TC-002. Added a plain display for weather station name.
Icon jpg needed to be uploaded / installed before script starts. Please download/install to your device via original link
https://awtrix.de/script/QZ0sO0JQb7ut
if needed update weather icon mapping based on HKO info https://www.hko.gov.hk/en/textonly/explain/wxicon.htm
A compact and memory-optimized weather app for AWTRIX NG. The script displays the current outdoor temperature, current weather conditions
Credits
Weather data: Hong Kong Observatory
Weather app: Hank_the_Tank / Codex / bagrue
History
v1.8 - Oct 28 2026
- Fix weather icon mapping with HKO (Reference: https://www.hko.gov.hk/en/textonly/explain/wxicon.htm)
Please go https://awtrix.de/icons or https://awtrix.de/script/QZ0sO0JQb7ut to download icon and rename as hkonn accordingly
v1.7 - Oct 23 2026
- Fix weather icon mapping with HKO (Reference: https://www.hko.gov.hk/en/textonly/explain/wxicon.htm)
- Data Source Indicator. From json it have a cyan line after degree sign. Yellow line means it is from CSV source
v1.4 - 1.6 - Oct 22 2026
- Fix issue on Station "Tsuen Wan Shing Mun Valley"
- Use HKO CSV API if suitable, which provide temp data in 1 decimal point
- fixed the logic to collect temp data when uvindex is also available from data source. This error made King's Park station response as 5.0 instead of 28.0
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.