You are not logged in.

#741 2016-04-21 09:30:32

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thanks a lot my friend.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#742 2016-04-21 09:58:49

sarai
New Member
Registered: 2016-04-21
Posts: 3

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hello! I want to say that I love these scripts, they are the best I have seen for Conky thus far (I used kaivalagi's back in ye olde day- also very good)

I am wondering if you can suggest a way that I might change the units being used by the script. It seems that accuweather provides their data in local units by default, but I would prefer Celsius and 24 hour clock. I live in the US. I was able to get it to output celcius with the rss script but I find that the 1b2_29-10-15 script works better for me and I can't find a way to modify the source url like I did with the RSS script.

I found this link: https://apidev.accuweather.com/developers/forecasts which says to pass metric=true, appending ?metric=true to the forecast url doesn't seem to change the units.

I appreciate your thoughts and hope it hasn't already been asked, I tried searching the forum and did not get any hits.

Offline

#743 2016-04-21 10:41:46

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thanks for your kind words.
I'll see to it as soon as possible.

Last edited by TeoBigusGeekus (2016-04-21 10:42:09)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#744 2016-04-21 13:11:33

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Alright.
Run the script once, using a European town/city, let's say Kastoria:

address="http://www.accuweather.com/en/gr/kastoria/178682/weather-forecast/178682"

Now change this line:

wget --save-cookies $HOME/1b2_accuweather_conkyweather_font/cookie -O $HOME/1b2_accuweather_conkyweather_font/curr_cond_raw $curr_addr

to this:

wget --load-cookies $HOME/1b2_accuweather_conkyweather_font/cookie -O $HOME/1b2_accuweather_conkyweather_font/curr_cond_raw $curr_addr

and then change the address variable to your real location.

This way, the script will be forced to use the cookie you saved before (the one for Kastoria) and produce a metric forecast.

Last edited by TeoBigusGeekus (2016-04-21 13:12:17)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#745 2016-04-21 14:57:57

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

HOT DAMN!  That's cool Teo!

Pop a notice in the OP and it becomes a feature.  smile

1b2)Accuweather - ConkyWeather font - 1b2_29-10-15
Companion to the script: 1b2_29-10-15_Companion
To get US locations in Metric see post #745

And I'll bet reversing the process would get Kastoria, and other locations, in Imperial.

You rock Teo!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#746 2016-04-21 15:00:25

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

ANNOUNCEMENT
The Wunderground ICAL Script (2a) has stopped working. I couldn't find any ICAL link in the (new) wunderground page.
Tried to create a new script but crashed on a javascript wall.
This script was one of the first ones I created and has been around since 2009.
It saddens me to announce that it's dead...

OK no problem tanks for all others scripts and

The Wunderground ICAL Script (2a) RIP

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#747 2016-04-21 15:12:50

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:

And I'll bet reversing the process would get Kastoria, and other locations, in Imperial.

Exactly!

Sector11 wrote:

Pop a notice in the OP and it becomes a feature.  smile

Done.



loutch wrote:

OK no problem tanks for all others scripts and

The Wunderground ICAL Script (2a) RIP

@+

Thanks for the feedback and the sharp eyes loutch!


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#748 2016-04-21 15:37:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

ANNOUNCEMENT
The Wunderground ICAL Script (2a) has stopped working. I couldn't find any ICAL link in the (new) wunderground page.
Tried to create a new script but crashed on a javascript wall.
This script was one of the first ones I created and has been around since 2009.
It saddens me to announce that it's dead...

We've seen weather scripts by various authors come and go over the years.  Even various script by Teo.
But Teo is like an Energizer Bunny: He Keeps Going and Going and ...

Rain or shine; It's Weather the Teo Way™

We owe you Teo.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#749 2016-04-21 15:44:01

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

My pleasure S11! 
I like doing this thing...


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#750 2016-04-21 23:41:16

sarai
New Member
Registered: 2016-04-21
Posts: 3

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Way to go Teo! Thank you so much for your hard work! The only thing I would add to your instructions is that you need to change °F to °C in the conkyrc and then reload the conky once or twice. For a second I was taken aback that I reloaded the script and it said 5°... I'm sitting outside (yes, we linuxers do go outside every now and then!) and it is definitely freaking hot out here! I reloaded it again and got the much more believable 27°. Too bad the "clouds and sun" conkyweather font is completely inadequate in describing the feeling of being so humid it's like going for a swim in a lukewarm bathtub.

