DonationCoder.com Forum

DonationCoder.com Software => DC Member Programs and Projects => Skwire Empire => Topic started by: skwire on March 02, 2011, 01:04 PM

Title: Release: sWeather (tray-based weather app)
Post by: skwire on March 02, 2011, 01:04 PM
Name sWeather
Short Description Tray-based weather app featuring multiple location support.  Tray icons for conditions and temperature (optional).  Tray icons and images are customizable.  Weather data is provided by Yahoo! Weather (http://weather.yahoo.com).
Supported OSes Windows 7.  Probably works, but not tested, on Windows XP/Vista/8/10
Website http://skwire.dcmembers.com/fp/?page=sweather (http://skwire.dcmembers.com/fp/?page=sweather)
Download Link Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
Author Jody Holmes - Skwire Empire (http://skwire.dcmembers.com)

[ You are not allowed to view attachments ]

[ You are not allowed to view attachments ]

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on March 03, 2011, 10:19 AM
Love it!  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 03, 2011, 10:27 AM
And, yes, Codyville is an actual city in Maine.  If Allen ever gets Cody sent to him...   :P

http://en.wikipedia.org/wiki/Codyville
Title: Re: Release: sWeather (tray-based weather app)
Post by: cranioscopical on March 03, 2011, 03:03 PM
Good name  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: techidave on March 03, 2011, 03:19 PM
Sweet!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 03, 2011, 03:32 PM
WOW!  :Thmbsup:

This is great. At first I thought, Hey, my Windows 7 has a gadget that does that, why would I need sWeather???

But, experimenting away a bit, and finding the WOEID (even very close to the place I live!) and now actually seeing all the extra info I don't get from the Windows gadget, I think I have to toss out that gadget. THIS IS MUCH BETTER! :-* :-*

(And it is quite chilly in Codyville atm, -9 C)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 03, 2011, 03:55 PM
Thanks, folks.  :)  The "s" is sWeather stands for "simple" so there are no plans to add extra stuff like alerts, maps, etc.  I want to keep this at one small dialog.  About the only thing I would increase the size of the main dialog for would be a small five-day forecast.  Unfortunately, Yahoo! do not include that data in the RSS feeds that power this app.

If anybody creates a new set of icons/images for this app, I'd be happy to include it in the zip.  Keep in mind that each part of sWeather's theme is separate so you don't have to create all three parts.  The three parts are:


You can find the condition codes here: http://developer.yahoo.com/weather/#codes

Study the contents of the /images folder and you'll get the idea; it's pretty simple.  If you use somebody else's images, please be sure to attain permission.  Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 03, 2011, 04:34 PM
there are no plans to add extra stuff like alerts, maps, etc
There are just a few small things I'd like to ask, like an auto-refresh feature for the weather (or is it already there but the interval > 30 minutes?, a configuration setting would be nice) and a sort of non-offscreen check for the Options and About windows, as I've put the main window in the right-bottom of my screen (though that may change) and these other windows are half-invisible because they are placed relative to the main window.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 03, 2011, 04:40 PM
There are just a few small things I'd like to ask, like an auto-refresh feature for the weather (or is it already there but the interval > 30 minutes?

I suppose I should mention this somewhere.  The interval is one hour since that's as often as Yahoo! Weather is updated.  That being said, there are two ways to force a refresh: switching locations & the tray menu.  I should add a refresh text on the main dialog, too, eh?  =]

a configuration setting would be nice) and a sort of non-offscreen check for the Options and About windows, as I've put the main window in the right-bottom of my screen (though that may change) and these other windows are half-invisible because they are placed relative to the main window.

I'll consider this.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 03, 2011, 04:48 PM
Thanks, I have DcUpdater installed, so I should get it as soon after you release that :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: kwacky1 on March 04, 2011, 07:33 AM
Nice one skwire (yet again  :D)

Unfortunately Yahoo Weather don't have weather for my part of the world*  :'(

*Note: The closest city to me in Yahoo Weather is a measly 60km away, however due to the difference in elevation  (~400m) it might as well be another world away.



Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 04, 2011, 07:54 AM
Thanks, kwacky1.  Sorry to hear about the location issue.  Which weather service do you normally use?  I may change up sWeather to use weather.com or some other site.
Title: Re: Release: sWeather (tray-based weather app)
Post by: hamradio on March 04, 2011, 11:31 AM
Nice and also...

You could also probably make a National Weather Service version based on files located:

http://www.weather.gov/rss/

The "Observed Conditions" suggested pickup is 15 mins after the hour every hour according to the xml source for the one I looked at.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 07, 2011, 02:00 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.2 - 2011-03-06
    + Added "Refresh data" functionality to the main form.
    * Changed next/previous controls from text to images.
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 07, 2011, 05:55 PM
@skwire

Link to "Full forecast" does not work.

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 07, 2011, 06:03 PM
Would you mind PM'ing me your WOEID?
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 07, 2011, 06:06 PM
Also, configuring sWeather to use metric units shows results in non-metric (Fahrenheit °F) scale and when this option left unchecked, the results are in metric units (Celsius °C).
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 07, 2011, 06:09 PM
Would you mind PM'ing me your WOEID?

Does not work with other (non-US) locations. I tried Amsterdam, Hong Kong, Budapest, and Tokyo.
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 07, 2011, 06:18 PM
Also, configuring sWeather to use metric units shows results in non-metric (Fahrenheit °F) scale and when this option left unchecked, the results are in metric units (Celsius °C).

Forget this. It works fine.  :-[
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 07, 2011, 08:08 PM
Does not work with other (non-US) locations. I tried Amsterdam, Hong Kong, Budapest, and Tokyo.

Works fine for me with the one you provided via PM.  Do you not have a default browser set?
Title: Re: Release: sWeather (tray-based weather app)
Post by: worstje on March 08, 2011, 04:54 AM
I got it to crash by adding my location and removing the standard location which was selected. After that, the Location menu showed both places checked, and by clicking around a bit on them I eventually got it to crash without managing to have it show the forecast for my location. On the other hand, all worked fine after the reboot, except for my location getting cut off on the main window which looks ugly.
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 08, 2011, 05:12 PM
Does not work with other (non-US) locations. I tried Amsterdam, Hong Kong, Budapest, and Tokyo.

Works fine for me with the one you provided via PM.  Do you not have a default browser set?

You are correct. I use a few portable browsers, none set as a default.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 08, 2011, 07:29 PM
You are correct. I use a few portable browsers, none set as a default.

I'll change the code so, at least, it doesn't error anymore.  However, that's still not going to make it work for you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 09, 2011, 01:29 AM
Wouldn't using the Windows standard internet/proxy settings be the right way to go here? Some of the browsers (IE, Chrome) use these settings to connect to the internet as well, AFAIK.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Pattern-chaser on March 09, 2011, 05:41 AM
I wonder why my installation of sWeather shows two tray icons? Is there a way to get just one? [Installed on a Vista PC.]
Title: Re: Release: sWeather (tray-based weather app)
Post by: worstje on March 09, 2011, 06:20 AM
You can get rid of one of them in the settings dialog. (I don't remember which one that is though.) The other always sticks around to my knowledge.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Pattern-chaser on March 09, 2011, 06:38 AM
Oops! I thought I'd looked for that, but I obviously wasn't looking properly. Thanks, worstje!  :)

Just in case there's any doubt: sWeather is a useful little utility, which I shall continue using.  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 09, 2011, 10:55 AM
I wonder why my installation of sWeather shows two tray icons? Is there a way to get just one? [Installed on a Vista PC.]
-Pattern-chaser (March 09, 2011, 05:41 AM)

It should show two icons; one for the current conditions and one for the current temperature.  You can disable the temperature icon in the Options dialog.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 10, 2011, 07:21 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.3 - 2011-03-10
    ! Locations would be gone if you closed out the Options dialog using the
      close button.  Trying to get back into Options at that point would result
      in an error.  (Thanks, lanux128 & worstje)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 14, 2011, 10:20 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.4 - 2011-03-14
    + Added an expanded view that shows all of your locations' data in a
      listview.  You can access this via the Options menu, the table button on
      the main form or the F2 hotkey.  Double-clicking a row in the listview
      will launch the full forecast for that location.
    + Added Options button on the main dialog.


Expanded view sample:

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on March 14, 2011, 10:36 PM
that is a super cool feature.  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: lanux128 on March 15, 2011, 12:01 AM
yup, the expanded view is cool! :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Jibz on March 15, 2011, 02:54 AM
Is there a start minimized option somewhere?

Would it be possible to show sunrise and sunset in 24h format (or whatever the local way is)?

The control showing the location on the main dialog appears not to be high enough, at least when I enter the city name "Århus", the small circle above the 'A' is not showing.

Excellent application :Thmbsup:.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 15, 2011, 08:46 AM
Is there a start minimized option somewhere?

Check out the latest version.   :)

The control showing the location on the main dialog appears not to be high enough, at least when I enter the city name "Århus", the small circle above the 'A' is not showing.

I think this is a limitation of Yahoo! Weather since they don't have the circle on the full forecast page either.
http://weather.yahoo.com/denmark/midtjylland/arhus-552015/

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.5 - 2011-03-14
    + Added "Start minimized" option.  (Thanks, Jibz)
    ! Alt-tab icon was pixelated.  (Thanks, lanux128)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Jibz on March 15, 2011, 08:55 AM
Check out the latest version.   :)

Thanks :up:.

The control showing the location on the main dialog appears not to be high enough, at least when I enter the city name "Århus", the small circle above the 'A' is not showing.

I think this is a limitation of Yahoo! Weather since they don't have the circle on the full forecast page either.

Ah I see. I thought the location name you entered when adding the weather ID was what was displayed there, but I can see it is the name you get from yahoo instead.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 15, 2011, 12:46 PM
Nice table of useful information that you added, thanks.

1 request: Can the column widths be saved? The window size and position seem to be saved, but all adjusted columns are back to default width when re-opening the view.
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 21, 2011, 06:54 PM
A minor request (I hope)... when clicking on the 'Full Forecast' link (from the main Window or the 'Expanded View' one), it takes you to the 'Forecast' page for your location but the unit is Fahrenheit. To see the forecast in Celsius requires another click  :(

Could you make sWeather adjust the link depending on the temperature unit?

Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 21, 2011, 09:36 PM
A minor request (I hope)... when clicking on the 'Full Forecast' link (from the main Window or the 'Expanded View' one), it takes you to the 'Forecast' page for your location but the unit is Fahrenheit. To see the forecast in Celsius requires another click  :(

The problem is that the forecast link that Yahoo provide in the RSS feed is an older link leading to a "301 Moved Permanently" page which then follows through to the new webpage location.  That's why you see the page change.  I wrote some code to follow it and get the new page (which I can manipulate for the proper temperature units) but it tends to hang up the app and I can't figure out why.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Antonimo on March 30, 2011, 04:28 AM
Very nice app - Only "issue" that I have noticed is that the special characters used in my town's name is displaying very strangely.

The letter - ö - is displaying as ö

In working with websites, this is an issue with character sets. Although it does not affect the function of the app, it does look a little strange like this.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 30, 2011, 07:52 AM
Would you mind posting your WOEID (or in a PM to me)?  I'll try to make a Unicode build work for you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 30, 2011, 02:35 PM
Here you go, Ath & Antonimo:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.6 - 2011-03-30
    + Added Unicode build.  Users on Win2k and below will need to use the
      sWeather_ANSI.exe now.
    + Expanded view now saves column order and widths.  (Thanks, Ath)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Antonimo on March 31, 2011, 12:31 AM
Thank you very much - this a superb app.

I have never bothered with weather apps before because Yahoo never had the data for my town. Now they do and the ANSI version displays my town name correctly.

I am very happy :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 31, 2011, 12:34 AM
The ANSI version does???  Did you mean the Unicode version?
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 31, 2011, 03:38 AM
@skwire

Thank you for v1.0.6. Works as advertised  :Thmbsup:

(BTW, some of the images sub-folders contain Thumbs.db files)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 31, 2011, 03:43 AM
Thank you for v1.0.6. Works as advertised  :Thmbsup:
(BTW, some of the images sub-folders contain Thumbs.db files)

Nice, thanks for the feedback.  I cleaned out the download archive as well.  I appreciate it.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Antonimo on March 31, 2011, 12:21 PM
The ANSI version does???  Did you mean the Unicode version?

You're right - I did mean the Unicode version.

Actually, both of the executables display the name correctly. I did a CRC check on both executables and from the results they look identical. The Help > About shows that they are both the Unicode version though.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 31, 2011, 02:29 PM
Gah, that's completely my fault.  My build file was incorrect.  I've since uploaded a new archive with the correct executables in it.  Thanks for catching that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: PhilB66 on March 31, 2011, 05:47 PM
sWeather Website still shows v1.0.4 - 2011-03-14. The Empire needs an assistant!  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 31, 2011, 06:00 PM
sWeather Website still shows v1.0.4 - 2011-03-14.

Fixed, thank you.  I wish I could find a way to automate that. 

The Empire needs an assistant!  :D

I need to hire one of my unwashed minions.  Cranio??  Hehehehehe.   :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: cranioscopical on March 31, 2011, 06:41 PM
I need to hire one of my unwashed minions.  Cranio??

You can't soft-soap me!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on April 02, 2011, 11:12 AM
I found a minor glitch on sWeather's Expanded view. The statusbar of the Expanded view always shows the same 'Current conditions as of:' of 1 of the items in the list, but not of the selected one. Haven't determined how it selects the displayed information, but probably the first item in the list.
It then also shows the same (wrong in my case) statusbar info in the main window, as soon as I move the mouse over it. But that could be a 'feature' of the underlying programming environment.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 02, 2011, 04:36 PM
Actually, that expanded view isn't supposed to have anything in its statusbar.  I'll fix it.
Title: Re: Release: sWeather (tray-based weather app)
Post by: techidave on April 02, 2011, 08:01 PM
Just downloaded and installed today on my laptop.  I read where Yahoo doesn't update any oftener than one hour.  I noticed if I do a manual refresh by right clicking the tray icon, it still doesn't update.

is this by design?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 02, 2011, 09:29 PM
sWeather will refresh each hour after it starts.  Yahoo! usually update their weather feeds around five minutes to the hour.  So, your refresh was probably before Yahoo! updated their feeds.  In other words, doing a manual refresh within sWeather does not force Yahoo! to update their weather information.  Does that make sense?
Title: Re: Release: sWeather (tray-based weather app)
Post by: techidave on April 02, 2011, 09:30 PM
yes it does.  thanks for the update!  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: kwacky1 on April 03, 2011, 09:07 AM
Thanks, kwacky1.  Sorry to hear about the location issue.  Which weather service do you normally use?  I may change up sWeather to use weather.com or some other site.

Hmm, localised versions perhaps? http://www.weatherzone.com.au/   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 03, 2011, 10:48 AM
Hmm, localised versions perhaps? http://www.weatherzone.com.au/

From the ToS on their RSS feeds:

The feeds must not be used for any other purpose (including widgets and
other applications) without the express permission of Weatherzone.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kwacky1 on April 03, 2011, 11:36 PM
Hmm, localised versions perhaps? http://www.weatherzone.com.au/

From the ToS on their RSS feeds:

The feeds must not be used for any other purpose (including widgets and
other applications) without the express permission of Weatherzone.

Oh well, I've asked for permission, we'll see what they say  :tellme:
Title: Re: Release: sWeather (tray-based weather app)
Post by: kwacky1 on April 04, 2011, 04:07 AM
Hmm, localised versions perhaps? http://www.weatherzone.com.au/

From the ToS on their RSS feeds:

The feeds must not be used for any other purpose (including widgets and
other applications) without the express permission of Weatherzone.

Oh well, I've asked for permission, we'll see what they say  :tellme:

Here you go skwire, I asked them if we could use the feeds in your sWeather application, let me know if you want me to forward you the email.

Yes, this is fine, as long as there is clear attribution to Weatherzone as the source of your data.

Matt Pearce
Chief of Television Services
Head Meteorologist
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 04, 2011, 05:48 AM
Here you go skwire, I asked them if we could use the feeds in your sWeather application, let me know if you want me to forward you the email.

This would be a private custom version just for you since that sites's RSS feeds are COMPLETELY different from Yahoo's.  In other words, I don't want to have to redo the entire sWeather interface to support multiple sites.  Hahaha...is it possible to hack one's own program?   ;D

Anyway, post or PM your location ID or town code/name that you use for that site.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: kwacky1 on April 04, 2011, 06:15 AM
Here you go skwire, I asked them if we could use the feeds in your sWeather application, let me know if you want me to forward you the email.

This would be a private custom version just for you since that sites's RSS feeds are COMPLETELY different from Yahoo's.  In other words, I don't want to have to redo the entire sWeather interface to support multiple sites.  Hahaha...is it possible to hack one's own program?   ;D

Anyway, post or PM your location ID or town code/name that you use for that site.   :)

Thanks for the offer skwire, but I don't want you to go to the trouble just for me.

kwacky1  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on April 05, 2011, 05:29 AM
Trying out v1.0.6 build 1 (Unicode build) here and noticed that sometimes after waking from hibernation I see the following sort of thing in the notification area (is that an appropriate term?):

[ You are not allowed to view attachments ]

When I double-click on the right-hand icon, I typically see a window like:

[ You are not allowed to view attachments ]

Is this to be expected?

When trying to reproduce the situation, I think I had more luck if I waited a while before waking the PC from hibernation.

Thanks for your ongoing efforts  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 05, 2011, 09:26 AM
That's the result of sWeather not having an internet connection.  I really ought to clean it up a bit or notify the user in some way.  When you come out of hibernation and see that, does it work properly when you click the refresh button/glyph (or use the tray menu to refresh)?
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on April 05, 2011, 09:19 PM
When you come out of hibernation and see that, does it work properly when you click the refresh button/glyph (or use the tray menu to refresh)?
I tried both and they both seemed to work.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 03, 2011, 06:12 PM
A minor point of confusion:

[ You are not allowed to view attachments ]

On a number of occasions when I go to look for the refreshing functionality in the main window, I end up looking through the menus and then (perhaps lamely) wonder how to refresh.  Somehow at first I thought each of the buttons were associated with items to their left (even though they don't really line up) and thus dismissed the possibility of the desired functionality being available via one of them.

I was thinking it might be a bit clearer if there were some border around the buttons or if the buttons were displayed more like a vanilla toolbar (though may be there's some downside to that?).

Does this seem pointless?
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 04, 2011, 12:58 AM
I really ought to clean it up a bit or notify the user in some way.
Heh heh.  Any word on this?

FWIW, I've nearly put together a utility to restart sWeather when my notebook resumes.  It uses code from:

http://www.autohotkey.com/forum/topic21697.html (http://www.autohotkey.com/forum/topic21697.html)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on May 04, 2011, 02:13 AM
I was thinking it might be a bit clearer if there were some border around the buttons or if the buttons were displayed more like a vanilla toolbar

+1
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 04, 2011, 09:05 AM
I was thinking it might be a bit clearer if there were some border around the buttons or if the buttons were displayed more like a vanilla toolbar (though may be there's some downside to that?).

When I first added them, I tried using the toolbar library but I could not get it displaying properly in a vertical configuration like that.  I then tried it with regular button controls but I didn't like the way it looked (though it worked fine).  Finally, I went with just the glyphs but I did add the status bar text when you hover over them in an attempt to clarify what they do.  At any rate, what are your thoughts on this:

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 04, 2011, 09:09 AM
Thanks for the background info -- I should patch myself to pay attention to status bar info more :)

I think the vertical separator is an improvement  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on May 04, 2011, 10:31 AM
I think the vertical separator is an improvement  :Thmbsup
+1 (again ;))
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 07, 2011, 10:35 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.7 - 2011-05-07
    + Cosmetic GUI change.  (Thanks ewemoa)
    + Added "Refresh weather data" entry to the Options menu.
    + Added F5 hotkey to refresh weather data when sWeather is the active
      window.
    + Right-click the main dialog for two new copy-to-clipboard options.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 08, 2011, 12:33 AM
    + Cosmetic GUI change.
Looks clearer from here -- thank you!  (And thanks Ath for the support ;) )

    + Added "Refresh weather data" entry to the Options menu.
    + Added F5 hotkey to refresh weather data when sWeather is the active
      window.
I see these and hope to be trying them soon.

    + Right-click the main dialog for two new copy-to-clipboard options.
It seems that the first popup menu item "Copy" leads to copying individual "chunks" of information (so "59%", but not "Humidity:") close to beneath where the pointer was when the popup menu was invoked.  Does this interpretation seem close?

FWIW, the popup menu seems to appear when right-clicking in the area where the 5 buttons are as well as in the status bar.  Is this behavior intentional?  At least with respect to the "Copy" menu item?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 08, 2011, 09:17 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.8 - 2011-05-08
    + Added "Copy with header" option to the context menu.
    * Restricted which controls show the context menu.  (Thanks, ewemoa)


It seems that the first popup menu item "Copy" leads to copying individual "chunks" of information (so "59%", but not "Humidity:") close to beneath where the pointer was when the popup menu was invoked.  Does this interpretation seem close?

FWIW, the popup menu seems to appear when right-clicking in the area where the 5 buttons are as well as in the status bar.  Is this behavior intentional?  At least with respect to the "Copy" menu item?

I think the above build addresses both concerns.   ;)
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 08, 2011, 08:31 PM
Thanks for the update, it is working well here so far  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on May 09, 2011, 01:28 AM
^+1 :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 09, 2011, 05:42 AM
^ +2  :Thmbsup:
but still problems when coming out of sleep-mode...
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 09, 2011, 04:16 PM
but still problems when coming out of sleep-mode...
With respect to this, I've tested some code from:

  http://www.autohotkey.com/forum/topic21697.html

Some (lightly edited) relevant bits include:

OnMessage(0x218, "DispatchOnResults")
Return

DispatchOnResults(wParam, lParam)
{
  If (lParam = 0)
  {
    ; PBT_APMSUSPEND or PBT_APMSTANDBY? -> System will sleep
    If (wParam = 4 OR wParam = 5)
    {
;
    }
    ; PBT_APMRESUMESUSPEND or PBT_APMRESUMESTANDBY? -> System wakes up
    If (wParam = 7 OR wParam = 8)
    {
;     
    }
  }
  Return
}

What is master skwire's opinion on this matter? ;)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 09, 2011, 04:21 PM
My opinion is one of, "is it really that big of a deal to manually refresh it?"  :tellme: Furthermore, just because a device comes out of hibernation doesn't guarantee that there is a network connection.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 09, 2011, 08:13 PM
I just uploaded v1.0.8 build 2 with the standy/hibernate tweak.  I have it set so that, fifteen seconds after a resume from standby/hibernation, it will attempt a refresh.  After that, it will go back to the default hourly refresh.

joiwind/ewemoa, please let me know if this works.  Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 10, 2011, 09:18 AM
Thanks for making this attempt.

I have 1.0.8 build 2 on two machines now and hope to report back with how it works before too long.


P.S. Sorry for taking a bit for getting back to you on this.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 10, 2011, 03:49 PM
Thanks skwire - it works fine.
BTW I only mentioned the problem because it had been mentioned before ...  :P
My opinion is one of, "is it really that big of a deal to manually refresh it?"  :tellme: Furthermore, just because a device comes out of hibernation doesn't guarantee that there is a network connection.
: perfectly true, it is no big deal but it is less annoying.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 10, 2011, 10:18 PM
1.0.8 build 2 definitely feels nicer  :Thmbsup:

I'm puzzled though -- by the time the resuming from hibernation is complete and I can see the icons, they already seem to be updated.  Perhaps 15 or more seconds have already passed by that time...As I recall it, for previous builds, I'd often see an NA icon.  May be more observation / timing is in order on my end.

At any rate, thanks!


P.S. Perhaps the way I use PCs is a bit odd -- I've been putting them in to hibernation when I leave my seat and I don't have some ongoing network activity.  Resuming is something that typically occurs more than a couple times a day...
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 11, 2011, 12:58 AM
Thanks for the testing and feedback, ewemoa & joiwind.  Much appreciated.  =]

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.0.9 - 2011-05-11
    + sWeather will now attempt a refresh fifteen seconds after coming out of
      hibernation mode.  (Thanks, ewemoa & joiwind)
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 11, 2011, 05:43 AM
Perfectly working, thanks skwire.

One thing that has happened before here is that if the 'Start minimized' option is checked when loading the app then the main window appears only as a small vertical slice of the title bar - if unchecked then the window loads normally. But this may well be, and probably is, a local glitch !
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 13, 2011, 04:33 PM
v 1.0.9 build 1 : doesn't seem to update the weather automatically...
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 13, 2011, 07:22 PM
Seems to work here fine.  Are you seeing this after a hibernation?  ewemoa, are you seeing this as well?
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 13, 2011, 09:22 PM
AFAICT, seems to be working fine here...at least I have not seen the NA icon in some time.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 13, 2011, 10:38 PM
AFAICT, seems to be working fine here...at least I have not seen the NA icon in some time.

And it seems to be updating hourly even after a hibernation, right?
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on May 14, 2011, 02:36 AM
it seems to be updating hourly even after a hibernation, right?
I believe so.  Took screenshots of sWeather's main window once an hour four times, and they all showed different info.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 14, 2011, 10:03 AM
skwire - it seems to happen only when the pop-up window is open and no difference if the window is in focus or not.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 14, 2011, 03:50 PM
Hmmm...I cannot reproduce the issue.  I've left it open all day and it's updating just fine.   :huh:
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 14, 2011, 05:00 PM
I have to revise what I said - it does update but not regularly, but no big deal, please don't lose any sleep over this skwire... :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 14, 2011, 05:25 PM
Maybe you're experiencing the behaviour I describe in this post?

https://www.donationcoder.com/forum/index.php?topic=25940.msg243928#msg243928
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 15, 2011, 04:17 PM
I don't know skwire.
The pop-up window has been open on the desktop all day, it is now 23h15 here and the last update noted on the pop-up says 8h29 pm (i.e. 20h29).
Again, don't get grey hair over this !
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 15, 2011, 04:20 PM
And, if you refresh it manually, it updates?  (I have enough grey hair to go around  :D)
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 15, 2011, 04:24 PM
Sure, straightaway.
If you need any more grey hair just let me know, I've got enough too  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on June 19, 2011, 12:27 AM
still loving sWeather  :up:

minor request: option to start up minimized to tray.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 19, 2011, 12:36 AM
still loving sWeather  :up:

minor request: option to start up minimized to tray.

Thanks, mouser.  As to your request, it's already in there. Check out the options dialog.   :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on June 19, 2011, 12:50 AM
this is embarassing.. i'm several versions behind!

new version works great.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on September 26, 2011, 03:26 PM
I'd like to request a small feature:

Add a menu item called "Change the Weather" and allow me to change the weather where I live.  Normally I will only be using this to eliminate rain, so I don't care too much about being able to generate rain and snow.  But it would be nice to be able to decrease the temperature in summer months. Thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 26, 2011, 05:17 PM
I'll get right on that.   ;D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 27, 2011, 05:23 PM
As promised:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.1.0 - 2011-09-27
    + Added ability to change the weather in your area if you don't like it!
      Well, not really, but it's a fun joke anyway.  Choose "Change the weather!?"
      from the tray or Options menu.  (Thanks, mouser)


It's now 105° F with light snow showers where I live.  =]

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on September 27, 2011, 05:34 PM
"Change the weather!"
;D ;D ;D
Title: Re: Release: sWeather (tray-based weather app)
Post by: cranioscopical on September 27, 2011, 05:55 PM
As promised:
Thanks, it's  rather hot here so I just programmed us for some Is'd t-storms.
Title: Re: Release: sWeather (tray-based weather app)
Post by: app103 on September 27, 2011, 06:05 PM
You know, I recently stopped using Weather Watcher because it developed that feature on its own (sort of). The first time it did it, while it was about 49F here in NJ, it was showing 88F and feels like 100F. It had magically changed my weather station to Noi Bai Airport in Hanoi, Vietnam. About a week or so later it changed my station to somewhere in Iraq.  ;D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 27, 2011, 06:08 PM
Thanks, it's  rather hot here so I just programmed us for some Is'd t-storms.

No problem, glad I could help. :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on September 27, 2011, 07:04 PM
Ha!  :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on November 15, 2011, 03:33 PM
There is a small chance that sWeather is not entirely up to some winter-weather conditions, over here in the metric system-world.
Now that it's freezing during the evenings and nights, sWeather doesn't show the minimum (Low) temperature if it's below 0 degrees centigrade:

[ You are not allowed to view attachments ]

The other temperature values all show negative values when needed, for as far as I can see.
Can't tell if It's also affecting the High temperature(s), as it's not that cold in some places yet :D

[ You are not allowed to view attachments ]

If I change the settings to non-metric it shows the expected figures for my location, but my brain doesn't comprehend the Fahrenheit numbers very well.

No need for any rush, but it would be nice if it got fixed.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 15, 2011, 06:56 PM
No need for any rush, but it would be nice if it got fixed.

This is almost certainly going to be an issue with the data (or lack thereof) in the Yahoo! XML feed that sWeather uses for its display data.  If you have time when it does this again, please verify the data from the following URL format:

http://weather.yahooapis.com/forecastrss?w=<WOEID>&u=<c|f>

