You are not logged in.

#1741 2017-07-11 20:36:02

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,648

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

Sector11 wrote:

Terminal, baby ... it's in a terminal ... credits are in the script.

Excellent work!  cool
I have to see where the Sun Rise and Moon Rise times hide...   smile

accu_moonDE.th.jpg

Offline

#1742 2017-07-11 21:41:52

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

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

unklar wrote:
Sector11 wrote:

Terminal, baby ... it's in a terminal ... credits are in the script.

Excellent work!  cool
I have to see where the Sun Rise and Moon Rise times hide...   smile

https://cdn.scrot.moe/images/2017/07/11/accu_moonDE.th.jpg

tput cup 4 35;tput setaf 9
echo "Sun Rise"
tput cup 4 44;tput setaf 3
echo `sed -n '23p' ~/1_accuweather/curr_cond`  <<<--- Sunrise
tput cup 4 50;tput setaf 9
echo "Moon Rise "
tput cup 4 60;tput setaf 6
echo `sed -n '25p' ~/1_accuweather/curr_cond` <<<--- Moonrise
tput cup 5 40;tput setaf 9
echo "Set"
tput cup 5 44;tput setaf 3
echo `sed -n '24p' ~/1_accuweather/curr_cond`  <<<--- Sunset
tput cup 5 56;tput setaf 9
echo "Set"
tput cup 5 60;tput setaf 6
echo `sed -n '26p' ~/1_accuweather/curr_cond` <<<--- Moonset

Run the companion conky:

conky -c ~/1_accuweather/accu_cfl_companion.conky

2017-07-11_183127_Scrot11.th.jpg

OH!  OOPS!  you're running a modified script  sad

Check your other conky  big_smile  wink
accu_moonDE2d9ed.th.jpg

Last edited by Sector11 (2017-07-11 21:43:52)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1743 2017-07-12 09:17:36

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,648

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

^ I had already found this in the curr_cond.
accu_moonDE1.th.jpg
You're back like a mother to me without breast. lol

For the German console freaks:

#!/bin/bash
# --- original ---
# 4 Day Weather forecast script for Boardman, OH
# Written by:  Habitual (JJ)
# 11.01.2010 12:10:07
# For conkyForecast by: Kaivalagi
# --- Edited by Sector11 ---
# 7 Day Forecast
# 13 Jan 2013 14:08 UTC
# For conkyForecast by: Kaivalagi

# Re-edited:
# Mon 09 Jan 2017
# updated 2017-07-10
# For TeoBigusGeekus' 1_Accuweather Weather script
# https://forums.bunsenlabs.org/viewtopic.php?id=189
### Run Teos script to refresh the databases
## Change the "wget" commands to "wget -q" in 1_accuweather


 ~/1_accuweather_Deutsch/1_accuweather_Deutsch 2>&1 >/dev/null
/home/unklar/4_Moon/moon_MoonGiant 2>&1 >/dev/null

# Clear the screen
tput clear
#tput bold			### for bold text
#tput dim			### for dim text
#tput sgr0          ### remove formatting

