Slimelite BBS

yWeather.lha

Back to misc

Show weather infos in screenbar

Size
229K (234,652 bytes)
Added
2026-11-19 22:44
Downloads
2
Long Description
This sbar module, shows the current weather informations for a selected location. Here is a preview, how it looks like http://igracki.de/previews/yWeather.png You will see a small image representing the current weather condition, the temperature and a text. I use the weather information from OpenWeatherMap.org. If you move the mouse over the sbar and wait some seconds, a bubble pops up, showing all available weather informations. If you click with the left mousebutton on it, a popup menu will be opened to manually get new weather infos or checking for an update. Since v1.19, yWeather will check 30 secs after the first sucessfull weather update, if there is an update available. You can change the location in the Screenbar-Settings (right click on the screen-depth gadget, then choose "Settings"). Then click in the City-ID string gadget and enter your location, f.e. "Berlin,DE". After a successfull retrieving of weather infos, the ID is used! The default location is Berlin. You can also change the unit of the temperature to Celsius, Fahrenheit or Kelvin, if you want the wind speed in m/s, the text color, the text format and the update rate how often the weather informations should be trieved (in seconds). Note: The all-info-bubble does not pop up if you didn't have "Mouse actions on inactive windows" checked in Prefs/IControl! Thanks to Nicolas Sallin for finding this. !!! Important !!! Important !!! Important !!! Important !!! Important !!! Since v1.13 yWeather needs its weather-icons in "Sys:Data/Screenbar/yWeather/" instead of "Sys:Data/yWeather/" like in previous versions! !!! Important !!! Important !!! Important !!! Important !!! Important !!! History: ======== New in v1.22: 01-Jan-2021 Fix: Recompiled with a new ECX library module code, which fixes a use-after-free bug New in v1.21: 05-Mär-2019 Fix: Added a workaround for a ParseDate() bug with single day number, f.e "Mon Mar 4 14:02:22 2019" can only be parsed if I remove the double spaces before the "4"! Chg: Displaying of "precipitation" in the All-Info-Bubble wasn't correct, because it seems to be not fully supported/available, its now "<rain|snow|...|n/a> [<value>mm] [<1h|3h|...>]" Fix: the sunrise, sunset and lastupdate date/times are now converted to your local date/time Chg: sunrise and sunset times are now displayed in one line instead of two lines (in the all-info-bubble) Chg: Now a popup-menu will be opened if you press the left mousebutton over its sbar There you can choose to get the weather infos, open the weather forecast (not yet) or check for an update Chg: My sbar was drawn every second, instead only if needed Chg: Check for an update after downloading of weather infos failed 5 times and the sbar was deactivated before it only checked for an update if getting of weather infos succeeded New in v1.20: 10-Jan-2019, v1.20, released Rem: Removed the forecast, will be added later New: Added a Language cycle gadget in the prefs to get the weather data in a specific language Chg: Setting up your location in the prefs changed Chg: Changed the layout of the all-info-bubble a bit, f.e. the titles are now bold 07-Jan-2019 New: added precipitation and cloudiness to the All-Info-Bubble New: Convert the WindName, CondText and Cloudiness from UTF8 to system charset 06-Jan-2019 New: Added Kelvin as temperature unit in prefs/misc Rem: Distance unit is now always meter Rem: Removed WindChill, because OpenWeatherMap doesn't have support for it Rem: Removed support for country name, because OpenWeatherMap doesn't have support the country name, only an abbreviation Rem: Removed "Atmospere/State" value, because OpenWeatherMap doesn't have support for it Chg: "%w" was Wind Chill and is now "Wind name" 05-Jan-2019 Chg: Changed name of the sbar to Your!Weather because I'm now using a different weather providing servi