Example:
http://weather.yahooapis.com/forecastrss?w=2384406&u=f
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on November 15, 2011, 07:37 PM
skwire stop responding to support request posts from your disneyworld hotel -- you are making the rest of us slackers look bad!!!  >:( >:( >:(
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 15, 2011, 07:57 PM
skwire stop responding to support request posts from your disneyworld hotel -- you are making the rest of us slackers look bad!!!  >:( >:( >:(

Bahahaha...never.  Hell, maybe I'll write some code tonight and really piss you off.   :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on November 16, 2011, 01:42 AM
You could check it out for a quite cold place (I just found some rather cold North American (http://weather.yahooapis.com/forecastrss?w=4224&u=c) place :)) : (metric/Celcius)
http://weather.yahooapis.com/forecastrss?w=4224&u=c
The data looks rather OK to me, having all kinds of negative numbers in it?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on December 18, 2011, 06:28 AM
Any progress on the low temperature issue yet? Local temperatures are probably going below 0 this week, so negative values in the display would be nice :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 18, 2011, 10:05 AM
Any progress on the low temperature issue yet? Local temperatures are probably going below 0 this week, so negative values in the display would be nice :D

Doh, thanks for the reminder.  I'll see what I can do.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 18, 2011, 10:41 AM
See if this fixes it, Ath.  Thanks.

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.0 - 2011-12-18
    ! Negative High/Low values weren't being matched properly.  (Thanks, Ath)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on December 18, 2011, 11:01 AM
See if this fixes it, Ath.
Yes, it does :Thmbsup:

[ You are not allowed to view attachments ]

Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 18, 2011, 11:02 AM
You're welcome and thanks for testing.  Silly regex matching...   :-[
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 11, 2012, 11:16 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.1 - 2012-05-11
    + Added "Reset tray icon positions" option to the tray menu.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ZorMi on August 09, 2012, 03:37 AM
There are just a few small things I'd like to ask, like an auto-refresh feature for the weather (or is it already there but the interval > 30 minutes?
I suppose I should mention this somewhere.  The interval is one hour since that's as often as Yahoo! Weather is updated.

Hi... I like this utility, only refresh rate should be higher.

I think Yahoo updates weather in half-hour, but even if it's one hour (or 5 minutes less) utility is not synchronized with Yahoo. It could lead up to two hours old reading in tray if refreshed just before Yahoo's next update.

Can it be configurable in options (.ini file) or at least around 15 minutes? Regards...
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 10, 2012, 02:10 AM
Hi, ZorMi, and welcome to the DonationCoder site.

Hi... I like this utility, only refresh rate should be higher.

You're right and I've been lax in adding that functionality so thanks for the nudge.  Here you go:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.2 - 2012-08-09
    + Added custom refresh settings.  (Thanks, ZorMi)
    * Removed the ANSI build from the archive.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ZorMi on August 10, 2012, 02:57 AM
.... Here you go:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.2 - 2012-08-09
    + Added custom refresh settings.  (Thanks, ZorMi)
    * Removed the ANSI build from the archive.


That was quick.. :) thanks.

I made some temperature tray icons in colors for Celsius scale (blue-cold ... green-good... red-hot). It's not professional work but informative to me... 8)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 10, 2012, 03:09 AM
That was quick.. :) thanks.

You're welcome.  Let me know if it seems to work better.

I made some temperature tray icons in colors for Celsius scale (blue-cold ... green-good... red-hot). It's not professional work but informative to me...

Fantasic!  Those look great.  With your permission, I'd like to include them in the zip archive so all users can benefit.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ZorMi on August 10, 2012, 03:22 AM
Of course... but I made only -20°C to +40°C (my location).
Someone could improve, use a better font, lighter colors... etc. :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on August 10, 2012, 05:37 AM
@skwire - thanks for the new version.
This site WOEID lookup (http://woeid.rosselliot.co.nz/) might interest you, it's quicker and easier than the Yahoo site.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 10, 2012, 10:44 PM
@skwire - thanks for the new version.
This site WOEID lookup (http://woeid.rosselliot.co.nz/) might interest you, it's quicker and easier than the Yahoo site.

Very nice.  Thank you.  I did some digging and Yahoo! provide an API for the WOEID lookups so I added the functionality directly to sWeather.  This should really make it easy to add multiple locations.  You can even search on terms like "taj mahal" or "eiffel tower."  Very cool.  Here's a screenshot of the new sWeather Options panel.

[ You are not allowed to view attachments ]

This version also includes ZorMi's Celsius colour icons.  Thanks, again!

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.3 - 2012-08-10
    + Added new WOEID lookup in the Options panel.
    + Added option for adding a "C" or an "F" to the temperature readouts. (Thanks, lanux128)
    + Included a new, Celsius colour, tray temperature theme made by ZorMi.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on August 10, 2012, 11:33 PM
very nice.  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: ZorMi on August 11, 2012, 12:59 AM
I did some digging and Yahoo! provide an API for the WOEID lookups so I added the functionality directly to sWeather.

Very good, it looks much better now. :) Few more hints:

Expanded table view should contain a column with time of last update, some data could be several hours old and unrealistic.

If Yahoo update schedule is fixed and reliable (I dunno about that) there could be an 'Automatic' refresh working like:
- read current Yahoo weather data and when it's updated.
- based on this and Yahoo schedule calculate next update.
- read again a minute (or five) after calculated time.
- if it's refreshed... great. wait next update.
- if it's still old... try again in 5 (or 15) minutes.
... or something similar.

Regards...

Who's KorMi?  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 11, 2012, 04:16 AM
Here's a screenshot of the new sWeather Options panel.

looks great :up:


[edit] unable to download - or to reach your site, will try later [/edit]

[edit] no worries, got it! [/edit]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 11, 2012, 07:07 AM
Expanded table view should contain a column with time of last update, some data could be several hours old and unrealistic.

I'll see what I can do.

If Yahoo update schedule is fixed and reliable (I dunno about that) there could be an 'Automatic' refresh working like:
- read current Yahoo weather data and when it's updated.
- based on this and Yahoo schedule calculate next update.
- read again a minute (or five) after calculated time.
- if it's refreshed... great. wait next update.
- if it's still old... try again in 5 (or 15) minutes.
... or something similar.

I"ll consider this but, with the new 15 minute update cyclye, I don't see a whole lot of benefit.

Who's KorMi?  :D

Doh!  My apologies...   :-[  I've fixed this in the changelog and uploaded a minor build update.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 11, 2012, 07:45 AM
This update might move the expanded view's name column to the far right as the last column.  If so, simply drag it back to where you want it and close the window.  The order will be saved for next time.  Thanks.

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.4 - 2012-08-11
    + Added "Last update time" column to expanded view.  (Thanks, ZorMi)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 11, 2012, 07:02 PM
Just cobbled in a five-day forecast to the main window.  The data is also in the Expanded View.

[ You are not allowed to view attachments ]

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.5 - 2012-08-11
    + Added 5-day forecast to main window and Expanded View.
    ! More checks for duplicate names in the WOEID list.  (Thanks, lanux128)
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on August 11, 2012, 09:49 PM
nice.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 11, 2012, 10:56 PM
Thanks, mouser.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 13, 2012, 01:33 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.2.9 - 2012-08-13
    + Added new tray condition theme based on the Farm Fresh web icons from
      FatCow (http://www.fatcow.com/free-icons).
    + Added F3 hotkey to bring up Options panel.

v1.2.8 - 2012-08-13
    + The "Change Weather!?" panel now functions as a theme browser.
    + Added new tray condition theme based on the LED icons from http://led24.de

v1.2.7 - 2012-08-12
    + Added condition icons to the expanded view's 5-day forecast columns.

v1.2.6 - 2012-08-12
    ! Fixed an issue where stale 5-day data from one location was affecting
      locations that didn't have 5-day data to start with.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on August 14, 2012, 03:12 AM
Great - thanks again skwire.

One small problem with the five-day display : the icons sometimes disappear after an automatic refresh, a manual refresh brings them back.

Suggestion for the GUI : that you move the small panel that is now middle-right with the arrows etc. up to top-right, that would be more consistent with the context (or something like that  :-\ ).
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 07:21 AM
One small problem with the five-day display : the icons sometimes disappear after an automatic refresh, a manual refresh brings them back.

I noticed this, too, and did put an extra window refresh command in there but it's still not 100%.

Suggestion for the GUI : that you move the small panel that is now middle-right with the arrows etc. up to top-right, that would be more consistent with the context (or something like that  :-\ ).

Ahhh, yes, the bane of my existence with this application.  I have struggled with the positioning of that button bar since I started writing this app.  I've tried it at the top, bottom, upper right, lower left, ad nauseum.  None have ever really looked "right."  Where it is now is where I'm the least displeased with it.  Notice that I didn't say happy with it.   :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on August 14, 2012, 10:43 AM
Where it is now is where I'm the least displeased with it.  Notice that I didn't say happy with it.   :P

Cool ... nearly a double negative  ;D
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on August 14, 2012, 11:34 AM
I'm very pleased with the way sWeather has developed. Nice :Thmbsup:

There's only one, maybe rather big, feature I'd like to request: A setting for Fahrenheit or Celcius/Metric per location, so I can easily see, and optionally quote, the 'actual' temperature for locations in the non-metric using parts of the world ;)
A possible alternative for this feature could be a tooltip displaying the 'other' value then the default display-metric, when hovering the mouse over it. A quick calculation from F to C or back would be just fine, polling the Yahoo API twice would be overkill, IMHO.
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 14, 2012, 11:38 AM
Enjoying the weather here :) with sWeather, of course ;)

I have a question about the Yahoo site
-
does *anyone* know if it gives it's sources anywhere? - I mean the location of whatever weather station it uses?
I cant find anything on the page myself...

My problem is that, for the village I live in it currently says 26°C, for the nearest city it says 16°C. The city is less than 10 miles away, with no noticable difference in weather apart from usually being warmer due to being built-up.
So, something is quite wrong there, yet I would have thought that the forecast for a small city would be more accurate than the forecast for a village pop. 600...

I dont even have a thermometer to check, but it definitely is well over 20° here at the moment.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 11:52 AM
What do you all think of this layout with buttons at the bottom?

[ You are not allowed to view attachments ]

Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 14, 2012, 12:00 PM
What do you all think of this layout with buttons at the bottom?
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=25940.msg296687#msg296687))

looks well, but I think the other one above (as it currently is) is more discreet
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 12:02 PM
Yep, I know...and that's part of the struggle I've had since designing this app.   :(
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 14, 2012, 12:04 PM

I like discreet myself :-)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on August 14, 2012, 12:11 PM
What do you all think of this layout with buttons at the bottom?
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=25940.msg296687#msg296687))

Only if the 5-day preview could be turned off 8), the current height already is about the maximum height I would want to allow it on screen.
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 14, 2012, 12:15 PM
I seem to be have a sWeather hour:

I was clicking the forward and back buttons in the main window & I heard a couple of "pops".
I notice this in the clipboard

[ You are not allowed to view attachments ]

it seems to be copying the filepath of the clicked button-icon.
is that expected behaviour?

Is it correct that these be in a $$$$$_sWeather_temp temp folder:
Spoiler
1.png
2.png
3.png
4.png
5.png
about.png
changelog.txt
icon.ico
resources.dll
yahoo.ico

Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 12:26 PM
I was clicking the forward and back buttons in the main window & I heard a couple of "pops".
I notice this in the clipboard

Odd, there is no code in there to do that.  Does it do it even after restarting sWeather?

Is it correct that these be in a $$$$$_sWeather_temp temp folder:

Yes.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on August 14, 2012, 01:26 PM
What do you all think of this layout with buttons at the bottom?
 (see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=25940.msg296687#msg296687))


Well, I like this way of displaying. If it's not discreet it's neat.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 02:27 PM
Well, I like this way of displaying. If it's not discreet it's neat.

Hehehe...yeah, it's a toss-up.   :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 02:30 PM
I'm very pleased with the way sWeather has developed. Nice :Thmbsup:

Thanks, I'm rather pleased with it, too, since this is one of my apps that I use myself.

There's only one, maybe rather big, feature I'd like to request: A setting for Fahrenheit or Celcius/Metric per location, so I can easily see, and optionally quote, the 'actual' temperature for locations in the non-metric using parts of the world ;)
A possible alternative for this feature could be a tooltip displaying the 'other' value then the default display-metric, when hovering the mouse over it. A quick calculation from F to C or back would be just fine, polling the Yahoo API twice would be overkill, IMHO.

That's actually a slick idea so what I've done is this:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.3.0 - 2012-08-14
    + Added status bar mouseover conversions for all values that can be converted.
      Hover your mouse above a reading, e.g., the current temperature, and the
      converted value should appear in the status bar.  (Thanks, Ath)
     * Cleaned up navigation button positioning and widened their click areas
       slightly.


Messing with tooltips on controls in AHK is a kludgy hack so I hope my solution covers your request.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 14, 2012, 03:24 PM
I was clicking the forward and back buttons in the main window & I heard a couple of "pops".
I notice this in the clipboard

Odd, there is no code in there to do that.  Does it do it even after restarting sWeather?

it copies a couple of times for each icon, I cant figure out when it happens - e.g. it might happen on the fourth click of the back icon. Happens with back/forward/refresh icons. It seems to happen less often after restarting but it does happen again. (with V.1.2.9 Build1)
I cannot figure out an exact pattern.

It's no big deal, but it is odd.

I'm using mouser's CH&S.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2012, 03:37 PM
it copies a couple of times for each icon, I cant figure out when it happens

Very very strange.  I just vetted the code for any extraneous clipboard calls and there are none except for the right-click context menu on the main interface.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on August 15, 2012, 01:14 AM
    + Added status bar mouseover conversions for all values that can be converted.
      Hover your mouse above a reading, e.g., the current temperature, and the
      converted value should appear in the status bar.  (Thanks, Ath)
Great feature, thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Attronarch on August 16, 2012, 03:53 PM
Haven't checked for any updates for a long time, and now I come and see all those new wonderful features!

Addition of five day forecast is great, now it is a truly irreplaceable tool with its sheer minimalism and simplicity.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 16, 2012, 04:35 PM
Glad to hear you like the changes.   :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: rgdot on August 21, 2012, 09:20 AM
I wrote about it here (http://www.rgdot.com/bl/2012/08/21/the-weather-on-your-desktop-with-sweather/)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 21, 2012, 10:18 AM
Thanks for the wonderful writeup, rgdot.  Much appreciated.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 03, 2012, 12:26 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.3.4 - 2012-09-03
    + Added an option to display a location's local time in the titlebar.  You
      can also customise the date/time format string using the standard AutoHotkey
      tokens found here: http://www.autohotkey.com/docs/commands/FormatTime.htm
      (Thanks, Alex)

v1.3.3 - 2012-08-31
    + Added "Close to tray" option.  This was the default behaviour previously
      but now you can change it, if desired.  (Thanks, Alex)
    * Reduced the height of the Options dialog to better fit smaller resolutions.
      (Thanks, Alex)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on September 04, 2012, 01:28 AM
    + Added an option to display a location's local time in the titlebar.  You
      can also customise the date/time format string using the standard AutoHotkey
      tokens found here: http://www.autohotkey.com/docs/commands/FormatTime.htm
      (Thanks, Alex)
Euhm, what local time is it supposed to display? My local time or the selected location's local time? It seems to display my current local time, independent of the location selected for display on the main screen (I switched locations using the scroll-wheel and from the Locations menu).
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 04, 2012, 01:36 AM
Euhm, what local time is it supposed to display? My local time or the selected location's local time?

It's supposed to display the selected location's local time (at least it does for me).  Dealing with time zones is such a pain in the ass that I am using a website API for this so that might be causing the issue for you.  The API I'm using is found here:

http://www.worldweatheronline.com/time-zone-api.aspx

I'll contact you in IRC to try and solve this issue.  If anybody knows of a nice, easy way to deal with timezones, I'm all ears.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on September 04, 2012, 02:19 AM
I'm not near my irc window atm, so I can't respond soon, I'll check out the site though, check the feature at home, later today, and reply in irc. Thnx!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on September 04, 2012, 02:28 AM
Hm, this might be proxy-related (simple no-password http proxy) but that has worked before, I also couldn't get the automatic updates where I am now :( might be some silly network configuration issue.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on September 04, 2012, 06:57 AM
Just trying the new version and look what I get : [attach=#1][/attach]

- there's nothing in the ini file about the size of the gui.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on September 04, 2012, 07:28 AM
Take no notice of the above post - I re-installed and all is OK (and the local times are showing  ;) )
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 04, 2012, 10:43 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.3.5 - 2012-09-04
    + Added new tray temperature theme called Minicat.  (Thanks, E.J.)
    ! Attempted to fix some word-wrapping issues regarding long conditions text
      in the 5-day forecast boxes.  (Thanks, Alex)
    ! Renaming sWeather.exe to something else caused it to error out on startup
      (Thanks, Alex)
Title: Re: Release: sWeather (tray-based weather app)
Post by: kilele on September 04, 2012, 03:14 PM
please consider showing humidity in the tray
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 04, 2012, 04:48 PM
Here you go, kilele:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.3.7 - 2012-09-04
    + Added humidity data to the tray tooltip.  (Thanks, kilele)

v1.3.6 - 2012-09-04
    ! Worked around a proxy issue regarding the location time and update check
      functionalities.  (Thanks, Ath)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on September 05, 2012, 02:03 AM
      Worked around a proxy issue regarding the location time and update check
      functionalities.  (Thanks, Ath)
These issues are fixed now, at both my regular, proxy-'protected', locations :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: ZorMi on September 05, 2012, 08:44 AM
I would prefer relative age of data instead of absolute, something like:

30°C Prague
(as of 39 minutes ago)

... since you are dealing with timezones now. :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: jm34harvey on September 19, 2012, 11:17 AM
When I run sWeather, it doesn't show any weather. When I open the Options dialog, it shows Codyville, ME WOEID 238514. When I try WOEID Lookup for 72744, nothing happens. I have sWeather.exe  v1.3.8.1, help.html, changelog.txt and images in my Vista C:/Program Files/sWeather diectory. What am I missing?

Thanks for your help, John, Wizened Web Wizard Wannabe
Title: Re: Release: sWeather (tray-based weather app)
Post by: rgdot on September 19, 2012, 11:39 AM
Before skwire or someone else chimes in with a better (and correct!) answer try another directory. Not Program Files, instead on the desktop for example.

Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 19, 2012, 11:49 AM
Hi, jm34harvey, and welcome to the DonationCoder site.  Can you please do what rgdot suggests, and try running sWeather in a folder that is not UAC protected?  Thank you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: jm34harvey on September 19, 2012, 02:06 PM
rgdot, skwire,

Thanks, it worked. It was my old friend UAC lurking in the wings. Actually, I checked "run as administrator" in my shortcut and it worked.

I used NirSoft's ZipInstaller and by default, it offers to create a Program Files folder. Since, it'll help me remember this lesson (and forget others), I suspect that I will create a "UAC Intimidated Programs" folder. When they are huddled together, they'll feel less intimidated. Also, it'll make it easier to select options like "Run when Windows starts."

Thanks again for the rapid response, John, Wizened Web Wizard Wannabe

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." -Albert Einstein
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 19, 2012, 02:12 PM
Thanks, it worked. It was my old friend UAC lurking in the wings. Actually, I checked "run as administrator" in my shortcut and it worked.

Great to hear and thanks for reporting back.  I hope you like the application.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Joe Hone on December 18, 2012, 11:39 PM
This program is nothing but fun and informative, very ingenious.  :Thmbsup:

I am curious about whether different weather sources are available other than Yahoo Weather? For instance, until I downloaded sWeather I kept wunderground running in the background on my desktop because it offers choices of specific weather stations - there are a dozen or so here in Phoenix, and one is within 100 yards of my house, kind of like having my own private weather station. I also have family in rural Virginia, and there are 3 weather stations within 10 miles of their home accessible at wunderground, but Yahoo Weather only offers a single weather source at both locations. It is amazing how much variance there is between the different weather station options, some just miles apart. But don't get me wrong, I'm delighted sWeather and I'm tracking 5 locations daily - nice to follow the weather where my kids live.  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 19, 2012, 04:49 AM
I am curious about whether different weather sources are available other than Yahoo Weather?

*shrug* It's one of those times where you have to pick something, right?  At the time I developed sWeather, the Yahoo! API was one of the easiest to deal with.  No API key signup, no real ToS to adhere to other than "don't be a d...", no authentication, easy RSS/XML output, etc.  I mean, I've read some API ToS that made me wonder, "Good grief, am I even allowed to develop a piece of freeware using this API?" I didn't get that feeling with the Yahoo! Weather API.  Sure, it's not perfect, but what is, right?

At any rate, thank you for the feedback and I'm glad you're enjoying sWeather.   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: plk on January 27, 2013, 04:27 PM
What about add proxy support?  

All these companies like Yahoo, Google, etc make their money by tracking and profiling people for targeted advertising and they love to have location data on you, like a ZIP CODE.  nice to send them a dummy IP.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 29, 2013, 08:33 AM
Hi, plk, and welcome to the DonationCoder site.  I'll add your request to the ToDo for now.  I'd have to set up a proxy server for testing, though, unless there is a trustworthy source out there.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on January 29, 2013, 09:16 AM
I'm using sWeather with a network-proxy both at work and at home, atm, and it has worked ever since day 1 with those configs. I can pass the proxy servers without authentication, though.
I've always assumed it uses the IE/Windows proxy settings, but I never asked nor checked :-[, but you could try that first, I guess?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 29, 2013, 10:19 AM
I'm using sWeather with a network-proxy both at work and at home, atm, and it has worked ever since day 1 with those configs. I can pass the proxy servers without authentication, though.
I've always assumed it uses the IE/Windows proxy settings, but I never asked nor checked :-[, but you could try that first, I guess?

That's right; I do remember changing that for you a while back.  plk, sWeather should use what you have set for your IE proxy.  Are you not seeing this behaviour?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 31, 2013, 08:47 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.0 - 2013-01-31
    + Added export functionality to the expanded view.  Use the new toolbar
      button on the expanded view to choose between CSV and tab-delimited
      export formats.  (Thanks, Wish)
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on February 01, 2013, 05:44 AM
Thanks for the new version skwire : useful additions.

About the expanded view : what do you think about an option to show/hide columns ? I tried deleting column numbers from the config.ini on the ExpViewOrder line but they keep coming back !  :)

And, though I think this has been requested before : how about moon phases and moonrise and moonset times - or doesn't Yahoo do that ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 01, 2013, 06:51 AM
Thanks for the new version skwire : useful additions.

You're welcome.  =]

About the expanded view : what do you think about an option to show/hide columns ? I tried deleting column numbers from the config.ini on the ExpViewOrder line but they keep coming back !  :)

Just resize those columns you don't want to see to a zero-width.  That's how it's done programatically, anyway; the columns really don't go away or anything.

And, though I think this has been requested before : how about moon phases and moonrise and moonset times - or doesn't Yahoo do that ?

I don't think that information is present in the data.  =[
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on February 01, 2013, 07:03 AM
^ thanks skwire  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: plk on February 02, 2013, 12:55 PM
I'm using sWeather with a network-proxy both at work and at home, atm, and it has worked ever since day 1 with those configs. I can pass the proxy servers without authentication, though.
I've always assumed it uses the IE/Windows proxy settings, but I never asked nor checked :-[, but you could try that first, I guess?

That's right; I do remember changing that for you a while back.  plk, sWeather should use what you have set for your IE proxy.  Are you not seeing this behaviour?

yeah, that's not what i was looking for though.

 i was hoping i could set sWeather to use some random proxy that was different than the one i was using in my browser at the time, that way Yahoo can't co-ordinate the browsing data to my sWeather location.  (since sWeather is going to basically give them my Zip Code it defeats purpose of geting a new IP with a VPN)  i'm just trying to prevent them building their data profiles on me.

Thanks for your excellent program btw.  If its a lot of work to add proxy support maybe its not worth it.  i just saw this proxy availability in another app(tapin radio) and i thought it was cool. 
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 02, 2013, 01:17 PM
I think you're a bit overprotective here. I'm getting weather data from 6 or 7 locations around the world, so my physical location is not necessarily related to the weather I'm monitoring :tellme:

For comparisons: Do you use such proxy to retrieve your twitter or Facebook updates?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 02, 2013, 01:22 PM
yeah, that's not what i was looking for though.

 i was hoping i could set sWeather to use some random proxy

Ah, I see what you're after.  I don't think I'll add that, though, since I feel it's somewhat out of scope for a weather program.  Trying to maintain random proxy lists and such...sounds messy to me.
Title: Re: Release: sWeather (tray-based weather app)
Post by: plk on February 02, 2013, 03:32 PM
I think you're a bit overprotective here. I'm getting weather data from 6 or 7 locations around the world, so my physical location is not necessarily related to the weather I'm monitoring :tellme:

For comparisons: Do you use such proxy to retrieve your twitter or Facebook updates?

i don't use twitter or facebook or google, etc (or any other companies that make their money off buying + selling personal data, while pretending to offer their services for free) and additionally i block them thru the hosts file.
all this stuff like gmail google docs google chrome etc was supposed to be free free free and then you find later they were reading your all emails and compiling profile data on you, tracking you all over the internet from their search engine, and their google analytics and adsense from the other side  - it was all a big scam. they made their money by selling off other people's privacy without their knowledge. just like all these firefox addons -  youtube downloader or this or that, just a scheme to track you and sell your data and its hidden in the fine print (or they dont even mention it at all - ANT downloader)


getting weather data from 5-10 diff locations thru the app might be an answer though.




yeah, that's not what i was looking for though.

 i was hoping i could set sWeather to use some random proxy

Ah, I see what you're after.  I don't think I'll add that, though, since I feel it's somewhat out of scope for a weather program.  Trying to maintain random proxy lists and such...sounds messy to me.

eh, i wasn't suggesting that you would maintain proxy lists, just that the user could set one in the program. maybe the proxy wouldn't even have to be changed too often if at all.

i don't blame you at all if don't want to add since most users prob wouldn't be too interested anyway.  as i'm not a programmer i was just curious though -  are there like pre-written modules that you can add to a program or on something like this would you have to write it from scratch and would it take quite a while to write?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 28, 2013, 05:07 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.1 - 2013-05-28
    ! Fixed the 5-day forecast that Yahoo! broke last week.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 28, 2013, 10:13 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.2 - 2013-05-28
    + Added 10-day forecast option.  Enable in the Options dialog.
    * Made both the 5-day and 10-day forecast display optional.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 29, 2013, 05:45 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.2 - 2013-05-28
    + Added 10-day forecast option.  Enable in the Options dialog.
    * Made both the 5-day and 10-day forecast display optional.


Coolaroola  :Thmbsup: :Thmbsup: :Thmbsup:
Thanks skwire.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 29, 2013, 08:29 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.3 - 2013-05-29
    * Changed the extended forecast options from two checkboxes to a
      single dropdown.


Here's a screenshot showing the 10-day forecast:
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on May 29, 2013, 08:58 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.3 - 2013-05-29
    * Changed the extended forecast options from two checkboxes to a
      single dropdown.

But unfortunately the current forecast settings are not transformed into the dropdown list value... (no big deal but just something I had to make a remark on ;))
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 29, 2013, 08:59 AM
Yeah...my laziness.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: J-Mac on June 18, 2013, 11:42 AM
Wow!

I don’t know why I haven't noticed this before. Excellent program Skwire!

Thank you very much for this!

Jim   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 18, 2013, 01:09 PM
Thank you very much for this!

You're very welcome.  I'm glad you like it.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: J-Mac on June 19, 2013, 12:13 PM
I don’t know if this has already been mentioned but the temperature tray icon doesn’t seem to change. Yesterday after installing sWeather I placed both icons in the tray. The temp shown was 73 deg. F. Last night I noticed that it still said 73 though in the program window it said 67 deg. F.

Isn't that icon supposed to change to match the actual temperature shown in the program window?

Thanks!

Jim
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 19, 2013, 12:17 PM
Isn't that icon supposed to change to match the actual temperature shown in the program window?

Yes, absolutely, it should.  Does it change if you switch locations?
Title: Re: Release: sWeather (tray-based weather app)
Post by: J-Mac on June 19, 2013, 12:38 PM
Isn't that icon supposed to change to match the actual temperature shown in the program window?

Yes, absolutely, it should.  Does it change if you switch locations?

Don’t know - I only have one location!

Jim
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 21, 2013, 02:53 PM
Don’t know - I only have one location!

Would you mind configuring a few more locations and see if the temperature icon updates when switching between the locations?
Title: Re: Release: sWeather (tray-based weather app)
Post by: J-Mac on June 22, 2013, 12:18 PM
skwire, I did configure another location and when I switch to that location the icon changes to the current temperature there. However upon switching back to the first location it doesn’t change. It stayed at the temperature of the second location.

OK I just exited and restarted the app and now it is switching temps with each change, so I guess it requires a program restart before that takes effect. I didn't expect that or I would have done that before now!

Anyway I guess I must keep a second location configured to ensure the temp on the icon changes. I'll have to wait and see if it changes with a refresh without needing to switch locations, though it would not do that before.

Thanks!

Jim

PS- This is a very minor issue, not anything that really affects the current or forecast conditions other than not being able to rely on the temp icon's accuracy, so please don’t put a lot of effort into this for me.  Thanks again!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 22, 2013, 12:33 PM
I guess it requires a program restart before that takes effect. I didn't expect that or I would have done that before now!

Well, it shouldn't require a restart...that's the problem.  I'll do some more testing.  Which OS are you running?
Title: Re: Release: sWeather (tray-based weather app)
Post by: J-Mac on June 22, 2013, 01:26 PM
Windows 7 x64.

Thanks!

Jim
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 05, 2013, 02:18 PM
I just installed sWeather...really nice program!  I am, however, having a problem...the system tray icon does not seem to update automatically.  I have it set to update every 15 minutes, but it does not update even after 4-6 hours.  If I open the program and manually refresh, everything works perfectly.  I just can't seem to figure out how to get it to do this on its own.  FYI, I'm running Windows 8 64-bit, I do not use a proxy server, and I have sWeather 1.4.3 build 5 (Unicode build) "installed" in my documents folder with a single location (in the United States).  Any suggestions on what I'm doing wrong?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 05, 2013, 02:33 PM
I just installed sWeather...really nice program!
Thank you, dshoup, and welcome to the DonationCoder website.

I am, however, having a problem...the system tray icon does not seem to update automatically.  I have it set to update every 15 minutes, but it does not update even after 4-6 hours.  If I open the program and manually refresh, everything works perfectly.  I just can't seem to figure out how to get it to do this on its own.  FYI, I'm running Windows 8 64-bit, I do not use a proxy server, and I have sWeather 1.4.3 build 5 (Unicode build) "installed" in my documents folder with a single location (in the United States).  Any suggestions on what I'm doing wrong?

sWeather hasn't been tested on Windows 8 so that could be a/the problem.  However, on a hunch, change the tray temperature theme to something other than "Default" and let me know if that solves the issue.  Also, are you using a laptop (or sleep/hibernation mode)?
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 09, 2013, 02:13 PM
Well, tried switching to the minicat tray theme...no change.  I still have to manual refresh.  I guess we may have to chalk this one up to Windows 8.  To answer your questions, I am using a desktop computer.  I do use hybrid sleep over night.  sWeather appears to update in the morning when I first wake things up, but it never updates again after that.  Let me know if you would like any additional information for debugging purposes if/when you get around to looking at Win8 compatibility.  I can live with it for now as I realize much of the world is not moving to Win8 any time soon and you may have more productive ways to spend your time :)

Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 09, 2013, 04:25 PM
Let me know if you would like any additional information for debugging purposes if/when you get around to looking at Win8 compatibility.

Hmmm...are both icons not changing or just the temperature one?
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 10, 2013, 07:24 AM
Couldn't say...the weather conditions over the past week have been a bit like the movie groundhog day...sunny and HOT (repeat again tomorrow).  So I wouldn't expect the other icon to change.  Is there a log or something that can be used to check if updates are occurring without the icon update?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 10, 2013, 10:00 AM
Couldn't say...the weather conditions over the past week have been a bit like the movie groundhog day...sunny and HOT (repeat again tomorrow).  So I wouldn't expect the other icon to change.  Is there a log or something that can be used to check if updates are occurring without the icon update?

No, there's no log.  However, the temperature tray icon is created using a third-party library since AutoHotkey, on its own, only allows for one tray icon.  Even if your weather conditions don't change during the day, the icon should change at night to a "moon" type of icon.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on July 10, 2013, 12:07 PM
skwire : out on another limb here though this may have been mentioned before (was it ?) :

when using the ten-day view and running the mouse pointer over the lower row to see the temperature conversions you get the days and conversions for the row above (i.e. the first five days) and when doing the same for the upper row, you get nothing at all.

I'm not sure if that is very clear but you'll get the gist.
Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 10, 2013, 12:14 PM
when using the ten-day view and running the mouse pointer over the lower row to see the temperature conversions you get the days and conversions for the row above (i.e. the first five days) and when doing the same for the upper row, you get nothing at all.

Bug!  Will fix.  Thank you for the report.
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 10, 2013, 12:58 PM
No, there's no log.  However, the temperature tray icon is created using a third-party library since AutoHotkey, on its own, only allows for one tray icon.  Even if your weather conditions don't change during the day, the icon should change at night to a "moon" type of icon.

Hmm...going to be hard to do as it is my work computer and I go home well before sunset this time of year (I use Win7 at home).  I tried changing my system clock 12 hours and after 45 minutes (3 update cycles) there was no icon change for the tray condition icon.  However, I suspect sWeather uses the time from the Yahoo data as even manually refreshing the data did not change the icon.  Hovering over the weather status icon did show the old time as the last update (which was about 2 hours old at the time).  Short of working overnight tonight ;), let me know if there is anything else I can do for debugging.  FYI, I currently am using LED for the tray condition theme.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 10, 2013, 02:46 PM
@joiwind:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.4 - 2013-06-10
    ! Converted temps weren't displaying properly for the entire 10-day
      forecast.  (Thanks, joiwind)



Thank you.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 10, 2013, 02:48 PM
Hey, what do you know, we had a change in weather...small storm passed through.  I can now definitively say the weather condition icon was not updating either as I just did a manual update and saw a cloud icon for the first time in weeks.  However, this did not occur automatically.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 10, 2013, 02:56 PM
Hey, what do you know, we had a change in weather...small storm passed through.  I can now definitively say the weather condition icon was not updating either as I just did a manual update and saw a cloud icon for the first time in weeks.  However, this did not occur automatically.

That's very odd.  I really have no idea why it wouldn't update so it might be a Windows 8 thing; I mean, it works here in my Windows 7 box (and XP before that).  Thank you for your patience on this.
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 10, 2013, 03:08 PM
No worries.  And it is a great little program...I love the elegance!
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on July 10, 2013, 03:30 PM
@joiwind:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.4 - 2013-06-10
    ! Converted temps weren't displaying properly for the entire 10-day
      forecast.  (Thanks, joiwind)



Thank you.  =]

Thanks skwire  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 10, 2013, 03:36 PM
@dshoup: If you set up a few different locations and then switch between them using the blue arrows, do the tray icons update properly?
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 11, 2013, 08:32 AM
@dshoup[/b]: If you set up a few different locations and then switch between them using the blue arrows, do the tray icons update properly?
I set up a second location and both the temperature and condition system tray icons change correctly if I change locations, but neither location is automatically updating.  I did notice that things automatically updated a couple of times yesterday...but then it stopped updating later in the day.  It also automatically updated this morning when I resumed from hybrid sleep, but has not updated in the 1h I have had the computer running.
Title: Re: Release: sWeather (tray-based weather app)
Post by: J-Mac on July 11, 2013, 11:07 AM
Last night and this morning it appears that the service was down. No data, no icons, etc. Looked like this:

[attachthumb=#1][/attachthumb]

Jim
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 11, 2013, 12:11 PM
Yep, I've noticed it's been a bit spotty the past few days.  Seems better today for me.
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 23, 2013, 03:46 AM
Can confirm dshoup's issue of no auto-refresh on Windows 8 64-bit, have the exact same issue.
Also tried running it as administrator and a 15-minute refresh, still no auto-refresh.

Manually refreshing it works. Just not automatically.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 23, 2013, 10:09 AM
Hi, win8shucks, and welcome to the DonationCoder site.  As discouraging as it sounds, thank you for your report.  I don't have Windows 8 so testing this is going to be difficult.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Shades on July 23, 2013, 06:13 PM
I have noticed that you can get in a lot of trouble with running services on Windows 2012. Till now I found out that only the local Administrator account that doesn't give problems.

Even when using a local user name that is a member of the 'Administrators' group, I was not able to run a certain service I need. Making adjustments in the local security policies didn't do the trick either.

The error I experience happens at the moment I install the service. Managing the service afterwards is not the problem with any of the test accounts I made on that system, just the installing of a service is problematic.

As Windows 2012 and Windows 8 are from the same "family", this might be of interest to you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 23, 2013, 07:12 PM
Thanks, Shades.  Unfortunately, sWeather doesn't install/run as a service.  What doesn't seem to be working under Windows 8 is just a simple timer within the application.
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 03:06 AM
In the meantime as a workaround for Win8, is there a command line argument I can pass to sweather to make it refresh? I am thinking of binding a key in an AutoHotKey script to refresh it whenever I press a button. Thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 03:43 AM
PS trying to do a ControlSend doesn't seem to work for some reason :(
I can't figure out how to send keys to sweather while it's minimized in the tray
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 25, 2013, 09:33 AM
Would adding a global refresh hotkey to sWeather suffice?
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 09:38 AM
Global meaning from any application at any time? Like Shift-Win-W? That would be ideal! Thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 25, 2013, 09:41 AM
Yes, exactly.
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 09:45 AM
That would be perfect. I bet I could even make a scheduled task in Windows 8 to type the hotkey every 15 minutes or something.

Thanks!!
- Philip
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 25, 2013, 01:41 PM
Give this a try, please:

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.5 - 2013-07-25
    + Added ability to set a global hotkey to refresh the weather data.
      (Thanks, win8shucks)
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 01:44 PM
Seems perfect! I can't tell exactly if it refreshes or not since the last updated time is still 5 minutes before the hour from Yahoo, but I love the new screen. And I will try hotkey refreshing again in 10-15 minutes so we'll know for sure. You are amazingly fast.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 25, 2013, 02:01 PM
last updated time is still 5 minutes before the hour from Yahoo

Yeah, I wish Yahoo updated their weather RSS feeds more often than once an hour but, for a free API, what can you do?   :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 02:20 PM
You know, it is possible the timer thing started working too. I don't remember hitting the button two minutes ago and yet it updated. Life is good!

Great program. Can't imagine life without it. Hope Microsoft pays you big time when they buy you out to integrate it into Windows 8.2 or whatever.
Title: Re: Release: sWeather (tray-based weather app)
Post by: win8shucks on July 25, 2013, 11:11 PM
Yup timer definitely working on Win 8 now too! No idea how you fixed that but thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 26, 2013, 08:49 AM
Great program. Can't imagine life without it. Hope Microsoft pays you big time when they buy you out to integrate it into Windows 8.2 or whatever.

Ha, I should be so lucky.   ;)

Yup timer definitely working on Win 8 now too! No idea how you fixed that but thanks!

The only thing I can think of is that latest version of sWeather is compiled with the newest AutoHotkey build so maybe that fixed something internally.  I read through the AutoHotkey changelog but it didn't mention anything timer specific like that.  Who cares, though, right?
Title: Re: Release: sWeather (tray-based weather app)
Post by: dshoup on July 26, 2013, 10:22 AM
I can confirm that the new build is looking good on my Win8 64-bit system as well...I've had it running for 3 hours and have gotten 3 updates :).  Skywire...you must just be that good at programming that you are able to fix things you don't even understand :P.  At any rate, all's well that ends well.  I'll post an update if this stops working, but it looks to me like you can cross that off your mental future update list.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 26, 2013, 10:32 AM
I can confirm that the new build is looking good on my Win8 64-bit system as well...I've had it running for 3 hours and have gotten 3 updates :).

Thank you very much for the report.  I suppose this can be read that it wasn't a fluke.  =]

Skywire...you must just be that good at programming that you are able to fix things you don't even understand :P.

Hahaha...I wish; I just randomly mash the keyboard and hope the damn thing compiles at the end.   :P  Honestly, though, writing freeware is a fun hobby for me.  sWeather is fun to work on since it's one of my programs that I, personally, use.
Title: Re: Release: sWeather (tray-based weather app)
Post by: c.gingerich on July 26, 2013, 03:38 PM
The main window is not showing on my system. Windows 8 64 bit.

[ You are not allowed to view attachments ]

Nevermind, I closed it and re-opened. It's working now!  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 26, 2013, 03:44 PM
This Windows 8 is going to be the death of me...   :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 28, 2013, 11:55 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.7 - 2013-09-28
    * Updated WorldWeatherOnline API-related code.  Titlebar timezone
      data should work again.  (Thanks, Alex)

v1.4.6 - 2013-07-25
    * sWeather should now be DPI aware and display properly at higher DPI
      resolutions.
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on November 05, 2013, 12:33 PM
Hi, if I do an update check through sWeather I get a new version : v1.4.7 build 2 but there's nothing on the sWeather site about it - a minor update I suppose ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 05, 2013, 12:38 PM
Hi, if I do an update check through sWeather I get a new version : v1.4.7 build 2 but there's nothing on the sWeather site about it - a minor update I suppose ?

Yeah, probably a typo or message box I forgot to take out.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: lotra on November 08, 2013, 08:23 AM
Greetings Skwire, and many thanks for this great little application. There are many tray weather programs, but most of them are bulky, over shiny and over intrusive, so this one is just what I was looking for: tiny, simple, nice, informative and it gets the job done.  :)

Though I found one conflict. I have excellent program "System Explorer" which has advanced tooltip that shows when pointing mouse over it's tray icon. Problem arises when "sWeather" refreshes weather data, it also triggers System Explorer's tooltip which then appears in random positions on my desktop and I have to click anywhere to make it go away. It happens every time sWeather refreshes its weather data so it's a little bit annoying.  :( Just to say that I'm using plain 32bit WinXP sp3.

I hope You can figure out how and why this incompatibility incurs and possibly fix it.  :Thmbsup:

Thanks
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 08, 2013, 09:05 AM
Hi, lotra, and welcome to the DonationCoder site.  I'm sorry to hear you're having a problem with sWeather.  Based on what you're describing, I really have no idea what would cause the behaviour you're describing.  Furthermore, the download links for System Explorer (http://systemexplorer.net/download.php) don't appear to be working so I can't even install it to test.
Title: Re: Release: sWeather (tray-based weather app)
Post by: lotra on November 08, 2013, 01:19 PM
Thanks for welcome.  :)

Yeah, I've seen it, but on main site (http://systemexplorer.net/) there are working download mirrors at softpedia and major geeks, which are I believe very trustful sources. Anyway, thank you for considering it, problem I've described is always happenning, I mean every time weather refreshes.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 08, 2013, 05:48 PM
lotra, please give this build a try.

Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.8 - 2013-11-08
    + Added a hidden INI setting to work around a bug in the System Explorer
      program from http://systemexplorer.net/.  Every time sWeather would get
      updated weather info, and refresh its tray icons, the "Advanced Window"
      popup from System Explorer would appear.   This bug only appears to
      happen in Windows XP so, if you're experiencing this, add the following
      line to the [Settings] section of sWeather's config.ini file, save it,
      and restart sWeather.  (Thanks, lotra)
     
      Extra_Tray_Refresh=0
Title: Re: Release: sWeather (tray-based weather app)
Post by: lotra on November 08, 2013, 07:04 PM
Wow, that was fast, thanks a lot. :D
Conflict with System Explorer seems to be solved with this workaround. Nice idea with a hidden setting without unnecessary gui checkbox. :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 08, 2013, 11:25 PM
Wow, that was fast, thanks a lot. :D

You're welcome.

Conflict with System Explorer seems to be solved with this workaround. Nice idea with a hidden setting without unnecessary gui checkbox. :Thmbsup:

Good to hear.  Thanks for reporting back.   :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 11, 2013, 06:25 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.4.9 - 2013-11-11
    + Added two new tray temperature themes, Simple Black & Simple White,
      courtesy of user lotra.  Thank you, lotra!
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on December 11, 2013, 05:57 AM
Hi skwire - just a small bug (that may have been reported already) :

if you enable the date/time etc in the titlebar, the time doesn't keep up with the system time until a refresh (either manual or weather data refresh).

No big deal.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 11, 2013, 12:28 PM
Hi skwire - just a small bug (that may have been reported already) :
if you enable the date/time etc in the titlebar, the time doesn't keep up with the system time until a refresh (either manual or weather data refresh).

This is actually by design so let me explain.  Rather than code up my own time zone functionality (which would be a HUGE pain in the ass given all the different time zones in the world, daylight saving, etc.), sWeather uses Time Zone API found here: http://www.worldweatheronline.com/time-zone-api.aspx.  I simply pass it the latitude and longitude coordinates I get from the weather location and it sends me back the time.  It's easy and works very well (keeping up with all the different time zone idiosyncrasies of the world).  I use the free API which has a limited number of API calls per hour so I only query it when the weather is refreshed.  I also didn't want sWeather running a per-second loop to update that in real-time, either.  In other words, sWeather isn't a full-fledged world clock.  However, now that you mention it, I could put a help button next to that option explaining this limitation.  I hope that helps to explain things a bit.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on December 12, 2013, 05:43 AM
^ OK - thanks skwire for the very clear, interesting and instructive reply  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: GHammer on December 12, 2013, 12:03 PM
Not sure if this has been reported.
I am on Windows 8.1 x64
I have Steam installed and use it to play Civilization V
When sWeather is running Civ crashes when loading saved games.

If I exit sWeather, the saved games load fine.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 12, 2013, 12:11 PM
Not sure if this has been reported.
I am on Windows 8.1 x64
I have Steam installed and use it to play Civilization V
When sWeather is running Civ crashes when loading saved games.

If I exit sWeather, the saved games load fine.

Very strange.  Does it only happen with Civ V?  I do have Steam and it seems to work fine with sWeather running.  Unfortunately, I do not own Civ V nor do I have Windows 8+.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 13, 2013, 11:21 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.0 - 2013-12-13
    + Added new option to show the date number in the extended forecast.
    * In the Options' WOIED list, the highlighted selection will stay
      visible when using the up/down buttons.  You can also now use
      drag-and-drop to move locations in the list.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 14, 2013, 07:52 AM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.1 - 2013-12-13
    ! New date feature introduced in v1.5.0 was off by one.  "It was my
      understanding that there would be no math."  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on December 14, 2013, 08:35 PM
Any chance of being able to retain and display past N days worth of predictions (perhaps prepended to what is fetched)?

Motivation for this is: I typically try to consider what to wear based on what the weather was like recently.  So if today's prediction is significantly higher or lower than yesterday's I feel that is useful to know.  (I guess it might be even nicer if actual past data was used instead of past predictions, but that soiunds like a whole different project.)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 14, 2013, 10:43 PM
Any chance of being able to retain and display past N days worth of predictions (perhaps prepended to what is fetched)?

Hmmm...I think this is probably out of scope for sWeather.  Also, I'm not even sure where to put such information on sWeather's already cluttered interface.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ewemoa on December 15, 2013, 04:06 AM
Thanks for considering :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: GHammer on December 17, 2013, 09:27 AM
Not sure if this has been reported.
I am on Windows 8.1 x64
I have Steam installed and use it to play Civilization V
When sWeather is running Civ crashes when loading saved games.

If I exit sWeather, the saved games load fine.

Very strange.  Does it only happen with Civ V?  I do have Steam and it seems to work fine with sWeather running.  Unfortunately, I do not own Civ V nor do I have Windows 8+.

Sorry for the late (and unhelpful) reply.

I only use Steam for Civ V. I do know when playing on a Mac, I have to enable a virtual keyboard to launch Civ V. Maybe they are hooking keystrokes in some way Windows too.

Anyway, I just exit when playing Civ V, the crash is a reminder to do so. Ha!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 17, 2013, 09:31 AM
Anyway, I just exit when playing Civ V, the crash is a reminder to do so. Ha!

 ;D  Sorry I couldn't help more, GHammer.  If I ever buy Civ V on Steam, I'll test it out here.
Title: Re: Release: sWeather (tray-based weather app)
Post by: zanecek on January 04, 2014, 12:07 PM
Hi.
I have a problem with sWeather.

After return from sleep or hibernation my laptop stops periodically refresh the weather data.
I must re-save options (without changes) to start periodically refresh again.

Could you help me, please?
Thanks.

And sorry for my English.

(Lenovo E330, Win7 64bit)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 04, 2014, 12:43 PM
Hi, zanecek, and welcome to the DonationCoder website.

After return from sleep or hibernation my laptop stops periodically refresh the weather data.
I must re-save options (without changes) to start periodically refresh again.

I did add code to fix this some time ago but I think it was for XP.  I'll test further with W7 and see what's going on.
Title: Re: Release: sWeather (tray-based weather app)
Post by: zanecek on January 04, 2014, 01:11 PM
After return from sleep or hibernation my laptop stops periodically refresh the weather data.
I must re-save options (without changes) to start periodically refresh again.

I did add code to fix this some time ago but I think it was for XP.  I'll test further with W7 and see what's going on.
Thank you very much.

For further information:
- I use sWeather v1.5.1 build 1.
- I use Win7 64 Professional SP1 as common user (not as administrator).
- When returning from hibernation sWeather refresh data only just once.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 04, 2014, 01:33 PM
@zanecek: Will you please try this interim build and let me know if it solves the issue?

http://skwire.dcmembers.com/apps/sweather/sWeather_v1.5.1.2.zip (http://skwire.dcmembers.com/apps/sweather/sWeather_v1.5.1.2.zip)
Title: Re: Release: sWeather (tray-based weather app)
Post by: mikemike777 on January 05, 2014, 05:20 AM
Can you maybe add free weather sources from say wunderground.com which
can send out XML like this:  http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=KMNAPPLE10

for much more RealTime updated weather temp for those of us who live is rapidly
changing weather climates.

Thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 05, 2014, 08:50 AM
Hi, mikemike777, and welcome to the DonationCoder website.   :)

Can you maybe add free weather sources from say wunderground.com which
can send out XML like this:  http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=KMNAPPLE10

This would require some pretty thorough changes to sWeather and is not something I have plans for in the near future.  I haven't ruled it out, though.
Title: Re: Release: sWeather (tray-based weather app)
Post by: TaoPhoenix on January 05, 2014, 09:40 AM
I just got around to putting this in. : )

It's cute, and I'm terrible on the weather! I never feel like pulling out my phone or trying to go to weather.com etc. The 5 day is good enough for me. (I don't need ten, and the last five change anyway!)

Title: Re: Release: sWeather (tray-based weather app)
Post by: zanecek on January 06, 2014, 05:20 AM
@zanecek: Will you please try this interim build and let me know if it solves the issue?

http://skwire.dcmembers.com/apps/sweather/sWeather_v1.5.1.2.zip (http://skwire.dcmembers.com/apps/sweather/sWeather_v1.5.1.2.zip)
Thank you for the quick response.

I tested it, and v1.5.1.2 after sleep/hibernation automatically continues in the periodic weather data refresh (well done!), but this version does not load new data once immediately after waking up (but this is less significant problem).

And, in addition, new version fix another bug - automatic extension the column widths in extended view each time you open this window. Nice! This bug probably related to the fact that I use 125% system zoom the screen in Windows.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 07, 2014, 01:28 PM
I tested it, and v1.5.1.2 after sleep/hibernation automatically continues in the periodic weather data refresh (well done!), but this version does not load new data once immediately after waking up (but this is less significant problem).

Right now, the code will do a refresh fifteen seconds after receiving the wakeup message and then the regular timer starts (whatever you have configured).  So, if you have a working network connection at the fifteen second mark, it should update.

And, in addition, new version fix another bug - automatic extension the column widths in extended view each time you open this window. Nice! This bug probably related to the fact that I use 125% system zoom the screen in Windows.

Correct, it was due to the 125% DPI setting.  This bug was reported and fixed in another one of my apps so, as I update my apps with listviews, they should get this bugfix as well.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 07, 2014, 01:51 PM
Website (http://skwire.dcmembers.com/wb/pages/software/sweather.php) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.2 - 2014-01-07
    ! Refresh timer wasn't set properly after waking up from hibernation.
      (Thanks, zanecek)
    ! DPI-related fix to saved listview column widths.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kilele on January 08, 2014, 04:50 AM
Problem on my pc :
The main window ('Show' from the tray bar) not showing up on my xp, it only appears a vertical portion of the title bar, it's like the window can't be drawn on top of the screen
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 08, 2014, 07:47 AM
The main window ('Show' from the tray bar) not showing up on my xp, it only appears a vertical portion of the title bar, it's like the window can't be drawn on top of the screen

Odd, it seems to work here okay.  Would you mind PM'ing me a copy of your config.ini file?
Title: Re: Release: sWeather (tray-based weather app)
Post by: kilele on January 08, 2014, 10:02 AM
works fine after a reboot, thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 08, 2014, 10:06 AM
works fine after a reboot, thanks!

If it does that again, please send me your config.ini file before rebooting or shutting down sWeather.   ;)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on March 10, 2014, 06:39 AM
[ You are not allowed to view attachments ]

Installed this last night and found this on my screen this morning. Presumably something missing but not sure what.

<<two days later>> It's happened twice now.

<<15/3>> Three times now.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Dirge on June 30, 2014, 12:25 PM
I’ve encountered four minor bugs with sWeather v1.5.2.1:

1) When the mouse cursor is placed over the current Wind readout in the main window, the conversion message in the status bar at the bottom of the window says “Converted visibility: [...]” instead of “Converted wind: [...]”, though it does give the properly converted wind speed.

2) When the text message (“PM Thunderstorms,” “Few Showers,” “Scattered Thunderstorms,” etc.) in the extended forecast box for a given day is more than two lines/rows of text long, the additional lines are cut off and can’t be read; all that can be seen is the top two or three rows of pixels of the third line of text. Perhaps a change could be made to show the complete text in the status bar when mousing over such truncated text(?).

3) When the main window is displayed and the mouse cursor is off to the side (not hovering over the window), the message in the status bar doesn’t always display “Conditions as of: [date & time of last Yahoo! update]” (as I suspect it should); it often displays the Converted temp of some random day of the week.

4) The “Feels like” temperature displayed on the main window is always the same as the actual current temperature (for all locations) and does not reflect the “Feels like” temperature on the Yahoo! Full forecast Web page.

While I’m at it, I have three simple (to me, pains in the butt to you) feature requests:

1) The ancient mariner in me would like to see latitude and longitude displayed in degrees° minutes' seconds" N/S E/W format.

2) A Moon Phase indicator in the main window, preferably an icon with text (e.g., “Waxing Crescent”), but text-only would get the job done too.

3) A Precipitation indicator in the main window showing the amount of precipitation received in the last 24 hours or since midnight (or both). The Yahoo! Full forecast Web page doesn’t seem to show this info, so I don’t know if this info is available in its feed, but the associated Weather Channel page does provide this info.

I like the simple and efficient nature of sWeather, especially as I have an old, out-of-date computer that doesn't handle lots of fancy graphics too well. Thanks for going to the trouble of providing the program.

* * *

Windows XP (SP3)
Athlon XP CPU (w/SSE but not SSE2 and above support)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 30, 2014, 03:30 PM
Hi, Dirge, and welcome to DonationCoder.   :D

1) When the mouse cursor is placed over the current Wind readout in the main window, the conversion message in the status bar at the bottom of the window says “Converted visibility: [...]” instead of “Converted wind: [...]”, though it does give the properly converted wind speed.

Nice catch.  I'll fix this.

2) When the text message (“PM Thunderstorms,” “Few Showers,” “Scattered Thunderstorms,” etc.) in the extended forecast box for a given day is more than two lines/rows of text long, the additional lines are cut off and can’t be read; all that can be seen is the top two or three rows of pixels of the third line of text. Perhaps a change could be made to show the complete text in the status bar when mousing over such truncated text(?).

I'll see what I can do.

3) When the main window is displayed and the mouse cursor is off to the side (not hovering over the window), the message in the status bar doesn’t always display “Conditions as of: [date & time of last Yahoo! update]” (as I suspect it should); it often displays the Converted temp of some random day of the week.

This requires a bit of explanation.  For sWeather to change the statusbar text like it does, it captures the WM_MOUSEMOVE message.  What you're seeing is when you move the mouse away from the main form fast enough that it doesn't capture all those messages (which tells the app where the cursor is).  Once the mouse it outside the main form, it no longer receives those messages.  I suppose I could put a timer on there to watch for such but that seems like overkill, IMO, for this issue.

4) The “Feels like” temperature displayed on the main window is always the same as the actual current temperature (for all locations) and does not reflect the “Feels like” temperature on the Yahoo! Full forecast Web page.

I've noticed this as well.  Unfortunately, the Yahoo! RSS feeds powering sWeather don't have quite the same data as their Full Forecast pages.  You'd think they would...but they don't.

1) The ancient mariner in me would like to see latitude and longitude displayed in degrees° minutes' seconds" N/S E/W format.

2) A Moon Phase indicator in the main window, preferably an icon with text (e.g., “Waxing Crescent”), but text-only would get the job done too.

3) A Precipitation indicator in the main window showing the amount of precipitation received in the last 24 hours or since midnight (or both). The Yahoo! Full forecast Web page doesn’t seem to show this info, so I don’t know if this info is available in its feed, but the associated Weather Channel page does provide this info.

1) I can add an option for this.  To save me some research time, is there an easy way to convert the current data to this format?
2) The Yahoo! RSS feed does not contain this data.
3) The Yahoo! RSS feed does not contain this data.

I like the simple and efficient nature of sWeather, especially as I have an old, out-of-date computer that doesn't handle lots of fancy graphics too well. Thanks for going to the trouble of providing the program.

You're very welcome.  Thanks for giving it a thorough tryout.   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 01, 2014, 10:03 AM
Installed this last night and found this on my screen this morning. Presumably something missing but not sure what.

Welcome to DonationCoder, Brothbeard, and apologies for missing your post.  I'll have this issue fixed in the next build.  Thank you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Dirge on July 01, 2014, 12:00 PM
>> 1) The ancient mariner in me would like to see latitude and longitude displayed in degrees° minutes' seconds" N/S E/W format.

> 1) I can add an option for this.  To save me some research time, is there an easy way to convert the current data to this format?

Thanks for the quick reply.

Converting from decimal degrees to degrees/minutes/seconds is a simple but tedious little process; there’s probably a pre-written subroutine floating around to accomplish it in whatever language/framework you’re using, but I don’t know where you’d get such a thing. (The last time I wrote any code or did any programming, Jimmy Carter was in office and FORTRAN and punch cards were the computer status quo.) I thought that Yahoo! might provide feeds in both formats and that you could simply choose between them.
Title: Re: Release: sWeather (tray-based weather app)
Post by: cschw on July 01, 2014, 05:29 PM
Decimal degrees = DD.dddd°

Convention: 
Lat: +N/-S
Long: +E/-W

Assuming absolute values:
(DD.dddd - DD)*60 = MM.mmmm
(MM.mmmm - MM)*60 = SS.ssss

DD° MM' SS.ssss"

Wikipedia (http://en.wikipedia.org/wiki/Decimal_degrees) recommends using truncate and modulo....
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 02, 2014, 01:43 AM
Here you go, Dirge:

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.3 - 2014-07-02
    + Added DMS (degree, minute, second) format option for latitude and
      longitude readings.  (Thanks, Dirge)
    ! Fixed missing "na.ico" file in the Fat Cow tray condition theme.
      (Thanks, Brothbeard)
    ! Converted wind speed text string was incorrect.  (Thanks, Dirge)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on July 02, 2014, 02:41 AM
    ! Fixed missing "na.ico" file in the Fat Cow tray condition theme.
      (Thanks, Brothbeard)

I recall to have seen other themes with missing .ico files in the past (add-on I can't recall where I got them from, presumably this or another sWeather thread) and I just stopped using them :-[.
Could adding idiot-proof errorhandling to the routine that shows the icons be helpful as being a more generic solution?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 02, 2014, 03:11 AM
Could adding idiot-proof errorhandling to the routine that shows the icons be helpful as being a more generic solution?

Sure, that would be the logical thing to do but we can't have that in a Skwire Empire app, can we?  The Expectations Bar™ would be moved slightly up and I like to keep that thing at a nice low level.   :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: Dirge on July 03, 2014, 06:32 PM
Here you go, Dirge:

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.3 - 2014-07-02
    + Added DMS (degree, minute, second) format option for latitude and
      longitude readings.  (Thanks, Dirge)
    ! Fixed missing "na.ico" file in the Fat Cow tray condition theme.
      (Thanks, Brothbeard)
    ! Converted wind speed text string was incorrect.  (Thanks, Dirge)


Excellent ... I’m feeling more nautical already.
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 05, 2014, 06:09 AM
Nice piece of software!! I love to have it in my tray... I've two questions...
I live in Dubai and i'm from Lisbon, i always have the temperature and the icon visible. When i change the location to Lisbon and then back again to Dubai, normally the icon changes but not the temperature in the tray. It'll stay reflecting the Lisbon temperature still...

Second question: Normally temperatures here go easily above 40 degrees Celsius, but the "tray temperature" it seems to stop around 38/40... never shows the 43 our 44 (for example). The tray temperature does not refresh (will attach a Print Screen).. probably it's the same problem as in my first question. I don't know.. It changes to the current temperature if i choose a different font color
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 05, 2014, 11:45 AM
Hi, NunoEspadinha, and welcome to DonationCoder.

When i change the location to Lisbon and then back again to Dubai, normally the icon changes but not the temperature in the tray. It'll stay reflecting the Lisbon temperature still...
-NunoEspadinha (July 05, 2014, 06:09 AM)

I have seen this happen on my wife's computer (W7/64) but I don't experience it on my computer (W7/64) nor did I see it when I ran XP.  Frustratingly, I've never been able to track down WHY this happens so sporadically.  I've debugged the hell out of this issue and I'm 99.9% certain that the code is fine.  I have a hunch it's due to some Windows 7 tray icon handling bug or something.  As you have found, you can have better luck using certain tray temperature themes (try the Simple White and Simple Black).  Also, if you don't mind, could you switch over to the Windows Classic theme and see if the problem persists?  I use the Classic theme whereas my wife does not.

Second question: Normally temperatures here go easily above 40 degrees Celsius, but the "tray temperature" it seems to stop around 38/40... never shows the 43 our 44 (for example). The tray temperature does not refresh (will attach a Print Screen).. probably it's the same problem as in my first question. I don't know.. It changes to the current temperature if i choose a different font color
-NunoEspadinha (July 05, 2014, 06:09 AM)

I'm pretty sure this issue is caused by or, at least, related to the issue above.  Again, frustratingly, I don't see the issue on my computer.

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on July 05, 2014, 11:57 AM
Hm, tested here on W7/x64 with Aero theme, and it updates the numbers in the tray every time I change in my list of ~6 locations. Can this be related to having just 2 locations in the list ? (the off-by-1 anomaly)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 05, 2014, 12:01 PM
Hm, tested here on W7/x64 with Aero theme, and it updates the numbers in the tray every time I change in my list of ~6 locations. Can this be related to having just 2 locations in the list ? (the off-by-1 anomaly)

Thanks, Ath.  Yeah, this is the maddingly frustrating thing about this issue...how sporadic it is.  >:(  I have over 70 locations in my list and I've never experienced the issue. 
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 05, 2014, 12:28 PM
I can add one more location and test the suggested above.. I'll keep you posted..
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 16, 2014, 01:03 PM
Ok.. here's some news. I've added London so now i have 3 cities, and it works A LOT better.. almost no problems at all.. not even after hibernation or screensavers.. It seems to be working perfectly!! Will keep checking, and any other update i'll let you know.
One thing i've noticed.. everytime i restart windows the icon (sun, rain, etc.) always disappear from the tray.. back to the "Only show notifications" status. The temperature one is always there on the tray without problems
BTW.. it would be a good idea to put a link for this forum at the Help tab (for example)

Keep it up!!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 16, 2014, 01:15 PM
One thing i've noticed.. everytime i restart windows the icon (sun, rain, etc.) always disappear from the tray.. back to the "Only show notifications" status. The temperature one is always there on the tray without problems
-NunoEspadinha (July 16, 2014, 01:03 PM)

When it does this, what happens if you choose the Options > Reset tray icon positions from the menu?

BTW.. it would be a good idea to put a link for this forum at the Help tab (for example)
-NunoEspadinha (July 16, 2014, 01:03 PM)

In the Help > About box, there is a Forum button.

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 16, 2014, 01:35 PM
 ;D My bad about missing the forum button

Will try the reset thingy tomorrow and will post the result here
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 19, 2014, 09:44 PM
Ok.. tried again and again.. The icon always disappears from my tray after a re-start and the "Reset tray icon positions" does not solve the problem. Tried in the menu and with the right click/reset in both icon and temperature... also the F6
All the rest is working perfectly after adding a 3rd location..
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 19, 2014, 09:49 PM
Ok.. tried again and again.. The icon always disappears from my tray after a re-start and the "Reset tray icon positions" does not solve the problem. Tried in the menu and with the right click/reset in both icon and temperature... also the F6
All the rest is working perfectly after adding a 3rd location..
-NunoEspadinha (July 19, 2014, 09:44 PM)

Thanks for thoroughly testing this.   :up:  Unfortunately, I'm not sure how to fix it.   :(
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 19, 2014, 09:57 PM
It's not a major issue, specially if it's only happening with me ;)  I really like the program, and your support to it. Will keep on following your developments! Thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 19, 2014, 10:44 PM
It's not a major issue, specially if it's only happening with me ;)  I really like the program, and your support to it. Will keep on following your developments! Thanks!
-NunoEspadinha (July 19, 2014, 09:57 PM)

Thank you, for your efforts.  I've sent you a PM regarding sWeather.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 19, 2014, 10:54 PM
 :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: msteph on August 24, 2014, 10:49 PM
ghacks today (8/24) has a review of 9 desktop weather apps and Martin gives sWeather the top recommendation.

http://www.ghacks.net/2014/08/24/the-best-desktop-weather-programs-for-windows/

 :)

Mike S.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on August 25, 2014, 08:33 AM
That is just awesome to hear.  I think martin really summed it up well in his review:
"Recommendation
If you want a lightweight program that provides you with excellent forecasts and all the information you can possibly want, then sWeather is the first of this list that you should take for a test ride.
While it may be too bare bones for some, it makes up for that with low memory usage and being portable."

Weather app's can get really elaborate (and often beautiful), but many of us are interested in something lightweight, clean, efficient, ELEGANT, and free of ads, and sWeather just rocks for that.

Congratulations, skwire  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 25, 2014, 10:33 AM
ghacks today (8/24) has a review of 9 desktop weather apps and Martin gives sWeather the top recommendation.

Thanks for the heads up, Mike.  =]

Weather app's can get really elaborate (and often beautiful), but many of us are interested in something lightweight, clean, efficient, and free of ads, and sWeather just rocks for that.
Congratulations, skwire  :up:

Thanks, mouser.  sWeather is a favourite of mine (are we allowed to have our own apps as favs?   :P) and it's rather humbling to see it get that kind of recognition.

Title: Re: Release: sWeather (tray-based weather app)
Post by: Gadgetman496 on November 27, 2014, 08:43 PM
When I enable the 5 day extended forecast and turn on the "Show dates in extended forecast" It is displaying the incorrect dates. The date for each day are one day forward, example, as I type this post it is Fri 28th Nov 2014 but sWeather is displaying Fri 29th (see attached screenshot)

It's as if the date is incrementing but the name of day is not doing so until quite a bit later.

Title: Re: Release: sWeather (tray-based weather app)
Post by: kevlar_heart42 on December 04, 2014, 09:23 PM
 :Thmbsup: Based on the recommendation in GHacker, I have installed sWeather. I agree that for a low footprint/high content application your software is hard to beat. Count me in for a donation after I futz around with it awhile. Many thanks -- all of my former "go to" weather applications got smashed when their RSS feeds were changed or became too costly. If you have a Beta program, sign me up.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 05, 2014, 08:35 AM
Hi, Gadgetman496 & kevlar_heart42, and welcome to the DonationCoder site.   :)

It's as if the date is incrementing but the name of day is not doing so until quite a bit later.

I've noticed this as well at times and, like you mention, it happens if the RSS feed is late/incorrect.  Fixing it might be a bit tricky but I'll see what I can do.

:Thmbsup: Based on the recommendation in GHacker, I have installed sWeather. I agree that for a low footprint/high content application your software is hard to beat. Count me in for a donation after I futz around with it awhile. Many thanks -- all of my former "go to" weather applications got smashed when their RSS feeds were changed or became too costly. If you have a Beta program, sign me up.
-kevlar_heart42 (December 04, 2014, 09:23 PM)

Thank you for the kind words and donation.  They're much appreciated.  There is no official beta program, but I do sometimes release early builds that are announced on this thread.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 15, 2014, 01:06 AM
Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.4 - 2014-12-15
    + Added 'Feels like' temp to the tray tooltip.  (Thanks, Ken Z.)
    ! Hopefully fixed a long-standing bug with the temperature icon not
      displaying the correct temperature.  This had to do with the fact that
      Windows 7, at least, does not appear to like 1-bit colour icons in the
      tray.  Crazy...
Title: Re: Release: sWeather (tray-based weather app)
Post by: kevlar_heart42 on December 15, 2014, 06:28 AM
Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.4 - 2014-12-15
    + Added 'Feels like' temp to the tray tooltip.  (Thanks, Ken Z.)
    ! Hopefully fixed a long-standing bug with the temperature icon not
      displaying the correct temperature.  This had to do with the fact that
      Windows 7, at least, does not appear to like 1-bit colour icons in the
      tray.  Crazy...


Very cool. Because I am a bit dense (and new), is there a way to update sWeather without unzipping the file again to its directory?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 15, 2014, 08:35 AM
Very cool. Because I am a bit dense (and new), is there a way to update sWeather without unzipping the file again to its directory?
-kevlar_heart42 (December 15, 2014, 06:28 AM)

No, there is not.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Postal on January 30, 2015, 06:55 AM
Would it be possible to show the temperature overlaid on the main tray icon?  This would help me de-clutter my systray.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 30, 2015, 07:09 AM
Hi, Postal, and welcome to the DonationCoder site.   :)

Would it be possible to show the temperature overlaid on the main tray icon?

Without a huge amount of code refactoring, no, this isn't possible.  Apologies.   :-[
Title: Re: Release: sWeather (tray-based weather app)
Post by: Postal on January 30, 2015, 07:50 AM
Hi, Postal, and welcome to the DonationCoder site.   :)

Would it be possible to show the temperature overlaid on the main tray icon?

Without a huge amount of code refactoring, no, this isn't possible.  Apologies.   :-[

Never mind.  Thanks for the prompt response anyway - and it's still a nice little add-on for my kit.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mimori on May 13, 2015, 02:07 PM
sWeather is absolutely great.

I have just one question though, can it be possible to have sWeather check yahoo weather using port 443, so as to conceal the user's WOEID from potential eavesdroppers?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 13, 2015, 07:00 PM
Hi, Mimori.  Thank you for the kind words and welcome to the DonationCoder site.

I have just one question though, can it be possible to have sWeather check yahoo weather using port 443, so as to conceal the user's WOEID from potential eavesdroppers?

Here you go:

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.5 - 2015-05-13
    + Added a "Use https:// (SSL) when possible" option.  (Thanks, Mimori)
Title: Re: Release: sWeather (tray-based weather app)
Post by: the_joat on July 26, 2015, 11:53 PM
Hi. I recently tried to upgrade sWeather from v1.0.5 to v1.5.5 (on WinVista64). While the old version works fine, the new version doesn't seem to be able to get the feed.

Screenshot: https://flic.kr/p/wwUEMR

I tried clicking on the "Use https:// (SSL) when possible" option, but it doesn't seem to work. That is, I check the box and click on 'Save', but when I reopen the configuration window to loook, the box is unchecked.

Any ideas?

For now, I've reverted back to v1.0.5
Title: Re: Release: sWeather (tray-based weather app)
Post by: M0g13r on September 04, 2015, 08:14 AM
maybe i found a solution for the not showing temp icon on win 7/vista

If ( Icon_Temp = 1 )
{
Tray_Icon_ID := Tray_Add( hGui, "OnTrayIcon", A_ScriptDir . "\images\tray-temperature\" . Image_Dir_Temp . "\" . sTemp . ".ico", "" )
Tray_Modify( hGui, Tray_Icon_ID, A_ScriptDir . "\images\tray-temperature\" . Image_Dir_Temp . "\" . Strip(sTemp) . ".ico", "" )
% ( Extra_Tray_Refresh ) ? ( Tray_Refresh() ) : ( "" )
}
GoSub, Gui_Refresh_Main
GoSub, Tray_Icon_Refresh       <=inserting this fixed it for me .... also fixes the gap between the two icons after loading
If ( Start_Min != 1 )
{
Gui, Show, x%Posx% y%PosY%, % AppName
}



hmpf ... doesn't work ... sry :\
i swear it was working .... damn win7 suxx :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: AzureToad on November 03, 2015, 01:11 PM
Love sWeather, does what I need it to do very well, thank you.
I'm currently running v4.5.4 build 1 on Windows 7 Pro.

This falls under an enhancement request, I guess.
Having the current temp displayed in system tray is fine, however I typically auto-hide my taskbar/system tray so I don't see the temp unless I change my Windows focus to the taskbar.

What'd I'd like is to have the titlebar be configurable to display current information and to have an option to roll-up the display to just the titlebar and to keep on top of other windows.
The advantages to this are:

This is a mock-up of what my current sWeather window would look like with this change (yes, I know my theme isn't to everyone's liking...) :
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: offroad on November 24, 2015, 07:11 AM
looks like sweather is being blocked in windows 7 professional.  Not sure if its the application that is being blocked, or the yahoo data link that is being blocked.  either way sweather is now no longer working for me.

it was working fine over the last several weeks.

Temperature is showing data from a week or two ago.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 24, 2015, 08:25 AM
Hi, offroad, and welcome to the DonationCoder site.   :)

looks like sweather is being blocked in windows 7 professional.  Not sure if its the application that is being blocked, or the yahoo data link that is being blocked.  either way sweather is now no longer working for me.

Seems to be working fine for me on several Win7 Pro/Ultimate systems I run/maintain.  Any other sWeather users experiencing any issues?
Title: Re: Release: sWeather (tray-based weather app)
Post by: offroad on November 24, 2015, 09:07 AM
okay now its working.  not sure of the glitch in data.  Now its not working.  When I do a REFRESH I get data from last week being displayed.  Only happens when I REFRESH, so not sure why.

the data displayed is old data.  Notice the pictures say conditions as of Nov 13 and Nov 10.  Today is Nov 24 and I just took these pictures.

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on November 24, 2015, 12:18 PM
I can confirm that it's displaying old data several times a day. Don't know how old, but I was blaming yahoo for that. I'll try to clean out my temp dir, but still suspect yahoo serving bogus data, as there seem to be other users having issues.
Or are we maxing out the amount of data that your api-key allows, Skwire?
Title: Re: Release: sWeather (tray-based weather app)
Post by: mike000 on November 24, 2015, 12:23 PM
Yahoo weather API has been returning random old invalid data for over 3 weeks now.
I am surprised more here have not noticed.  It has effected many apps in IOS and
Pebble watch, etc.  Sometimes the API will return the current temp - but most times
it returns a temp from sometime in the last week or so.  Ideally we should be looking
at another API such as maybe Weather Underground's API - as Yahoo has basically
been ignoring the problem.   

Also I can only assume many havent noticed it here because they must live in a place
where the temp doesnt change much??  If you look at the timestamp of the temp
received after doing a refresh - you will see it is data from days ago more often than not.

Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on November 24, 2015, 01:26 PM
Ideally we should be looking
at another API such as maybe Weather Underground's API

if that were possible it would be Wunderful :)
(seriously)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Shades on November 24, 2015, 05:09 PM
From earlier news posts I gathered that the state of current (US owned/operated) weather satellites is dire as they are old and failing. From that post I also understood that no-one is willing or able to spring for new ones.

So, for once, it could be possible that Yahoo isn't to blame for the rubbish data they provide  :P
Title: Re: Release: sWeather (tray-based weather app)
Post by: mike000 on November 25, 2015, 08:54 AM
As of this morning it is finally working okay now - apparently Yahoo finally fixed it?

Title: Re: Release: sWeather (tray-based weather app)
Post by: offroad on November 25, 2015, 09:00 AM
yes everything seems to be functioning for now.  Cant argue with free application data stream, so no real complaint about this service.  Guess all those weather stations that must have the data synced every few minutes, and the communication protocols can get scrambled from time to time to receive at Yahoo.

Just glad its working for a while longer.

Title: Re: Release: sWeather (tray-based weather app)
Post by: jwb7605 on December 01, 2015, 11:01 PM
SLICK program.   :Thmbsup:
I added some locations where other people I know live, works fine.
ONLY complaint is that when I click for a "forecast", it always comes up at my location.
That's probably because I have "location" enabled, and Yahoo! forecasts aren't being called with proper arguments.
Title: Re: Release: sWeather (tray-based weather app)
Post by: RightPaddock on December 26, 2015, 02:21 PM
Running 1.5.5 - there's something wrong with 'future' forecast dates - see image. 

Not sure, but this may be a result of upgrade to Windows 10, I think it was OK in Windows 7.

Added : :-[ I see this has been previously reported, and it seems it maybe be a problem with yahoo

Did a disk clean up - no change

RP
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 26, 2015, 02:55 PM
Added : :-[ I see this has been previously reported, and it seems it maybe be a problem with yahoo

Yep, it is.   :-\
Title: Re: Release: sWeather (tray-based weather app)
Post by: RightPaddock on December 27, 2015, 01:49 PM
Added : :-[ I see this has been previously reported, and it seems it maybe be a problem with yahoo

Yep, it is.   :-\

Seems to have fixed itself :-)
Title: Re: Release: sWeather (tray-based weather app)
Post by: shawnboy99 on December 30, 2015, 03:53 AM
Great program! Ran into an issue with weather for Djibouti. There are multiple locations for the place, and all displayed NA, they're however shown on Yahoo.  (https://www.donationcoder.com/forum/esmileys/gen3/2Signs/signs028.gif)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 30, 2015, 10:02 AM
Hi, jwb7605 & shawnboy99, and welcome to the DonationCoder site.   :D

SLICK program.   :Thmbsup:
I added some locations where other people I know live, works fine.
ONLY complaint is that when I click for a "forecast", it always comes up at my location.
That's probably because I have "location" enabled, and Yahoo! forecasts aren't being called with proper arguments.

Apologies for the late reply.   :-[  I have confirmed this and I will fix it.

Great program! Ran into an issue with weather for Djibouti. There are multiple locations for the place, and all displayed NA, they're however shown on Yahoo.  (https://www.donationcoder.com/forum/esmileys/gen3/2Signs/signs028.gif)

For whatever reason, it looks like the Yahoo Weather API entries for Djibouti are not working:

http://weather.yahooapis.com/forecastrss?w=23424797
http://weather.yahooapis.com/forecastrss?w=2345158
http://weather.yahooapis.com/forecastrss?w=1310941

Compare that to Codyville, Maine, for instance:

http://weather.yahooapis.com/forecastrss?w=2382514

Unfortunately, there isn't much I'm going to be able to do about this.   :(



Title: Re: Release: sWeather (tray-based weather app)
Post by: asdsadgfgfgfhfgh on January 08, 2016, 03:34 AM
Tray icon is disappeared.
Bug or what? How to fix that?
[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: M-53 on January 19, 2016, 06:32 PM
Tray temperature disappeared if I use metric units.
in other case tray temperature is visible.
[ You are not allowed to view attachments ][ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: JanJ on February 12, 2016, 06:08 AM
Hello there... FIRST POST..... W7-64 here.

A little History....  For Years and Years I've used Weather Pulse and loved it.  I stuck with them during the 'no data' times, and then it came back....
And now it seems to have died altogether....  It will be missed....

So for past week I've been using Sweather, and I think I've finally found something worthy of replacing Weather Pulse...

I do have a question about the future of the program....   

One of the things I loved about Weather Pulse was the individualized (per location) Radar Loop...    Is there any chance that this option may evolve in a later version of Sweather?

I can see a donation to you folks for this program!   Thanks!!!

JanJ
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 12, 2016, 08:53 AM
Hi, JanJ, and welcome to the DonationCoder website.   :Thmbsup:  Thank you for taking the time to post.

A little History....  For Years and Years I've used Weather Pulse and loved it.  I stuck with them during the 'no data' times, and then it came back....
And now it seems to have died altogether....  It will be missed....

Agreed.  WeatherPulse was my favourite weather app back in the day.

One of the things I loved about Weather Pulse was the individualized (per location) Radar Loop...    Is there any chance that this option may evolve in a later version of Sweather?

I liked that as well.  Unfortunately, the Yahoo Weather API does not offer anything similar.

I can see a donation to you folks for this program!   Thanks!!!

Donations are always welcome.  Thanks for the consideration.   :)


Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 28, 2016, 01:29 PM
Skwire I am a disabled person  I am using Windows 10 when I enable the 10  day extended forecast and turn on the "Show dates in extended forecast" It is displaying the incorrect dates. The date for each day are three day forward, example, as I type this post it is Sun  29th Feb 2016 but sWeather should be displaying Sun 1 (see attached screenshot)

It's as if the date is incrementing but the name of day is not doing so what is the fix please get back to me
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 01:38 AM
I do find that the Yahoo weather service that sWeather is using, is quite flakey, again. :'(
When I tried the 10 day forecast, it didn't even show data for day 6 - 10, so I went back to my default of 5 days forecast. :o
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 02:03 AM
Ath I am using Windows 10 when I enable the 10  day extended forecast and turn on the "Show dates in extended forecast" It is displaying the incorrect dates. The date for each day are one day forward,  I went back to my default of 5 days forecast same thing  is theirswe fix please get back to me
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 02:28 AM
Ath I am using Windows 10 when I enable the 10  day extended forecast and turn on the "Show dates in extended forecast" It is displaying the incorrect dates. The date for each day are one day forward,  I went back to my default of 5 days forecast same thing  is theirswe fix please get back to me

As I said in reply to your PM, I'm not the developer of sWeather, just a user. Please have a little patience with us, we're all volunteers on a free forum, providing free software and services, and a lot of us have a job and/or a life besides the forum :tellme:
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 02:46 AM
Ath I am a disabled person please I apIogize I see this has been previously reported, and it seems it maybe be a problem with yahoo
 I know your not the developer of sWeather, just a user. who is the developer Please get back to me
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 29, 2016, 02:57 AM
@Ath: FWIW, the 10-day forecast data is working fine for the locations I keep.  If you want to share the location you're having issues with, I can at least verify it's not an sWeather problem.

@sportman12: I appreciate your interest in sWeather but, as Ath stated, please have some patience.  I do try, but I'm not always able to respond to posts and PMs.  I travel a lot for my regular day job (sometimes weeks in a row) and I write these applications in my spare time.  Please understand that there really is no need to keep sending PMs to me or other users.

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.6 - 2016-02-29
    * Changed timezone data source to the Time Zone DB at http://timezonedb.com
      Titlebar location times should be accurate again.
    ! Fixed off-by-one date in the extended forecasts (Thanks, sportman12)
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 03:28 AM
skwire and  Ath thanks I am not technical I will be patience. and wait for a forum responds to any questions  I have a question  to  Download
v1.5.6 - 2016-02-29 do I install it on top of 1.5.5.1  ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 04:28 AM
Fixed off-by-one date in the extended forecasts
Hm, for me that's not actually the case, it was displaying correctly before, but now it's off by one:

[ You are not allowed to view attachments ]

And day 6-10 are not shown. For any pre-configured location I've tried.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 04:33 AM
Ath did you install Download
v1.5.6 - 2016-02-29  ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 04:54 AM
Ath did you install Download
v1.5.6 - 2016-02-29  ?
Yes, ofcourse. Just unzip it on top of the previous version.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 12:09 PM
Ath dose v1.5.6 - 2016-02-29  work for you ?


 And do you close the old version snd install the new version ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 12:15 PM
Ath dose v1.5.6 - 2016-02-29  work for you ?
Except for the issues I reported above, but the empty 6-10'th forecast also was in the previous version. Most likely a Yahoo issue, IMHO.

And do you close the old version snd install the new version ?
You will have to, as Windows won't allow you to overwrite a running executable.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 12:26 PM
Ath the old version works with 6-10'th forecast  with yahoo dose it not work for you the 6-10'th forecast for both versions ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 12:37 PM
Now that I'm at home and have updated sWeather, it is showing day 6-10 here (probably a networking issue at work, again :(), but the dates in the forecast are off by 1 day, as reported before. Maybe related to time-zone? I'm at GMT+1.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 29, 2016, 12:46 PM
Now that I'm at home and have updated sWeather, it is showing day 6-10 here (probably a networking issue at work, again :(), but the dates in the forecast are off by 1 day, as reported before. Maybe related to time-zone? I'm at GMT+1.

Ath, are all your locations off by one?  Also, would you be okay with sharing your config.ini and locations.lst with me?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 29, 2016, 12:55 PM
Yes they all are, from Romania all the way to Alaska.

See PM for config stuff.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 01:37 PM
skwire am about to download v1.5.6 - 2016-02-29 are all the  locations off by one?  can I tell you my  config.ini and locations.lst ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 02:13 PM
Ath dose v1.5.6 - 2016-02-29  work for you ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 29, 2016, 03:22 PM
So, Ath, your locations seem to display properly for me.   :huh:  I'm going to have to study this issue a bit more and see if it's something I can code around.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on February 29, 2016, 03:32 PM
skwire am about to download v1.5.6 - 2016-02-29 are all the  locations off by one? my 1..5.5.1 is correct can I tell you my  config.ini and locations.lst for so you can see if my location is good for  v1.5.6 ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 02, 2016, 09:19 PM
@Ath:  Please try this version and see if the off-by-one issue is fixed.

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.7 - 2016-03-02
    * Extended degree floor icons from -25 to -75 degrees to account for
      extremely cold locations.
    ! Fixed (again?) off-by-one date in the extended forecasts (Thanks, Ath)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 03, 2016, 01:38 AM
Fixed (again?) off-by-one date in the extended forecasts
Not sure what happened, but it's now off with 1.5 day, I think:

[ You are not allowed to view attachments ]

I chose Codyville as it's the demo-location included with sWeather, but it's 6 hours behind my location's time.
Now the forecast days are different, even though on both locations it's Thursday, March 3rd.

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on March 07, 2016, 12:02 AM
Ath here is a screenshot am in the east in the U S A when the time  goes 12 am the the date and day goes ahead one day when it goes to 3 am it corrects itself dosevit happen to you
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on March 07, 2016, 01:03 PM
Ath you see my message
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 07, 2016, 01:15 PM
Ath you see my message
Yes, but nothing to say about it. So I said nothing :huh:
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on March 07, 2016, 01:33 PM
Ath is the New version of sWeather working right with the correct day and date ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 08, 2016, 09:58 AM
@sportman12: Try the v1.5.8 build I just uploaded and let me know if the the off-by-one issue is fixed for you, please.

http://skwire.dcmembers.com/apps/sweather/sWeather.zip (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on March 10, 2016, 02:27 AM
skwire I apologize for having you to wait for my answer I installed v1.5.8 build here is a screenshot am in the east in the U S A when the time  goes 12 am in the first screenshot it was like this when it goes to 3 am second screenshot looks like this is this the   right way it should be
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 10, 2016, 09:20 AM
Yes, the five and ten-day forecasts come from a different part of the Yahoo ecosystem, so that's just how it is.  However, at least, it appears I have the dates right.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 10, 2016, 10:20 AM
the five and ten-day forecasts come from a different part of the Yahoo ecosystem, so that's just how it is
I'm not using the 10 day forecast usually and I seem to be the only one not seeing day 6-10 (I've turned it back off already). Your explanation would suggests it's blocked by our network security because of the different url involved. No problem for me.

Looks like it's fixed then :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on March 10, 2016, 11:45 AM

skwire so when it is 12 am my time east u s a  it should be off a day til 3 am ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 11, 2016, 12:54 AM
skwire so when it is 12 am my time east u s a  it should be off a day til 3 am ?

It appears to be that way.  *shrug*
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on March 11, 2016, 01:15 AM
skwire the off a day  dose it need a fix ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 14, 2016, 02:34 PM
skwire the off a day  dose it need a fix ?

This is a Yahoo issue; I cannot fix it.
Title: Re: Release: sWeather (tray-based weather app)
Post by: finchley on March 25, 2016, 09:52 AM
Since early this morning (about 1am 25 Mar 16) sWeather is running but it isn't accessing the weather server.  Is something up with the server or is Windows blocking it (on my end).  I've updated to the latest and the behavior is the same.  If the problem is on my end someone is going to have to guide me on how to fix it since I am not that IT-savvy.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 25, 2016, 10:05 AM
Hi, finchley, and welcome to the DonationCoder site.   :)

Since early this morning (about 1am 25 Mar 16) sWeather is running but it isn't accessing the weather server.  Is something up with the server or is Windows blocking it (on my end).  I've updated to the latest and the behavior is the same.  If the problem is on my end someone is going to have to guide me on how to fix it since I am not that IT-savvy.

https://developer.yahoo.com/weather/ (https://developer.yahoo.com/weather/)

Apologies for this; it's not your fault.  Unfortunately, Yahoo have changed their Weather API that sWeather uses.  I'll try to find some time to update sWeather to work with the new API.
Title: Re: Release: sWeather (tray-based weather app)
Post by: chance of sun on March 26, 2016, 08:26 AM
Seeing the same problem as finchley, except for me, it started 2-3 days ago.
Upgraded to v1.5.8 build 1, but no joy.
Just stumbled on the website message posted yesterday.

Any plans to move to a different provider/API? Curious what the advantage is to using Yahoo, especially since their data/detail isn't as good as other services.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 27, 2016, 10:51 AM
Hi, chance of sun, and welcome to the DonationCoder site.   :Thmbsup:

Any plans to move to a different provider/API? Curious what the advantage is to using Yahoo, especially since their data/detail isn't as good as other services.
-chance of sun (March 26, 2016, 08:26 AM)

No plans currently.

The problem is that a lot of the other sites' "free" API access limits the number of total API calls per hour/day, etc.  Though I have no real data to back it up, sWeather seems pretty popular, and I fear that it would exceed most sites' free API limits.  An option is to pay ($$$) for more API access but I don't get near enough donations to cover using a pay tier for most sites' APIs.

Yahoo!'s API is free, easy to work with (until now, sorta), and they never seemed to have an API call limit issue with sWeather.  They recently changed things so that I have to use OAuth (pain in the ass) to access an entirely different API than what sWeather was using beforehand. 

Which service did you have in mind?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 27, 2016, 11:46 PM
I've just updated sWeather to v1.5.9 which should support Yahoo!'s new weather API.  Please download and test.

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.5.9 - 2016-03-27
    * Updated sWeather to work with new Yahoo! Weather API.
    + Added Yahoo! logo as per new API's attribution guidelines:
      https://developer.yahoo.com/attribution/
    ! Fixed non-working "Full forecast" links.
    ! Fixed cursor when hovering over buttons and links.
    ! Right-click copy data now includes days 6-10 of the extended forecast.
Title: Re: Release: sWeather (tray-based weather app)
Post by: AzureToad on March 28, 2016, 12:14 AM
I've just updated sWeather to v1.5.9 which should support Yahoo!'s new weather API.  Please download and test.

Works great for me! Thank you for the dedication and hard work you've put into this - I really appreciate it!
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on March 28, 2016, 12:16 AM
Downloaded.. Appears to be working.  That was fast work upgrading that!!!!

Sending some donationcredits -- and I suggest other sWeather users do the same to show some appreciation for such a fast non-trivial fix -- it doesn't get any better than that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 28, 2016, 12:18 AM
Thanks for the kind words, AzureToad & mouser.  Much appreciated.   :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 28, 2016, 04:28 AM
Another +1 :Thmbsup:

D-Credits are in the mail 8)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 28, 2016, 08:08 AM
Thanks, Ath, much appreciated.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: MilesAhead on March 28, 2016, 09:51 AM
I noticed when I saved the old .ini file to desktop, then deleted all old files from folder, then unzipped new files in and move the .ini file back(as I usually do with portable programs) I could not search to get a location.  City State Country or Zip when clicking Lookup  Button nothing happens.

I unzipped into an empty folder and it worked as expected as far as that goes.  The other weird thing when I click on Full Forecast link, I get the weather forecast page.  But as soon as I slide the mouse over the browser page it starts showing me some weird desktop screen caps.  Like a futuristic building and a rain forest shot.  I can't click on anything to get the page to do anything.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 28, 2016, 11:08 AM
The other weird thing when I click on Full Forecast link, I get the weather forecast page.  But as soon as I slide the mouse over the browser page it starts showing me some weird desktop screen caps.  Like a futuristic building and a rain forest shot.  I can't click on anything to get the page to do anything.

I tested this in a new VM and I get the same popup you're describing.  However, I just clicked the "X" in the upper right of the popup and was able to access the weather site just fine.   :huh:

Title: Re: Release: sWeather (tray-based weather app)
Post by: MilesAhead on March 28, 2016, 01:01 PM
Running again to try what you wrote I double clicked the tray icon to Show and instead got this:

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 28, 2016, 01:02 PM
Which OS are you running?
Title: Re: Release: sWeather (tray-based weather app)
Post by: MilesAhead on March 28, 2016, 02:52 PM
Which OS are you running?

Windows 8.0

Let me try it again without this external keyboard.  Sometimes the touchpad can get, er, touchy with stuff leaning on it.  I'll unzip and try it fresh just a sec..

Title: Re: Release: sWeather (tray-based weather app)
Post by: MilesAhead on March 28, 2016, 02:59 PM
It seems to come right up with one click on the cloud tray icon now.  Sorry.  It must have been the touchpad acting up.  Go figure.  :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: finchley on March 28, 2016, 03:39 PM
The behavior is a bit goofy now.  Trying to get to the options is a chore.  I have to wait about 15 seconds before the menu appears and then I get the following error:
[ You are not allowed to view attachments ]

Now at this point it either terminates or continues on and actually brings up the options menu.  Clicking on the save button in the options usually gets the "not responding" message.  However, the options will eventually be saved and the application will continue.  If you click on the X button then you will definitely get the "not responding" message and it will terminate.  Windows will of course try to find the reason for the early termination but it won't (I don't think it ever has).

So it kinda works (it's all hit-or-miss) but not like it did before.

Just in case anyone asks:  Windows 7 Pro 64-bit
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 28, 2016, 04:25 PM
@finchley: This is probably due to the 1) lack of responsiveness of the new API and/or 2) the fact that it requires OAuth authentication.  During my testing, I noticed that the new API seems to be much slower than the old one.  On a hunch, I don't think this has much to do with the OAuth requirement; I think it's more the Yahoo! console API and the YQL (Yahoo! Query Language) I have to use now.  I've noticed some delays here and there on my home connection but have not seen what you're describing.  What kind of internet connection are you using?  Is it usually fast, stable, etc?
Title: Re: Release: sWeather (tray-based weather app)
Post by: The Tramp on March 29, 2016, 04:22 AM
Just installed the download, it seems that the feels like is not converted to celcius.
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 29, 2016, 05:10 AM
^, and also the Barometer value is quite high :o
Title: Re: Release: sWeather (tray-based weather app)
Post by: Dogmeat on March 29, 2016, 07:26 AM
Thanks for the API fix! The connection to the Yahoo server seems to be working. Just a few still with grokking the API data:
1) I think some of the data is being misread. The "Feels like" is showing as 28C but it is 3C outside. The wind speed is 54 km/h, 100% humidity and a massive barometer reading. No tropical storm outside.  :)
2) The time for sunrise and sunset is dropping the trailing 0 e.g. 7:00 am is showing as 7:0 am.
3) The date/time in the title bar is fixed at Thursday, January 1 0:00 AM.

Thanks for all the work though.

DM

PS I have no issue (or noticed any) with responsiveness though I do have a pretty fast rig and a very fast fibre connection.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 29, 2016, 08:48 AM
Thanks for the bug reports, all, and welcome to DonationCoder for the first-time posters.

The bloody frustrating thing is that the data bugs are actually API bugs on Yahoo!'s side, i.e., they're not sWeather bugs.  Of course, some I can fix with math (Feels Like temp always reporting in Fahrenheit, for instance) but what happens if Yahoo! fix their side? Any math fix I implemented would then bork things up again.  The sunrise/sunset issue is, again, a data issue on their side.  Though, I should be able to fix this one so that it displays properly even if they end up fixing their side of things.

@Dogmeat: Regarding the titlebar timestamp, it uses a different API at https://timezonedb.com/.  Are you able to reach this site?  The feature seems to work fine for me.
Title: Re: Release: sWeather (tray-based weather app)
Post by: The Tramp on March 29, 2016, 09:50 AM
The bloody frustrating thing is that the data bugs are actually API bugs on Yahoo!'s side, i.e., they're not sWeather bugs.  Of course, some I can fix with math (Feels Like temp always reporting in Fahrenheit, for instance) but what happens if Yahoo! fix their side?

I see....

Now that you mention, on the status bar it says, when I hove the mouse on the Feels like: Converted feels like 147 F when it shows 64 C

Same with pressure: Converted barometer 982.00 in and steady.
Title: Re: Release: sWeather (tray-based weather app)
Post by: M0g13r on March 29, 2016, 03:52 PM
on win7 everything is fine

on winXP
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: MilesAhead on March 29, 2016, 04:27 PM
The bloody frustrating thing is that the data bugs are actually API bugs on Yahoo!'s side,
...

If just calling a few APIs are this much fun just imagine a few years from now when most everything will run in the cloud!  Ughh.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 29, 2016, 10:37 PM
Workarounds for new Yahoo! Weather API inconsistencies.   >:(

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.6.0 - 2016-03-28
    ! Several fixes related to bad or different data coming from the new Yahoo!
      API.
        - Barometric pressure readings should now be correct.  Hey, I learned
          what a hectopascal is.  Thanks, Yahoo!.  =\
        - "Feels Like" temp should now be correct when using metric units.
        - Fixed Sunrise/Sunset times missing a trailing zero.  WTH, Yahoo!?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on March 30, 2016, 01:33 AM
That looks much better, thanks for fixing the Yahoo F*ckups :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: qbic on March 30, 2016, 05:31 AM
Hi, just registered to thank you for a great application and quick solving of the problem with the API.
I've been using sWeather for months now and it's really great little app.
Regarding alternative weather providers someone mentioned earlier here are some that are available
on the main weather app i use on Android:

- Open Weather Map
- Foreca
- Yr.no

Not that I have any complaints what so ever with the current provider, just thought i could chip in some info.
The app is free and have a lot of users so i think there is no problem with large amount of daily requests since everything works just fine.
Oh yeah, i noticed a small bug. For a couple of cities on my list sunset time is 7:70pm and 7:80pm :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 30, 2016, 10:45 AM
Hi, qbic, and welcome to the DonationCoder site.   :)

Hi, just registered to thank you for a great application and quick solving of the problem with the API.
I've been using sWeather for months now and it's really great little app.

Thank you for your kind words.   :)

Regarding alternative weather providers someone mentioned earlier here are some that are available
on the main weather app i use on Android:

- Open Weather Map
- Foreca
- Yr.no

Not that I have any complaints what so ever with the current provider, just thought i could chip in some info.
The app is free and have a lot of users so i think there is no problem with large amount of daily requests since everything works just fine.

Thanks for the suggestions.  I have checked into those sites before and their free tiers of their APIs (if they even have one) are limited.  What I'm saying is that, even if an app is free, the authors might be paying for better API access and, possibly, making up the costs in ad revenue.  I honestly don't know.  The cost of some APIs are waaay up there.  We're talking hundreds, and sometimes thousands, of dollars per month.   :o

Writing freeware is a hobby for me and all of my software is ad-free and bundle-free.  Other than very gratefully accepting donations, I don't do anything to monetise my software.  In fact, I've gone the rounds with certain software sites that have, without my permission, bundled my software with their toolbars, installers, and other garbage.  CNet, I'm looking at you.   >:(  The fact is, sWeather just doesn't get enough donations to justify me paying for any kind of API access.  I truly hope I don't come across as crying about this; that wasn't my intention.  Again, writing freeware is a labour of love for me and I really enjoy doing it.   :D


Oh yeah, i noticed a small bug. For a couple of cities on my list sunset time is 7:70pm and 7:80pm :)

Fixed, thank you.

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.6.1 - 2016-03-30
    ! Another fix for the incorrect Sunrise/Sunset times.  (Thanks, qbic)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on March 31, 2016, 04:59 AM
Hi,

I've just downloaded the latest version in the hope that things would start working again and the .exe file has been gobbled up by Norton Internet Security which complains that it is monitoring my keyboard. Since it's never done this with previous versions, I am puzzled. Is there anything I (or indeed you) can do? I'm running XP SP3.
Title: Re: Release: sWeather (tray-based weather app)
Post by: lotra on March 31, 2016, 06:50 AM
@ Brothbeard
In a 16 years of computing I have never seen piece of software (except for the malware, of course) that caused more problems than various Norton programs. That's just a side note, :) author will surely have better answer for your problem.

Anyway, new sWeather is working fine on my 2 machines with XP and Win7. Thanks for such a quick update, skwire!  8)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 31, 2016, 09:14 AM
I've just downloaded the latest version in the hope that things would start working again and the .exe file has been gobbled up by Norton Internet Security which complains that it is monitoring my keyboard. Since it's never done this with previous versions, I am puzzled. Is there anything I (or indeed you) can do? I'm running XP SP3.

Thank you for taking the time to write.  This is a false positive that comes and goes due to the language my applications are written in (AutoHotkey).  As a test in the past, I've written a single line AHK script and compiled it:

F1:: ExitApp

That's it...one hotkey to exit the application.  Even that won't come up clean on VirusTotal.  I know it's only my word, but I can state that there is no malware in any of my applications.

Years ago, when the AV companies were a lot fewer, I used to contact them about stuff like this.  Things would get fixed but, due to the AV updates, false positives would, inevitably, occur again. I got tired of dealing with it so now I just shrug and trust that my body of work speaks for itself.  I know it sounds terribly apathetic, but fighting it just isn't worth the cycles.  =]  Cheers.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kevlar_heart42 on March 31, 2016, 12:13 PM
Hi: Windows 10 Pro, version 1.6.1 works for a minute then crashes to null reading.  :huh:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on March 31, 2016, 01:33 PM
I've resolved the problem by asking Norton to exclude it from its SONAR checks. Thanks for replying though. It works beautifully.

Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 31, 2016, 01:48 PM
I've resolved the problem by asking Norton to exclude it from its SONAR checks. Thanks for replying though. It works beautifully.

Good to hear and thank you for the donation.   :Thmbsup:

FWIW, these false positives are usually because of the keyboard hook code AutoHotkey uses for the global shortcuts.  Basically, the A/V engines see this as potential keylogger.  However, in this latest update, I didn't change around any of that code so it probably has to do with compiling sWeather with a later version of AutoHotkey than before.  This usually causes A/V signatures to go apeshit again regarding the keyboard hook thing.
Title: Re: Release: sWeather (tray-based weather app)
Post by: JanJ on April 02, 2016, 06:43 AM
I've noticed that the new version: 1.6.2.Build 1, will randomly act like the previous version did, (get no data) until you manually update it...
Sometimes on Windows load it loads, sometimes not... When Not, all the locations have no data.

Also, at times there will be a 'pregnant pause' from the time you refresh data, until it is seen... Other times it refreshes quite quickly...
Title: Re: Release: sWeather (tray-based weather app)
Post by: qbic on April 02, 2016, 07:10 AM
I've noticed that the new version: 1.6.2.Build 1, will randomly act like the previous version did, (get no data) until you manually update it...
Sometimes on Windows load it loads, sometimes not... When Not, all the locations have no data.

Also, at times there will be a 'pregnant pause' from the time you refresh data, until it is seen... Other times it refreshes quite quickly...

I can confirm this. It does hang when i try to refresh data manually, and than it doesn't show any weather data until it refreshes itself i suppose.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 02, 2016, 08:19 AM
@JanJ, @qbic: I've noticed this as well and it seemed particularly bad yesterday (especially later in the evening Central US time).  I'm mostly certain it's a Yahoo! issue, possibly one of capacity as more apps are moved to the new API.  At the moment I write this, it's very quick and it loaded my numerous locations into the expanded view with no hesitation at all.  I'll try to keep an eye on it and, the next time it's slow, I'll try to figure out if it's something in my code or not.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 03, 2016, 06:27 PM
Arghhh, the performance of this new API is frustrating.  After several hours of testing, I'm certain this is not an sWeather; hell, even the official Yahoo! developer page (https://developer.yahoo.com/weather/) doesn't return data a lot of the time.  I really hope they fix the issue but, in the meantime, I figured out a way to get data from the old API and have added an option for that (enabled by default).  As the changelog entry states below, I have no idea how long Yahoo! intend to make the older API available.  Please read the changelog entry for more caveats to this workaround.


Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.6.3 - 2016-04-03
    + Due to Yahoo!-realted issues with the new API, I've added a workaround
      option to use the old API.  This option is enabled by default.  That said,
      while the older API seems to be much more reliable, I cannot guarantee how
      long Yahoo! will make it available.  Maybe this workaround will buy enough
      time for Yahoo! to get their stuff together regarding the new API.  Please
      note that the data is slightly different between the two APIs and that the
      "Full forecast" link doesn't appear to provide proper links when using the
      old API.
    * Prettied up the Options dialog with some icons.
    * Made the main form display missing data more elegantly.
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 06, 2016, 04:06 AM
I figured out a way to get data from the old API and have added an option for that (enabled by default).

Thanks, now it's working on Win XP again (jep, I'm the one who' s still using XP)
Except the 5 and 10 days extended forecast does not work, but who cares?
That was and will be always only a guess.

Regards
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on April 06, 2016, 11:58 AM
When you say Except the 5 and 10 days extended forecast does not work, can you tell me which  5 and 10 days extended forecast does not work, ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 06, 2016, 12:12 PM
When you say Except the 5 and 10 days extended forecast does not work, can you tell me which  5 and 10 days extended forecast does not work, ?

(http://i65.tinypic.com/2q2fy49.jpg)
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on April 06, 2016, 12:23 PM
Ok if the 5 and 10 days extended forecast does not work as seen in the screenshot , can you show me a screenshot of the way it looks now if it dose not have the 5 and 10 days extended forecast does not work, ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 06, 2016, 02:50 PM
It looks like this because I deactivate the extended forecast always.

(http://i63.tinypic.com/986gea.jpg)
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on April 06, 2016, 04:07 PM
Dose the extended forecast for the new version of  sWeather work ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 06, 2016, 06:39 PM
no, does not work in version 1.6.3.1. (which is the most recent version at the time of this post).
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 06, 2016, 07:53 PM
Dose the extended forecast for the new version of  sWeather work ?

Instead of asking and waiting, why not just try it?  Yes, the extended forecasts do work on my test systems (all some flavour of Windows 7).

no, does not work in version 1.6.3.1. (which is the most recent version at the time of this post).

wd9598, I added Windsor, Ontario to my test instance and I get extended forecasts using both the old and new APIs.  I'm not sure what the problem is for your system.  It could be the fact that you're running XP but I've had reports from other users that sWeather runs fine on their XP systems.  Another sWeather user on this forum, Ath, has reported that the extended forecast works fine for him at home but not on his computer at work which would lead me to believe it's a proxy or some other internet connection anomaly.

Can you verify that your Windsor WOEID is 4079?
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on April 06, 2016, 10:15 PM
skwire I have Windows 10 dose it work when it refreshes it is like this in the screenshot ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 06, 2016, 10:20 PM
skwire I have Windows 10 dose it work when it refreshes it is like this in the screenshot ?

Why did you repost wd9598's screenshot?  As I stated in my previous post, the extended forecast DOES work for me and plenty of others.  For some reason, it's not working for wd9598.  In your case, why don't you simply TRY IT on your own computer instead of waiting to hear back on this forum?
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on April 06, 2016, 10:46 PM
skwire I have Windows 10 when it refreshes every 15 mins  it is like on the  screenshot ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 06, 2016, 11:41 PM
Are you running v1.6.3?  If not, please download it and see it fixes things.
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 07, 2016, 03:08 AM
It could be the fact that you're running XP
-skwire
I posted that before:
Thanks, now it's working on Win XP again
Except the 5 and 10 days extended forecast does not work



Can you verify that your Windsor WOEID is 4079?
-skwire
Verified

As I posted before: It does not matter that the EF (Extended Forecast) does not working for me,
I never used it (I only wanted to let You know).

But:
I tested the EF a few times in the past, it was working very well and without any problems on my system before the changes on Yahoo starts and everything had to be updated in sweather.
So it is not a bug in my system.
And I am not willing to switch to an other OS (because I am addicted to XP :-)
Again, it does not matter for me because I never used the EF.
So do not worry, it is fine like it is (for me).

Regards
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 07, 2016, 03:52 AM
UPDATE:

Here it comes:

(http://i66.tinypic.com/2wg4xed.jpg)

How I did that?
I played a little bit around with the sweather options:

And I switched from THAT:

(http://i67.tinypic.com/jh9cg4.jpg)


To THAT:

(http://i66.tinypic.com/29xhnkp.jpg)

I deactivated the metric units.
And the EF is working.

But Canada is a METRIC country and I am a metric guy and without METRIC I will not use sweather at all.
So I turned METRIC back on. Now, the EF is not working for me (and all the other Windows XP metric-guys here in Canada I guess) but as I posted: For me is fine, I do not need the EF at all.

Hopefully, my informations are helpful for fixing a few bugs in the sweather future.
Regards
Title: Re: Release: sWeather (tray-based weather app)
Post by: wd9598 on April 07, 2016, 06:36 AM
UPDATE 2:

I figured out something more:
It looks like Canada is the ONLY Country (or perhaps one of a few countries) in which metric is not working, I checked out three different countries (and one thing for sure: I will NOT check out more of them :-))

GERMANY:
(http://i63.tinypic.com/2w2pqnr.jpg)

FRANCE:
(http://i63.tinypic.com/mjl0z5.jpg)

ARGENTINA:
(http://i66.tinypic.com/2qbagxz.jpg)


All of the 3 countries are working fine with metric units, except Canada.
Why is it like this?
Because the weather in Canada was never predictable and it never will be :-))

So I do not believe it is a bug in sweather. Metric does not work for one country but for all the others? No that's not a sweather bug, this must have something to do with the source
sweather got his weather data from (I guess).

Regards
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 10, 2016, 12:51 AM
Based off of what I've seen over the past few days, it seems that Yahoo! have fixed the problems they were having with their new API.  Currently, for me, it's MUCH faster than the older API.  If anybody is up to it, feel free to test out the new API by unchecking the "Use older Yahoo! Weather API" option.  If you do so, I'd appreciate a quick post here with your findings.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on April 13, 2016, 01:28 AM
New API seems to work well this morning - in fact for the last day I've been having problems with the old one and only just noticed your message. Hoorah!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on April 13, 2016, 06:17 AM
With the Yahoo updates and current sWeather release (1.6.3b1) even the 10 day forecast is working fine now from my work-location. :Thmbsup:

The old API seems to have died completely for my work-location, not even the current weather is shown. :down:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 13, 2016, 12:53 PM
New API seems to work well this morning - in fact for the last day I've been having problems with the old one and only just noticed your message. Hoorah!
With the Yahoo updates and current sWeather release (1.6.3b1) even the 10 day forecast is working fine now from my work-location. :Thmbsup:

The old API seems to have died completely for my work-location, not even the current weather is shown. :down:

Yep, it looks like Yahoo! have completely killed access to the old API so I've uploaded a new build makes the new API the default.  I'll leave the API option switch in for the time being but will probably take it out in a future release (unless Yahoo! bring back access to the old API -- yeah, right).  That said, the performance of the new API has remained very good for me for the past week or so.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kriskret on April 19, 2016, 10:23 AM
This 1.5.9. build 1 doesn't work correctly on Windows 7. For example : shows - 12 *C --> Feels like +15*C . Also, errors- no choice to choose metric temperature and hPa - instead, shows mie in mBa. I sent you e-mail long 2 weeks ago or so, still no answer.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 19, 2016, 01:28 PM
This 1.5.9. build 1 doesn't work correctly on Windows 7.

Please update to the latest (v1.6.5 currently).
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on May 06, 2016, 04:44 AM
I have the latest version of sweather 1.6.5.1 and it has stopped working since a week or so ago.
I no longer get any data and everything is n/a. Also when I try a refresh, sweather more or less
hangs and takes a long time to recover, but still no data. I don't see any error msgs from sweather
either. Any ideas how to troubleshoot this?

 
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 06, 2016, 09:00 AM
Hi, click-click, and welcome to the DonationCoder site.

I have the latest version of sweather 1.6.5.1 and it has stopped working since a week or so ago.
I no longer get any data and everything is n/a. Also when I try a refresh, sweather more or less
hangs and takes a long time to recover, but still no data. I don't see any error msgs from sweather
either. Any ideas how to troubleshoot this?
-click-click (May 06, 2016, 04:44 AM)

sWeather seems to be working for me.  Anybody else having issues?

A couple of things:

1) Are you positive you're running 1.6.5.1?
2) Do you get N/A for all locations?

Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on May 06, 2016, 10:23 AM
Working fine for me too.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kriskret on May 06, 2016, 10:34 AM
Still shows (example) : + 3*C Feels like +32*C  <-- what the stupidity.  Use Metric option doesn't show atmospheric pressure in proper way. (Windows 7). Before your update it was O'K.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 06, 2016, 10:36 AM
Still shows (example) : + 3*C Feels like +32*C  <-- what the stupidity.  Use Metric option doesn't show atmospheric pressure in proper way. (Windows 7). Before your update it was O'K.

Which version of sWeather are you using?  Go to Help > About in the menu.
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on May 07, 2016, 05:38 AM

sWeather seems to be working for me.  Anybody else having issues?

A couple of things:

1) Are you positive you're running 1.6.5.1?
2) Do you get N/A for all locations?

filever on the exe file shows 1.6.5.1
N/A for all locations.

I'm in Germany and I see sweather accessing 98.137.200.255:443, but nothing happens and eventually times out. I'm also running Win7-32bit. Sweather worked fine for a while in the beginning after upgrading, but now it's more or less dead. I also tried without ssl in the options and sweather wentt to 188.125.93.100:80, but still no data

Another thing is if I try to access the GUI before sweather is finished trying to get data, the GUI won't show until the timeout occurrs and then I get the the GUI below. None of the buttons will work.
[ You are not allowed to view attachments ]

Title: Re: Release: sWeather (tray-based weather app)
Post by: silat on May 22, 2016, 07:44 AM
I have not been able to download a viable zip file from http://skwire.dcmembers.com/fp/?page=sweather. I have been trying for the last 2 days.
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on May 22, 2016, 08:54 AM
I have not been able to download a viable zip file from http://skwire.dcmembers.com/fp/?page=sweather. I have been trying for the last 2 days.

could be that the download is saved in the browser cache, so you keep getting the same corrupted download.
Try with a different browser, or try clearing the cache.
Title: Re: Release: sWeather (tray-based weather app)
Post by: silat on May 22, 2016, 04:47 PM
I have not been able to download a viable zip file from http://skwire.dcmembers.com/fp/?page=sweather. I have been trying for the last 2 days.

could be that the download is saved in the browser cache, so you keep getting the same corrupted download.
Try with a different browser, or try clearing the cache.

Thanks.
Of course I tried all that before I posted:)
Still unable to get it.
2 different computers.
4 different browsers.
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on May 22, 2016, 11:45 PM
^ odd, the download worked fine for me yesterday.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Deozaan on May 23, 2016, 01:19 AM
What's the MD5 hash of the file you're downloading? I just downloaded it and it appears to be working for me.

MD5: 77669563d6c10112c890bee0edcaaaaf

Size: 2.16MB (2,267,016 bytes)
Size on disk: 1.96MB (2,056,192 bytes)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mal on May 24, 2016, 03:35 AM
I downloaded the latest edition of SWeather.zip v1.6.5 build 1 but it doesn't have the "add" option.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 24, 2016, 09:43 AM
Hi, Mal, and welcome to the DonationCoder site.

I downloaded the latest edition of SWeather.zip v1.6.5 build 1 but it doesn't have the "add" option.

The "add" what option?  If you mean adding a new location, do a search, and double-click the location you want to add.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mal on May 24, 2016, 10:03 AM
Hi, Mal, and welcome to the DonationCoder site.

I downloaded the latest edition of SWeather.zip v1.6.5 build 1 but it doesn't have the "add" option.

The "add" what option?  If you mean adding a new location, do a search, and double-click the location you want to add.
Thank you.

Yes, adding a location. The only options I see is Edit, Delete, Up, Down.

I'm working on Window 7 64 bit. Would that be a problem?
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on May 24, 2016, 10:10 AM
^ not sure if it has changed,
but it's under:
menu: Options >Configure [F3]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mal on May 24, 2016, 10:57 AM
^ not sure if it has changed,
but it's under:
menu: Options >Configure [F3]
Whom are you responding to?
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on May 24, 2016, 11:29 AM
^ not sure if it has changed,
but it's under:
menu: Options >Configure [F3]
Whom are you responding to?

sorry if not clear, the '^' meant I was responding to previous post, i.e. to you.
Once you've opened the configure dialogue, as skwire says:
"do a search, and double-click the location you want to add"
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mal on May 24, 2016, 11:46 AM
^ not sure if it has changed,
but it's under:
menu: Options >Configure [F3]
Whom are you responding to?

sorry if not clear, the '^' meant I was responding to previous post, i.e. to you.
Once you've opened the configure dialogue, as skwire says:
"do a search, and double-click the location you want to add"
Oh, I get it. I thought I need the 'add' option to add a location. I went to the 'Lookup' option and typed in a city and it automatically listed all the cities in the world with this name and then selected it and don't even need the 'add' option. Wow! Lovely program. Thanks so much for your help.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 24, 2016, 12:47 PM
Oh, I get it. I thought I need the 'add' option to add a location. I went to the 'Lookup' option and typed in a city and it automatically listed all the cities in the world with this name and then selected it and don't even need the 'add' option.

No worries, I can see how you the interface would be a bit confusing.  I'll find some time to integrate an add button.

Wow! Lovely program. Thanks so much for your help.

You're very welcome and thanks for your kind words.  Also, cheers to all who jump in on these threads to help me out.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mal on May 24, 2016, 01:23 PM
Oh, I get it. I thought I need the 'add' option to add a location. I went to the 'Lookup' option and typed in a city and it automatically listed all the cities in the world with this name and then selected it and don't even need the 'add' option.

No worries, I can see how you the interface would be a bit confusing.  I'll find some time to integrate an add button.
I searched online how to use it and found some sites mentioning an "add" option above "edit". Because this option was missing, I mistakenly assumed that it doesn't work on my computer. But now everything is working fine and it's really a beautiful program. Thank you very much and good luck.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on May 30, 2016, 11:02 AM
Hi, I really love sweather. I had been using Mike Singer's 'Weather Watcher' for many years, but now that the older version no longer functions and the latest version requires is subscription model based, I was looking for an alternative.

I have one question please. v1.6.5.1.

See screenshot, I have the Refresh Time set to 15 min. I would expect the 'Updated:' to reflect a time within the last 15 minutes, but I am not seeing this. 'Updated' is showing a value over an hour old.

Thank you.[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 30, 2016, 11:15 AM
Hi, armus2112, and welcome to the DonationCoder site.   :Thmbsup:

See screenshot, I have the Refresh Time set to 15 min. I would expect the 'Updated:' to reflect a time within the last 15 minutes, but I am not seeing this. 'Updated' is showing a value over an hour old.

There are two timers at play here: 1) sWeather's and 2) Yahoo!'s.  sWeather reports the time that the Yahoo! Weather API reports and Yahoo! appear to update their results only hourly (as best I can tell).  Switching weather APIs is really not an option as the majority of the good ones are not free anymore and their cost is well outside the amount of donations I get for sWeather.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on May 30, 2016, 04:04 PM
Thanks for the reply. Just a suggestion, add something like this:

'Last provider update: Mon 30 May 2016 12:05 PM EDT'
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 30, 2016, 06:36 PM
Thanks, I'll change that in the next update.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on June 10, 2016, 04:12 PM
Is anyone having trouble with both the temp and condition automatically showing in the tray at logon? I have set both as 'Show icon and notifications' in Windows 7. Click "OK" in the Windows 'Customize' dialog. Log out. Login. Only the Temp icon shows. I obviously want both icons to show at logon time. Not sure if my Windows 7 is to blame here ?

EDIT: My screenshot of the 'Customize' setting is showing the settings after I had set both as 'Show icon and notifications' and saved those settings, then I logged out, logged in and visited the settings again, and the Conditions icon reverted to 'Only show notifications'. It does not save. Same happens in a fresh Win7 install in Virtual Box. Sorry for the confusion there.

[ You are not allowed to view attachments ][ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Deozaan on June 10, 2016, 04:31 PM
Is anyone having trouble with both the temp and condition automatically showing in the tray at logon? I have set both as 'Show icon and notifications' in Windows 7. Click "OK" in the Windows 'Customize' dialog. Log out. Login. Only the Temp icon shows. I obviously want both icons to show at logon time. Not sure if my Windows 7 is to blame here ?
[ You are not allowed to view attachments ][ You are not allowed to view attachments ]

Your screenshot shows that one is set to only show notifications, the other is set to always show the icon and notifications.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 10, 2016, 04:48 PM
Not sure if my Windows 7 is to blame here ?

Unfortunately, when it comes to programming around the Windows system tray, this can be an absolute exercise in frustration.  One of the first things I do with my Windows 7 systems is turn off that auto-hide feature.  That is, I enable the "Always show all icons and notifications on the taskbar" option.  I realise this doesn't help you much but, to manage tray icons, I use PS Tray Factory (http://www.pssoftlab.com) instead.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on June 10, 2016, 05:01 PM
Hi Skwire.

I just installed the latest version of sWeather in a fresh virtual Windows 7 machine. The same behavior is exhibited there. The Condition tray icon doesn't retain it's 'Show icon and Notifications' setting. The temperature icon sticks just fine.

I hope this is fixable :) I'm not sure if this is any incentive for you, but I'm willing to donate a decent amount  :Thmbsup:

Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 10, 2016, 07:09 PM
I hope this is fixable

The problem is that I do not know how to fix it.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on June 12, 2016, 02:30 PM
I have provided a short video showing the behavior of Weather Watcher Live. In the Windows 7 Notification Customize settings, you can see that there are 2 entries , one for temp, one for condition. Upon changing the setting for one, the setting for the other changes to the same setting. With sWeather, they are treated separately. Maybe this can help you. Maybe they are using a trick to register two notification icons with the same attributes somehow (I'm a developer, but not Windows).

https://youtu.be/yYXroVGfUj0
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 27, 2016, 02:54 AM
Hi Skwire.

I just installed the latest version of sWeather in a fresh virtual Windows 7 machine. The same behavior is exhibited there. The Condition tray icon doesn't retain it's 'Show icon and Notifications' setting. The temperature icon sticks just fine.

I hope this is fixable :) I'm not sure if this is any incentive for you, but I'm willing to donate a decent amount  :Thmbsup:
I am running Win 7 64bit and do not have this issue.
Both icons STAY showing in tray for me.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 27, 2016, 03:01 AM
unfortunately the temperature numbers in system tray are just that little bit too small. I checked the images folder and see that there IS room to have slightly bigger numbers as images.
Does anyone know where I can find another more readable set?
I searched to no avail.

Appreciated.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on June 28, 2016, 03:42 PM
I am running Win 7 64bit and do not have this issue.
Both icons STAY showing in tray for me.