# Current (1st Group LEFT)
tput cup 1 1;tput setaf 9
echo "- Lichtenstein, Germany -"
tput cup 1 35;tput setaf 9
echo "- Accuweather -"
tput cup 2 1;tput setaf 9
echo "Currently"
tput cup 2 11;tput setaf 3
echo `sed -n '2p' ~/1_accuweather_Deutsch/curr_cond`"°"
tput cup 2 15;tput setaf 9
echo " for ±"
tput cup 2 21;tput setaf 3
echo `sed -n '3p' ~/1_accuweather_Deutsch/curr_cond`"°"
tput cup 3 1;tput setaf 2
echo `sed -n '4p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 4 1;tput setaf 3
echo "Bar"
tput cup 4 5;tput setaf 9
echo `sed -n '8p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 4 16;tput setaf 3
echo "Hum"
tput cup 4 20;tput setaf 9
echo `sed -n '7p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 4 25;tput setaf 3
echo "UVI"
tput cup 4 29;tput setaf 9
echo `sed -n '9p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 5 1;tput setaf 3
echo "Wnd"
tput cup 5 5;tput setaf 9
echo `sed -n '5p' ~/1_accuweather_Deutsch/curr_cond`" @ "`sed -n '6p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 5 21;tput setaf 3
echo "Vis"
tput cup 5 25;tput setaf 9
echo `sed -n '13p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 6 1;tput setaf 3
echo "Ceil"
tput cup 6 6;tput setaf 9
echo `sed -n '11p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 6 14;tput setaf 3
echo "Dew"
tput cup 6 18;tput setaf 9
echo `sed -n '12p' ~/1_accuweather_Deutsch/curr_cond`"°"
tput cup 6 22;tput setaf 3
echo "CC"
tput cup 6 25;tput setaf 9
echo `sed -n '10p' ~/1_accuweather_Deutsch/curr_cond`

# Today Day 0 (1st Group RIGHT) Mon
tput cup 2 35;tput setaf 9
echo "$(date --date="0 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 2 51;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 2 53;tput setaf 9
echo `sed -n '3p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 2 58;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 2 60;tput setaf 9
echo `sed -n '4p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 3 35;tput setaf 2
echo `sed -n '5p' ~/1_accuweather_Deutsch/first_days`
tput cup 4 35;tput setaf 9
echo "Sun Rise"
tput cup 4 44;tput setaf 3
echo `sed -n '14p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 4 50;tput setaf 9
echo "Moon Rise "
tput cup 4 60;tput setaf 6
echo `sed -n '18p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 5 40;tput setaf 9
echo "Set"
tput cup 5 44;tput setaf 3
echo `sed -n '15p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 5 56;tput setaf 9
echo "Set"
tput cup 5 60;tput setaf 6
echo `sed -n '19p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 6 35;tput setaf 9
echo "Duration"
tput cup 6 44;tput setaf 3
echo `sed -n '16p' ~/1_accuweather_Deutsch/curr_cond`
tput cup 6 57;tput setaf 6
echo `sed -n '20p' ~/1_accuweather_Deutsch/curr_cond`

# Day 1 (2nd Group LEFT) Tue
tput cup 7 1;tput setaf 9
echo "----------------------------------"
tput cup 8 1;tput setaf 9
echo "$(date --date="1 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 8 17;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 8 19;tput setaf 9
echo `sed -n '8p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 8 25;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 8 27;tput setaf 9
echo `sed -n '9p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 9 1;tput setaf 2
echo `sed -n '10p' ~/1_accuweather_Deutsch/first_days`

# Day 2 (2nd Group RIGHT) Wed
tput cup 7 35;tput setaf 9
echo "-------------------------------"
tput cup 8 35;tput setaf 9
echo "$(date --date="2 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 8 51;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 8 53;tput setaf 9
echo `sed -n '13p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 8 58;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 8 60;tput setaf 9
echo `sed -n '14p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 9 35;tput setaf 2
echo `sed -n '5p' ~/1_accuweather_Deutsch/first_days`

# Day 3 (3rd Group LEFT) Thu
tput cup 10 1;tput setaf 9
echo "-------------------------------"
tput cup 11 1;tput setaf 9
echo "$(date --date="3 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 11 17;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 11 19;tput setaf 9
echo `sed -n '18p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 11 25;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 11 27;tput setaf 9
echo `sed -n '19p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 12 1;tput setaf 2
echo `sed -n '10p' ~/1_accuweather_Deutsch/first_days`

# Day 4 (3rd Group RIGHT) Fri
tput cup 10 35;tput setaf 9
echo "-------------------------------"
tput cup 11 35;tput setaf 9
echo "$(date --date="4 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 11 51;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 11 53;tput setaf 9
echo `sed -n '23p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 11 58;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 11 60;tput setaf 9
echo `sed -n '24p' ~/1_accuweather_Deutsch/first_days`"°"
tput cup 12 35;tput setaf 2
echo `sed -n '5p' ~/1_accuweather_Deutsch/first_days`

