You are not logged in.

#26 2012-06-17 09:07:44

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

The image in my original post was oversized and was wiped as per the forum rules.
I have just edited my post with a 250x250 image.

You are right : "Rain: -2530.00 mm" is quite curious...
and, BTW, what means LT in "Last Fetch : 10:17 LT" ?

Thanks

Great - LT is "Local Time"

If you upload your image to a site like the one I am using http://en.zimagez.com -  you can use the bb link to the thumbnail which links to the full image.

<precip_today_metric>-2537.5 cm</precip_today_metric>

The error is in the xml data at wunderground - so we are fine - just ignore - it should correct itself after some time or you could use one of the other stations for xml info.


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#27 2012-06-17 12:25:39

Salan54
Member
Registered: 2011-09-06
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

OK. Thanks for the link to zimagez.
I changed my Xml provider to "ILORRAIN10" and (AFAIK) the precipitation data seems to be correct.

Offline

#28 2012-06-21 07:04:21

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

The AUR package has been updated https://aur.archlinux.org/packages.php?ID=59931]

Ver 0.6.8-1

Please UPDATE your conkywx packages.

see the changelog in program directory

There is a change in
- rainfall if you were not using xml data - output would always be N/A if not zero
- wind - Calm state was defined as N/A
- images sharpened and cleaned

Last edited by Paramvir (2012-06-21 07:04:40)


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#29 2012-06-26 13:39:21

bbrownkzo
Member
Registered: 2008-12-30
Posts: 3

Re: New Conky Weather Program with Weather Alerts - conkywx

I just installed conkywx through pacman and I am having some trouble getting it to run.  When I run conkywx I get the following error message:

     date: invalid date ‘No Moon ’

I am using the default conf file with three changes to it.  I  commented out the New Delhi location at the beginning of the file.  I then uncommented the 'Location' line for Morristown, NJ and changed the units from SI to MI.

The version of conky that I am using is: 1.9.0-1
The version of conkywx that I am using is: 0.6.8-1

Any help with getting this up  and running would be appreciated.  Thank you.

*****EDIT REMARK******

After doing a little more digging it appears that there might be a bug in the programming.  I examined the the webpage for Morristown, NJ for 26 June 2012.  Under the Astronomy 'window' on the web page the set time for the moon shows "No Moon Set".  I am guessing that this is where I am getting the above error message.  I will post this message on the blog page as well.

Again, not sure what I can do at this point, but any help that you can lend would be appreciated.  Thanks, again.

Last edited by bbrownkzo (2012-06-26 16:54:13)

Offline

#30 2012-06-26 20:04:24

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

bbrownkzo wrote:

I am using the default conf file with three changes to it.  I  commented out the New Delhi location at the beginning of the file.  I then uncommented the 'Location' line for Morristown, NJ and changed the units from SI to MI.
.


Great thanks for the feedback

Try changing MI to IM for Imperial

see if that helps

Edit:
Also since you mentioned my blog - had a case where some time-bound distros may not sometimes have the latest versions of a program for instance conky 1.8.1 has bugs - do not use it - instead versions 1.7.2 or 1.9.0 work fine.

Last edited by Paramvir (2012-06-26 20:29:17)


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#31 2012-06-26 22:13:58

switch10
Member
Registered: 2011-10-10
Posts: 11

Re: New Conky Weather Program with Weather Alerts - conkywx

Awesome work Paramvir, this is by far the best looking weather script I have seen for conky!  I only had to edit a few fonts/colors to make it blend right in with my current conky setup.  Everything works great, except I am getting wind gusts as low as -999.0mph!  I'm sure thats an issue with the station I am using though..

Thanks.

Offline

#32 2012-06-27 04:11:38

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

switch10 wrote:

Awesome work Paramvir, this is by far the best looking weather script I have seen for conky!  I only had to edit a few fonts/colors to make it blend right in with my current conky setup.  Everything works great, except I am getting wind gusts as low as -999.0mph!  I'm sure thats an issue with the station I am using though..

Thanks.

That is GREAT!!!

Thanks for the feedback and the kind words - you can check the website to see the actual value for wind gusts - you cannot have a negative value wink

Perhaps I can put in some checks for output data as well.

Thanks.

Last edited by Paramvir (2012-06-27 04:16:41)


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#33 2012-06-27 14:20:24

bbrownkzo
Member
Registered: 2008-12-30
Posts: 3