You're saying that between logout/login and reboots, BOTH tray icons are appearing for you?
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 28, 2016, 04:52 PM
armus2112 I apologise.
I see now after reboot same issue.
I don't reboot very often so hadn't noticed that.
:-(
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 28, 2016, 05:23 PM
Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.6.7 - 2016-06-28
    + Added an "Add location" button to the Options dialog.
    + Added four new larger tray temperature themes:
        + Simple Black Large
        + Simple Black Large (Filled)
        + Simple White Large
        + Simple White Large (Filled)


The new tray temperature themes are as basic as it gets. If you want fancier, you'll have to make them yourself.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 29, 2016, 02:20 AM
Greatly appreciated!
Is there anywhere else I can find more?
What would I search for?
Tried lots including "weather tray temperature numeral font image set" with no joy.
Thanks again
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 29, 2016, 08:27 AM
Is there anywhere else I can find more?

AFAIK, there are none.  Over the years, a couple of user-created themes have been created (Celsius by Zormi and Minicat by Minicat) but I already include those in the download.  If you end up making a theme, send it to me and I'll include it as well.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 29, 2016, 10:18 PM
bugger.
I wouldn't know where to start unfort.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 30, 2016, 12:10 AM
I wouldn't know where to start unfort.

Here's a high-level tutorial:

Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 30, 2016, 01:13 AM
haha im gunna have a go.
How do I get the numbers to be same centred position for each number especially when you have a minus symbol?
I'm just adding numbers as text straight from the keyboard rather than paint each one..will that work?
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 30, 2016, 01:36 AM
Actually I see on your default white that they are not all in same position so thats not so important?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 30, 2016, 10:20 AM
haha im gunna have a go.
How do I get the numbers to be same centred position for each number especially when you have a minus symbol?
I'm just adding numbers as text straight from the keyboard rather than paint each one..will that work?
Actually I see on your default white that they are not all in same position so thats not so important?

Correct, you can make each icon look however you like.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 30, 2016, 07:13 PM
Whooohoo!
Done.
Did Aust version Celcius only as rest not needed...
Now I can read it!!
Lol
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 30, 2016, 07:14 PM
and a pic of the size in the tray on win 7...
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on June 30, 2016, 07:18 PM
I noticed that sometimes the weather has not been updated for 2 hrs or more. This is prob the supplier. You mentioned you were thinking of changing to another weather supplier in a thread I read?
It would be great if you could have an option to choose providers, say 5 options in different locals eg one closer to Aust would be great such as Bom (http://www.bom.gov.au/vic/forecasts/melbourne.shtml) which is the most accurate for Aust.

Just an idea that has prob been suggested before..
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 01, 2016, 12:25 AM
Done.
Did Aust version Celcius only as rest not needed...
Now I can read it!!

Very cool.  Do you mind if I include this with the next update?

I noticed that sometimes the weather has not been updated for 2 hrs or more. This is prob the supplier. You mentioned you were thinking of changing to another weather supplier in a thread I read?

Yes, this is a Yahoo! Weather issue and there is nothing I can really do about it.  As for other providers, none of them are free (or their free tier is severely limited) so that's not an option anymore.


Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on July 01, 2016, 03:15 AM
yep use them at your will.
Bugger re charges, figured that may be the case.
Oh well I still love the program and it's the best I have found as I wanted one so I could see the image with weather as in sun or cloud and yours does all that very nicely, thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on July 02, 2016, 01:13 AM
Medium version attached. Slightly smaller font size meant that there was no need to have to align them vertically so they are all uniform and a lot tidier.

I had a thought to make them different colors depending on the temp eg red over say 30, orange from 30 to 20 then blue from 20 down to -20 or whatever but then thought it may not be readable on some taskbars.
But if they were done in a reversed colored box with white text and changing bg color that would work.
An idea. But I'm not capable of doing the box version..lol
Maybe I can inspire someone else?
Title: Re: Release: sWeather (tray-based weather app)
Post by: alphat on July 04, 2016, 02:56 AM
Love the app. One of the few weather apps that provides customisable tray icons. I have one problem though. I've installed sWeather on Windows 10 and configured it to have both the condition and temp icons in the tray. This works fine until I restart the PC and then it only shows the temp icon. The condition icon is hidden and when I turn it back on in the Win 10 notifications settings it only appears again until I restart the PC. Any suggestions as to why this is happening?  FYI if I turn off the temp icon in sWeather then the condition icon always appears in the system tray.  Any help would be appreciated.  Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on July 04, 2016, 03:25 AM
already discussed a few threads up. this is a known issue without a fix as yet
Title: Re: Release: sWeather (tray-based weather app)
Post by: alphat on July 04, 2016, 10:39 PM
Ok understand.  Is it possible there is some coding issue with the Shell_NotifyIcon API calls regarding unique identifiers for each icon? 

Just a suggestion - I'm obviously not across how this is coded.  As a previous post says, Weather Watcher is able to display two icons without any issue
so there may be an example somewhere.

Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on July 05, 2016, 08:11 AM
strange. We had 2 blackouts tonight causing PC to reboot and each time the tray icons came back in the taskbar as they should after reboot.
I haven't tested it with a normal reboot as yet though as my pc is never shut down
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 05, 2016, 02:42 PM
strange. We had 2 blackouts tonight causing PC to reboot and each time the tray icons came back in the taskbar as they should after reboot.

That is strange. I tried this just now by hard resetting my Virtualbox instance, but the condition icon still does not appear in the taskbar upon startup.
Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on July 05, 2016, 07:15 PM
ok rebooted and it still works as it should.
I ran this script a few days back to clear and reset icons.
Maybe it will work for you..

http://www.sevenforums.com/tutorials/13102-notification-area-icons-reset.html
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 06, 2016, 12:06 AM
Yes I've seen that registry hack before. That was the 1st thing I tried on my main machine back when I discovered the issue. There's also an option in CCleaner to clear the 'Tray Notifications Cache'. I had no success using these clean options.

I just tried the 'Reset_Notification_Area_Icons_Cache.bat' in my VirtualBox Win7 instance. The condition tray icon still refuses to 'stick' after logout/login.

Title: Re: Release: sWeather (tray-based weather app)
Post by: DjPete1959 on July 06, 2016, 12:21 AM
well all I can say is that it's working for me now...
If it does change after other reboots I will let this thread know
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on July 06, 2016, 01:28 AM
The condition tray icon still refuses to 'stick' after logout/login.
You could try the SysTrayIconsManage (https://www.donationcoder.com/forum/index.php?topic=42136.0) tool I created for NANY2016.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 06, 2016, 02:36 PM
I appreciate the recommendation for SysTrayIconsManage. It is certainly a workaround, but I hope skwire can figure out how to solve the tray issue.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 06, 2016, 02:57 PM
I appreciate the recommendation for SysTrayIconsManage. It is certainly a workaround

Does Ath's workaround work for you?

I hope skwire can figure out how to solve the tray issue.

Unfortunately, I do not know how to fix it.  I've researched, tried a few things that didn't work, and put it aside.  I realise that seems terribly apathetic, but please understand that I write freeware simply as a hobby when I have spare time.  Moreover, I don't use the Windows "hide icons" feature.  That is, I enable the "Always show all icons and notifications on the taskbar" option and use PS Tray Factory (http://www.pssoftlab.com/) to manage tray icons instead.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 06, 2016, 04:32 PM
No, I didn't try out SysTrayIconsManage. From reading the description it could workaround the issue. I just am not motivated to use workarounds such as this. By the way, thank you for trying to resolve the tray icon issue. I just wanted to do my part and report the issue to you. I understand completely about freeware, I'm sure this is a very time-consuming thing to take on  :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Dogmeat on August 20, 2016, 05:58 AM
Perhaps make the main windows a little larger so that the status update doesn't overwrite most of the day's weather forecast.

See attachment.

Thanks,

DM
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 20, 2016, 09:29 PM
Perhaps make the main windows a little larger so that the status update doesn't overwrite most of the day's weather forecast.

That's very strange as the window should, based on which settings you have chosen, look like one the screenshots on this page: https://skwire.dcmembers.com/fp/?page=sweather

Does sWeather look like your screenshot every time you start it up?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 04, 2016, 01:50 AM
Yay...more Yahoo! API fixes due to changes on their side.   :mad:

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.6.8 - 2016-09-04
    ! Fixed location searching which was broken by yet more changes in the
      Yahoo! API.
Title: Re: Release: sWeather (tray-based weather app)
Post by: qbic on September 06, 2016, 08:25 AM
Thanks for the update.
Looks like the API change also broke the timing on sunrise/sunset since they miss leading zeroes.
Also, is it possible to set up those times to show 24 hour clock?
I have already set it up in the prefs, but it affects only the title bar.
Title: Re: Release: sWeather (tray-based weather app)
Post by: asdsadgfgfgfhfgh on October 09, 2016, 02:35 AM
mb - i don't know, what it does mean.
In Russia (and other European countries) we are use this: Millimeter of mercury (https://en.wikipedia.org/wiki/Millimeter_of_mercury)

Please, add ability to change it
Title: Re: Release: sWeather (tray-based weather app)
Post by: MilesAhead on October 16, 2016, 07:39 AM
mb - i don't know, what it does mean.
In Russia (and other European countries) we are use this: Millimeter of mercury

Please, add ability to change it
-asdsadgfgfgfhfgh (October 09, 2016, 02:35 AM)

I am interested in this because I used to work on a high vacuum system and we used Millimeters of Mercury as the unit of pressure.  Before putting anything onto the vacuum pump I would bring the manifold pressure down to 5 X 10 to the negative 5th mm of mercury.  I just assumed millibars were equivalent but I was wrong. As shown on the page linked below, one millibar is a tad more than 3/4 of a mm mercury(0.75218.)  The page shows how to convert between them.

http://chemistry.about.com/od/pressureconversions/a/Converting-Millimeters-Of-Mercury-To-Millibars.htm
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on October 17, 2016, 12:05 PM
I am not getting the extended 10 day forecast am only getting 7 days anyone else ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on December 07, 2016, 05:14 AM
Everything seems to have stopped in the last couple of days. I'm seeing blank icons and null data on the bigger displays for all locations.
Title: Re: Release: sWeather (tray-based weather app)
Post by: The Tramp on December 07, 2016, 05:18 AM
Yup, same here.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on December 07, 2016, 05:21 AM
The Yahoo weather service API is most likely down or disturbed :( Not much what we, or Skwire, can do about that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 07, 2016, 07:43 AM
The Yahoo weather service API is most likely down or disturbed :( Not much what we, or Skwire, can do about that.

Ath is right; the API is down at the moment.

http://developer.yahoo.com/weather/
https://query.yahooapis.com


Title: Re: Release: sWeather (tray-based weather app)
Post by: kevlar_heart42 on January 10, 2017, 09:27 AM
Welcome to 2017!

I am having intermittent problems as other have stated: sWeather goes "blank" at times, reporting NO DATA for all locations (even Codyville!). I have found that a few refresh attempts restores the data. As I have no working knowledge of the Yahoo API, I am wondering if the call out (polling) to Yahoo is persistent enough to insure connection. Hey, it's only a weather program (and a fine one too), but it's just a thought.

Many thanks for the effort.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 10, 2017, 09:29 AM
I am having intermittent problems as other have stated: sWeather goes "blank" at times, reporting NO DATA for all locations (even Codyville!).
-kevlar_heart42 (January 10, 2017, 09:27 AM)

I've noticed this as well and it's a Yahoo! Weather API issue.   >:(  Unfortunately, I can't do anything about it.    :(
Title: Re: Release: sWeather (tray-based weather app)
Post by: Dogmeat on January 13, 2017, 12:54 PM
I am having intermittent problems as other have stated: sWeather goes "blank" at times, reporting NO DATA for all locations (even Codyville!).
-kevlar_heart42 (January 10, 2017, 09:27 AM)

I've noticed this as well and it's a Yahoo! Weather API issue.   >:(  Unfortunately, I can't do anything about it.    :(

Does the auto-refresh timer reset when you manually refresh? The data loads properly when you manually refresh, so thinking maybe the auto-refresh is not waiting long enough for Yahoo (or whatever it is going to be called) to send the requested data? I noticed that there is a very pregnant pause when you manually refresh.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on January 13, 2017, 01:08 PM
Well, the Yahoo service has been very flaky for several weeks now, where earlier sWeather just refreshed fine. I'm also hoping that Yahoo gets its act together and just serves the data stable.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kevlar_heart42 on January 25, 2017, 09:34 AM
As of 2017-01-25, my sWeather isn't updating and it's interesting that the header says Thursday, January 1, 0:00 AM...so it's gone back all the way to 2015. Interesting. I'll give reinstallation a shot
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on January 25, 2017, 09:44 AM
It is still the Yahoo service playing havock with all its users >:(
It seems that the server hosting the service is in a bootloop, providing service for a few minutes and then restarting all over again :down:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 25, 2017, 04:33 PM
As of 2017-01-25, my sWeather isn't updating and it's interesting that the header says Thursday, January 1, 0:00 AM...so it's gone back all the way to 2015. Interesting. I'll give reinstallation a shot
-kevlar_heart42 (January 25, 2017, 09:34 AM)

As Ath said, this behaviour is the the result of the Yahoo! site acting up.  Please don't bother reinstalling sWeather as that's not going to fix things.  Rest assured that, if the API changes, I'll do my best to fix things but this isn't one of those times.  There is nothing you can do except be patient with the Yahoo! service.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mimori on February 23, 2017, 11:50 AM
I've spotted a particularly interesting issue. It goes like this:


Most people will probably never encounter this problem, but I thought it was worth pointing out since there are some circumstances (however rare that circumstance may be -- for example, maybe on Windows Embedded with a display adapter that uses shared video memory) where the program may be started while the display is at 16-bit depth, and then a person will see that problem.

Location in the example images is chosen randomly.

[ You are not allowed to view attachments ][ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 23, 2017, 12:44 PM
This is due to the fact that sWeather uses 32-bit PNG and ICO files with transparency.  If the user's computer is set to 16-bit colour, they will not display properly (as you discovered).
Title: Re: Release: sWeather (tray-based weather app)
Post by: totya on March 16, 2017, 04:20 PM
Hi!

Thanks for this great app. Today I try this app (version is 1.6.8 b1), but this doesn't work correctly, because the curent temperature higher than needed.

For example, My place is Miskolc (town) in Hungary. In this app the current temperature is 12C. But this isn't true. If I click to "full forecast" from this app, this link open in the web browser: link (https://www.yahoo.com/news/weather/country/state/city-12840981/) and it show the correct temperature, which is now 5C.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 16, 2017, 10:23 PM
Hi, totya, and welcome to the DonationCoder site.

In this app the current temperature is 12C. But this isn't true. If I click to "full forecast" from this app, this link open in the web browser: link and it show the correct temperature, which is now 5C.

The issue is that sWeather gets its data from the Yahoo! Weather API and the Yahoo! Weather website does not.  For whatever reason, the website gets its data from Weather.com.
Title: Re: Release: sWeather (tray-based weather app)
Post by: totya on March 17, 2017, 09:19 AM
Hi!

Thanks for this answer, but I'm not sure this is the problem, because weather.com show the correct temperature:

weather.com (https://weather.com/hu-HU/idojaras/ma/l/HUXX0015:1:HU)

I returned from work, and now 1 see 0 C, and this is too bad, because the temperature here is 13 C. In this app status bar I see this:

"Last provider update was at 03:00 AM CET". As I remember I always see this...
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 17, 2017, 11:19 AM
"Last provider update was at 03:00 AM CET". As I remember I always see this...

If that's the case, it unfortunately looks like the Yahoo! Weather API only gets updates for your location once per day.
Title: Re: Release: sWeather (tray-based weather app)
Post by: totya on March 17, 2017, 11:32 AM
Hi!

Thanks for this answer!

Daily refresh is unusable :(

This app can handle other weather info API somehow?



Edit.: Not much before, the temperature is changed:

"Last provider update was at 05:00 PM CET"
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 17, 2017, 11:51 AM
Daily refresh is unusable :(

Agreed.

This app can handle other weather info API somehow?

No.  All the other weather APIs I've researched are very limited in what they offer for free.

"Last provider update was at 05:00 PM CET"

So, it is every two hours.  Unfortunately, this is the standard for the Yahoo! Weather API these days.
Title: Re: Release: sWeather (tray-based weather app)
Post by: totya on March 17, 2017, 01:08 PM
Thanks for the answers!

So, it is every two hours.  Unfortunately, this is the standard for the Yahoo! Weather API these days.

Isn't really, because my last report is PM, and the first report is AM.



Edit:

Now the weather report refreshed is 07 pm CET, now it is two hours differents really...



Edit 2:

Today morning at CET 10:00:00 (AM) the last provider update is CET 07:00 PM...
Title: Re: Release: sWeather (tray-based weather app)
Post by: Midnight Rambler on June 13, 2017, 07:16 AM
Over the last two days, found Full Forecast and Radar link issues: 1) The former's page (http://us.rd.yahoo.com) times-out (server not responding?), 2) The later (weather.com) doesn't load the radar (page script change?).

I'm running v 1.6.8 build 1.

Everything else seems fine as before.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 13, 2017, 12:04 PM
Over the last two days, found Full Forecast and Radar link issues: 1) The former's page (http://us.rd.yahoo.com) times-out (server not responding?), 2) The later (weather.com) doesn't load the radar (page script change?).
-Midnight Rambler (June 13, 2017, 07:16 AM)

Thank you for the report; the full forecast links should be fixed.  However, the radar links appear to work for me.  Some were a bit slow in coming up, but they did work.  With all the Yahoo! changes lately, I often wonder how long I'll be able to keep this app working.  =]

Website (http://skwire.dcmembers.com/fp/?page=sweather) | Download (http://skwire.dcmembers.com/apps/sweather/sWeather.zip)
v1.6.9 - 2017-06-13
    ! "Full forecast" links were broken.  (Thanks, Midnight Rambler)

Title: Re: Release: sWeather (tray-based weather app)
Post by: Midnight Rambler on June 13, 2017, 05:58 PM
Thanks for fixing the forecast link.  The radar page still doesn't load (as it used to) and I'm thinking that it's because weather.com is just another site that won't work with Firefox or Firefox with certain plugins.  That's becoming more common.
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 20, 2017, 06:39 AM
What is wrong with Yahoo???? the weather temperature is always wrong... I live in Dubai, just checked cos i was finding strange what it was giving me.. you can check at the major sites for yourself:
Google weather - 42 degrees
Accuweather -43 degrees
Yahoo - 36 degrees.....
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on July 20, 2017, 07:19 AM
What is wrong with Yahoo???? the weather temperature is always wrong... I live in Dubai, just checked cos i was finding strange what it was giving me.. you can check at the major sites for yourself:
Google weather - 42 degrees
Accuweather -43 degrees
Yahoo - 36 degrees.....
-NunoEspadinha (July 20, 2017, 06:39 AM)

I gave up on sWeather in the past, because yahoo weather was so inaccurate for my location - FWIW I just tried it again and it's working correctly i.e. yahoo weather is reporting accurately
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on July 20, 2017, 12:40 PM
it's working correctly i.e. yahoo weather is reporting accurately
I've been using it nearly since day 1, and the yahoo service has been flakey a lot over time, but the last couple of months the service is quite stable and the forecasts are reasonably accurate.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 20, 2017, 12:44 PM
but the last couple of months the service is quite stable and the forecasts are reasonably accurate.

Agreed.  Inaccuracies aside, it has been more stable in recent months.
Title: Re: Release: sWeather (tray-based weather app)
Post by: NunoEspadinha on July 20, 2017, 04:13 PM
Yeah, don't take me wrong.. i love the program.. it's great.. i am just sad that Yahoo is normally wrong on my area..
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 20, 2017, 04:15 PM
Yeah, don't take me wrong.. i love the program.. it's great.. i am just sad that Yahoo is normally wrong on my area..
-NunoEspadinha (July 20, 2017, 04:13 PM)

No offense taken whatsoever.   :D  I'm sorry the data for your area is incorrect.   :mad:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Contro on July 22, 2017, 04:04 PM
Trying with Santa Cruz de Tenerife.

 :-* :P

I got it I got it !!!!!!!!!
Wonderful indeed !

sWeather from Skwire (http://imagizer.imageshack.com/img923/1164/h1aiBh.pnghttp://)

http://imagizer.imageshack.com/img923/1164/h1aiBh.png
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on July 22, 2017, 04:22 PM
I'm glad you find it useful, Contro.   :)

Santa Cruz de Tenerife

Beautiful part of the world.  =]   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: shin_hibiki on October 02, 2017, 11:28 PM
Hi, please forgive the noobness.  In looking for a new tray app, I found some recommendations for this one.  Unzipped it, tried to search for a location, and... nothing happens.  Is it broken?  Is my brain just broken?  It looks so straightforward!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on October 03, 2017, 12:08 AM
Hi, please forgive the noobness.  In looking for a new tray app, I found some recommendations for this one.  Unzipped it, tried to search for a location, and... nothing happens.  Is it broken?  Is my brain just broken?  It looks so straightforward!

sWeather works fine for me under Windows 7.  Which operating system are you using?  Also, if you're running it from a UAC-protected folder, try running it as admin (or running it from a non-UAC-protected folder).
Title: Re: Release: sWeather (tray-based weather app)
Post by: shin_hibiki on October 03, 2017, 10:57 PM
Hi, please forgive the noobness.  In looking for a new tray app, I found some recommendations for this one.  Unzipped it, tried to search for a location, and... nothing happens.  Is it broken?  Is my brain just broken?  It looks so straightforward!

sWeather works fine for me under Windows 7.  Which operating system are you using?  Also, if you're running it from a UAC-protected folder, try running it as admin (or running it from a non-UAC-protected folder).

UAC seems to have been the problem there.  Unfortunately, it still won't "Start with Windows" despite the option being checked.  (Win7-64, BTW.)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on October 03, 2017, 11:59 PM
You might have to create your own shortcut to sWeather.exe and manually move it to your Startup folder.
Title: Re: Release: sWeather (tray-based weather app)
Post by: shin_hibiki on October 04, 2017, 12:46 AM
Looks like I got it now.  Deleted and re-created the config files and whatnot just in case.  Looking forward to using it--now to install it on my other machine!   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: LEDAdd1ct on November 23, 2017, 09:44 AM
Hello!  Thank you so much for this awesome program. 

It is so lightweight and nimble!

I wanted to ask a few questions:

1)  Is it correct that Yahoo! only updates the weather in the data that feeds this utility once every hour?

2)  I would like to dedicate a computer to use this program 100% of the time and show this information. 

a)  In the mornings, the monitor would come out of idle and power on, probably between 5:30 A.M. and 8:00 A.M. while getting ready for work, and again in the evenings from 5:00 P.M. to 10:00 P.M.

b)  I would love it if there was the ability to make this program fill the entire screen, with all the texts/fonts/little icon graphics resizing dynamically as you increase its size, or, simply making a "full screen option" where the exact same data fills the screen, just much, much larger so that you can see it from far away, across the whole room. 

c)  Would this be a difficult feature to add?  It's so, so very clean and simple.  Making this fill the screen would be amazing!

Thank you for all your hard work!  :-)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 23, 2017, 02:26 PM
1)  Is it correct that Yahoo! only updates the weather in the data that feeds this utility once every hour?

Yes.  Some locations, it's once every two hours.   >:(

b)  I would love it if there was the ability to make this program fill the entire screen, with all the texts/fonts/little icon graphics resizing dynamically as you increase its size, or, simply making a "full screen option" where the exact same data fills the screen, just much, much larger so that you can see it from far away, across the whole room. 

c)  Would this be a difficult feature to add?  It's so, so very clean and simple.  Making this fill the screen would be amazing!

Yes, it would require quite a bit of code to do that plus the icons and such would not scale well at all.  It might be easier to find another weather app that is more geared toward full-screen usage.  Ghacks had an article a while back with a few that might fit the bill for you.

https://www.ghacks.net/2014/08/24/the-best-desktop-weather-programs-for-windows/

Weather Channel Desktop and YoWindow, in particular.


Title: Re: Release: sWeather (tray-based weather app)
Post by: LEDAdd1ct on November 24, 2017, 08:40 AM
Thank you!  :-)

I will check those out. 
Title: Re: Release: sWeather (tray-based weather app)
Post by: Zero3K on January 02, 2018, 09:32 PM
Is it possible for it to display severe alerts and a radar image for the location that is being shown by it? If so, please add an option to do that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 02, 2018, 09:33 PM
Is it possible for it to display severe alerts for the location that is being shown by it? If so, please add an option to do that.

IIRC, that information is not in the RSS feeds that power sWeather.  Apologies.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Zero3K on January 02, 2018, 11:30 PM
How about using AerisWeather's API instead of Yahoo's?

EDIT: Nevermind, its not free.
Title: Re: Release: sWeather (tray-based weather app)
Post by: 21944.450 on January 16, 2018, 08:05 PM
How do I hide the tray condition? I only need the temp.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 16, 2018, 08:11 PM
How do I hide the tray condition? I only need the temp.

Only the temperature icon can be hidden.
Title: Re: Release: sWeather (tray-based weather app)
Post by: HideTrayCondition on February 08, 2018, 07:50 PM
How do I hide the tray condition? I only need the temp.

Only the temperature icon can be hidden.

I embarked upon a hunt for a systray weather app today and came across this one.  Functions as desired, but please allow my username to serve as an enhancement request...really that's the main functionality i was going after (no condition, just temp).   :) :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 14, 2018, 08:28 PM
How do I hide the tray condition? I only need the temp.
I embarked upon a hunt for a systray weather app today and came across this one.  Functions as desired, but please allow my username to serve as an enhancement request...really that's the main functionality i was going after (no condition, just temp).   :) :Thmbsup:
-HideTrayCondition (February 08, 2018, 07:50 PM)

I changed this in the latest version (v1.7.0):

Website (http://www.dcmembers.com/skwire/download/sweather) | Download (http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather.zip)
v1.7.0 - 2018-02-14
    * Made the temperature icon the default and made the weather condition icon optional.

Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 15, 2018, 01:07 PM
Made the temperature icon the default and made the weather condition icon optional.

Well, the disadvantage of this change is that the temperature icon now gets hidden if you're not showing all systray icons. The weather condition icon is now the only icon I can make visible permanently, in that configuration. I'm on Windows 10, and the temperature icon isn't available in the "Select which icons appear on the taskbar" configuration screen (just like the weather condition icon wasn't there in the previous version). Haven't tried that setting on Win7 (yet), and I don't want to show all systray icons (way too many, uninteresting icons that can't be hidden in another way, AFAIC).
Is there a way you can make the 'main' icon to use configurable, and the secondary optional? (I actually have them both enabled, but only one is visible all the time)
Title: Re: Release: sWeather (tray-based weather app)
Post by: 21944.450 on February 16, 2018, 05:11 AM
How do I hide the tray condition? I only need the temp.
I embarked upon a hunt for a systray weather app today and came across this one.  Functions as desired, but please allow my username to serve as an enhancement request...really that's the main functionality i was going after (no condition, just temp).   :) :Thmbsup:
-HideTrayCondition (February 08, 2018, 07:50 PM)

I changed this in the latest version (v1.7.0):

Website (http://www.dcmembers.com/skwire/download/sweather) | Download (http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather.zip)
v1.7.0 - 2018-02-14
    * Made the temperature icon the default and made the weather condition icon optional.


Thank you!

Now we just need DjPete (Celsuis) icons that go above 48.ico so they can be used for F degrees.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 18, 2018, 02:17 PM
Well, the disadvantage of this change is that the temperature icon now gets hidden if you're not showing all systray icons. The weather condition icon is now the only icon I can make visible permanently, in that configuration. I'm on Windows 10, and the temperature icon isn't available in the "Select which icons appear on the taskbar" configuration screen (just like the weather condition icon wasn't there in the previous version). Haven't tried that setting on Win7 (yet), and I don't want to show all systray icons (way too many, uninteresting icons that can't be hidden in another way, AFAIC).

Apologies, Ath.  I figured there might be some fallout from this.

Is there a way you can make the 'main' icon to use configurable, and the secondary optional? (I actually have them both enabled, but only one is visible all the time)

There is actually a technical reason for this right now and it boils down to an old ANSI library I use to get that second tray icon displayed.  In other words, the temperature icon is the native one you get with any AHK script and the conditions icon is provided by this third-party library.  The library seems to work fine in Unicode AHK except for the tray icon tooltip.  Basically, it only shows the first letter of the specified tooltip string so I've disabled the tooltip in current build for that extra icon.  You might have noticed that the tooltip only shows when you hover over the temperature icon (before the tray changes I made, it showed only on the conditions icon).  I've tried to fix the library function to work properly for Unicode strings but that sort of thing really isn't in my wheelhouse.  If I could get this library working with Unicode strings, I could fix it how you like.  I mean, I could make it work how you want right now but there won't be any tooltip when you hover over the tray (and I know I'd get bug reports about it).  I'll do some thinking and see if I can make it work using a primary/secondary approach like you suggest.

Now we just need DjPete (Celsuis) icons that go above 48.ico so they can be used for F degrees.

I made a DjPete fahrenheit version for you in the latest release:  http://www.dcmembers.com/skwire/2018/02/18/sweather-v1-7-1-released/

Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on April 29, 2018, 07:43 AM
The times of the sunrises and sunsets are very great, it would be very nice, if they were here as well:

(https://i.imgur.com/IR7ht3T.png)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on April 30, 2018, 06:46 PM
The times of the sunrises and sunsets are very great, it would be very nice, if they were here as well:

Unfortunately, that data isn't available in the data feeds that Yahoo! Weather provide.   :(
Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on May 01, 2018, 01:36 AM
Oops, I hadn't supposed that. Because there are other services offering such data. OK, but Yahoo does not.

Many thanks
Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on May 15, 2018, 02:27 PM
May be that data could be taken from soemwhere else?

From http://www.suncalc.net/ or such.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on May 18, 2018, 09:49 AM
May be that data could be taken from soemwhere else?
From http://www.suncalc.net/ or such.

I don't think that site has an API to pull data from.  In any case, doing so would mean I'd have to make the sWeather window bigger to fit the sunrise/sunset data and I really do not want to do that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on May 18, 2018, 12:48 PM
Yes, yes, of course, of course.
Title: Re: Release: sWeather (tray-based weather app)
Post by: theinfinitypoint on August 14, 2018, 03:58 AM
Hey Skwire,

I've been using your program for many years, and love it.  However about a year ago for some reason it stopped receiving any updates, no matter what new machine I install it on (latest version, everything says "N/A").  I cannot even search for my particular location (city name, zip, etc.).  This is not an issue with the Yahoo API that occurred back then, since I just reinstalled your program on my new Win 10 installation just now, and I'm still not getting any weather data.  I added the sweather.exe to be allowed for both incoming and outgoing connections in the Windows Firewall but that has not fixed anything.  I suspect maybe my router is blocking the port?!?  What port is it using, I may try to troubleshoot that next.  Also has anyone else experienced the same thing, and if so what was the fix?  Thanks!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on August 14, 2018, 04:39 AM
Have you tried switching to https:// mode in the settings? AFAICS, sWeather only uses port 80 (http) or 443 (https) for communicating with the Yahoo API, and that would be really funny if blocked by your router.

Do you have an add-blocking dns service in use, maybe a Pi-hole (https://pi-hole.net/) or something similar, or a provider-applied filter? It can be set to block any url that's Yahoo-like...
Title: Re: Release: sWeather (tray-based weather app)
Post by: theinfinitypoint on August 14, 2018, 04:51 AM
Thanks for the quick reply, no I haven't tried https://.  I just noticed that in fact.  However I'm running into a slightly different problem now, the settings aren't being saved for some reason.  Tried restarting the program and same thing.  I hit "Save" on the bottom right and theres a ~4 second pause, then the window goes away.  I open up options again and none of my settings were saved.  This wasn't doing it the first time I opened up this program...  Where are the settings for sWeather stored anyway?

EDIT: I tried "reset tray icon positions" and got an error:
[ You are not allowed to view attachments ]

and indeed there is no file ".ico" in the path.

EDIT 2: OK I figured it out!  I've identified the issues.  First I had the sWeather directory in C:\Program Files (x86) which is privileged, and I think my security settings are still set such that sWeather cannot create the 2 additional files (config.ini and locations.lst) it needs.  Once I moved it to another directory it ran fine.  Enabling SSL/https I think fixed the issue of not receiving any weather updates.  Thanks for your help!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on August 14, 2018, 06:23 AM
First I had the sWeather directory in C:\Program Files (x86) which is privileged
-theinfinitypoint (August 14, 2018, 04:51 AM)
This is portable software, and thus shouldn't be installed in Program Files or other protected directories.
Settings are stored in an .ini file in the directory where the .exe is found.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on August 14, 2018, 06:57 AM
This is portable software, and thus shouldn't be installed in Program Files or other protected directories.

What ATH said.

As a general rule, if you ever download a "portable" app -- one that does not have a setup installer but just relies on you to put it somewhere yourself, you need to put it in some directory of your own creation not inside any of the "system" folders like Users\ or "C:\Program Files".

Many of us have created a directory like "C:\PortableApps" or "C:\Programs" for putting portable files in.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 14, 2018, 07:00 AM
First I had the sWeather directory in C:\Program Files (x86) which is privileged
-theinfinitypoint (August 14, 2018, 04:51 AM)

As Ath and mouser mentioned, and as you found out, you should run portable apps in a non-UAC folder.  However, if you still want to run sWeather in a UAC folder, you can run it with administrator rights and it should work fine.
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on August 30, 2018, 01:11 PM
sWeather is unable to establish a connection to the weather server. N/A showing everywhere. Have tried with and without https mode. Has been working fine for a couple of years now.
Was there another change to the Yahoo API?
v1.7.5 build 1 in use.

Cheers
Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: march12234 on August 30, 2018, 01:51 PM
https://www.yahoo.com/news/weather has no weather data so it may not be an API issue.

sWeather is unable to establish a connection to the weather server. N/A showing everywhere. Have tried with and without https mode. Has been working fine for a couple of years now.
Was there another change to the Yahoo API?
v1.7.5 build 1 in use.

Cheers
Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on August 30, 2018, 07:01 PM
sWeather is unable to establish a connection to the weather server. N/A showing everywhere. Have tried with and without https mode. Has been working fine for a couple of years now.
Was there another change to the Yahoo API?

https://www.yahoo.com/news/weather has no weather data so it may not be an API issue.

Hello, dhry and march12234, and welcome to the DonationCoder site.   :)

From what I can tell, the Yahoo! Weather API was down for a bit, but appears to be working for me at this time.  If this happens again, go here and click the test button: https://developer.yahoo.com/weather/
If the query comes back with "null," you know the problem is not with sWeather.   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on August 30, 2018, 07:28 PM
Yep, must have been a temporary blip. It's working again for me as well. Thanks Jody!

Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: lotra on October 04, 2018, 01:37 PM
Hi skwire,

It's been a while since I visited this forum. I see that sWeather is still going strong.  :)

Haven't updated sWeather in a while, so I only now noticed relatively recent options change that made temperature icon going before conditions icon in system tray.
And now my tray doesn't look as it used to be. :( Since sWeather is the last thing I load in tray, temperature icon is last icon in it, so it's easily noticeable. Obviously, I have conditions icon here to, but now it is the last, because it's after temperature icon.

Is there an easy way, to implement some kind of icon order change through an option or hidden ini file setting, for the sake of variety?

Thanks,
lotra
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on October 04, 2018, 01:52 PM
icon order

I run Windows 7 and can drag my tray icons (all of them, not just sWeather's) around to re-order them.  Have you tried that, by chance?  Once I do that, the icons, for the most part, stay in the order I've chosen.  Sometimes they get out of whack, but not too often.
Title: Re: Release: sWeather (tray-based weather app)
Post by: lotra on October 04, 2018, 03:41 PM
I'm still on XP, but I can do that too with a help of a program Taskbar Shuffle. But, I was thinking not to have to do that every day.  :)
Anyway, never mind, it's not such a big deal.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kenor4 on November 19, 2018, 08:06 AM
It is posiblle add more precis conversion for metric units? e.g.: one decimal place or optionally?  Thx!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on November 19, 2018, 08:29 AM
Hi, kenor4, and welcome to the DonationCoder site.

It is posiblle add more precis conversion for metric units? e.g.: one decimal place or optionally?  Thx!

Do you mean for the temperatures?  If so, no, because I just display what the weather data feed gives me, i.e, I'm not rounding up or down.
Title: Re: Release: sWeather (tray-based weather app)
Post by: kenor4 on November 19, 2018, 08:37 AM
Yes I thing temperature. i.e: 36°F show as 2.2 °C
But You answerd me. It's not possible. It's a shame. Thx for answer.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on December 06, 2018, 06:40 AM
Hey, Jody. Long time no see.  :)

Didn't know or care about weather 'gadgets' until recently - must've gotten old.  :-[
Found yours by reading the newsletter and got a few considerations after first run. Otherwise it's doing its job, looks nice and I'm grateful for it.  :Thmbsup:

Observations under XP-SP3 (with SP4 unofficial pack) using sWeather v1.7.5.1:
- when changing date/time format and enabling it, titlebar shows first day of month (01) and a time of 00:00 instead of current day and time.
- editing location name in the WOEIDs list does not instantly propagate to the main window even after enabling the checkbox below ("Display locations using names configured above…), as all other settings do; it only does after clicking "Save".
- barometer cannot be configured to show mm Hg (depends on Yahoo-provided data, maybe?)
- Neither the 'Full forecast' and 'Radar' nor the 'Powered by Yahoo' links do not show the actual URLs in statusbar when hovered, for consistency with the other fields that show converted data, and for paranoids/control freaks (like me).  :-[
- 'Last provider update' notification in statusbar shows local timezone time but it doesn't get updated in all situations (may be connection errors or something else - are these mentioned anywhere in statusbar? Or maybe it doesn't take winter time into account (where applicable). I had it show last update at 9:00 AM although it was well past 10 AM, and now it says last update at 1:00 PM and it's 2:30 PM). Also, time format should be synchronized with user settings for 12/24h so that 'Last update' time would also display in 12/24h format as selected by user for sunrise/sunset.
- neither main menu nor the tray menu are updated for the current session when a location was deleted from the WOEIDs list.
- since certain changes in settings require an application restart, such restart/reload option would be useful in main menu and in the tray menu.
- it takes a few seconds to close the settings window even when nothing was changed.
- main window's tray tooltip shows a blank line at the bottom - is that intentional or a bug?
- there is a 'close to tray' option but there is no 'minimize to tray', which I'd very much like, to unclutter the taskbar but keep the original function of the {x} button.
- my taskbar is at the top and somehow all regular tooltips in systray are positioned snapped to the top of the screen, which makes certain data hardly readable; could the tooltips be replaced with "fake" ones, maybe balloons or captionless GUIs?
- so many individual icons produce HDD fragmentation; best would be to convert each icon set to bitmap strip, embed these strips in the executable and load them as imagelists at runtime. Additional user-provided icon sets could be allowed, also in the form of image strip bitmaps.

That's about it, gotta go. Good luck ahead!  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on December 07, 2018, 12:28 AM
Hey, Jody. Long time no see.  :)

Yeah, it's been a while, eh?  Good to hear from you.  =]

- when changing date/time format and enabling it, titlebar shows first day of month (01) and a time of 00:00 instead of current day and time.

Hmm...can't seem to make it do this but I'm sure I'm not clicking/setting things exactly as you are.

- editing location name in the WOEIDs list does not instantly propagate to the main window even after enabling the checkbox below ("Display locations using names configured above…), as all other settings do; it only does after clicking "Save".

Yeah, each edit would take an extra refresh of the weather data (which I try to minimize).  I'll think about it.

- barometer cannot be configured to show mm Hg (depends on Yahoo-provided data, maybe?)

The Yahoo data doesn't provide it in that format.  I could probably do the math and add it as an option.

- Neither the 'Full forecast' and 'Radar' nor the 'Powered by Yahoo' links do not show the actual URLs in statusbar when hovered, for consistency with the other fields that show converted data, and for paranoids/control freaks (like me).  :-[

Good idea, and one I should be able to easily implement.

- 'Last provider update' notification in statusbar shows local timezone time but it doesn't get updated in all situations (may be connection errors or something else - are these mentioned anywhere in statusbar? Or maybe it doesn't take winter time into account (where applicable). I had it show last update at 9:00 AM although it was well past 10 AM, and now it says last update at 1:00 PM and it's 2:30 PM). Also, time format should be synchronized with user settings for 12/24h so that 'Last update' time would also display in 12/24h format as selected by user for sunrise/sunset.

This data comes directly from the feed.  I don't modify it at all.

- neither main menu nor the tray menu are updated for the current session when a location was deleted from the WOEIDs list.

Cannot reproduce.  If I delete a location from the list and click save, the menu is updated for me.

- since certain changes in settings require an application restart, such restart/reload option would be useful in main menu and in the tray menu.

Easy to add.

- it takes a few seconds to close the settings window even when nothing was changed.

That's almost certainly due to the weather data refresh it does after clicking the save button.  Slow internet connections would make this delay longer.

- main window's tray tooltip shows a blank line at the bottom - is that intentional or a bug?

I don't see a blank line on mine.  Screenshot, please?

- there is a 'close to tray' option but there is no 'minimize to tray', which I'd very much like, to unclutter the taskbar but keep the original function of the {x} button.

This is easy enough to add.

- my taskbar is at the top and somehow all regular tooltips in systray are positioned snapped to the top of the screen, which makes certain data hardly readable; could the tooltips be replaced with "fake" ones, maybe balloons or captionless GUIs?

I'll consider it, but don't hold your breath.

- so many individual icons produce HDD fragmentation; best would be to convert each icon set to bitmap strip, embed these strips in the executable and load them as imagelists at runtime. Additional user-provided icon sets could be allowed, also in the form of image strip bitmaps.

I know you're not going to like this, but this isn't going to change.

As always, thanks for the feedback.   :Thmbsup:

Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on December 07, 2018, 02:01 AM
Glad to see you in shape and thank you for replying. :)

The date/time won't budge from Thu 01 January, 00:00 (shown in RO regional style), and if I set the format to LongDate it shows January 01, 1970. Which means it doesn't compute A_Now. Could be a problem with XP vs Win7 but I doubt it. The format I use is dddd dd MMMM, HH:mm, nothing fancy (see screenshot below).
[ You are not allowed to view attachments ]
EDIT: Date/time mystery is partly solved: my IE8 can't access the timezonedb API URL for some reason (tested by feeding the URL directly to IE's address bar), so URL_Get() returns a blank value, then unix2Human() returns an unaltered returnDate. No idea why my IE can't access that URL, maybe I tampered too much with its settings some time ago or maybe they just block IE versions lower than… dunno… 9? QtWeb does return the correct data from that URL so there's no firewall or anything blocking that particular URL.
/EDIT

each edit would take an extra refresh of the weather data
Not all edited fields would require a data refresh. City/town name, for example, shouldn't, it's just for display since the data is retrieved by WOEID if I'm not mistaken. Actually I think data refresh should be triggered only by the addition of a new City/WOEID and only for that one. Dunno how the script works, maybe you're not keeping the full data between timed refreshes and that's why it requires a refresh on each change in settings, and even when nothing was changed (clicking on {x} to close the settings window, not on 'Save').
And yes, I have a very slow connection (15kB/s most of the time, a metered 3G modem connection) so it does take some time on each refresh.

The Yahoo data doesn't provide it in that format.  I could probably do the math and add it as an option.
Air pressure format is not that important to me, if there's more request for that or it's easy to implement then yes, you may do that, otherwise make it a low priority.

Good idea, and one I should be able to easily implement.
In regard to showing links there's one more reason for me: the default browser (Pale Moon) starts up very slowly (more than a minute) due to many extensions and takes CPU to 100%, so for quick browsing I use another one (QtWeb) which is snappy. But clicking a link would fire up the default browser so I'd rather see the URL and type it down manually in QtWeb.
For the same reason I'd like a tooltip and/or statusbar URL shown for the info (i) button next to date/time, which I didn't know was going to fire up the default browser, and for the two statusbar icons as well (which opened two separate Pale Moon windows !!!, not two tabs in one window as I set it).
An idea would be to add a separate ActiveX control window acting like a mini-browser for all the links and let the user select whether to use that or the system default browser. I know, it'd complicate the script a little but it may prove useful in the long run. Your choice - it's just an idea. :)

This data comes directly from the feed.  I don't modify it at all.
OK, then I'll take it as is. Anyway, they say starting next year we won't be using winter time anymore so it won't be a problem for me. Not that it is a big one now anyway. :)

If I delete a location from the list and click save, the menu is updated for me.
I noticed the issue at first run after adding my location and then deleting the default location. Both were still shown in main menu and tray menu until I restarted the application. Now when adding and then deleting a location it does update both menus in real time. It may have to do only with the default location. Try running the script/app fresh without config file, add a random location then delete the default one, see if you can reproduce.

Here's the tooltip sporting the blank line; maybe there's data missing…?
[ You are not allowed to view attachments ]

And here's an idea of how a 'fake' tooltip could look like, it's from ForecastFox (an old-style extension for Firefox/Pale Moon):
[ You are not allowed to view attachments ]

I know you're not going to like this, but this isn't going to change.
You're right. That was the most important issue, that's why I left it last. I have less than 300MB free on the system partition and those icons would take way too much space - I had to place the app on another partition but I'd rather have all portable apps in one single location which is on the system partition.
May I please know the reason why you wouldn't consider using image strips? Copyright issues or something? Otherwise I could help with the code if you wanted, I've done that in some of my scripts.

Thank you for considering all other suggestions. Hopefully it won't be too much work. If you need any more info/testing/whatever you may contact me by e-mail (same nickname as here at mail.com); I don't have the Yahoo account anymore, can't use either Miranda IM or their own messaging app in XP so I deleted all my Yahoo accounts (and the GMail one).
Title: Re: Release: sWeather (tray-based weather app)
Post by: worldwide on January 04, 2019, 12:16 AM
 :(  N/A everywhere

https://developer.yahoo.com/weather/

Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact [email protected] for credentials to onboard to this free Yahoo Weather API service.

Title: Re: Release: sWeather (tray-based weather app)
Post by: RightPaddock on January 04, 2019, 12:41 AM
:(  N/A everywhere

https://developer.yahoo.com/weather/

Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact [email protected] for credentials to onboard to this free Yahoo Weather API service.
:( Should I start looking for a replacement for sWeather ?

RP
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 04, 2019, 02:31 PM
:(  N/A everywhere

https://developer.yahoo.com/weather/

Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact [email protected] for credentials to onboard to this free Yahoo Weather API service.
:( Should I start looking for a replacement for sWeather ?
RP

I've applied for access to the new API and am waiting to hear back.  If approved, and if I can make sWeather work with the new API, no, you won't have to look for a replacement.  If I cannot get it working with the new API, yes, you will.
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on January 04, 2019, 03:39 PM
Thanks Jody, looking forward to the new version.

Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on January 04, 2019, 05:50 PM
Fingers and toes all crossed!
Title: Re: Release: sWeather (tray-based weather app)
Post by: RightPaddock on January 05, 2019, 01:30 AM
Thanks Jody,
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ranger Bob on January 06, 2019, 11:52 AM
I can not receive weather updates today in sWeather. I have checked and Yahoo weather is up with no problems but a Refresh does not bring in the weather, it just has NA in the Tray.
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on January 06, 2019, 12:28 PM
I can not receive weather updates today in sWeather. I have checked and Yahoo weather is up with no problems but a Refresh does not bring in the weather, it just has NA in the Tray.
see:
Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact [email protected] for credentials to onboard to this free Yahoo Weather API service.
:( Should I start looking for a replacement for sWeather ?

I've applied for access to the new API and am waiting to hear back.  If approved, and if I can make sWeather work with the new API, no, you won't have to look for a replacement.  If I cannot get it working with the new API, yes, you will.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 07, 2019, 03:59 PM
No word yet from Yahoo!, but I'm sure they've been inundated with API access requests due to these recent changes.  I'll keep you all posted.
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on January 08, 2019, 05:59 PM
Just putting this out there, have you considered supporting an alternate weather API such as OpenWeatherMap? I'm not sure if there are any others out there that are free.

Cheers
Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 08, 2019, 09:38 PM
Just putting this out there, have you considered supporting an alternate weather API such as OpenWeatherMap?

I have, and:

1) None of my software reports home or anything like that so I have no real idea of sWeather's install base.  However, based on the email feedback I get, it is one of my most popular apps.  So, based on that, and based on their verbiage, I will assume the number of API calls the free tier they offer is not nearly enough to support sWeather.

2) Changing the API would require a lot of code refactoring, which I don't have time for.  If I did do something like that, I'd probably just write an sWeather 2.0 as time allowed and require each user to get their own API key from OpenWeatherMap to get around the API call limit.

Of course, another option is to pay for API access but most of the ones I've looked at are pretty pricey and the donations I receive for my software wouldn't even begin to cover such an expense.  That said, every donation is, of course, appreciated.  =]

Personally, I don't use all of the apps I've written, but I did write sWeather for myself, and use it daily, so I'm eager to get it working again.  I hope all this helps to explain my perspective on everything.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 09, 2019, 01:51 PM
Maybe an easier (somehow) approach would be to F(orget) the API, load the corresponding web page and parse it to get the desired values. I do that for an IMDb-related script of mine, instead of F(ool)ing around with the API - that is, begging for their approval.

On a related note, AccuWeather used to provide free widgets for sites and blogs; not anymore, apparently - the free widgets page is now blank and the code (js script) doesn't work. Ain't that a F(reak)ing coincidence…?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 09, 2019, 02:30 PM
Maybe an easier (somehow) approach would be to F(orget) the API, load the corresponding web page and parse it to get the desired values. I do that for an IMDb-related script of mine, instead of F(ool)ing around with the API - that is, begging for their approval.

If it were for just a personal script, I would entertain doing that.  However, for a released app, I'll pass.  =]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 09, 2019, 02:45 PM
Yeah well, look what you said above: "Personally, I don't use all of the apps I've written, but I did write sWeather for myself, and use it daily, so I'm eager to get it working again."

It is personal, in the first place, and I believe if you make it work again - by any means - then you can share it with the rest of the world just as it comes out. It may be imperfect, it may require frequent updates if/when webpage layout/ids/etc change, but as long as you keep it updated for yourself it wouldn't be hard to publish the new versions online. ;)

What I'm saying is, if one were to choose between having something or not having anything, probably the something would prevail. I'm getting old and I could surely use this script/app to tell me when I should or should not go out. I don't care if it takes 50 or 100 RegExMatch() statements to do its job, as long as it does its job. ;)
Title: Re: Release: sWeather (tray-based weather app)
Post by: wraith808 on January 09, 2019, 05:54 PM
I don't care if it takes 50 or 100 RegExMatch() statements to do its job, as long as it does its job.

You'll care when something breaks and you have to figure out what that might be  ;D :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on January 09, 2019, 06:51 PM
1) None of my software reports home or anything like that so I have no real idea of sWeather's install base.  However, based on the email feedback I get, it is one of my most popular apps.  So, based on that, and based on their verbiage, I will assume the number of API calls the free tier they offer is not nearly enough to support sWeather.
2) Changing the API would require a lot of code refactoring, which I don't have time for.  If I did do something like that, I'd probably just write an sWeather 2.0 as time allowed and require each user to get their own API key from OpenWeatherMap to get around the API call limit.
Of course, another option is to pay for API access but most of the ones I've looked at are pretty pricey and the donations I receive for my software wouldn't even begin to cover such an expense.  That said, every donation is, of course, appreciated.  =]
Personally, I don't use all of the apps I've written, but I did write sWeather for myself, and use it daily, so I'm eager to get it working again.  I hope all this helps to explain my perspective on everything.
It certainly does, and no worries at all. Thank you for creating the program, I had been looking for something when WeatherWatcher went pay-only and your program fit the bill perfectly. Here's hoping it all pans out with Yahoo's API access. Until then I always have my phone app.

Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 10, 2019, 02:07 AM
You'll care when something breaks and you have to figure out what that might be  ;D :Thmbsup:
That's what detailed comments in the code are for. ;) Besides, debugging can be fun and I could surely help with that, if needed.  8)
I see the old Firefox/Pale Moon extension I mentioned somewhere above still works with AccuWeather so maybe we could get some inspiration from its code.  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: wraith808 on January 10, 2019, 02:54 PM
You'll care when something breaks and you have to figure out what that might be  ;D :Thmbsup:
That's what detailed comments in the code are for. ;) Besides, debugging can be fun and I could surely help with that, if needed.  8)
I see the old Firefox/Pale Moon extension I mentioned somewhere above still works with AccuWeather so maybe we could get some inspiration from its code.  :D

Detailed comments are not always helpful in retrospect with legacy code.  I know that from experience.  I think a combination of good coding practices and comments are optimal- and even that doesn't always work!  But, it's up to the maintainer to decide if that shortcut was useful in the long run!  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 10, 2019, 03:13 PM
Regarding scraping webpages, no, I will not do that within a publically released application.  That way madness lies.  I have neither the time, nor desire, to scrape pages and try to handle minor changes and/or differences in world regions, etc, etc.  It'll be an official API from some site or nothing.
Title: Re: Release: sWeather (tray-based weather app)
Post by: RightPaddock on January 10, 2019, 09:27 PM
Until then I always have my phone app.
:Thmbsup: and by tapping the Windows key the MS weather app in Start.

Regarding scraping webpages, no, I will not do that . . .  That way madness lies.
Precisely. . . I use one intensively. Since the beginning of 2012, that's ~2600 days, there have 7000+ posts in its support thread.  It does scrape multiple mono-lingual sites.  There have been over 400 releases in 7 years and that doesn't include beta test versions - that's more than one a week!   

RP 

Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on January 10, 2019, 10:10 PM
Until then I always have my phone app.
:Thmbsup: and by tapping the Windows key the MS weather app in Start.

Don't believe I have that. Win 7 here.

Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 11, 2019, 07:23 AM
Looking here (https://superdevresources.com/weather-forecast-api-for-developing-apps/) one realizes that whatever is still "free" in this world will not be so for much longer.
No idea if OpenWeatherMap (https://openweathermap.org/api) provides what's needed for a direct replacement in current script, but there's nothing else in that list that could fit the bill, so I guess it's either that or nothing - because those yahoos at Yahoo, at this point, stand for nothing as far as I'm concerned.
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 11, 2019, 02:01 PM
I would like to say thank you for all your work over the years. This must have started as a passion project for you and turned into what it is now.

The problem is "free". It's been that way so long that people "expect it". I've been having this same discussion in UseNet groups about posting and expectations. Specifically, saying thank you.

When something is "free" for so long, it becomes a question of expectation of entitlement. Well that's not the case. The amount of time you have put in, and now the people bitching must make you feel that you have a chain and weight around your neck. I've been there on similar projects.

I've contribute to "free" projects when I can (limited funds), and I you CHOOSE to continue, then I'll do the same.  I hope that you do, but remember, you have no obligation to do so. All that I ask is if you do kill it, post the fact so we might know.

In the meantime, THANK YOU, for all your efforts.

Techteacher
Title: Re: Release: sWeather (tray-based weather app)
Post by: theinfinitypoint on January 12, 2019, 03:23 AM
Noticed the N/A in my sWeather tray and saw you are working on the solution.  Just wanted to speak up and thank you for keeping your awesome little program going!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 12, 2019, 05:13 PM
Looking here (https://superdevresources.com/weather-forecast-api-for-developing-apps/) one realizes that whatever is still "free" in this world will not be so for much longer.

*shrug* See my explanation below.

No idea if OpenWeatherMap (https://openweathermap.org/api) provides what's needed for a direct replacement in current script, but there's nothing else in that list that could fit the bill, so I guess it's either that or nothing -

Again, though, since I don't track anything like that, I have no accurate idea how many API calls sWeather's install base uses.  However, I'm pretty positive the OpenWeatherMap free tier does not allow for the total amount of API calls that sWeather's install base would use.  Call it an educated hunch.  Regarding paying for API acces, for some of my apps I've released I do, in fact, pay out of my pocket for API access provided the fee is reasonable.  OpenWeatherMap's first paid tier is $40 per month.  While I'm happy to pay, say, ~$50/year for API access, I think $40 per month is a bit much to ask for an application I don't charge for.

because those yahoos at Yahoo, at this point, stand for nothing as far as I'm concerned.

So, this is where I differ from a lot of folks.  While I enjoy free APIs, I certainly don't expect companies to offer them.  Furthermore, if a company does offer them, and even if I use them for years, I don't get upset if a company discontinues them.  I just shrug and see if there is another option.  If there is not, I just shrug again and be thankful for the time it was freely available.  IMO, life is way too short to get all worked up over stuff like this.

I would like to say thank you for all your work over the years. This must have started as a passion project for you and turned into what it is now.

Thank you, TechTeacher, you are very welcome.  I get an immense amount of enjoyment and satisfaction writing and releasing freeware and interacting with users.

The problem is "free". It's been that way so long that people "expect it". I've been having this same discussion in UseNet groups about posting and expectations.

Yep, as I mentioned above, I am not the expectant or entitled type.  If it's free and suits the purpose, I'll use it.  If it goes away, I just shrug and move on.  No big deal to me.

When something is "free" for so long, it becomes a question of expectation of entitlement. Well that's not the case. The amount of time you have put in, and now the people bitching must make you feel that you have a chain and weight around your neck. I've been there on similar projects.

I'm a really laid back guy so I never feel like it's a ball and chain but, yes, I do feel an obligation to make a good faith effort to fix bugs, fulfill feature requests, and do my general best to keep things working.  That said, since I choose to release my software as freeware, I never feel that I MUST do these things.  One gets what one pays for, eh?  I do have a full-time job that involves quite a bit of business travel, so I work on my freeware as time permits.  Conversely, this means I can also ignore things as I see fit and not feel too badly about it.  Hahahaha.   ;)

I've contribute to "free" projects when I can (limited funds), and I you CHOOSE to continue, then I'll do the same.  I hope that you do, but remember, you have no obligation to do so. All that I ask is if you do kill it, post the fact so we might know.

Oh, I haven't given up hope just yet.  I was looking at the "new" API and it is very similar to the original API that sWeather used when I first released it.  The original one was based on RSS feeds (without OAuth) before Yahoo! switched up to their YQL (Yahoo! Query Language) API and now it's back to RSS feeds (with OAuth, this time).  Hopefully, I hear something back this week so I can start working on things.  I don't travel this week, so I should have time once I get API access.

Noticed the N/A in my sWeather tray and saw you are working on the solution.  Just wanted to speak up and thank you for keeping your awesome little program going!
-theinfinitypoint (January 12, 2019, 03:23 AM)

Thanks, theinfinitypoint, I appreciate your kind words.   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mal on January 12, 2019, 06:46 PM
I would like to say thank you for all your work over the years. This must have started as a passion project for you and turned into what it is now.

The problem is "free". It's been that way so long that people "expect it". I've been having this same discussion in UseNet groups about posting and expectations. Specifically, saying thank you.

When something is "free" for so long, it becomes a question of expectation of entitlement. Well that's not the case. The amount of time you have put in, and now the people bitching must make you feel that you have a chain and weight around your neck. I've been there on similar projects.

I've contribute to "free" projects when I can (limited funds), and I you CHOOSE to continue, then I'll do the same.  I hope that you do, but remember, you have no obligation to do so. All that I ask is if you do kill it, post the fact so we might know.

In the meantime, THANK YOU, for all your efforts.

Techteacher
Ditto from me. You said it so eloquently. I have nothing to add except for a personal THANK YOU for sharing your wonderful work with others for free. Keep up your great work and please keep me informed of your updates. All the best. Mal
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 13, 2019, 01:49 AM
Please forgive me, Jody, my philosophy of life is very wrong: I think everything should be free. I'm too idealistic and naive. That's why it always gets to me when I see change for the sake of change, planned obsolescence and so on. I like stability, consistency, continuity, compatibility - completely opposite to this century's trend.  :-[
Another bad side of mine is that I'm always grateful by default for everything that's offered for free but I rarely express it, considering it implied, which is - unfortunately - not always the case. And pointing out bugs or asking for features doesn't help at all, although all that is just out of this darn innate perfectionism - the desire to see a good thing better, to help its creator, not to do myself a favor.

So thank you Jody for everything you've done and still doing for us all, for free. And hopefully you'll find a way to get this script working again, firstly for yourself. Good luck!  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 15, 2019, 04:26 PM
Your philosophy of, "I think everything should be free." fits in with the values originally expressed by Homebrew Computer Club. This of course has been revised to, "How much can we make". Of course there are still few exceptions in the tech arena, Linus Torvalds immediately comes to mind with Linux. But even that has become commoditization by the market. But creators are entitled to compensation for their efforts (should they choose to be) and have the right to change their minds at any point.

Look up Richard Stallman and the concept of Copyleft!

This is not an attack on you and please don't take it that way. I, also have that baked into a certain point. But for me, it's the media industry. My issues stem from not being able to record broadcasts on "public airwaves" at the highest resolution. And having to "buy" the same movie over and over again as the format media changes. This directly addresses you statement below.


"That's why it always gets to me when I see change for the sake of change, planned obsolescence and so on. I like stability, consistency, continuity, compatibility - completely opposite to this century's trend."

And I agree with your above statement 100%. You may use Apple as a text book example.

I had my Samsung Windows i700 phone from the day it was released till the day they killed the analogue band. I'm still running windows 7 on most of my systems, because IMO everything that came after was POS (And I ain't talk'in point of sale!) Hell, I still have a modem connected to my laptop for when the power goes off with a Virtual Windows For Workgroups and the original version of Mozilla installed on it with Trumpet Winsock!

I'm sorry for "monologuing", and going off topic, but I suddenly needed to vent.

As to the original topic.  If sWeather is dead, then so be it. It was a wonderful little program that earned my respect and gratitude. To quote Twain, "The reports of my death are greatly exaggerated."

I can hope!
Title: Re: Release: sWeather (tray-based weather app)
Post by: wraith808 on January 15, 2019, 09:05 PM
I think that 'free' is often misinterpreted, especially on the side of the receiver.  'Free' is never free, the costs are either absorbed by someone else, or are in a form that you don't immediately realize.  People thought that Facebook was free.  They were wrong.  They were buying the ability to use Facebook with their privacy.  In the same way, skwire offers these programs for free, but he absorbs the cost, whether he does it because he wants to or not, it takes his time and resources. 

I think if more people thought about things in that way, they might be more appreciative (and in some cases skeptical) of the people that provide free things.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 15, 2019, 11:51 PM
Please forgive me, Jody, my philosophy of life is very wrong: I think everything should be free. I'm too idealistic and naive.

Brother, there is no need for an apology.  I don't think your philosophy of life is, as you put it, wrong.  Given the world we live in, I don't think it's very realistic, but it's not wrong.


Another bad side of mine is that I'm always grateful by default for everything that's offered for free but I rarely express it, considering it implied, which is - unfortunately - not always the case.

Please don't worry about it.  As mouser knows, I am not the type of person that writes software for any type of accolades.  I was brought up with the saying, "If a friend asks for help, you help them."  The satisfaction I get from being able to share what I'm capable of is enough for me.  In fact, it makes me quite uncomfortable to toot my own horn or to directly solicit donations.  That said, every donation makes me feel utterly humbled that somebody would part with their own money for something I've offered for free.


And pointing out bugs or asking for features doesn't help at all,

Quite the opposite, actually.  Without bug reports and feature requests, my applications would not be what they are.


although all that is just out of this darn innate perfectionism - the desire to see a good thing better, to help its creator, not to do myself a favor.

And that's how I take them.  I like fixing things and making them better, so please keep on reporting bugs and requesting features.  I'll do my best to get to them...or tell you no.  Hahaha.   :P


So thank you Jody for everything you've done and still doing for us all, for free. And hopefully you'll find a way to get this script working again, firstly for yourself. Good luck!  :Thmbsup:

You are most welcome.  And, yes, I hope like hell I hear back from Yahoo! and get sWeather working again.  It's one of my favourite apps and I, myself, use it daily.

As to the original topic.  If sWeather is dead, then so be it.

It's not dead until I say so...and I haven't said so.   :Thmbsup:

I think that 'free' is often misinterpreted, especially on the side of the receiver.  'Free' is never free, the costs are either absorbed by someone else, or are in a form that you don't immediately realize.  People thought that Facebook was free.  They were wrong.  They were buying the ability to use Facebook with their privacy.  In the same way, skwire offers these programs for free, but he absorbs the cost, whether he does it because he wants to or not, it takes his time and resources.

Beautifully put, wraith808.  Yes, programming does cost me time, resources, and more grey hair.  However, I accept that fully and cheerfully, otherwise I wouldn't do it.


I think if more people thought about things in that way, they might be more appreciative (and in some cases skeptical) of the people that provide free things.

It's all good.  All good.   :)

FWIW, I offer my programs as freeware for the following reasons:

Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 16, 2019, 01:16 AM
If I understood correctly you mentioned there is a possibility that we could get our own individual API for free that we could use with your software? If that is the case could you explain how we could go about doing that? I would have no problem applying for an individual API and using it with your software so I could get it working again on my computer.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 16, 2019, 01:20 AM
Hi, Mboxer511, and welcome to the DonationCoder site.   :Thmbsup:

If I understood correctly you mentioned there is a possibility that we could get our own individual API for free that we could use with your software? If that is the case could you explain how we could go about doing that? I would have no problem applying for an individual API and using it with your software so I could get it working again on my computer.

The individual API key thing applied only if I changed sWeather to use OpenWeatherMap's API which, at this point, I have no plans to do.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 16, 2019, 06:54 AM
@ TechTeacher: I do understand everything, the way this world goes. Morally it's a wrong way. But this kind of discussion would be way too heavy and lengthy for this topic. Don't worry, I don't get hurt so easily and there's nothing in your statements that I wouldn't agree to. So we're cool. ;)

@ wraith808: you're right on all accounts. However, 'free' from the user point of view should be completely free - not conditionalised by some private data theft, as you bluntly put it in regard to FB and most other "free" services. Indeed, the author puts in time, effort, nerves and so on only to give something to others, free of charge. When nothing but 'thanks' or a seldom donation is received, it is commendable. This is the real free stuff (and I know, because I've written AHK scripts and offered them for free as long as I had an online repository to store them in).

@ skwire/Jody: you're a fine person, I've always known it. Actually we're quite similar, I may say: we both enjoy taking ideas, creating something based on them and then giving back that something to the community. I believe that's how all human kind should work. Idealistic and naive, again.
Best wishes to you and your family, and may good things happen for a change - starting with Yahoo's API approval! :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 17, 2019, 01:46 AM
Folks, looking over the past weeks posts you seem all to be polite and respectful to one another. I like this atmosphere alot. Would someone be so kind as to point me to a similar civilized forum. I'm interest in politic, social policy, security, religion and would love a place to hang.

I find Reg-edit to be to wild-west for my taste of discourse.

I'm a social-technologist with 40+ years in the business. IBM for 10, a stint at Microsoft, 10-years freelancing, 12-years teaching as a Senior Networking Instructor (with a side course in "Ethics in Information System".

Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on January 17, 2019, 04:09 AM
Folks, looking over the past weeks posts you seem all to be polite and respectful to one another. I like this atmosphere alot. Would someone be so kind as to point me to a similar civilized forum. I'm interest in politic, social policy, security, religion and would love a place to hang.
hi TechTeacher,
I can't help you there - would find such a forum of interest myself.
When those topics get involved, people tend to get heated and a lot less civilised - which is why we avoid politics and religion here** (if someone insists on posting something in that direction it usually gets ignored, may even get removed, or moved to a 'basement' board that's only visible to members).

**Sometimes those topics and our topics of interest do overlap, so you will see the odd thread e.g. re Snowden
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 17, 2019, 02:15 PM
Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 17, 2019, 04:55 PM
I haven't heard back from Yahoo! so I sent them another email.   :-\
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 18, 2019, 02:22 AM
@ TechTeacher: Sorry for not being able to help, I only follow a couple of tech boards (this one and AHK's).

@ skwire: They're probably swamped with h8er mail.  :P  ;D
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 18, 2019, 11:52 PM
I haven't heard back from Yahoo! so I sent them another email.   :-\

I found another weather program called "YoWindow" and noticed they seem to utilize the National Weather Service. Would that be an option to use for your app as an alternative to Yahoo? I also found these other API's which might be able to help:

Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 02:04 AM
I've updated sWeather to work with the new API but I'd like to get a bit of testing done before releasing it fully.  If you're up to it, make a backup of your sWeather folder and grab the interim build from here:

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.27.zip
http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.34.zip
http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.35.zip

Please read the following changelog and let me know how this version works for you:

    + Added support for the new Yahoo! Weather API.  The old API was retired on
      2019-01-03.  The new API seems slower than the previous one but I don't
      know if it's because of the new OAuth requirement for this new API or
      something else.  Whatever...it works, so please be patient with it and
      apologies for any inconvenience.
    + Hovering over the "Full forecast", "Radar", and "Powered by Yahoo!" links
      shows their URL in the statusbar.  (Thanks, Drugwash)
    + Right-clicking the "Full forecast", "Radar", and "Powered by Yahoo!" links
      gives the option of copying the URL to the clipboard.
    + Added "Minimize to tray" option.  (Thanks, Drugwash)
    + Added menu option to display raw weather data.
    + Added tooltips to statusbar icons.
    * Eliminated dependencies on resources.dll and temp directory.
    - Took out the WOEID search feature because the new API doesn't support that
      currently.  Had to go back to the old method of manually getting the WOEID
      from the URL of a location on the main weather.yahoo.com website.  Yuck,
      what a travesty.  >=[
    ! Right-click clipboard context menu was broken.
    ! Fixed an extra line in one of the tray tooltips.  (Thanks, Drugwash)
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 20, 2019, 02:27 AM
Your right about WOEID being a pain, but MAN YOU DID IT!

Thank you! I didn't know how much I missed it before it was gone. Now it's back in my tray and it's GREAT!

Next check, you get a donation!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 02:29 AM
It wasn't the WOEID stuff that was a pain, it was the new OAuth requirements.  OAuth is a damn nightmare.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on January 20, 2019, 03:54 AM
Yeehaaaa! It's back (mostly). Basically working but the "Feels Like" temperature is 28C when the actual temperature is 0C. That's some wind chill! I can only wish it really worked that way.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 20, 2019, 06:41 AM
First off, thank you for getting this back working and also for incorporating some of my suggestions!  :Thmbsup:

It's mostly working, except for the aforementioned "Feels like" which is also 28°C for me while real temperature is 1°C.
The 'High' appears as N/A, no idea if that's how it comes from the API or some bug in the script.

The blank line in the tooltip is still present (you probably didn't have time to address it - just a reminder) and the date/time in the titlebar still shows Thu, January 01, 00:00 due to the IE libraries being unable to connect to the site (TLS 1.2 missing in IE8 or something).

[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on January 20, 2019, 07:42 AM
Congratulations, Jody  :Thmbsup:
Amazing work -- I know it must have been a huge pain to make such a large change.. Thank you for taking care of us sWeather users.  :up: :up: :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 11:24 AM
Basically working but the "Feels Like" temperature is 28C when the actual temperature is 0C.
It's mostly working, except for the aforementioned "Feels like" which is also 28°C for me while real temperature is 1°C.

The data shown is the data given by Yahoo!.  However, as best I can tell, that wind chill data is not being coverted to Celsius.  Basically, it's a Fahrenheit value no matter if I'm requesting Celsius values.  Of course, I could do the math and fix it, but I've written an email to Yahoo! to see if they'll fix it first.  If they don't, within a fair amount of time, I'll fix it manually.

The 'High' appears as N/A, no idea if that's how it comes from the API or some bug in the script.

It's a formatting bug in the data returned from Yahoo!.  I mentioned this bug as well in the aforementioned email, but I've also fixed it in my interim sWeather build in the meantime.

The blank line in the tooltip is still present (you probably didn't have time to address it - just a reminder)

I don't see this extra blank line, but let me know if I fixed it when I release the next interim build later today.

and the date/time in the titlebar still shows Thu, January 01, 00:00 due to the IE libraries being unable to connect to the site (TLS 1.2 missing in IE8 or something).

You can try disabling the "Use HTTPS when possible" option in sWeather.  However, if the TimeZoneDB site force a redirect to HTTPS (or force TLS 1.2), I doubt I can fix this for you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 20, 2019, 12:26 PM
I don't see this extra blank line, but let me know if I fixed it when I release the next interim build later today.
There's an extra "`n" (new line) at the end of the tooltip text, I found it in previous version and fixed it locally. Possibly your version of Windows trims it automatically, that's why you don't see it, but XP does display it.
Tray_Tip_Format_Short := sTemp . "°" . ( CF ) . " (FL: " . sChill . "°" . ( CF )  "), " . sCondition . "`n"
. "RH: " . sHumidity . "%`n"
. "Hi: " . sHigh1 . "°" . ( CF ) . ", Lo: " . sLow1 . "°" . ( CF ) . "`n"

There's another "fix" I did in my local version: tooltips for the statusbar icons. I had no idea where those were leading to; now there's a tooltip clearing it all out.
; somewhere in autoexec
Global lnkYdev := "https://developer.yahoo.com/weather/"
Global lnkTZDB := "https://www.timezonedb.com"
; further down
SB_SetParts( 300, 65, 25, 25 )
SB_SetIcon( Temp_Dir . "\yahoo.ico", 1, 3 )
SB_SetIcon( Temp_Dir . "\timezonedb.ico", 1, 4 )
; my additions following
msg := A_IsUnicode ? 0x411 : 0x410 ; SB_SETTIPTEXTW/A
SendMessage, msg, 2, "Yahoo developer site " lnkYdev, msctls_statusbar321
SendMessage, msg, 3, "TimezoneDB site " lnkTZDB, msctls_statusbar321

You can try disabling the "Use HTTPS when possible" option in sWeather.
That seems to have worked. Can't believe I didn't try that earlier. Or did I…? Anyway, one down.  :Thmbsup: Will be waiting for Yahoo's fixes… or yours. ;)
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on January 20, 2019, 02:25 PM
Nice job Jody, thank you! Looks like it works fine.

Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 02:58 PM
There's an extra "`n" (new line) at the end of the tooltip text

As mentioned previously, the version below should have a fix.

There's another "fix" I did in my local version: tooltips for the statusbar icons.

I had meant to add those last night (and have in the version below).  Thanks for the reminder.   :Thmbsup:

Nice job Jody, thank you! Looks like it works fine.

Great to hear.  Thank you for the report.   :Thmbsup:

Latest interim build here:
http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.34.zip
http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.35.zip

Please read the following changelog and let me know how this version works for you (changes from the .25 build to the .34 build are in bold):

    + Added support for the new Yahoo! Weather API.  The old API was retired on
      2019-01-03.  The new API seems slower than the previous one but I don't
      know if it's because of the new OAuth requirement for this new API or
      something else.  Whatever...it works, so please be patient with it and
      apologies for any inconvenience.
    + Hovering over the "Full forecast", "Radar", and "Powered by Yahoo!" links
      shows their URL in the statusbar.  (Thanks, Drugwash)
    + Right-clicking the "Full forecast", "Radar", and "Powered by Yahoo!" links
      gives the option of copying the URL to the clipboard.
    + Added "Minimize to tray" option.  (Thanks, Drugwash)
    + Added menu option to display raw weather data.
    + Added tooltips to statusbar icons.
    * Eliminated dependencies on resources.dll and temp directory.
    - Took out the WOEID search feature because the new API doesn't support that
      currently.  Had to go back to the old method of manually getting the WOEID
      from the URL of a location on the main weather.yahoo.com website.  Yuck,
      what a travesty.  >=[
    ! Right-click clipboard context menu was broken.
    ! Fixed an extra line in one of the tray tooltips.  (Thanks, Drugwash)
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 20, 2019, 04:09 PM
Thanks what I meant about WOEID...
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 20, 2019, 05:19 PM
Report:
- Tooltip blank line is fixed.
- Statusbar tooltips work properly.
- High temperature is now displayed correctly.
- Bug: main window's titlebar loses date/time when window is restored/shown by clicking the tray icon.
- Bug?: no more minimize button in titlebar.

Sorry for being brief, I'm dead tired, gotta hit the sack. Good luck!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 05:40 PM
- Bug?: no more minimize button in titlebar.

Eh? Did you enable the "Do not show taskbar button" option or something?
Title: Re: Release: sWeather (tray-based weather app)
Post by: wraith808 on January 20, 2019, 05:45 PM
It wasn't the WOEID stuff that was a pain, it was the new OAuth requirements.  OAuth is a damn nightmare.

My experiences with OAuth.

(https://www.donationcoder.com/forum/esmileys/gen3/1Small/blue_screen.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/cenzor.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/CHAIR.GIF)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/gwiazdy.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/klnie2.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/WALLBASH.GIF)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/surrender.gif)

In other words, I agree.  Totally.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 06:04 PM
It wasn't the WOEID stuff that was a pain, it was the new OAuth requirements.  OAuth is a damn nightmare.

My experiences with OAuth.

(https://www.donationcoder.com/forum/esmileys/gen3/1Small/blue_screen.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/cenzor.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/CHAIR.GIF)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/gwiazdy.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/klnie2.gif)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/WALLBASH.GIF)(https://www.donationcoder.com/forum/esmileys/gen3/1Small/surrender.gif)

In other words, I agree.  Totally.

Yeah, it's bloody ridiculous.  It's like it's complicated just for the sake of being complicated.  As for troubleshooting, yeah, right.  Troubleshooting is just trying random shit until 1) it works or 2) you just give up (re: your surrender flag above, haha).
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on January 20, 2019, 06:19 PM
I just did a quick scan of RFC 6749. Having worked with PKE and PKI along with Microsoft's Hash key exchange, OAuth seems to have been developed by a team that seems to be set out to show how smart they are.

For the API call you use in sWeather, I can't see why Yahoo would implement such a challenge / response protocol. I really seems like over kill; unless this now going to be part of the base coding standard.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 20, 2019, 06:44 PM
Just uploaded interim build 35 which adds back in the custom location name option I mistakenly took out when redoing all this.

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.35.zip
Title: Re: Release: sWeather (tray-based weather app)
Post by: worldwide on January 21, 2019, 12:30 AM
Works fine except for the thing below as you said.
Thank you, Jody!
The data shown is the data given by Yahoo!.  However, as best I can tell, that wind chill data is not being coverted to Celsius.  Basically, it's a Fahrenheit value no matter if I'm requesting Celsius values.  Of course, I could do the math and fix it, but I've written an email to Yahoo! to see if they'll fix it first.  If they don't, within a fair amount of time, I'll fix it manually.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 21, 2019, 07:04 AM
- Bug?: no more minimize button in titlebar.

Eh? Did you enable the "Do not show taskbar button" option or something?

Indeed I did. Reasoning: there's no need for the taskbar button as long as the window can be brought to front by a single icon click; extremely rarely do I use task switcher (Alt+Tab).
Apparently M$ don't allow a "normal" window style with no taskbar button. Oh well, we can't have it all, can we… But why does it lose the date/time in the window title, in the 'ToolWindow' mode?

One way of keeping the 'minimize to tray' option while in ToolWindow mode is to hook WM_NCRBUTTONDOWN and send the command to minimize the GUI when user right-clicks the titlebar:
; somewhere in autoexec
OnMessage(0xA4, "RClick") ; WM_NCRBUTTONDOWN
; somewhere among functions
;===================
RClick(wP, lP, msg, hwnd)
;===================
{
Global GUI_ID
if (hwnd != GUI_ID)
return
if wP=2 ; HTCAPTION
{
Gui, 1:Minimize
Return 0
}
}
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 21, 2019, 03:40 PM
I can not add my location with the new version how do I do it ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 21, 2019, 03:42 PM
I can not add my location with the new version how do I do it ?

In sWeather's Options dialog, click the button next to the WOEID field for instructions on how to do that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 21, 2019, 04:15 PM
skwire I am a disabled person can not find the In  Options  the button next to the WOEID field for instructions can you give me a screenshot please 
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 21, 2019, 04:22 PM
skwire I am a disabled person can not find the In  Options  the button next to the WOEID field for instructions can you give me a screenshot please

Did you update to the latest sWeather I posted?  If not, update to this version here, first:

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.35.zip

[ You are not allowed to view attachments ]




Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 21, 2019, 04:54 PM
skywire I update to the latest sWeather

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.5.35.zip

I do not see the same picture as in your screenshot can you please give me step  by step install directions I did have old version please
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 22, 2019, 04:42 PM
sWeather has been updated to v1.7.6.  Thanks to all for your testing and patience.  :Thmbsup:   I also received word from Yahoo! that the wind chill reading for Celsius has been fixed.   :up:

Website (http://www.dcmembers.com/skwire/download/sweather/)
v1.7.6 - 2018-01-22
    + Added support for the new Yahoo! Weather API.  The old API was retired on
      2019-01-03.  The new API seems slower than the previous one but I don't
      know if it's because of the new OAuth requirement for this new API or
      something else.  Whatever...it works, so please be patient with it and
      apologies for any inconvenience.
    + Hovering over the "Full forecast", "Radar", and "Powered by Yahoo!" links
      shows their URL in the statusbar.  (Thanks, Drugwash)
    + Right-clicking the "Full forecast", "Radar", and "Powered by Yahoo!" links
      gives the option of copying the URL to the clipboard.
    + Added "Minimize to tray" option.  (Thanks, Drugwash)
    + Added menu option to display raw weather data.
    + Added tooltips to statusbar icons.
    + Option to break location menu into multiple columns.
    * Eliminated dependencies on resources.dll and temp directory.
    - Took out the WOEID search feature because the new API doesn't support that
      currently.  Had to go back to the old method of manually getting the WOEID
      from the URL of a location on the main weather.yahoo.com website.  Yuck,
      what a travesty.  >=[
    ! Right-click clipboard context menu was broken.
    ! Fixed an extra line in one of the tray tooltips.  (Thanks, Drugwash)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on January 22, 2019, 04:54 PM
Thanks for all your hard work Jody, great job. :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 22, 2019, 05:18 PM
skywire  please give me step  by step install directions I did have old version do I delete old version first or ? please
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 22, 2019, 05:32 PM
skywire  please give me step  by step install directions I did have old version do I delete old version first or ? please

Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 23, 2019, 12:53 AM
I'm having an issue with the time not displaying correctly and the forecast not working. Not sure if this is a known issue? This is running on Windows 8.1 with your newest version of the software. I completely removed my files of the old program and restarted this new program after saving the new settings. I included a screen shot of what I'm seeing and the settings I chose.

Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 23, 2019, 04:24 AM
Hello, previously my sweather tray icon would show a weather condition icon such as clouds, sun rain, etc. depending on the weather for my location. Now I only see a square box with the temperature in it. Is there a way to show the nicer weather icons instead and not the temperature?

I see now there's a checkbox for the weather condition icon that can be enabled/disabled, but how do I hide the temperature icon? I don't need both (need the space). The drop-down in the settings for temperature doesn't include none and there's no enable/disable checkbox for the temperature. :( The hover info for the condition icon doesn't show the same info (less) as the temp icon

Also the settings GUI button is chopped off at the bottom when using a dpi setting of 125%.
[ You are not allowed to view attachments ]
Thanks for getting sWeather working again. :Thmbsup:

 
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 23, 2019, 07:05 AM
@ Mboxer511: You're probably having the same problem that I had (the underlying IE library used to connect to the TimezoneDB site doesn't support the required SSL protocol) so you'd have to untick 'Use https' in the configurations panel to get it work. But first, please go into your Internet Explorer advanced options and make sure TLS 1.2 is enabled (if available); that might get it work properly. IE8 (in my case) doesn't have such option available but disabling HTTPS in sWeather worked.

@ skwire: There's a problem with the GUI icons in XP, noticed it right after you eliminated the resources DLL but thought it might just be a different icon set. Apparently it's a rendering error for the transparent PNGs.
Here's a comparison of the old 1.7.5 GUI versus 1.7.6:
[ You are not allowed to view attachments ]

Also noticed 'Minimize to tray' is missing from the configuration panel but it does work as such; maybe you made it permanent?
Reminder: date/time still dissapears from titlebar when in TooWindow mode. The tray click is the trigger.
A funny side-effect of the ToolWindow mode: the SysCommand menu still sports a Maximize option which works although it shouldn't, since it's not a resizable window. :)
[ You are not allowed to view attachments ]

The rest seems to work as intended. Thank you!
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 23, 2019, 10:29 AM
forecast not working

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.6.2.zip

Please try that build and let me know if the forecast works.  Thank you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 23, 2019, 11:45 AM
Why does the 'Do not show taskbar button' need to disabled to get the 10-day forecast?
I can enable the buton for a 5-day forecast, but not for 10.

Nevermind, I had to restart sWeather for it to take affect. 
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 23, 2019, 12:48 PM
forecast not working

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.7.6.2.zip

Please try that build and let me know if the forecast works.  Thank you.

Yup, version 1.7.6.2 worked! Forecast and time are now appearing. I also disabled "use https:// (SSL) when possible" just to be safe.
The time of day, in the top of the window, is now shown in 24 hour time (not sunrise/sunset, that is working). Is there a way to revert it back to the 12 hour time format?

Included a screen shot of the new version with settings:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 23, 2019, 12:52 PM
Nevermind I fixed the time issue not appearing in 12 hour format in the title bar.  Had to change the "Date/time format" from:
dddd, MMMM d, H:mm tt
TO
dddd, MMMM d, h:mm tt

It originally had an uppercase 'H' which denotes 24 hour time and needed to be changed to a lowercase 'h'
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 23, 2019, 06:07 PM
I'm having an issue with the time not displaying correctly and the forecast not working.

As Drugwash mentioned, for the time issue, try disabling the "Use HTTPS when possible" setting.  For the forecast issue, thank you for testing and I'm glad the interim build fixed things.  I've included those changes in the v1.1.7 mainline release below.

There's a problem with the GUI icons in XP, noticed it right after you eliminated the resources DLL but thought it might just be a different icon set. Apparently it's a rendering error for the transparent PNGs.

They're actually icons but I tested with PNG files and got the same results.  I can't win here.   :(  I really don't want to go back to extra loose files if I can help it.

Also noticed 'Minimize to tray' is missing from the configuration panel but it does work as such; maybe you made it permanent?

No, haha.  I mistakenly deleted that line when adjusting the Options GUI.   :-[  It's back in the v1.7.7. build.

Reminder: date/time still dissapears from titlebar when in TooWindow mode. The tray click is the trigger.

Still working on this.  Sometimes it goes away, sometimes it stays.  There's really no rhyme or reason to it.

Nevermind I fixed the time issue not appearing in 12 hour format in the title bar.  Had to change the "Date/time format" from:

Yep, that's why I made it completely configurable.   :up:

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
2019-01-23 - v1.7.7
! Fixed speed issue when getting weather data.  It was my fault and not the new API.
! Fixed 5 & 10 day forecast data not showing for some users.
! "Minimize to tray" option is back.  I must have erroneously deleted it in the last build.  (Thanks, Drugwash)
! Pressure reading wasn't correct for imperial values.

Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 23, 2019, 07:12 PM
 Which is  the latest sWeather version ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 24, 2019, 12:22 AM
Which is  the latest sWeather version ?

You can always find the latest version on the sWeather website: http://www.dcmembers.com/skwire/download/sweather/
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 24, 2019, 01:36 AM
You can always find the latest version on the sWeather website: http://www.dcmembers.com/skwire/download/sweather/

Is 1.7.7 up on the website now for download? I just checked and it's still showing 1.7.6.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on January 24, 2019, 01:51 AM
It's just a typo in both the website and (a giveaway this) the change log. Download and install it and it is V1.7.7 build 1.  :D
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 24, 2019, 02:33 AM
I to want to know also Is 1.7.7 up on the website now for download? I just checked and it's still showing 1.7.6. will  1.7.7 be up or is it 1.7.6. ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on January 24, 2019, 02:42 AM
I know it says 1.7.6 but it's actually 1.7.7! (https://www.donationcoder.com/forum/esmileys/gen3/3Smileys/lol.gif)
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on January 24, 2019, 04:58 AM
And also the changelog in the help/about screen is updated upto 1.7.6, not 1.7.7...
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 24, 2019, 05:13 AM
They're actually icons but I tested with PNG files and got the same results.  I can't win here.
I really don't want to go back to extra loose files if I can help it.
Ah, I remember now how the icons are created. Overly complicated IMHO. However, the Create_xxx_ico() functions look identical between 1.7.5 and 1.7.6+ so there must be some change in the way they are applied or somewhere else.
There is a lot of redundant code in those functions, and most importantly too many LoadLibrary/FreeLibrary on gdiplus.dll and GdiplusStartup/GdiplusShutdown pairs, which are known to be quite slow.


Reminder: date/time still dissapears from titlebar when in TooWindow mode. The tray click is the trigger.
-Drugwash (23 January 2019, 15:05:37)

Still working on this.  Sometimes it goes away, sometimes it stays.  There's really no rhyme or reason to it.

Misbehavior is consistent here. So (in ToolWindow mode):
1. after main window appears and gets populated with data, just click on the condition icon in the tray: the date/time dissapears from titlebar.
2. go to menu > Options > Configure and in the configuration panel just click 'Save': all data is updated and date/time appears again in the titlebar.
3. click the temperature tray icon: date/time stays in titlebar.
4. click the condition tray icon: the date/time dissapears from titlebar.
5. repeat #2 to #4 (#3 may be omitted at will): behavior will be consistent.

I'll look into the code, try to fix it locally and if I succeed I'll send/post the necessary patches. It'd be of great help if I had the original sources including separate libraries instead of a single bulk file but I can manage with that too if needed - it'll just take (much) more time.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 24, 2019, 07:43 AM
Sorry, all.  As you found out, there was a typo in the changelog and I forgot to update the version number on the webpage.  For now, I've recompiled it, without any changes, to v1.7.7.2.  Changelog and webpage have been updated as well.

@Drugwash: I will fix both issues.
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 24, 2019, 11:53 AM
Sorry, all.  As you found out, there was a typo in the changelog and I forgot to update the version number on the webpage.  For now, I've recompiled it, without any changes, to v1.7.7.2.  Changelog and webpage have been updated as well.

@Drugwash: I will fix both issues.

Do you have any comments regarding my previous post?
Hello,previously my sweather tray icon ...
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 24, 2019, 01:37 PM
Can you please tell me the woeid number for Philadelphia I can not seem to find it ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 24, 2019, 04:41 PM
Can you please tell me the woeid number for Philadelphia I can not seem to find it ?
2471217. Follow link in options window for Instructions on finding woeids 
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on January 24, 2019, 11:08 PM
I followed the link in options window for Instructions on finding woeids  and messed up everytime I go to configue[ You are not allowed to view attachments ] says above the fix is?
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 25, 2019, 05:58 AM
This is what I have after updating the config.
[ You are not allowed to view attachments ][ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 25, 2019, 06:19 AM

4. click the condition tray icon: the date/time dissapears from titlebar.

I'll look into the code, try to fix it locally and if I succeed I'll send/post the necessary patches. It'd be of great help if I had the original sources including separate libraries instead of a single bulk file but I can manage with that too if needed - it'll just take (much) more time.

If this gets fixed, could the hover info for the condition show the same info as when hovering over the temp in the systray?
Also, can the temp systray icon be made optional like the condition one?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 25, 2019, 06:07 PM
Hello, previously my sweather tray icon would show a weather condition icon such as clouds, sun rain, etc. depending on the weather for my location. Now I only see a square box with the temperature in it. Is there a way to show the nicer weather icons instead and not the temperature?

Which Windows version are you using?

I see now there's a checkbox for the weather condition icon that can be enabled/disabled, but how do I hide the temperature icon? I don't need both (need the space). The drop-down in the settings for temperature doesn't include none and there's no enable/disable checkbox for the temperature. :( The hover info for the condition icon doesn't show the same info (less) as the temp icon

I'll try to explain this: Natively, an AutoHotkey program can only create one icon in the tray.  Many years ago, a tray library was created that let you add and control additional tray icons.  sWeather uses this library; one of the icons is the native one and one is created by the tray library.  This worked fine until Windows 7+ brought about some significant changes in tray icon handling.  It's apparent that Windows 7+ sees the two icons differently but I have my Windows 7 install set to display all tray icons all the time, so I don't experience any tray icon issues.  However, today, I've been testing sWeather on a Windows 10 install, with both icons enabled in sWeather, and I have no issues using the native Windows 10 tray icon handling to hide/show either icon.  It survives reboots, too.  If you're using Windows 7+, have you tried changing the native tray icon settings?

Regarding the difference in the tray icon tooltips (hover info) this, again, is because of the age of the tray library.  The original library was ANSI only and was not updated to support Unicode when AutoHotkey was updated with Unicode compatibility.  I made changes to the library so it would work at all with Unicode AutoHotkey but, as you see, one of the drawbacks is it cannot display the same amount of textual data.  Why?  Probably something to do with Unicode chars taking two bytes.  At any rate, I was pleased that I got the library working at all in Unicode.  =]

I hope this helps to explain things.

Also the settings GUI button is chopped off at the bottom when using a dpi setting of 125%.

I tested this in a VM at 125% DPI and it displays correctly.  On a hunch, what is your screen resolution?

Thanks for getting sWeather working again. :Thmbsup:

You're welcome and thank you for helping out sportman12 earlier.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 26, 2019, 03:07 AM
Uploaded v1.7.8:

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.7.8
   + New metric windspeed option to use meters per second instead of the kilometers per hour default.  (Thanks, BG)
    * Rearranged the Options dialog a bit.
    ! Hopefully made the menu and button icons work properly in both Windows XP and Windows 7+.  32-bit colour must be enabled in your Windows display options.  (Thanks, Drugwash)
    ! Fixed the titlebar not always displaying the time.  (Thanks, Drugwash)


@Drugwash, let me know if this fixes the icon display issue, please.
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 26, 2019, 05:49 AM

Which Windows version are you using?

Thanks for the explanation. I currently use Win 7/8/10. This is what I've observed regarding the tray icons:
1. For Win7 and Win8, customizing the individual icons to be shown/hidden will not work if sWeather is active.
   You cannot change the icons independently. If you change one, it automatically changes the action for the other, which
   is why I was always seeing both icons on the taskbar even though others were hidden.
2. On Win10, it doesn't matter if sWeather is active or not when selecting the on/off buttons individually, but
   since I was showing all icons, I was looking for a way to remove the temp icon via the sWeather options.

I found a work-around for win7/8 to only show one icon by exiting sWeather before entering the taskbar customizing menu. Once you do this, you can select the actions for the icons individually. Of course this will not work if showing all icons as with Win10.

Would an option to select which icon becomes the primary one (condition vs. temp) be possible?  Then the hover info would be the same for whichever icon one decides to show.  When choosing it this way, you would not have to display a 2nd icon. Right now the primary icon is fixed at temp. Just a thought and no deal breaker if it's too much work for you. I can live without it. :) I'm still not sure what the benefits of adding additional tray icons are and if even necessary.

I tested this in a VM at 125% DPI and it displays correctly.  On a hunch, what is your screen resolution?

1366 x 768 instead of the 1920 x 1080 which is way to small for my likes.  1366 x 768 at 125% works better for me than using the recommended resolution and a much larger DPI setting.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 26, 2019, 10:42 AM
@Drugwash, let me know if this fixes the icon display issue, please.
Yes, v1.7.8 is confirmed to work correctly in regard to GUI icons and titlebar date/time. Thank you very much!  :Thmbsup:

Actually I had a reply half-written when I started performing some tests and then power went down for a second, UPS shut down too (low battery) and lost it all. In fact I wanted to suggest precisely the same thing as suggested by click-click above: option to select which icon to use as main:

Main tray icon:
(•) Condition
( ) Temperature
[_] Show additional icon in tray

As for tooltips (remember mine are off at the top for an unknown reason), I've put together a test script for 'fake tooltips', as a demo. Since it uses a regular GUI it can hold any kind of pictures, formatted text, links and so on.
The only thing left to do is to get rid of the original tooltip since AHK doesn't sport a Menu, Tray, NoTip command.
Code: Autohotkey [Select]
  1. CoordMode, Mouse, Screen
  2. SetFormat, Integer, H
  3. Menu, Tray, Tip, %A_Space%
  4. Gui, -Caption +ToolWindow +Border +AlwaysOnTop
  5. Gui, Color, White, White
  6. Gui, Add, Text,, This is just a test
  7. Gui, Add, Text, w110 h130 vdbg,
  8. Gui, +LastFound
  9. Gui, Show, Hide
  10. hMain := WinExist()
  11. hCursM := DllCall("LoadCursor", "Ptr", NULL, "Int", 32646, "Ptr")       ; IDC_SIZEALL
  12. OnMessage(0x201, "winmove")     ; WM_LBUTTONDOWN
  13. OnMessage(0x404, "test")
  14. Return
  15. ;================================================================
  16. guioff:
  17. Gui, Hide
  18. Return
  19. ;================================================================
  20. test(wP, lP, msg, hwnd)
  21. ;================================================================
  22. {
  23. Global hMain, custompos
  24. SetFormat, Integer, D
  25. SysGet, m, MonitorPrimary
  26. SysGet, mon, Monitor, m
  27. screenW := monRight-monLeft, screenH := monBottom-monTop
  28. ; ahk_class TrayNotifyWnd1
  29. ; calculate optimal position
  30. WinGetPos,,, gw, gh, ahk_id %hMain%
  31. WinGetPos,,, w, h, ahk_class Shell_TrayWnd
  32. if (w<h)
  33.         z:=w, w:=h, h:=z
  34.  if (x<h)                       ; taskbar vertical-left
  35.         {
  36.         gx := h+10, gy := y+gh>screenH ? screenH-gh-10 : y-8
  37.         pos=taskbar vertical-left
  38.         }
  39.  else if (y<h)  ; taskbar horiz-up
  40.         {
  41.         gx := x+gw>screenW ? screenW-gw-10 : x-8, gy := h+10
  42.         pos=taskbar horiz-up
  43.         }
  44.  else if ((x>h) and y>(screenH-h)) ; taskbar horiz-down
  45.         {
  46.         gx := x+gw>screenW ? screenW-gw-10 : x-8, gy := screenH-gh-h-10
  47.         pos=taskbar horiz-down
  48.         }
  49.  else                           ; taskbar-vert-right
  50.         {
  51.         gx := screenW-h-gw-10, gy := y+gh>screenH ? screenH-gh-10 : y-8
  52.         pos=taskbar-vert-right
  53.         }
  54. GuiControl,, dbg,
  55. (
  56. wP=%wP%
  57. lP=%lP%
  58. msg=%msg%
  59. hwnd=%hwnd%
  60.  
  61. mouse at x%x% y%y%
  62. taskbar w%w% h%h%
  63. screen w%screenW% h%screenH%
  64. %pos%
  65. GUI at x%gx% y%gy%
  66. )
  67. if lP=0x201
  68.         custompos:=0
  69. if custompos
  70.         Gui, Show
  71. else Gui, Show, x%gx% y%gy%
  72. SetTimer, guioff, -3500
  73. }
  74. ;================================================================
  75. winmove(wP, lP, msg, hwnd)              ; WM_LBUTTONDOWN
  76. ;================================================================
  77. {
  78. Global
  79. SetTimer, guioff, off
  80. custompos:=1
  81. DllCall("SetCursor", "Ptr", hCursM)
  82. PostMessage, 0xA1, 2,,, ahk_id %hMain%          ; WM_NCLBUTTONDOWN
  83. }
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 26, 2019, 08:28 PM
Uploaded v1.7.8:

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.7.8
   + New metric windspeed option to use meters per second instead of the kilometers per hour default.  (Thanks, BG)
    * Rearranged the Options dialog a bit.
    ! Hopefully made the menu and button icons work properly in both Windows XP and Windows 7+.  32-bit colour must be enabled in your Windows display options.  (Thanks, Drugwash)
    ! Fixed the titlebar not always displaying the time.  (Thanks, Drugwash)


@Drugwash, let me know if this fixes the icon display issue, please.

I've set up this newest version of your app on windows 8.1.  For me everything seems fine EXCEPT I noticed the icons in the lower right (for linking to the yahoo website) no longer appear. Please refer to the screen shots
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 27, 2019, 02:48 AM
[…] EXCEPT I noticed the icons in the lower right (for linking to the yahoo website) no longer appear.
Ah, you're right, they're missing here too, and their tooltips are also missing! I was so eager to check the other icons in menus, About box etc that I completely overlooked the statusbar icons. Shame on me.  :-[
Anyway, good news is all others are displayed properly. :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 28, 2019, 08:55 AM
For me everything seems fine EXCEPT I noticed the icons in the lower right (for linking to the yahoo website) no longer appear.

Good eye.   ;)

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.7.9 - 2019-01-28
    ! Statusbar icons were missing.  (Thanks, Mboxer511)

Title: Re: Release: sWeather (tray-based weather app)
Post by: selesn777 on January 30, 2019, 04:22 AM
Can you please tell me how to set the temperature display only in Celsius?
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on January 30, 2019, 07:19 AM
I'm late to the party, but just wanted to report sweather is working well here.  -14 degrees, polar vortex country.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on January 30, 2019, 07:55 AM
nevermind
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 30, 2019, 03:33 PM
Hi, selesn777, and welcome to the DonationCoder site.   :up:

Can you please tell me how to set the temperature display only in Celsius?

From the main sWeather window, choose Options > Configure from the menu.  In the Options window, enable the "Use metric units" option and, optionally, enable the "Add 'C' or 'F' to temperatures" option.




Title: Re: Release: sWeather (tray-based weather app)
Post by: selesn777 on January 30, 2019, 04:31 PM
From the main sWeather window, choose Options > Configure from the menu.  In the Options window, enable the "Use metric units" option and, optionally, enable the "Add 'C' or 'F' to temperatures" option.

Thanks!  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Mboxer511 on January 30, 2019, 10:04 PM
For me everything seems fine EXCEPT I noticed the icons in the lower right (for linking to the yahoo website) no longer appear.

Good eye.   ;)

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.7.9 - 2019-01-28
    ! Statusbar icons were missing.  (Thanks, Mboxer511)


Everything looks great now! Haven't come across any issues on Windows 8.1. Works just like it did before the change in the API.

On tip I wanted to mention is if anyone is updating the software, if you save the files "config.ini" and "locations.lst" then all your settings will carry over to the new update. So just make a back up of those files, then use them to overwrite the new ones when you install an updated version.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 30, 2019, 11:30 PM
Everything looks great now! Haven't come across any issues on Windows 8.1. Works just like it did before the change in the API.

Good to hear and thanks for the report.

On tip I wanted to mention is if anyone is updating the software, if you save the files "config.ini" and "locations.lst" then all your settings will carry over to the new update. So just make a back up of those files, then use them to overwrite the new ones when you install an updated version.

Thanks for the tip, though there shouldn't be any need to back up those files beforehand.  The zip file download doesn't contain a config.ini nor a locations.lst, so you can simply unpack the zip file to your sWeather install folder.  Now, that said, one should always have backups.   :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 31, 2019, 06:20 AM
@skwire

Are you considering doing anything about being able to select which icon to use as main as suggested by me and Drugwash?
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 31, 2019, 04:28 PM
Why is Sweather now connecting out so often? I have refresh set at 15 minutes. This used to work correctly with older
versions of Sweather with only 2 (open/close) connections every so often. Now I see this:
[ You are not allowed to view attachments ]
What's the reason for for the extra bandwith usage and can this be reduced or turned off?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 31, 2019, 04:54 PM
Why is Sweather now connecting out so often?

Those aren't weather data requests; they're requests to timezonedb.com which is used for the "location time in time in the titlebar" option.  I added a fix in v1.7.8 because that text wasn't always showing properly in the titlebar.  To fix it, I now request the location time any time the sWeather window is activated.  That is, sWeather does not keep an internal clock of its own.  I didn't think this would be much of an issue since the amount of data is only around 250 bytes per request.  In your screenshot above, were you focusing the sWeather window repeatedly?  If not, there's a problem, and I can look into fixing it.  Here's an example of data that's returned:

<result>
<status>OK</status>
<message/>
<countryCode>US</countryCode>
<zoneName>America/Chicago</zoneName>
<abbreviation>CST</abbreviation>
<gmtOffset>-21600</gmtOffset>
<dst>0</dst>
<timestamp>1548952639</timestamp>
</result>

That's it.  I suppose I could add a check that makes it not requery for time data unless a certain amount of time has passed but the drawback would be that the time would not be accurate.  Is 250 bytes of data per hit too much?  Are you constantly focusing the sWeather window during the day?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 31, 2019, 05:04 PM
Never mind...I can see the same behaviour here.  I'll work on a fix.
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 31, 2019, 05:07 PM
 Maybe the location time should fall under the refresh rule since it reflects the temp and conditions at that given time. No need to keep updating the time until the other information gets refreshed. Seems to me that would be more accurate.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 31, 2019, 06:02 PM
This should fix it.  The TimezoneDB API should only get queried when the main window is activated/focused.  Thank you for reporting this bug.

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.8.0 - 2019-01-31
    ! Reduced the number of times the TimezoneDB API was queried.  (Thanks, click-click)
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 31, 2019, 06:13 PM
Did you miss my previous post about optionally selecting the main icon as explained by me and Drugwash?
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on January 31, 2019, 06:37 PM
This should fix it.  The TimezoneDB API should only get queried when the main window is activated/focused.  Thank you for reporting this bug.

Okay, that's much better now. Thanks
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on February 01, 2019, 10:21 AM
No big deal, but the old symptom of the missing time/date in the title bar is back. Close the GUI and then open it again from the tray icon and the GUI title bar doesn't show anything until you manually use the refresh button. I assume the way this was fixed previously was to continuously check/update with the time server which IMHO was a bad idea. Do you not have any control of the GUI when launched from the icon and can you not just issue a single manual refresh after launching?

Edit:
Seems to only happen on W10. I don't see this happening on Win7. Will check W8.1 in a minute.
Win8.1 also shows this symptom.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 01, 2019, 12:55 PM
Seems to only happen on W10. I don't see this happening on Win7. Will check W8.1 in a minute.
Win8.1 also shows this symptom.

I use and develop on a Windows 7 box, so it worked for me.  I'll see if I can get access to a Windows 10 machine to test.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 06, 2019, 12:44 PM
Here's an interim build of sWeather which gives the user control over which of the tray icons are shown.  You can choose either or both.  However, I had to use the older Tray() library I talked about previously, so I'm limited in how much I can display in the tray icon tooltip.  In other words, I have to use the shorter format of the two tooltips you would see in the older version.  C'est la vie.  If you'd like to try it out, download this:

http://www.dcmembers.com/skwire/wp-content/uploads/sites/5/apps/sweather/sWeather_v1.8.0.2.zip

If you do try it out, please let me know if it works properly for you.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on February 07, 2019, 08:36 AM
I have a few questions:
- how come on a technical/software forum board any reply (and private message) is limited to 65530 characters?
- how come certain attachment types (such as 7z, zip, ahk) yield an 'invalid attachment' message? (using a QtWeb 3.8.5 browser)

I had added the ability to select tray icon a few das ago. Earlier I had devised a much shorter code for the wind direction function, and earlier than that I had also compacted all the icon-creation function into a single one, saving a lot of redundant code. But I couldn't post the code for the above-mentioned reasons.
Who exactly is the culprit here and why?
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on February 07, 2019, 10:27 AM
Hi Drugwash (interesting nickname.. is there a story behind it?).

The limits to post/message size are just part of the forum system we use.. It's a bit long in the tooth and old school, but I can't say I can remember it being an issue before.. That's a pretty huge message size and it's probably better to split up posts that get that big (it does not include image/attachment size in that limit of course).

You should be able to upload 7z, zip, and ahk files... Only a few extensions are blocked.  So maybe something else is going wrong?

ps.
I appreciate your contributions to improving the software posted here!  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on February 07, 2019, 01:43 PM
Hi, Jesse, thanks for chiming in.
I chose this nickname for myself about twenty years ago when I saw the Internet couldn't cope with some special character in my real name. It's just my real first name (Dragoş in Romanian) in an English pronounciation.

Seeing we're talking about software here, at times we may want to post snippets of code, as examples or patches or whatever. Recently I wanted to post some code in an attempt to help solving some issues with the application at hand, namely sWeather. However, that code easily goes over the 64kB size so it can't be posted as is and splitting it is not feasible. And for some reason, when I tried to attach it in an alternative form (as ahk script or as 7z or zip package) the board consistently returned an error. Maybe my browser isn't supported by the board software, that's why I mentioned it above so that someone may perform a check.

I'm just trying to help, nothing more, but it's hard to impossible in such conditions. So please see if anything can be done in this regard or at least, if someone doesn't want me to post code, let them say it openly.
Thank you.

P.S. Cloudflare access for DC? That's new (and from my point of view, bad - disturbing and time consuming for a 15kB/s connection).
Title: Re: Release: sWeather (tray-based weather app)
Post by: Ath on February 07, 2019, 01:55 PM
as 7z or zip package
Attaching files to posts, or inserting screenshots (png's) into the message, has never been an issue here, using Palemoon, Firefox or Chrome browsers.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on February 07, 2019, 02:00 PM
@ Ath: That's why I mentioned me using the QtWeb 3.8.5 browser. My hardware is quite old and limited, the OS is XP-SP3, therefore I prefer this very lightweight browser.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on February 07, 2019, 02:11 PM
P.S. Cloudflare access for DC? That's new (and from my point of view, bad - disturbing and time consuming for a 15kB/s connection).
we only enable that when we are suffering from a DNS flood that would otherwise debilitate the server.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on February 07, 2019, 02:29 PM
Ah, I see. Thank you for the clarification.  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: click-click on February 13, 2019, 05:48 PM

If you do try it out, please let me know if it works properly for you.

Everything looks good and working fine now on W7 W8.1 and W10. Thanks for the fixes and thanks for adding the icon selection option. I appreciate that.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on February 14, 2019, 02:23 PM
Everything looks good and working fine now on W7 W8.1 and W10. Thanks for the fixes and thanks for adding the icon selection option. I appreciate that.

@click-click: Good to hear and thanks for the report.

Forgot to post this notice a few days ago:

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.8.1 - 2019-02-11
    * Tray icon options have changed.  You can now display either or both icons.
    ! On a delayed startup, tray icon was showing blank instead of the N/A icon. (Thanks, T. Elliot)
    * Added a small delay when updating location time.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on February 14, 2019, 03:03 PM
Just some code improvement:
GetWindDirection( sNum )
{
Static Cardinals := ["N", "NNE", "NE", "ENE", "E", "ESE", "SE", "SSE", "S", "SSW", "SW", "WSW", "W"
, "WNW", "NW", "NNW", "N"]
Return Cardinals[Floor((sNum+11.24)/22.5)+1]
}
Title: Re: Release: sWeather (tray-based weather app)
Post by: mhh on February 25, 2019, 05:23 AM
Hello everybody and greetings from Germany. I'm using sWeather since several years and followed the recent trouble with the yahoo api closely in this forum.

Right now I just want to point out a minor bug:
If the "feels like" temperature is 0°C it is diaplayed as "N/A".

I haven't seen that before, but now every morning the temperature here fluctuates around the freezing point and therefor it appears very often.

May be you can fix it with the next update - thanks
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 01, 2019, 01:52 PM
Hello everybody and greetings from Germany. I'm using sWeather since several years and followed the recent trouble with the yahoo api closely in this forum.

Hello, mhh, and welcome to the DonationCoder site.

Right now I just want to point out a minor bug:
If the "feels like" temperature is 0°C it is diaplayed as "N/A".

Thank you for the report.  It should be fixed in the latest version below:

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.8.2 - 2019-03-01
    ! "Feels like" temps of zero degrees would display as N/A.  (Thanks, mhh)

Title: Re: Release: sWeather (tray-based weather app)
Post by: sacruser on March 02, 2019, 01:09 PM
I've enjoyed sWeather for several years...and, rely on it faithfully every day.  Thanks for creating it.  I seem to recall that previous versions (several back) listed update information (date/time, etc.) in the tooltip.  That seems to have disappeared in recent versions.  I was wondering whether it was omitted intentionally and whether it could be added again to the tooltip? Thanks again for your software.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 02, 2019, 10:49 PM
I've enjoyed sWeather for several years...and, rely on it faithfully every day.  Thanks for creating it.  I seem to recall that previous versions (several back) listed update information (date/time, etc.) in the tooltip.  That seems to have disappeared in recent versions.  I was wondering whether it was omitted intentionally and whether it could be added again to the tooltip? Thanks again for your software.

It's a drawback to the new tray icon changes I made recently.  Please read the following posts for some more insight:

https://www.donationcoder.com/forum/index.php?topic=25940.msg427355#msg427355
https://www.donationcoder.com/forum/index.php?topic=25940.msg427619#msg427619
Title: Re: Release: sWeather (tray-based weather app)
Post by: sacruser on March 03, 2019, 08:08 PM
Thanks so much for your response - maybe had I read more of the Forum, I could have saved both of us some time!  Thanks again for sWeather.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 03, 2019, 09:57 PM
Thanks so much for your response - maybe had I read more of the Forum, I could have saved both of us some time!  Thanks again for sWeather.

You're very welcome and no worries.  I'm glad you find sWeather useful.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mhh on March 05, 2019, 03:56 AM
Thank you for the report.  It should be fixed in the latest version below:

Website & Download (http://www.dcmembers.com/skwire/download/sweather/)
v1.8.2 - 2019-03-01
    ! "Feels like" temps of zero degrees would display as N/A.  (Thanks, mhh)


Thank you for the quick improvement. I can confirm that it works correct now.
Title: Re: Release: sWeather (tray-based weather app)
Post by: WPYS on March 05, 2019, 07:24 AM
Hey guy,
    I found that the latest version 1.8.2 could not show selected city's name when I hovered my mouse on any of the tray icons. I am very sure that
 previous version (for example version 1.7.x)  can show different information when hovering on tray icon including selected city's name. Please bring it back!
[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 05, 2019, 10:32 AM
Hi, WPYS, and welcome to the DonationCoder site.

I found that the latest version 1.8.2 could not show selected city's name when I hovered my mouse on any of the tray icons. I am very sure that previous version (for example version 1.7.x)  can show different information when hovering on tray icon including selected city's name. Please bring it back!

https://www.donationcoder.com/forum/index.php?topic=25940.msg428166#msg428166
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on March 10, 2019, 09:56 AM
I took the liberty to modify the script a little in regard to tray icon display and a (fake) tray tooltip.
It is an older build based on v1.7.9.1 and is only a proof of concept. It does feature a few code fixes aimed at x64 compatibility but there's still a lot of work to be done to achieve that goal. There are also a few bugs related to the fake tooltip positioning and timing, at startup and while changing options.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on March 10, 2019, 02:13 PM
I took the liberty to modify the script a little in regard to tray icon display and a (fake) tray tooltip.
[...]
Attached is a zip archive containing only the source code - no executable. Code has been tested using AutoHotkey v1.1.28.0 Unicode.

While I appreciate your interest in improving sWeather,  I do not appreciate you decompiling the code, making changes, and then posting it publicly.  My programs are not open source. Please respect that, and stop.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Drugwash on March 10, 2019, 04:22 PM
Yeah, I know: no good deed remains unpunished. I removed the attachment. Nobody dowloaded it anyway.
Title: Re: Release: sWeather (tray-based weather app)
Post by: wraith808 on March 10, 2019, 07:10 PM
Yeah, I know: no good deed remains unpunished. I removed the attachment. Nobody dowloaded it anyway.

Decompiling someone's source and reposting it doesn't seem to fall under the definition of good deed to me.
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on March 10, 2019, 11:19 PM
I think the place to start from -- the first thing that needs to be said -- is that drugwash was trying to help and improve the program.  And that furthermore, he was making the non-trivial effort share his improvements in a respectful way with the author (our wonderful skwire) and the rest of us.

So in my humble opinion, the first thing that needs to be said to drugwash is "thank you".

After that, it's skwire's right to ask that drugwash not share/post modified versions of his software.  I can understand why that would be disappointing to drugwash, who was just trying to contribute some improvements to a program he obviously likes.

Most of the people on this site are fans of open source software -- coding and using it.  Many of the coders here release some, if not all, of their source code as open source and participate in open source software.  People who are sharing their programming skills here on this site are doing so largely because of the enjoyment we get in having others use our software.  But many of us here also have some software which we have, for various reasons, decided not to open source. For whatever reason, it is ultimately the coder's prerogative. 

Anyway, this is just my long way of saying to drugwash that I (we) appreciate the good deed you were trying to do, and don't want you to walk away with bad feelings about this -- rather I hope you will stick around and continue to participate, offer improvements of other sorts, and feel welcome here.  We are nothing if not a home for unusual people with unusual skills :up: :-*


Title: Re: Release: sWeather (tray-based weather app)
Post by: leftdisconnected on September 08, 2019, 12:40 AM
Unfortunately, my recent download of the March v1.8.2 sWeather release is being detected as malicious by at least 8 engines in VirusTotal.  The scan for the ZIP release can be seen HERE (https://www.virustotal.com/gui/file/33a19e4117de230a0e9cbcf692beeb4fedc4075c8ca3001e91bb8c1af1334779/detection).

The bare executable triggers 12 detections, which can be seen HERE (https://www.virustotal.com/gui/file/f473bd8fde586614b63791fa303bac2c20079fa422ce6ea1fe97f21769670281/detection).

It's normal for less popular files and applications to trigger a few engines at VirusTotal, but 8 or more detections is rather uncommon.  I've been aware of sWeather for a number of years and am sure that skwire is a trustworthy developer, but is it possible that this file has been tampered with or are these all just false positives?  Even Microsoft is flagging this as PUA:Win32/Presenoker.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Deozaan on September 08, 2019, 01:03 AM
Jotti shows only a single false-positive for v1.8.2:

https://virusscan.jotti.org/en-US/filescanjob/2ouelcotx0
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 08, 2019, 11:21 AM
I've been aware of sWeather for a number of years and am sure that skwire is a trustworthy developer, but is it possible that this file has been tampered with or are these all just false positives?
-leftdisconnected (September 08, 2019, 12:40 AM)

I just downloaded it and checked its SHA-256 hash against my local copy.  If you're downloading it from my DonationCoder site, it has not been tampered with.

SHA-256 hash: 33A19E4117DE230A0E9CBCF692BEEB4FEDC4075C8CA3001E91BB8C1AF1334779

Thank you for taking the time to write.  These are false positives that come and are due to the language my applications are written in (AutoHotkey/AHK).  In the past, as a test, I've  written a single line AHK script and compiled it:

Code: Autohotkey [Select]
  1. F1:: ExitApp

That's it...one hotkey to exit the script.  Even that wouldn't come up clean on VirusTotal.  I know it's only my word, but I can state that there is no malware in any of my
 applications that are downloaded directly from my site.  That said, I cannot vouch for the various software repository sites that list my software as some of them wrap my software into their adware-bundled installers.  This perturbs me, but there is little I can do about it.  For the record, I do not submit my software directly to any of these types of sites; they pick my programs up automatically.

Years ago, when the AV companies were a lot fewer, I used to contact them about stuff like this.  Things would get fixed but, due to the AV updates, false positives would, inevitably, occur again. I got tired of dealing with it, so now I just shrug and trust that my body of work speaks for itself.  I know it sounds terribly apathetic, but fighting it just isn't worth the cycles anymore.  Cheers.




Title: Re: Release: sWeather (tray-based weather app)
Post by: leftdisconnected on September 08, 2019, 02:40 PM
I just downloaded it and checked its SHA-256 hash against my local copy.  If you're downloading it from my DonationCoder site, it has not been tampered with.

SHA-256 hash: 33A19E4117DE230A0E9CBCF692BEEB4FEDC4075C8CA3001E91BB8C1AF1334779

Thank you for taking the time to write.  These are false positives that come and are due to the language my applications are written in (AutoHotkey/AHK).

Thanks for the awesome response and verification.  Your response and hash check serve as a record for future concerns, at least with this release.  My hash indeed matches the one you've provided.  It might be useful to list this hash in the download area on your official website, but this can convey false verification if a website is hacked (hackers may change the displayed hash to match their infected package). 

I've also written AHK scripts and am aware that A/V tends to be scared of it, but was concerned for the following reasons:

1.  8+ engines still triggering more than 6 months after the release, including Microsoft's (though local Defender does NOT trigger).
2.  No other posts asking about false positives with this release (there are usually lots).

I've been involved with a few projects and authors generally find that detectors "calm down" after seeing the same executable for weeks or months with no related impact (via whatever metrics are used).  We also tend to have tons of questions about false positives, which inevitably surge with each new release, even for signed code (which rather undermines much of what I'm about to say ;) ).

Years ago, when the AV companies were a lot fewer, I used to contact them about stuff like this.  Things would get fixed but, due to the AV updates, false positives would, inevitably, occur again. I got tired of dealing with it, so now I just shrug and trust that my body of work speaks for itself.  I know it sounds terribly apathetic, but fighting it just isn't worth the cycles anymore.  Cheers.

That's entirely understandable :up:.  There are so many AV brands and engines that correcting false positives is an impossible task.  Almost no one bothers with this anymore unless they're Mozilla or someone like that and in that case they're hopefully squashing those issues before mainstream release.  However, I posted due to the combination of both a relatively mature release and no other false positive posts associated it.  Thanks for clearing this up.

There are limits to what you are willing and able to do as an independent developer, but signing your code with your own certificate would be a possibility.  If you keep the same signing cert over many years, it builds up a reputation to match your own.  In other words, if you've signed it with a cert that has been established to be yours, then interested users can extend your reputation to your cert.

I've seen other projects that create a new signing cert for every major code release and that's just a waste of time and effort.  With code signing, we want as long a certificate lifetime as possible to build its reputation.  Sure, we can sign our new certs with our old one to create a chain of trust, but there's no reason that a modern signing certificate shouldn't be trustworthy for at least 5 years.  Just MHO.

I'm not suggesting that you must sign your code as it's an extra hassle and 99% of users will never bother to check it anyway.  Still, I'm a terribly unskilled programmer that mostly just creates bad scripts that nobody else needs, yet I sign anything I release.  Even if only 1 user actually verifies it, that's a chance for someone to find out that my website/repository has been hacked, etc.  After initial setup, each signature takes seconds to do.

I sound like a salesman here, but I'm not trying to convince you to do this.  I'm just rambling about it for anyone who might be interested.  OpenPGP is not a perfect system and I understand if developers don't believe that it's worth the effort.  For example, most of the time I must download the signing cert from the very same website that I downloaded both the package and the signature from, which basically brings us back to the vulnerability of simply listing the hash; that's why long-term signing certs are so valuable.

Thank you so much for your time and attention and for creating and maintaining such useful software.

On a side note, I find it interesting that I can report my own post as SPAM  :P .                                vvvvvv
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on September 09, 2019, 11:44 AM
Welcome to the site, leftdisconnected  :Thmbsup:

Your suggestions and reasoning are very reasonable.  :up:

For installers, I highly encourage signing with a digital certificate; and with executables it makes a difference in how Windows displays them, and can definitely make people feel safer using them.

Your point about "It might be useful to list this hash in the download area on your official website, but this can convey false verification if a website is hacked (hackers may change the displayed hash to match their infected package)." is valid; for small scale websites that's pretty darn unlikely though.  And one good alternative solution would be to post a hash value on a different server (like this forum), from the one hosting the file.  Whether it's worth the hassle is another matter.. It does at least increase the likelyhood that someone would discover a tampered file sooner rather than later, which is always good.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on September 17, 2019, 06:28 AM
I've noticed recently that the temperature reported via the Yahoo API is running up to two hours behind, which renders the app a bit pointless. E.g. it is presently 12:26 BST and the last provider update was 11:00 BST. Sweather is reporting 15C and other apps are reporting 17C. Refreshing doesn't help. Any ideas anyone?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on September 17, 2019, 11:07 AM
sWeather uses the Yahoo! Weather API so, unfortunately, it's at the mercy of the data it receives.  In other words, there isn't anything I can do about it programatically.  I suppose you could write an email to Yahoo!, but I'm going to assume it will fall on deaf ears.
Title: Wind speed in notification
Post by: buxlt on January 02, 2020, 04:54 AM
Hello, is it possible to get wind speed in tray notification together with other characteristics?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Fedora on January 21, 2020, 02:08 PM
Not working! Fix sWeather, please!
Or is it just me?  :(
I just downloaded it, ran it, added 4 cities, and no data!
Help!
Title: Re: Release: sWeather (tray-based weather app)
Post by: mouser on January 22, 2020, 04:13 PM
Seems to be working fine here.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 22, 2020, 04:14 PM
Seems to be working fine here.

Working here as well.   :huh:
Title: Re: Release: sWeather (tray-based weather app)
Post by: Fedora on January 22, 2020, 07:56 PM
Working on Win 10 but Win 7 though.
From time to time I use a Win 7 PC with the minimal programs (and updates) installed just to avoid distractions.
sWeather is not working on that Win 7 PC.
I wonder if there's any working previous version to test with...
Well, let me know.
 :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 22, 2020, 09:01 PM
I still use Windows 7 and it's working fine here. 
Title: Re: Release: sWeather (tray-based weather app)
Post by: Fedora on January 22, 2020, 10:27 PM
Good to know then!
I'll try to make it work.
Thanks for the feedback.
 :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: boinciel on April 15, 2020, 07:49 AM
Good program, nice lightweight design, love the tray icons and customizability so far. Runs great on my 7 Pro sleeper PC, and it's firmly won a spot in my startup programs list. Just a couple of requests, if possible.

[ You are not allowed to view attachments ]
- My location's name is too long, and it cuts off (see attached image). Would it be possible to allow the menu name you choose to be printed, or the ability to nickname your city to get around this?
- I want to customize the skin to better suit my Win9x theme - I was able to get the weather icons changed (and replace the program icon, which I realize is probably much to your chagrin), but I want to change the arrows and other icons in the menus to a more rough, pixel art look.
- As a side note, I noticed any icon with nonconforming resolution gets forcefully stretched to fit. Could that be disabled by skin definition/user choice in future?
- Would it be possible to customize font choices and sizes? Not pressing, but...

Thanks again for writing such a nice piece of software. If anyone wants my icon sets (old Yahoo! Weather images from around 2000 and smaller icons extracted from WinWeather 3.0), let me know.
Title: Re: Release: sWeather (tray-based weather app)
Post by: 21944.450 on June 14, 2020, 08:10 PM
Feature request: option to also show humidity in the tray icon (or have it replace the condition icon).
Title: Re: Release: sWeather (tray-based weather app)
Post by: youhim on September 23, 2020, 01:14 AM
[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: Shades on September 23, 2020, 07:56 AM
Don't know which weather service provides your other temperature read-out, but the one in sWeather uses Yahoo! (and its affiliated weather service).

With such different read-outs, it is safe to assume these are different. Which implies that they process weather data differently. Then there is difference in available data. Yahoo! is likely using weather satellites that keep track of weather in the US and rely on data from other weather agencies that cover different regions on the globe.

Is the discrepancy between read-out too large for comfort? Yes it is. But explainable, once you don't want to know about temperature read-outs in the US. AccuWeather is what my phone uses here in South-America, where I live. I found that to be a much more reliable source than Yahoo!, but AccuWeather charges quite some money to provide data through their API. Yahoo! doesn't. As sWeather is provided to you at no cost, you can't expect the author to pay for API access to one (or more, for averaging read-outs) weather service.

As far as I know, sWeather had to change to Yahoo!, because other weather services were charging too much or put limitations on API callls, which would make sWeather unreliable for everyone. Now it can be unreliable for people outside of the US, because of Yahoo!'s sub-par quality of weather data outside the US. And as the US is the main "market" for sWeather, I can understand and appreciate the choice for Yahoo! as weather data provider.

Besides all this, there is also the matter of weather satellites. Most of these were shot into orbit 15 to 20 years ago. Of those, many are starting to wear out, but there are not enough new satellites being made to replace whatever capacity is already there. Weather data quality is becoming more of an issue each new day. Weather data algorithms have gotten better since then, so that makes up a bit for loss of measuring devices. 

Lots of words to explain that what the weather data you get from Yahoo! is nothing more than "best effort" when asking for temperature read-outs outside the US.
Title: Re: Release: sWeather (tray-based weather app)
Post by: KodeZwerg on September 23, 2020, 07:59 AM
I've just tested this beauty, Europe/Germany/Berlin, works perfect with Yahoo Data.
Title: Seems to be Not Getting Data
Post by: phred13 on January 22, 2021, 10:41 AM
Hi...

I'm using v1.8.2b1 on a Win10 Pro machine. I remember a year or two ago Yahoo changed their API and sWeather stopped pulling data. I don't know if the API has changed again, but the data hasn't changed for two cities for the past two days. I have exited and relaunched sWeather multiple times and I have also rebooted the PC a few times. Still not updating.

Is anyone else seeing this?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 23, 2021, 10:23 AM
I'm using v1.8.2b1 on a Win10 Pro machine. I remember a year or two ago Yahoo changed their API and sWeather stopped pulling data. I don't know if the API has changed again, but the data hasn't changed for two cities for the past two days. I have exited and relaunched sWeather multiple times and I have also rebooted the PC a few times. Still not updating.

https://developer.yahoo.com/

Yahoo! are shutting down their free weather API, which sWeather uses for its data. Unless I find another free weather API to use, sWeather will stop working. The problem is that all the free ones I've researched are extremely limited in 1) number of API hits per day and/or 2) the weather data that the free tier offers.  I already pay out of pocket yearly for a few other APIs for some of my others apps, so I'm not relishing the idea of paying for yet another one.

Title: Re: Release: sWeather (tray-based weather app)
Post by: Brothbeard on January 23, 2021, 12:57 PM
I'm not sure if this is of any value but OpenWeatherMap.org appears free for the sort of volumes I imagine sweather generates. Apologies if I've accidentally repeated a previous suggestion.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 23, 2021, 01:12 PM
I'm not sure if this is of any value but OpenWeatherMap.org appears free for the sort of volumes I imagine sweather generates. Apologies if I've accidentally repeated a previous suggestion.

Thank you, and, yep, that's one of the ones I'm looking at.   :)
Title: Re: Release: sWeather (tray-based weather app)
Post by: phred13 on January 23, 2021, 05:30 PM
Yahoo! are shutting down their free weather API, which sWeather uses for its data. Unless I find another free weather API to use, sWeather will stop working. The problem is that all the free ones I've researched are extremely limited in 1) number of API hits per day and/or 2) the weather data that the free tier offers.  I already pay out of pocket yearly for a few other APIs for some of my others apps, so I'm not relishing the idea of paying for yet another one.
Thanks for the explanation. I'd be sorry to see sWeather go, but I certainly can understand your not wanting this to cost you more money. Have you considered accepting PayPal donations?
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on January 23, 2021, 05:37 PM
Thanks for the explanation. I'd be sorry to see sWeather go, but I certainly can understand your not wanting this to cost you more money.

sWeather is one of the few apps I wrote for myself, as opposed to a coding request.  I still use it daily, so I plan to make it work with one of the APIs out there.

Have you considered accepting PayPal donations?

https://www.dcmembers.com/skwire/donate/


Title: Re: Release: sWeather (tray-based weather app)
Post by: joiwind on May 13, 2021, 11:57 AM
Just to jump in a bit late ! Skwire, have you looked at this ? :

https://openweathermap.org/price

The free option might be enough ?

All the best.
Title: Re: Release: sWeather (tray-based weather app)
Post by: ceefan on June 09, 2021, 10:02 AM
{"error": "Sorry this API is now retired and there is no alternative API that we can support. We greatly appreciated the opportunity to have served you in this space. Thankfully, there are many alternative weather APIs freely available for you to consider. While we cannot formally recommend one over others, we would recommend searching the web for %"free weather APIs%" to see several good options and find the best fit for you. If you have any comments or feedback you'd like to share, please feel free to reach out to us at: weather-ydn-api@verizonmedia.com"}

Oh no...  :( :o :'(

Have you considered having each individual user register for and enter their own API key for something like OpenWeatherMap?
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on June 09, 2021, 12:56 PM
PLEASE find a new API to use. If we need to kick in a few bucks it's worth it!

Every day when I boot up the first thing I do is check the lower right hand corner of my screen to see what the weather is going to be.

Your app is the most useful thing in my Task Bar!
Title: Re: Release: sWeather (tray-based weather app)
Post by: Knut AK on June 10, 2021, 11:01 AM
The norwegian weather-service Yr has free weather-data in a JSON-based API, see https://developer.yr.no/
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 10, 2021, 01:46 PM
PLEASE find a new API to use.

I'll probably end up changing it to the OpenWeatherMap API mentioned above as it's the best free one out there.  It won't be until next week, though.

If we need to kick in a few bucks it's worth it!

Donations have really dried up over the years, so they're always welcome.

https://www.dcmembers.com/skwire/donate/

Title: Re: Release: sWeather (tray-based weather app)
Post by: smaragdus on June 10, 2021, 05:09 PM
I had been using WeatherMate (http://ravib.com/wm/) for years until I discovered sWeather (https://www.dcmembers.com/skwire/download/sweather/) which is the best weather program I have ever used. When I noticed that sWeather had stopped working I came back to WeatherMate only to discover that it was no longer working either. I contacted the developer- Ravi Bhavnani (http://ravib.com/), who responded that he was working on a fix. So being deprived of my two weather programs which had been for the most part reliable, I started searching for alternatives. I came upon Tray Weather (https://github.com/FelixdelasPozas/TrayWeather), which is open source and written in C++ but not portable and without reading the description I installed it only to find out that one needed to get an API (https://openweathermap.org/appid) key (https://home.openweathermap.org/users/sign_up) from OpenWeatherMap (https://openweathermap.org/). After having a look at their Privacy Policy (https://openweather.co.uk/privacy-policy) I decided that I didn't want their key and that Tray Weather was not for me so I uninstalled it without even testing it (at first glance I saw that it was bulky, it was not portable, it was limited). After researching some other alternatives which are not even worth mentioning I concluded that for the time being there is no real good alternative to sWeather and that I would have to rely on the inconvenience of web services like wttr.in (https://wttr.in/) (GitHub (https://github.com/chubin/wttr.in)) which at least seamingly do not abuse user privacy (if such a beast has ever existed). If sWeather adopts OpenWeatherMap API I will have to ditch it. If someone has discovered a decent alternative to sWeather I would be grateful if they share their finding. On a side note I want to mention that Yahoo is really fabulous and proverbial- it ruined, burned and destroyed all the assets it once had.
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on June 10, 2021, 11:11 PM
Check your PayPal account!  :Thmbsup:
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on June 20, 2021, 11:21 PM
skwire your going to us OpenWeatherMap API mentioned above as it's the best free one out there.  Can I use it on Windows 10 when will it be ready please get back to me
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on June 21, 2021, 02:04 AM
Any updates? My system bar looks so empty... :-[
Title: Re: Release: sWeather (tray-based weather app)
Post by: AusDemFF on June 24, 2021, 10:12 PM
Hello,
I'm also a long time user of this little piece of software, and would like to see it working again.
I was looking for free services, and I found these two here:

- from the Norwegian Meteorological Institute:
https://developer.yr.no/
https://hjelp.yr.no/hc/en-us/categories/200450271-About-Yr-the-API-and-our-privacy-policy
Examples: https://www.yr.no/en/forecast/daily-table/2-2911298/Germany/Hamburg/Hamburg
https://www.yr.no/en/forecast/daily-table/2-4180439/United%20States/Georgia/Fulton/Atlanta
There are even several language outputs...

- Open Data API for the German meteorological service (Open source!):
https://brightsky.dev/
https://brightsky.dev/demo/

Hope that helps to offer at least two alternatives... or even implement both and change by click.
 
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 25, 2021, 12:57 PM
Many thanks for the donations and apologies for the lack of replies -- lots going on this summer around here.  I hope to start work on sWeather, this weekend.
Title: Re: Release: sWeather (tray-based weather app)
Post by: skwire on June 25, 2021, 01:02 PM
- from the Norwegian Meteorological Institute:
https://developer.yr.no/

This one looks promising.  I'll keep it in my back pocket.

- Open Data API for the German meteorological service (Open source!):
https://brightsky.dev/
https://brightsky.dev/demo/

I took a look at this one as well, thanks, but it doesn't appear to work for locations outside Germany?  Maybe I missed something?

Hope that helps to offer at least two alternatives... or even implement both and change by click.

Yes, thank you for your research.  It's much appreciated.  At this point, I want to get one data source working.
Title: Re: Release: sWeather (tray-based weather app)
Post by: AusDemFF on June 25, 2021, 03:13 PM
Thanks for your answer. Since both are linked to public services, and not private companies, it seams a better solution, perhaps even more sustainable?

I took a look at this one as well, thanks, but it doesn't appear to work for locations outside Germany?  Maybe I missed something?

I thought so, too, at first, but I tried coordinates of other countries, and it gave accurate returns. I tried also for Atlanta:
https://api.brightsky.dev/weather?lat=33.65&lon=-84.42&date=2021-06-25
It returns less lines, less data, but picks a station in Altanta (bottom of page, 'source')
But it's also an open source project in development, so... it picks the data which is proposed from the open data of DWD.

Thanks for this soft and your time to get it work again :-D
Title: Re: Release: sWeather (tray-based weather app)
Post by: mhh on June 27, 2021, 07:40 AM
Request to https://brightsky.dev/ works in several ways: you can either enter latitude and logitude or the WHO station ID when requesting data

If you want to request with latitude and longitude data you can do it the way AusDemFF did
https://api.brightsky.dev/weather?lat=33.65&lon=-84.42&date=2021-06-27

If you want to request a wheater station directly you can do it e.g. for New Orleans using
https://api.brightsky.dev/weather?wmo_station_id=72231&date=2021-06-27
In this case you need to know the New Orleans station ID 72231

I have tried several locations around the world and got data for all of them even the source is a German site from the "Deutscher Wetterdienst" (=German Wheather Service), a higher federal authority of the German Federal Ministry of Transport.

On https://github.com/jdemaeyer/brightsky you can find some information about the site and how to access
Title: Re: Release: sWeather (tray-based weather app)
Post by: AusDemFF on July 09, 2021, 11:57 PM
I just tried https://brightsky.dev/ for Morocco, there is no data on the german DWD server. :-(
I think that the world wide data is not quite so complete as everyone using sWeather would like.

On the other hand, the public norwegian weather service does give a result for Morocco:
https://www.yr.no/en/forecast/daily-table/2-2530155/Morocco/Mahajanga%20Province/Taounate%20Province/Taounate
(43°C today, ouff, hot, but also quite normal for this region)

I think perhaps this second one is the best free solution at this moment, without giving away user data and without a personal API key, like OpenWeatherMap.

I'm quite excited to see the next version of sWeather soon. I look so often to the empty icon on my taskbar... missing it so much :-D
Title: Re: Release: sWeather (tray-based weather app)
Post by: gmusgrave on July 13, 2021, 07:12 AM
I also love this weather app and greatly miss it. Any news on when it will be fixed? Thanks.
Title: Re: Release: sWeather (tray-based weather app)
Post by: comp on July 17, 2021, 08:55 PM
I had been using WeatherMate (http://ravib.com/wm/) for years until I discovered sWeather (https://www.dcmembers.com/skwire/download/sweather/) which is the best weather program I have ever used. When I noticed that sWeather had stopped working I came back to WeatherMate only to discover that it was no longer working either. I contacted the developer- Ravi Bhavnani (http://ravib.com/), who responded that he was working on a fix. So being deprived of my two weather programs which had been for the most part reliable, I started searching for alternatives. I came upon Tray Weather (https://github.com/FelixdelasPozas/TrayWeather), which is open source and written in C++ but not portable and without reading the description I installed it only to find out that one needed to get an API (https://openweathermap.org/appid) key (https://home.openweathermap.org/users/sign_up) from OpenWeatherMap (https://openweathermap.org/). After having a look at their Privacy Policy (https://openweather.co.uk/privacy-policy) I decided that I didn't want their key and that Tray Weather was not for me so I uninstalled it without even testing it (at first glance I saw that it was bulky, it was not portable, it was limited). After researching some other alternatives which are not even worth mentioning I concluded that for the time being there is no real good alternative to sWeather and that I would have to rely on the inconvenience of web services like wttr.in (https://wttr.in/) (GitHub (https://github.com/chubin/wttr.in)) which at least seamingly do not abuse user privacy (if such a beast has ever existed). If sWeather adopts OpenWeatherMap API I will have to ditch it. If someone has discovered a decent alternative to sWeather I would be grateful if they share their finding. On a side note I want to mention that Yahoo is really fabulous and proverbial- it ruined, burned and destroyed all the assets it once had.

I found this tray-based weather program called Weather Bar:

https://weatherbarapp.com/

It's free and doesn't need anything else to work. The only thing I don't like about it that weather conditions there are displayed in white letters in the tray, and because of it it's almost impossible to see it in my light grey taskbar.

Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on July 18, 2021, 03:52 AM
Yes, very nice program. Thank you. Can be used portable as well.

I very much like the bird flying over the forecast display.
Title: Re: Release: sWeather (tray-based weather app)
Post by: comp on July 18, 2021, 04:04 AM
Now if only they could fix the white color. They have a website where suggestions can be added, but it requires registration.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on July 18, 2021, 04:39 AM
May be one can change the colors in Win itself?
Title: Re: Release: sWeather (tray-based weather app)
Post by: comp on July 18, 2021, 12:37 PM
I like my color as it is, I don't want to change it...
Title: Re: Release: sWeather (tray-based weather app)
Post by: Biffle on July 18, 2021, 12:55 PM
Yes, of course, I understand.
Title: Re: Release: sWeather (tray-based weather app)
Post by: gmusgrave on July 18, 2021, 01:38 PM
Yes, this is a good option!

I agree that the text colour should be customisable, it is very hard to see. That said, you can see the space where it lives, and, if you hover over it, you immediately get a tooltip with the temperature and current condition. Clicking here also opens up the whole app with more detail.

I don't think that feature requests will do much good, since this hasn't been worked on for about three years. However, it is open source, the source code is available on GitHub, and someone could revive this project and make it more user friendly. Even this one change would be a step forward! Any takers?

Also the source code might be a roadmap for the sWeather devs to (more) quickly get their app back up and running, since whatever API Weather Bar uses clearly works.

Just my $0.02....
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 18, 2021, 06:48 PM
looks like Weather Bar is calling an API located at https://api.weatherbarapp.com/v1/weather/forecast/geo
Title: Re: Release: sWeather (tray-based weather app)
Post by: AusDemFF on July 19, 2021, 12:50 PM
WeatherBar uses OpenWeatherMap (click on Menu, bottom of page)
Title: Re: Release: sWeather (tray-based weather app)
Post by: TechTeacher on July 19, 2021, 02:37 PM
Yes, Weather Bar is a good stop-gap measure, but it hasn't been updated in quite a bit.

I want my sWeather back. I miss the features, the details and the look. PLEASE bring it back!

Title: Re: Release: sWeather (tray-based weather app)
Post by: comp on July 19, 2021, 09:51 PM
WeatherBar uses OpenWeatherMap (click on Menu, bottom of page)

Looks like local temperatures there are not very accurate... the most accurate I found is Weather Underground, but it doesn't have a desktop app.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 20, 2021, 12:56 PM
Weather Bar is throwing some error dialogs big time for me today "A JavaScript error occurred in the main process"   :down:
Title: Re: Release: sWeather (tray-based weather app)
Post by: gmusgrave on July 20, 2021, 01:47 PM
Working fine today for me.
Title: Re: Release: sWeather (tray-based weather app)
Post by: AusDemFF on July 21, 2021, 11:38 AM
Looks like local temperatures there are not very accurate... the most accurate I found is Weather Underground, but it doesn't have a desktop app.

What means accurate? The weather station in my town is 20km outside, near the airport. So it would never be the exact weather in my street. I went past a pharmacy the other day, on a street corner, each side with a bit thermometer, with 2°C difference just a street side away. Shadow, less sun, etc. Under trees, it's quite fresher than in plain street. It's accurate for the airport, yes!

And I still prefer sWeather...
Title: Re: Release: sWeather (tray-based weather app)
Post by: comp on July 21, 2021, 12:33 PM
I mean that temperatures in my town according to Weather Bar differ with real-world ones by 5F or more, and they're always lower, according to it. It does make a difference, Weather Underground is more accurate. I noticed that before with other weather apps that are based in Europe, they always underestimate US weather :))
Title: Re: Release: sWeather (tray-based weather app)
Post by: smaragdus on July 21, 2021, 05:41 PM
@comp

I checked Weather Bar (https://weatherbarapp.com/) and its Source Code (https://github.com/manifestinteractive/weather-bar-app) and it turned out that the program is JavaScript/Electron and I do not use such stuff.
Title: Re: Release: sWeather (tray-based weather app)
Post by: dhry on July 28, 2021, 09:45 AM
sWeather has not worked for ages. I just wanted to pop on here and thank you, Skwire, for your hard work on this tool to date, have enjoyed using it. Moving to TrayWeather (https://github.com/FelixdelasPozas/TrayWeather) for now since it's all I need. OpenWeatherMap is perfectly fine.

Take care and best of luck with the development and finding a new API in the future.

Regards
Dhry
Title: Re: Release: sWeather (tray-based weather app)
Post by: gmusgrave on July 28, 2021, 11:22 AM
Thanks for this. I just tried TrayWeather, and it's great. You can customise the colour of the tray display, and it has many more features. Works brilliantly!

I've uninstalled both sWeather and Weather Bar. This is the perfect replacement for sWeather.

Thanks again.
Title: Re: Release: sWeather (tray-based weather app)
Post by: armus2112 on July 28, 2021, 05:29 PM
Thanks for the TrayWeather suggestion  :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: sportman12 on August 04, 2021, 11:36 PM
swire any sweather updates ?
Title: Re: Release: sWeather (tray-based weather app)
Post by: Midnight Rambler on August 15, 2021, 10:23 AM
V. 1.8.2 build 1 is no longer working.[ You are not allowed to view attachments ]
Title: Re: Release: sWeather (tray-based weather app)
Post by: tomos on August 19, 2021, 03:59 PM
@sportman12, if you still need help installing Tray Weather, please click on link below
Help Installing Tray Weather (https://www.donationcoder.com/forum/index.php?topic=51678.msg446246#msg446246)

@mods, thanks :up:
Title: Re: Release: sWeather (tray-based weather app)
Post by: comp on September 04, 2021, 09:31 PM
I got Tray Weather, but does not compare with sWeather. The only thing in common they have is temperature in tray bar, otherwise Tray Weather's graph-like forecast is a joke, and it can't even display temperature in normal full F degrees, but always shows them with decimal points, which makes them look very strange. Also, time of the day displays in 24-hour format which is really annoying.

I have a suggestion. I understand that the creator of sWeather stopped developing it because he doesn't want to deal with API keys. Would it be possible for him to redo it in such a way so every user would have to get and enter his own API key? Then he would not need to pay for API key, and users will get their favorite weather forecast back, and if they wish, they can get free keys or paid keys.
Title: Re: Release: sWeather (tray-based weather app)
Post by: sacruser on September 05, 2021, 08:23 PM
A fantastic idea!  Right, Tray Weather is not even close to sWeather!  API keys are easy to obtain, free for the most part.  Many of us have them for other software.  I know absolutely nothing about coding but I wouldn't think (big question mark) it would be too difficult to pattern the API key portion of Tray Weather into sWeather.  I would love to hear a comment on this idea from the creator of sWeather.  I know he was looking into this several months ago; but, the further development seems to be at a standstill.
Title: Re: Release: sWeather (tray-based weather app)
Post by: Midnight Rambler on October 12, 2021, 11:55 AM
Installed Tray Weather and received an API key free of charge.  Not as user-friendly as sWeather was and don't quite understand why the key was necessary but the program offers a lot of data and can't beat the price. 
Title: Re: Release: sWeather (tray-based weather app)
Post by: sacruser on October 20, 2021, 01:50 PM
I wonder if the creator of sWeather would consider making it open source and someone with coding capability could possibly incorporate the API key aspect into the software for others to use.  It seems unfortunate that such a great piece of desktop software is retired because of a required update.
Title: Re: Release: sWeather (tray-based weather app)
Post by: smaragdus on October 31, 2021, 04:44 PM
Installed Tray Weather and received an API key free of charge.  Not as user-friendly as sWeather was and don't quite understand why the key was necessary but the program offers a lot of data and can't beat the price. 
-Midnight Rambler (October 12, 2021, 11:55 AM)
The price is the highest possible- your privacy.
Title: Re: Release: sWeather (tray-based weather app)
Post by: octie on January 05, 2022, 09:38 AM
Yes, thank you for your research.  It's much appreciated.  At this point, I want to get one data source working.

Hello, I miss sWeather, I haven't found anything quite as good. How's the developing at the moment?
Title: Re: Release: sWeather (tray-based weather app)
Post by: AusDemFF on January 02, 2023, 10:13 AM
Is there any hope to see sWeather back one day?
Title: Re: Release: sWeather (tray-based weather app)
Post by: octie on February 01, 2023, 03:42 PM
Is there any hope to see sWeather back one day?

I'm doubtful, but still I'm lurking here so... I'm also hopefull! ;D I hope everything's alright with the developer.