Phweather - weather app for Mint

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, moondog/.tSCc., [ProToS], lp, Moderator Team

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Tue Apr 28, 2015 11:42 am

Wait at least 10 secs for phweather to get the forecast information after the weather appears.
Forecast information is a lot more data, and with Atari slow networking (sorry) I need to break up the web services call.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Faucon2001
Atari Super Hero
Atari Super Hero
Posts: 645
Joined: Sat Oct 26, 2013 11:19 pm
Location: Brasil
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby Faucon2001 » Wed Apr 29, 2015 12:44 am

Sorry for the false alert.
I have been too fast! Waiting a little to pull all the info and it works.
The warning message saying that forecast was not available for these towns just confused me.

Thanks again for this new version.

Cheers,
Philippe

Firebee, Falcon, STE, Aranym Box, Hatari Pi Box.
My music http://www.philippeworld.net/
My photography http://phil-67.deviantart.com/
EasyAraMint, BeeKey and BeePi https://sites.google.com/site/emaappsarch/home

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Wed Apr 29, 2015 12:44 pm

may be change to "try again later' or "forecast will be available later"
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Kroll
Captain Atari
Captain Atari
Posts: 368
Joined: Fri Mar 09, 2012 10:07 am

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby Kroll » Wed Apr 29, 2015 9:46 pm

Hi,

today I install on my HD new version of this application. Please look at why there is differences in the indications in both cases written Cracow, PL at the top of an earlier version, below the newest version 2.00. The temperature nearer the truth at this time are indications in the earlier version (7 C). In earlier version (Kraków, malopolskie) there are in polish language name of City and Province

What do you think about it ?

Regards
Kroll
You do not have the required permissions to view the files attached to this post.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Thu Apr 30, 2015 2:55 am

Kroll wrote:today I install on my HD new version of this application. Please look at why there is differences in the indications in both cases written Cracow, PL at the top of an earlier version, below the newest version 2.00. The temperature nearer the truth at this time are indications in the earlier version (7 C). In earlier version (Kraków, malopolskie) there are in polish language name of City and Province

The old version is running for you?
That's something new. For me the pretty ladies tells me there's an error.
How did you manage that?

Kroll wrote:What do you think about it ?


The old version is using MSN weather web services.
The new version is using OpenWeatherMap web services.
So there will be differences readings as the provider is different.
I wonder if MSN weather is more accurate than OpenWeatherMap.

The name of the city is returned also by the web services.
If it returns in Polish then PH weather will display that.
So it looks like MSN is a bigger network (wild guess) than OpenWeatherMap as it seems to support local languages.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 821
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby jfl » Thu Apr 30, 2015 6:40 am

wongck wrote:The old version is running for you?
That's something new. For me the pretty ladies tells me there's an error.

The previous version works for me too. Both the current weather and the forecast are displayed correctly.
Jean-François
GEMDict – GEMClip

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Thu Apr 30, 2015 2:22 pm

I tried out v1.22 and it does not work for me, in fact some cities crashes it,

Few weeks back it was like "service cannot be found" or something like that.
And a city not found error in ph weather.

At least today, I can get some data... and crashes phweather.
I debugged it and the XML is somewhat changed. For example the provider is wdt now instead of previously imap.

I treid using Orlando, FL.
previous xml from MSN web service(from my save test data)

Code: Select all

<weatherdata>
<weather weatherlocationcode="wc:USFL0521" weatherlocationname="Windermere, FL" zipcode="34786" weatherfullname="Windermere, Florida" searchlocation="Disney University, Orange, FL, United States" searchdistance="5.28888141596562" searchscore="0.95" url="http://local.msn.com/weather.aspx?eid=388825&q=Windermere-FL&zip=34786" imagerelativeurl="http://blst.msn.com/as/wea3/i/en-us/" degreetype="F" provider="iMap" isregion="False" region="" alert="" searchresult="Windermere, FL (closest location for Disney University, Orange, FL, United States)" lat="28.4280567169189" lon="-81.5783309936523" entityid="388825">
<current temperature="73" skycode="31" skytext="Clear"/>
</weather>
</weatherdata>