# Day 5 (4th Group LEFT) Sat
tput cup 13 1;tput setaf 9
echo "-------------------------------"
tput cup 14 1;tput setaf 9
echo "$(date --date="5 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 14 17;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 14 19;tput setaf 9
echo `sed -n '3p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 14 25;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 14 27
echo `sed -n '4p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 15 1;tput setaf 2
echo `sed -n '5p' ~/1_accuweather_Deutsch/last_days`

# Day 6 (4th Group RIGHT) Sun
tput cup 13 35;tput setaf 9
echo "-------------------------------"
tput cup 14 35;tput setaf 9
echo "$(date --date="6 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 14 51;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 14 53;tput setaf 9
echo `sed -n '8p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 14 58;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 14 60
echo `sed -n '9p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 15 35;tput setaf 2
echo `sed -n '10p' ~/1_accuweather_Deutsch/last_days`

# Day 7 (5th Group LEFT) Mon
tput cup 16 1;tput setaf 9
echo "-------------------------------"
tput cup 17 1;tput setaf 9
echo "$(date --date="7 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 17 17;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 17 19
echo `sed -n '13p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 17 25;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 17 27;tput setaf 9
echo `sed -n '14p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 18 1;tput setaf 2
echo `sed -n '15p' ~/1_accuweather_Deutsch/last_days`
tput cup 19 1;tput setaf 9
echo "-------------------------------"

