Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenWeather built-in widget wrong dispaly of min/max temp #4894

Open
2 tasks done
FeralSmurf opened this issue Jun 21, 2024 · 3 comments
Open
2 tasks done

OpenWeather built-in widget wrong dispaly of min/max temp #4894

FeralSmurf opened this issue Jun 21, 2024 · 3 comments

Comments

@FeralSmurf
Copy link

Issue description

This is my conf.

widget.OpenWeather(
                    location='secret', format='~{main_feels_like:.0f}°{units_temperature}, {main_temp_min:.0f}|{main_temp_max:.0f}°{units_temperature}, {weather_details}, {pressure}hPa, {wind_speed:.0f}km/h, {humidity}%H', fmt='🏙️ {}', app_key='secret'),

everything works fine, except the min/max temp. I get the realfeel, 31 right now, but the min shows as 30 and the max as 32, which is clearly not right, unless min and max mean something else.

Version

latest

Backend

X11 (default)

Config

widget.OpenWeather(
                    location='secret', format='~{main_feels_like:.0f}°{units_temperature}, {main_temp_min:.0f}|{main_temp_max:.0f}°{units_temperature}, {weather_details}, {pressure}hPa, {wind_speed:.0f}km/h, {humidity}%H', fmt='🏙️ {}', app_key='secret'),

Logs

No response

Required

  • I have searched past issues to see if this bug has already been reported, and it hasn't been.
  • I understand that people give their precious time for free, and thus I've done my very best to make this problem as easy as possible to investigate.
@tych0
Copy link
Member

tych0 commented Jun 21, 2024

Is this a qtile bug? I guess that the weather reports are just inaccurate. Or are you saying that qtile is rendering stuff for the wrong location?

@FeralSmurf
Copy link
Author

FeralSmurf commented Jun 22, 2024

Thanks for your reply tych0!

I'm saying the weather reports in the qtile widget are off, yes. NOT a qtile thing, but I figured it was worth mentioning it. Tried different locations, same result, the min and max temps are off.

@saviola777
Copy link
Contributor

unless min and max mean something else.

According to the documentation, this is the case. It's not the daily min/max temperature, but "optional parameters mean min / max temperature in the city at the current moment just for your reference." (How useful this is I cannot really say 😄 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants