chubin / wttr.in

:partly_sunny: The right way to check the weather

Home Page:https://wttr.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Temperature range on custom output

edlime opened this issue Β· comments

I love the custom output for its simple implementation.

c    Weather condition,
C    Weather condition textual name,
x    Weather condition, plain-text symbol,
h    Humidity,
t    Temperature (Actual),
f    Temperature (Feels Like),
w    Wind,
l    Location,
m    Moon phase πŸŒ‘πŸŒ’πŸŒ“πŸŒ”πŸŒ•πŸŒ–πŸŒ—πŸŒ˜,
M    Moon day,
p    Precipitation (mm/3 hours),
P    Pressure (hPa),
u    UV index (1-12),

D    Dawn*,
S    Sunrise*,
z    Zenith*,
s    Sunset*,
d    Dusk*,
T    Current time*,
Z    Local timezone.

JSON output is richer but I don't need most of the parameters and it doesn't support emojis (AFAIK).

I'm looking to display temperature ranges throughout the day like:

Hong Kong: ⛅️ Partly cloudy +13Β°C feels like +12Β°C
TempRange: 8Β°C - 13Β°C
Sunrise: 06:55:11
Sunset: 18:26:11
Moon: πŸŒ•
Wind: β†˜22km/h
Rainfall: 0.0mm
Humidity: 77%

On another topic, I like v2 for the graphical representation of the temperature. It'll be great if it can be supported beyond the terminal with granular parameters, for example, configured to display one day or half day.