Re: New Conky Weather Program with Weather Alerts - conkywx

Thanks for the quick reply.  I finally did get conkywx working.  Funny how some silly little mistakes can take one way off on a tangent.  All is working well.

I do have another question.  When I run conkywx from the command line I get a warning about jpg resolution.  Unfortunately I am at work and can not remember the exact wording of the warning.  It does not seem to cause any trouble as far as the execution of the program.

The only reason that I mention it is on the off chance that someone else had noticed this and had a fix for this type of thing.

Again,  thank you for an excellent weather program and all the work that you did to make it happen.

Offline

#34 2012-06-27 15:00:38

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

bbrownkzo wrote:

I do have another question.  When I run conkywx from the command line I get a warning about jpg resolution. 
The only reason that I mention it is on the off chance that someone else had noticed this and had a fix for this type of thing.


You are most welcome - and Thanks for the feedback.

I am using "png" file format as it holds transparency info while "jpg" do not. The warning which you see is from libpng. As per the PNG specifications page - if the image has both gAMA and sRGB chunks [info] sRGB will over ride. In fact - this warning has recently popped up and has not interfered with anything as far as I can tell.

Yes it happens with all of us - and I tested after seeing ur message and had a fantabulous "WTF" moment wink as I also put in MI in place of IM. Well - I have now tweaked the program to accept both IM and MI and SI and IS !

the libpng site is here http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html

Also if you are using the AUR to get the program perhaps if you could also add your Vote. It has Votes - why not use them big_smile

Thanks

Last edited by Paramvir (2012-06-27 15:02:15)


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#35 2012-07-05 10:22:33

Salan54
Member
Registered: 2011-09-06
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,

Just a few words to let you know that since a recent libpng update, when I run conky from the command line, I get a bunch of warning lines : "libpng warning: Ignoring incorrect gAMA value .55 when sRGB is also present" . That is not a big deal as it's only warnings and the script works perfectly... but if it could be avoided ;-)

Thanks again for the best conky weather script IMHO.

Offline

#36 2012-07-05 16:49:05

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi Paramvir,

Just a few words to let you know that since a recent libpng update, when I run conky from the command line, I get a bunch of warning lines : "libpng warning: Ignoring incorrect gAMA value .55 when sRGB is also present" . That is not a big deal as it's only warnings and the script works perfectly... but if it could be avoided ;-)

Thanks again for the best conky weather script IMHO.

Hey Thanks for the feedback.

yes I have managed to fix that issue - have also cleaned all weather images - it was the weather not the moon images.

I will be releasing a new version soon - have made some code fixes etc and yes some new templates as I realise making them takes a bit of tweaking to get the images or icons in the correct locations.

I have a question - what do you use for background for your conky displays - if you leave the bg black it is ugly - if transparent it sometimes conflicts with the wallpaper.


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#37 2012-07-05 21:50:18

Salan54
Member
Registered: 2011-09-06
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi,

To answer your question, here is a screenshot from the computer I currently use, being on holydays in Agadir, Morocco...

2012-07-05-2230561600x900scrot.png

The wallpaper comes from DeviantArt here : http://bo0xvn.deviantart.com/art/16-195628281, and fits perfectly the wxconky template with transparency.
Archlinux, Openbox, AvantWindow Navigator and 2 conky's

Offline

#38 2012-07-06 05:19:48

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi,
To answer your question, here is a screenshot from the computer I currently use, being on holydays in Agadir, Morocco...

Fantastic - I will be including a few backgrounds which can be commented out if not required. I found sometimes conky display is not clear as the text blends with the wallpaper unless you have a shaded background

shaded-conky.png

little different wink this is using a bold font but one can comment this and use the alternative.


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#39 2012-07-27 17:18:44

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Conkywx ver 0.7.0 released

Many changes and updates.

1. New back grounds added
2. New templates
3. Code changes to handle wunderground booboos
4. weather images cleaned to fix png errors
5. all templates and conkyrc have extension .sh

Read the conkywx man page.

This man page is also viewable at the conkywx wiki page https://bitbucket.org/plikhari/conkywx_pub/wiki/Home

Here is the conkywx AUR package https://aur.archlinux.org/packages.php?ID=59931

conky-short.jpgconky-slim.jpgconky-exp.jpg

cheers

Last edited by Paramvir (2012-07-27 17:31:58)


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#40 2012-07-29 12:45:51

bbrownkzo
Member
Registered: 2008-12-30
Posts: 3