# Day 8 (5th Group RIGHT) Tue
tput cup 16 35;tput setaf 9
echo "-------------------------------"
tput cup 17 35;tput setaf 9
echo "$(date --date="8 day" | awk '{print $1" "$2" "$3" "$6}')"
tput cup 17 51;tput setaf 1;tput bold
echo "↑";tput sgr0
tput cup 17 53;tput setaf 9
echo `sed -n '18p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 17 58;tput setaf 6;tput bold
echo "↓";tput sgr0
tput cup 17 60;tput setaf 9
echo `sed -n '19p' ~/1_accuweather_Deutsch/last_days`"°"
tput cup 18 35;tput setaf 2
echo `sed -n '20p' ~/1_accuweather_Deutsch/last_days`
tput cup 19 32;tput setaf 9
echo "----------------------------------"
tput cup 20 5;tput setaf 6
echo "Moon"
tput cup 20 10;tput setaf 3
echo "Sun"
tput cup 20 14;tput setaf 9
echo "Information              Northern Hemisphere"
tput cup 21 1;tput setaf 6
echo "Phase"
tput cup 21 8;tput setaf 9
echo `sed -n '7p' /home/unklar/4_Moon/raw` @ `sed -n '1p' /home/unklar/4_Moon/raw`
tput cup 21 35;tput setaf 6
echo "Distance"
tput cup 21 44;tput setaf 9
echo `sed -n '4p' /home/unklar/4_Moon/raw` "km"
tput cup 22 1;tput setaf 6
echo "Age"
tput cup 22 8;tput setaf 9
echo `sed -n '5p' /home/unklar/4_Moon/raw` "Day(s)"
tput cup 22 35;tput setaf 6
echo "Angle"
tput cup 22 44;tput setaf 9
echo `sed -n '6p' /home/unklar/4_Moon/raw`"°"
tput cup 23 1;tput setaf 3
echo "Angle"
tput cup 23 8;tput setaf 9
echo `sed -n '2p' /home/unklar/4_Moon/raw`"°"
tput cup 23 35;tput setaf 3
echo "Distance"
tput cup 23 44;tput setaf 9
echo `sed -n '3p' /home/unklar/4_Moon/raw` "km"
tput sgr0
$SHELL 

Offline

#1744 2017-07-13 22:47:35

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

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

{looking down - flat hairy chest} Thank God!   O:)  lol  lol
Glad you have it working.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1745 2017-07-19 12:47:12

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

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

Hi,
I've noticed something strange in the wunderground weather script, that the UV index is not correct, I've got a -1 in the "Conditions" file rather than 7 or 8 ?
2017-07-19-14-45-24_scrot.th.png

Offline

#1746 2017-07-19 22:09:31

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

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

You're right ragamatrix, it is -1 for me as well.
I've visited the http://api.wunderground.com/...etc address for my location and the UV Index is indeed -1, so it's not the script's fault.
Could others report their value of the UV Index in Wunderground's api page?


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

#1747 2017-07-20 00:04:37

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

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

Interesting, I'm thinking, at 21:04 on a winter's night it should be 0 .... RIGHT!
2017-07-19_205057_Scrot11.jpg
Hmmm, -1 - not the script!

... It's Trump's fault, he says there is no global warming!
No global warming, no ozone problem -- no ozone problem no UVI problem.  ]:D

So saz the

EDIT:  OK, that's not nice ... link instead.  smile

Edit 2: Accuweather on the other hand is dead on:  2017-07-19_210751_Scrot11.jpg

Last edited by Sector11 (2017-07-20 00:10:50)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1748 2017-07-20 11:36: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)

I'm getting 10 right now for the UV value (14:30 in the afternoon), which seems like a reasonable value.
We'll see...


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

#1749 2017-07-20 12:06:48

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,648

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

I get currently at 14.00 (2pm) an index of 4
UVIndex.th.jpg

Last edited by unklar (2017-07-20 12:08:16)

Offline

#1750 2017-07-20 14:56:26

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

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

Today it works, got 9 teo wins
giphy-downsized.gif

Last edited by ragamatrix (2017-07-20 14:57:16)

Offline

#1751 2017-07-20 15:06:10

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

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

My Wground says -1 but Accuweather says 3

BTW, ragamatrix the lower the number the better it is.  I win!

Now I need to check my wunderground location, maybe the location I am using doesn't report UVI.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1752 2017-07-20 17:28:16

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

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

oDSb64Ft.jpg


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

#1753 2017-07-20 19:54:21

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

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

Where I come from double 1's is a "Licence to Conky"!   wink


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1754 2017-07-20 23:11:33

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

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

TeoBigusGeekus wrote:

ANNOUNCEMENT

Tiny hiccup on the 1_Accuweather script. It must have been a small change in Accuweather's layout, cause suddenly there was an extra line in the current conditions file, which caused in its turn a screw up of conky's layout.
Script rebundled.
For the lazy:
Just change

|"wind"|

in line 271 to

|"wind"><strong>|

Thank you Teo.  I was just getting ready to report this.   wink

Offline

#1755 2017-07-21 03:46:49

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

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

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

#1756 2017-07-21 08:12:03

ector1935
Member
Registered: 2017-05-03
Posts: 240

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

Sector11 wrote:

My Wground says -1 but Accuweather says 3

BTW, ragamatrix the lower the number the better it is.  I win!

Now I need to check my wunderground location, maybe the location I am using doesn't report UVI.

I put this and uv works again!
Try it if it works for you too!



UVI: ${execi 300 sed -n '9p' ~/1_accuweather/curr_cond}/11\
 ${alignr}${execi 300 sed -n '10p' ~/1_accuweather/curr_cond}:Bar

regards!

[url=https://i.imgur.com/o2u7xdB.png]
  o2u7xdBl.png
[/url]

Last edited by ector1935 (2017-07-21 08:14:55)

Offline

#1757 2017-07-21 12:54:35

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

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

ector1935 wrote:

I put this and uv works again!
Try it if it works for you too!

UVI: ${execi 300 sed -n '9p' ~/1_accuweather/curr_cond}/11\
 ${alignr}${execi 300 sed -n '10p' ~/1_accuweather/curr_cond}:Bar

regards!

It is the "wunderground " script that had a -1.  My accuweather works just fine.
2017-07-21_095224_Scrot11.th.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1758 2017-07-21 15:06:49

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,648

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

Sector11 wrote:

It is the "wunderground " script that had a -1.  My accuweather works just fine.

OOPS, yikes  i thought to have missed something. 

The UV index is true for me.  big_smile

UVIndex1.th.jpg

Offline

#1759 2017-07-21 16:01:52

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

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

still have -1
2017-07-21-17-54-59_scrot.th.png

Last edited by ragamatrix (2017-07-21 16:02:17)

Offline

#1760 2017-07-21 17:04:48

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

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

Ladies, if there are any present, and Gentlemen.

The thing to remember about Wunderground is it really is an 'Underground' weather service, nothing "Official".

For example there are 19 stations in Buenos Aires:
Nearby Weather Stations

	Buenos Aires (IDFCONGR2) 	19.1°
	San Nicol s (IBUENOSA291) 	16.8°
	Recoleta (IBUENOSA274) 	15.3°
	Avenida San Juan (IBUENOSA418) 	14.8°
	Jos Andr s Pacheco de Melo (IBUENOSA411) 	17.9°
	Recoleta (IBUENOSA263) 	14.7°
	Ecuador (IBUENOSA347) 	13.8°
	Sevilla (IBUENOSA407) 	17.8°
	Almagro (IBUENOSA314) 	16.8°
	Boedo (ICIUDADA37) 	17.6°
	Avenida del Libertador (IBUENOSA397) 	19.3°
	Uriarte (IBUENOSA351) 	14.3°
	Parque Chacabuco (ICIUDADA20) 	17.9°
	Avenida Avellaneda (IBUENOSA450) 	15°
	3 de Febrero (IBUENOSA359) 	15.2°
	Olleros (IBUENOSA405) 	15.4°
	Comuna 13 (IDFCOLEG2) 	15.3°
	Belgrano (IBUENOSA454) 	13.9°
	Artilleros (IBUENOSA364) 	16.4°

The 'official' Argentina weather site is not there.  SMN and missing are the two airports as well.  So it's these homegrown sites that supply information to Wunderground. My guess is that the -1 represents a station that does not broadcast UVI values.

Now there is a link for: Ezeiza - the international Airport just outside of the city, but I see no UVI readings there either.

I know that the wunderground conky I use changes stations (within BsAs area) if the one I asked for isn't 'brodcasting' at the time of updating.  Something to consider.

May I suggest doing what I do:

Since my wife likes the colourful icons:
1. I created her little "today's weather", see a few posts above, using Wunderground, a long time ago, and
2. since I like the 2017 accuweather icon images, and
3. I also like and use the moon script, and
4. since my wife's script is the first weather conky to load - I cheated: the first three lines in her conky are:

TEXT
${execi 900 bash $HOME/1_accuweather/1_accuweather -f2015 -f2016 -h2015 -h2016}\
${execi 900 bash /media/5/Conky/2b_Wunderground_API/2b}\
${execi 900 bash /media/5/Conky/4_Moon/moon}\

Which means any other weather conky I make I do not need to go online to get the data, I just use the existing data.  That has been working for me for a LONG time now. 

SO: No UVI working in your Wunderground Script: use Accuweathers: (quoted from ector1935's post a couple of posts up)

UVI: ${execi 300 sed -n '9p' ~/1_accuweather/curr_cond}/11

mix and match the three scripts to get it all.  smile

Two Examples I know about:

  1. UVI - explained above

  2. Moon script gives rough rise|set times - Use Accuweather's more accurate sun|moon rise|set times for your location

Think I'll change my wife's conky to Accuweather 1016 icons - she may not even notice, then I can drop Wunderground altogether ... and to think I was the one that asked Teo to get wunderground going.

{dodging the rotten eggs incoming from Greece! Damn, Teo, you have a really good arm, or is that a catapult?}  big_smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB