PlugaruT / wingpanel-monitor

System Monitor Indicator for Wingpanel
GNU General Public License v3.0
75 stars 8 forks source link

Update weather #7

Closed daniel-naegele closed 2 years ago

daniel-naegele commented 4 years ago

Hi, I really like your wingpanel monitor, it is really good. But the problem is, that the weather only gets updated, if I click on 'Open Settings'. Would it be possible to periodically update it or set up a cron job to do this?

With kind regards, Butzlabben

PlugaruT commented 4 years ago

Hey, yes, I've noticed this problem and you are right. I am working on a solution for this issue.

PlugaruT commented 4 years ago

I've pushed a fix for this issue. Can you please check and see if it works please.

PlugaruT commented 4 years ago

The weather should get updated every 15 minutes. I am working on a solution to make this value configurable

daniel-naegele commented 4 years ago

It seems to be updating now regularly, but the temperature is not very accurate. What API do you use?

PlugaruT commented 4 years ago

I am using gweather for this. Right now I am working on this to make it more reliable

casasfernando commented 3 years ago

@Butzlabben I forked @PlugaruT 's project to https://github.com/casasfernando/wingpanel-indicator-weather as a dedicated weather indicator, fixed this problem, did some modifications and add a few features (including manual location setting). You can also find a Debian package in the release page for easy installation.

I hope you find it useful, and many thanks for @PlugaruT since his code was a great base to work on.