Re: New Conky Weather Program with Weather Alerts - conkywx

First let me thank you for contributing to the community.  I really appreciate your work.

I have just updated to 0.7 and after doing some tweaking to the config files I got conkywx back up and running.  However, I am receiving some error messages that I can't seem to resolve.  The messages are:

  Conky: desktop window (ac) is root window
  Conky: window type - override
  Conky: drawing to created window (0x2400001)
  Conky: drawing to double buffer
  /usr/share/conkywx/conkywx.sh: line 708: [[: N/A: division by 0 (error token is "A")
  /usr/share/conkywx/conkywx.sh: line 710: [[: N/A: division by 0 (error token is "A")
  /usr/share/conkywx/conkywx.sh: line 712: [[: N/A: division by 0 (error token is "A")
  /usr/share/conkywx/conkywx.sh: line 720: [[: N/A: division by 0 (error token is "A")
  /usr/share/conkywx/conkywx.sh: line 722: [[: N/A: division by 0 (error token is "A")
  /usr/share/conkywx/conkywx.sh: line 724: [[: N/A: division by 0 (error token is "A")

Are you able to shed any light on what these messages might mean, or do you need more information from me to find the problem?

Thanks for your help.

Offline

#41 2012-07-29 15:56:34

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

bbrownkzo wrote:

Are you able to shed any light on what these messages might mean, or do you need more information from me to find the problem?

You are most welcome - and thanks for the kind words.

Just last night I got a mail re this issue and was just about to post the findings.

Check the xml_ID - if that is incorrect then no data gets downloaded and hence this error.

check if the page on the website is fine. If you are still getting the error then just delete the wx-* directory in the tmp directory and restart conky.

This should work.

cheers


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#42 2012-08-13 08:19:02

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Conkywx ver 0.7.1 released

Changes and updates.

1. checks for internet connectivity
2. checks for data integrity if URL and Location were correct
3. makes data backup in case unable to update - shows you last data
4. new option -f, --forceupdate - overrides minimum fetch time
5.  --dump option now gives more information in the header
6. more informative output on the command line in case of errors

Read the conkywx man page.

This man page is also viewable at the conkywx wiki page https://bitbucket.org/plikhari/conkywx_pub/wiki/Home

Here is the conkywx AUR package https://aur.archlinux.org/packages.php?ID=59931

Feedback please porfavor smile - Thanks


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#43 2012-08-21 10:42:49

Salan54
Member
Registered: 2011-09-06
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,

I used ver 0.7.1 without problems until now but since this morning, there is apparently a problem with the xml data provided but the weather stations around Nancy, France (ILORRAIN34, ILORRAIN3, ILORRAIN10). Here is what I got :

[alain@rdc2010 conkywx.examples]$ conky -c wx-wu-font-short-conkyrc 
Conky: desktop window (15e) is root window
Conky: window type - override
Conky: drawing to created window (0x1800002)
Conky: drawing to double buffer
 
conkywx is checking for Internet connectivity
 
 
conkywx found Internet connectivity
 
--2012-08-21 12:24:36--  http://www.wunderground.com/global/stations/07180.html
Résolution de www.wunderground.com... 38.102.136.104
Connexion vers www.wunderground.com|38.102.136.104|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: non spécifié [text/html]
Sauvegarde en : «/tmp/wx-alain-conkywx.conf-pChA_r_27u0-m39/currdata.html»

    [       <=>                                            ] 193 142      149KB/s   ds 1,3s   

2012-08-21 12:24:38 (149 KB/s) - «/tmp/wx-alain-conkywx.conf-pChA_r_27u0-m39/currdata.html» sauvegardé [193142]

--2012-08-21 12:24:38--  http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=ILORRAIN3
Résolution de api.wunderground.com... 38.102.136.138
Connexion vers api.wunderground.com|38.102.136.138|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: non spécifié [text/xml]
Sauvegarde en : «/tmp/wx-alain-conkywx.conf-pChA_r_27u0-m39/currdata_2.xml»

    [ <=>                                                  ] 2 264       --.-K/s   ds 0,006s  

2012-08-21 12:24:39 (380 KB/s) - «/tmp/wx-alain-conkywx.conf-pChA_r_27u0-m39/currdata_2.xml» sauvegardé [2264]

 
Weather update download completed.
 
 

*************** CRITICAL WARNING ***************  
*************** CRITICAL WARNING ***************

So, I unset use_xml and it works fine.
On the weather underground webpage, the data for the local stations seems correct.
Maybe, there is a change in the XML data flow ?

Thanks
Alain

Offline

#44 2012-08-21 17:16:25

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi Paramvir,
I used ver 0.7.1 without problems until now but since this morning, there is apparently a problem with the xml data provided but the weather stations around Nancy, France (ILORRAIN34, ILORRAIN3, ILORRAIN10). Here is what I got :
So, I unset use_xml and it works fine.
On the weather underground webpage, the data for the local stations seems correct.
Maybe, there is a change in the XML data flow ?
Thanks
Alain

Houston!! we have a problem  wink

Thank you Alain for the feedback - data is fine the Station name is the problem.

It appears the problem has happened recently as xml is just a template - but some place in data translation or transfer [Edit added] 'at the weather station' - there has been a boo boo.

I shall be releasing conkywx with fixes in a day or so.

thanks again

Last edited by Paramvir (2012-08-21 20:05:02)


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#45 2012-08-24 14:33:59

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Conkywx ver 0.7.2 released

Fixes and code cleanup

Read the conkywx man page.

This man page is also viewable at the conkywx wiki page https://bitbucket.org/plikhari/conkywx_pub/wiki/Home

Here is the conkywx AUR package https://aur.archlinux.org/packages.php?ID=59931

Feedback please smile - Thanks


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#46 2012-08-24 17:23:22

Salan54
Member
Registered: 2011-09-06
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,
Just to let you know that, with this new release, it works again : I was able to use the xml data from ILORRAIN34
Thanks again for the quick fix.
Alain

Offline

#47 2012-08-24 18:39:04

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi Paramvir,
Just to let you know that, with this new release, it works again : I was able to use the xml data from ILORRAIN34
Thanks again for the quick fix.
Alain

You are welcome Alain - That is fantastic big_smile


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#48 2012-09-03 17:25:57

sparker256
Member
Registered: 2012-09-03
Posts: 1

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,

New here and trying to use your conkywx with VinDSL very new template. I have it working but the forcast tempatures are 3 digits long and should be only 2 digits. I have run the conkywx --debug and looks like the  Day info is correct but the Element data output is not. any ideas?

Here is a example untill I can figure out how to upload the .log file

Tuesday, 4
79 | 72

D2D - Tue 4
D2T - 174/161

PS I am using this version conkywx_0.7.2_all.deb

PPS Ok in looking at the conkywx.sh and looking at my data I know what the issue is but not the resolution. For what ever reason it thinks that I have downloaded Celsius values and converts them to Fahrenheit. When I change the config file to Celsius the forcast tempatures are correct but the present tempature and barometer are in metric.

PPPS Solved with VinDSL help in my /etc/conkywx/conkywx.conf file.

use_xml=0

added
Units_downloaded=IM

Thanks very much Bill

Last edited by sparker256 (2012-09-03 22:09:39)


LINUX Flight Simulator Machine
Ubuntu 11.10 & 12.04 64 Bit X-Plane 9.70 & 10.10
Asus Sabertooth 990FX - AMD FX-8150 - Antec KUHLER H2O 920 - 16G Ram
Nvidia GeForce GTX 680 PCI/Express 4096 MB - Driver Version 304.43 - Asus VE278 Led Lcd

Offline

#49 2012-09-04 07:10:14

Paramvir
Member
Registered: 2009-08-06
Posts: 126
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

sparker256 wrote:

Hi Paramvir,

New here and trying to use your conkywx with VinDSL very new template. I have it working but the forcast tempatures are 3 digits long and should be only 2 digits. I have run the conkywx --debug and looks like the  Day info is correct but the Element data output is not. any ideas?


PPPS Solved with VinDSL help in my /etc/conkywx/conkywx.conf file.

use_xml=0

added
Units_downloaded=IM

Thanks very much Bill

That is great - and I have answered in that thread as well - the Units_downloaded=IM - in the past it appeared that the downloaded data was always metric but it appears not the case.


Get conky weather on your desktop https://bbs.archlinux.org/viewtopic.php?id=142640

Offline

#50 2012-09-05 17:54:11

rbbt
Member
Registered: 2012-01-09
Posts: 38

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,
Your conky seems very nice but I can't use it, can you make an short explanation about how to use it or send me a conf file that I can modify and use.

Offline

Board footer

Powered by FluxBB