xml now from MSN web service (fresh from internet)

Code: Select all

<weatherdata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><weather weatherlocationcode="wc:USFL0372" weatherlocationname="Orlando, FL" weatherfullname="Orlando, FL" searchlocation="" searchdistance="" searchscore="" url="http://a.msn.com/54/en-US/ct28.538,-81.377?ctsrc=win7" imagerelativeurl="http://blob.weather.microsoft.com/static/weather4/en-us/" degreetype="C" provider="wdt" isregion="True" region="FL" alert="" searchresult="" lat="28.538" long="-81.377" entityid="24611"><current temperature="20" skycode="26" skytext="Cloudy" /></weather></weatherdata>


I am lost as to why the older version worked for some of you, unless the provider is changed only for some region so it depends on where the request is routed (I also assume Akamai may be involved in speeding up the response since I know MS uses Akamai).

In any case, it looks like I should make phweather also able to get from MSN as well as OpenWeatherMap.... :mrgreen:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Mon May 04, 2015 12:33 am

Over the weekend while working on phweather, I noticed that there were umpteen times when OpenWeatherMaps return "cannot connect" and "temporary suspended" error. So the service is relatively poor as compared to MSN.

Also the last observatory time seems more frequent for MSN, there was once the observatory time was half hour ago for MSN while that of OWM was more than 6 hours ago. This may explain the deviation in weather forecasting seen in earlier post.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby wongck » Sun May 10, 2015 3:09 pm

New version 2.1 now supports both MSN and Open Weather Map service.
The weather service is selectable for each window, so you may want to try out both to see which one work best for you.

Get it from the usual place https://sites.google.com/site/probehous ... -downloads
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

vido
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Mon Jan 31, 2011 7:39 pm

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby vido » Sat May 16, 2015 1:47 pm

Thanks Wongck!
MSN and Open Weather Map shows totaly different weather for my place. Seems to MSN is much more accurate.

Paolo
Captain Atari
Captain Atari
Posts: 456
Joined: Tue Sep 28, 2004 3:43 pm
Location: Italy

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby Paolo » Fri May 22, 2015 5:06 pm

Hi, wongck!
I noticed that the forecast isn't available with OpenWeather. Am I doing something wrong? Shall I wait more?

Another question: I noticed that some icons are the same for probably slightly different weather. Is there a correspondence list? Maybe everyone of us could find (and share) some more icons...

User avatar
TheNameOfTheGame
Atari God
Atari God
Posts: 1044
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby TheNameOfTheGame » Fri Mar 03, 2017 3:49 am

disregard

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby wongck » Fri Mar 03, 2017 12:32 pm

TheNameOfTheGame wrote:disregard

sure
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby wongck » Fri Mar 03, 2017 12:36 pm

Paolo wrote:Another question: I noticed that some icons are the same for probably slightly different weather. Is there a correspondence list? Maybe everyone of us could find (and share) some more icons...


Basic image is as follows:
cloudy = index 9
few-showers = index 3
foggy = index 11
partly-cloudy = index 8
snow = index 6
heavy snow = index 7
thunderstorm = index 2
sun = index 1
windy = index 10 = index
Rainy = index 4
hail = index 5
unknown = index 1 (SUN)
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint

Postby wongck » Tue Oct 17, 2017 3:16 pm

Updated Ph Weather again... now v2.4
- German RSC included
- Corrected Open Weather Map language query.
- Corrected getting weather forecast algorithm.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

vido
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Mon Jan 31, 2011 7:39 pm

Re: Phweather - weather app for Mint

Postby vido » Tue Oct 17, 2017 5:02 pm

Thank you!
I will update tonight :)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint

Postby wongck » Wed Oct 18, 2017 12:29 am

vido wrote:Thank you!
I will update tonight :)

Check out PH Gmap v2.4 as well while you are there. :wink:
Image
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

vido
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Mon Jan 31, 2011 7:39 pm

Re: Phweather - weather app for Mint

Postby vido » Wed Oct 18, 2017 6:16 am

wongck wrote:
vido wrote:Thank you!
I will update tonight :)

Check out PH Gmap v2.4 as well while you are there. :wink:

I just did. It is really great!!! :)
On your screenshot just my country name is missing :P
Huh ... and thumbnails of the multiple pictures! Awesome!!!
I didnt test this yet. I will have tonight :)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint

Postby wongck » Wed Oct 18, 2017 2:10 pm

vido wrote:On your screenshot just my country name is missing :P
Huh ... and thumbnails of the multiple pictures! Awesome!!!
I didnt test this yet. I will have tonight :)

Sorry did not know where you staying at.
Let me know so I can move the map to show it. :mrgreen:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

vido
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Mon Jan 31, 2011 7:39 pm

Re: Phweather - weather app for Mint

Postby vido » Wed Oct 18, 2017 2:23 pm

wongck wrote:Sorry did not know where you staying at.
Let me know so I can move the map to show it. :mrgreen:

Its almost in the middle of your screenshot. Betwen Austria and Croatia :)

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint

Postby wongck » Wed Oct 18, 2017 2:29 pm

Ah... i see, I may have land at Ljubljana and then take a taxi to Austria as flights to Austria is too expensive for my company. :roll:
If this is so it will be my 1st time seeing Slovenia.

Back to PH Gmap, it looks like the zoom value cannot get a good overview of the 4 photos when Slovenia is displayed. :-(
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Playmobil
Atari maniac
Atari maniac
Posts: 82
Joined: Fri Nov 13, 2015 7:40 pm

Re: Phweather - weather app for Mint

Postby Playmobil » Wed Oct 18, 2017 4:29 pm

I have tested both (PHGMAP & PHGWEATHER) and all is working fine ! Thanks wongk !

Now a new version of PHCLOCK with PNG transparency ? :)

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2252
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Phweather - weather app for Mint

Postby lp » Wed Oct 18, 2017 4:53 pm

I think a transparent window background would be very hard if not impossible. This is because the desktop background is another process and phclock doesn't really have correct access to the image to blend them like that. Consider also if you was to drag a window under the phclock window in real time. I don't think a transparent PNG is really doable.

However, a transparent effect could be used on the clock hands for some fancy effects since phclock obviously has full access to its own window background.

vido
Atari Super Hero
Atari Super Hero
Posts: 535
Joined: Mon Jan 31, 2011 7:39 pm

Re: Phweather - weather app for Mint

Postby vido » Thu Oct 19, 2017 6:09 am

wongck wrote:Ah... i see, I may have land at Ljubljana and then take a taxi to Austria as flights to Austria is too expensive for my company. :roll:
If this is so it will be my 1st time seeing Slovenia.

Back to PH Gmap, it looks like the zoom value cannot get a good overview of the 4 photos when Slovenia is displayed. :-(

Dont bother with that! I tried the photos and they are displayed as they should! :)
I didnt check the docs but is it possilbe to open those pictures with the viewer when you click on thir thumbnails?

Well ... if you will be in Slovenia its maybe good idea to take a look of it. We have quite some interesting places to visit ;)
Where an when do you travel?

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11976
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint

Postby wongck » Thu Oct 19, 2017 2:56 pm

When you click on the thumbnails, it will sent the JPG file to your system configured JPG viewer.
You should already have one defined by the Set Applications.

IDK when I will go, if I ever go, as cost is an issue with the company. May be just do telco meetings instead of workshops.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list


Social Media

     

Return to “Professionals”

Who is online

Users browsing this forum: No registered users and 3 guests