I bet you probably like to see the fruits of your labor, so here's my conky:

fqN2enG.png

Efharistó!!

Offline

#751 2016-04-22 01:42:01

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Very nice sarai.   I get past the °F or °C problem by just using °, because it's my conky and I know I use C.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#752 2016-04-22 01:45:09

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

My pleasure S11! 
I like doing this thing...

Me too, but you know that.  big_smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#753 2016-04-22 03:12:54

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@ loutch

and anyone else interested....

First and foremost - thank you for this idea - which has three parts.

Option 1. - conkyForcast wind rose icons.
"montage -geometry 128x128+3+3 *.png WindRose.png"
Wind_Rose.jpg
Originals, 68 of them, are 128x128 on a transparent background.  The colour changes were to give a visual aid as to "wind speed".  Green 1kph (mph) to x  - yellow - orange - red xx kph (mph) to OH NO!

Using ${if_match ...} would be way too much to check for speed AND direction, to use all 68 images but picking a colour to use and using those would be reasonable - there are only 16 cardinal points.  smile

or
Option 2. - conkyForecast wind rose with NO 'indicator' (the first one - top-left) and use the pointers below.

or
Option 3. - {cough cough} borrowed 16 images from a weather site
As I was thinking of visiting my favourite search engine, looking for "wind rose" and clicking on images I can pretty well take my pick ... and then ${if_match ...} these 'pointers' over the image collected from the search:
montage -geometry 84x76+3+3 *.png WindPointer.png
Wind_Pointer.jpg
This one looks nice and resized very nicely for a conky using the above pointers. windrose_2_sm.png (Image shown = tweaked and actual size)

I think I'll do a test conky with Option 3.

IF anyone is interested I'll post the tar.gz of the images.

As a Terminator with a short circuit would say: I'll be front!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#754 2016-04-22 07:19:40

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@ S11

Tanks i used a same wind direction icon for a long time ago in Didier-t accuweather-conky look here


1421312592.png

and with a modification i change the compass for a blue arrow like this


1461323993.png

as I am for my white period I would want to use conkywindNESW (if it is possible) in the 1a_accuweather_conkyweather_font 

@+

Last edited by loutch (2016-04-22 11:20:53)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#755 2016-04-22 07:33:25

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

ANNOUNCEMENT
The Wunderground ICAL Script (2a) has stopped working. I couldn't find any ICAL link in the (new) wunderground page.
Tried to create a new script but crashed on a javascript wall.
This script was one of the first ones I created and has been around since 2009.
It saddens me to announce that it's dead...


Hello Teo how you are ? I'm back .... how about http://www.foreca.it/Italy/Civitavecchia use this site to the weather forecast ? Hopefully it is not used java ..... tongue
@ Sectro11 you doing? I did not forget you  big_smile


Nothing happens by chance

Offline

#756 2016-04-22 07:42:54

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

fvirgola80 wrote:

Hello Teo how you are ? I'm back .... how about http://www.foreca.it/Italy/Civitavecchia use this site to the weather forecast ? Hopefully it is not used java ..... tongue
@ Sectro11 you doing? I did not forget you  big_smile

Feeling fine buddy. The sites's not bad, but the info's in italian.
Besides, the wunderground API script should be adequate for now.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#757 2016-04-22 07:53:20

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

sarai wrote:

Efharistó!!

Παρακαλώ.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#758 2016-04-22 09:55:12

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:
fvirgola80 wrote:

Hello Teo how you are ? I'm back .... how about http://www.foreca.it/Italy/Civitavecchia use this site to the weather forecast ? Hopefully it is not used java ..... tongue
@ Sectro11 you doing? I did not forget you  big_smile

Feeling fine buddy. The sites's not bad, but the info's in italian.
Besides, the wunderground API script should be adequate for now.


Mine was a sorry no idea I wanted to offend your work  8.(


Nothing happens by chance

Offline

#759 2016-04-22 11:43:33

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Relax man, no offense at all!!!
Take it easy Luke... wink


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#760 2016-04-22 12:26:35

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

Relax man, no offense at all!!!
Take it easy Luke... wink


wink  wink


Nothing happens by chance

Offline

Board footer

Powered by FluxBB