You are not logged in.

#2041 2018-05-22 23:18: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)

Is this error persistent? Do you miss an image on your desktop?
If you do, which is the weather condition for that particular time span? (ie. sunny, cloudy, partly sunny, etc)


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

#2042 2018-05-23 08:26:10

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

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

Yes it is I restarted the script this morning and I still have this same error in terminal:

2018-05-23 10:04:25 (1.35 MB/s) - « /home/raphix/2_Wunderground_API/raw_data » sauvegardé [69981]

cp: impossible d'évaluer '/home/raphix/2_Wunderground_API/Forecast_Images/.png': Aucun fichier ou dossier de ce type

[1]  + suspended (signal)  conky -c /home/raphix/2_Wunderground_API/conky-wu-htc-v-10-hours
 10:11 raphix > --2018-05-23 10:11:24--  http://api.wunderground.com/api/xxxxxxxxxxxxxxxxxx/conditions/forecast10day/astronomy/hourly/satellite/q/Switzerland/horgen.json
Résolution de api.wunderground.com (api.wunderground.com)… 23.211.6.129
Connexion à api.wunderground.com (api.wunderground.com)|23.211.6.129|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : non indiqué [application/json]
Sauvegarde en : « /home/raphix/2_Wunderground_API/raw_data »

/home/raphix/2_Wunderground     [ <=>                                       ]  68.31K  --.-KB/s    in 0.02s

2018-05-23 10:11:25 (3.33 MB/s) - « /home/raphix/2_Wunderground_API/raw_data » sauvegardé [69954]

cp: impossible d'évaluer '/home/raphix/2_Wunderground_API/Forecast_Images/.png': Aucun fichier ou dossier de ce type

my Conditions file:

display_location
full
Horgen, Switzerland
city
Horgen
state
ZH
state_name
Switzerland
country
SW
country_iso3166
CH
zip
00000
magic
1
wmo
06673
latitude
47.25999832
longitude
8.60000038
elevation
409.0"
observation_location
full
Horgen, 
city
Horgen
state

country
SW
country_iso3166
CH
latitude
47.26
longitude
8.60
elevation
 ft"
estimated
station_id
LSMD
observation_time
Last Updated on May 23, 9:00 AM CEST
observation_time_rfc822
Wed, 23 May 2018 09:00:00 +0200
observation_epoch
1527058800
local_time_rfc822
Wed, 23 May 2018 10:18:24 +0200
local_epoch
1527063504
local_tz_short
CEST
local_tz_long
Europe/Zurich
local_tz_offset
+0200
weather

temp_f
58
temp_c
14
relative_humidity
80%
wind_string
From the NNW at 1 MPH
wind_dir
NNW
wind_degrees
340
wind_mph
1
wind_gust_mph
0
wind_kph
2
wind_gust_kph
0
pressure_mb
1018
pressure_in
30.05
pressure_trend
+
dewpoint_string
54 F (12 C)
dewpoint_f
54
dewpoint_c
12
heat_index_string
NA
heat_index_f
NA
heat_index_c
NA
windchill_string
NA
windchill_f
NA
windchill_c
NA
feelslike_string
58 F (14 C)
feelslike_f
58
feelslike_c
14
visibility_mi

visibility_km

solarradiation
--
UV
-1
precip_1hr_string
 in ( mm)
precip_1hr_in

precip_1hr_metric
--
precip_today_string
 in ( mm)
precip_today_in

precip_today_metric
--
icon

icon_url
.gif
nowcast
"

Hourly file:

hour
11
hour_padded
11
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527066000
pretty
11:00 AM CEST on May 23, 2018
civil
11:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
AM
tz

age

temp
english
62.2
metric
17
dewpoint
english
56.5
metric
14
condition
Mostly Cloudy
icon
mostlycloudy
mostlycloudy.gif
fctcode
3
sky
68
wspd
english
3
metric
5
wdir
dir
WNW
degrees
294
wx
Mostly Cloudy
uvi
4
humidity
82
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
62.2
metric
17
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
4
mslp
english
30.03
metric
1017
hour
12
hour_padded
12
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527069600
pretty
12:00 PM CEST on May 23, 2018
civil
12:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
64.3
metric
18
dewpoint
english
56.7
metric
14
condition
Mostly Cloudy
icon
mostlycloudy
mostlycloudy.gif
fctcode
3
sky
63
wspd
english
3
metric
5
wdir
dir
NW
degrees
317
wx
Mostly Cloudy
uvi
5
humidity
76
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
64.3
metric
18
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
4
mslp
english
30.02
metric
1017
hour
13
hour_padded
13
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527073200
pretty
1:00 PM CEST on May 23, 2018
civil
1:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
65.8
metric
19
dewpoint
english
56.3
metric
14
condition
Mostly Cloudy
icon
mostlycloudy
mostlycloudy.gif
fctcode
3
sky
69
wspd
english
2
metric
3
wdir
dir
NW
degrees
316
wx
Mostly Cloudy
uvi
5
humidity
71
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
65.8
metric
19
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
7
mslp
english
30.02
metric
1017
hour
14
hour_padded
14
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527076800
pretty
2:00 PM CEST on May 23, 2018
civil
2:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
68.3
metric
20
dewpoint
english
55.8
metric
13
condition
Partly Cloudy
icon
partlycloudy
partlycloudy.gif
fctcode
2
sky
59
wspd
english
3
metric
5
wdir
dir
NW
degrees
318
wx
Partly Cloudy
uvi
6
humidity
64
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
68.3
metric
20
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
12
mslp
english
30.0
metric
1016
hour
15
hour_padded
15
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527080400
pretty
3:00 PM CEST on May 23, 2018
civil
3:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
70.1
metric
21
dewpoint
english
55.7
metric
13
condition
Chance of a Thunderstorm
icon
chancetstorms
chancetstorms.gif
fctcode
14
sky
55
wspd
english
3
metric
5
wdir
dir
NNW
degrees
339
wx
Isolated Thunderstorms
uvi
5
humidity
60
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
70.1
metric
21
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
33
mslp
english
29.99
metric
1016
hour
16
hour_padded
16
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527084000
pretty
4:00 PM CEST on May 23, 2018
civil
4:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
69.4
metric
21
dewpoint
english
55.4
metric
13
condition
Chance of a Thunderstorm
icon
chancetstorms
chancetstorms.gif
fctcode
14
sky
50
wspd
english
3
metric
5
wdir
dir
NNW
degrees
342
wx
Scattered Thunderstorms
uvi
4
humidity
61
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
69.4
metric
21
qpf
english
0.01
metric
0
snow
english
0.0
metric
0
pop
48
mslp
english
29.98
metric
1015
hour
17
hour_padded
17
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527087600
pretty
5:00 PM CEST on May 23, 2018
civil
5:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
68.1
metric
20
dewpoint
english
54.7
metric
13
condition
Chance of a Thunderstorm
icon
chancetstorms
chancetstorms.gif
fctcode
14
sky
52
wspd
english
3
metric
5
wdir
dir
NNW
degrees
336
wx
Scattered Thunderstorms
uvi
3
humidity
62
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
68.1
metric
20
qpf
english
0.02
metric
1
snow
english
0.0
metric
0
pop
55
mslp
english
29.98
metric
1015
hour
18
hour_padded
18
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527091200
pretty
6:00 PM CEST on May 23, 2018
civil
6:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
67.9
metric
20
dewpoint
english
55.1
metric
13
condition
Chance of a Thunderstorm
icon
chancetstorms
chancetstorms.gif
fctcode
14
sky
60
wspd
english
3
metric
5
wdir
dir
NNW
degrees
346
wx
Scattered Thunderstorms
uvi
1
humidity
64
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
67.9
metric
20
qpf
english
0.02
metric
1
snow
english
0.0
metric
0
pop
37
mslp
english
29.98
metric
1015
hour
19
hour_padded
19
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527094800
pretty
7:00 PM CEST on May 23, 2018
civil
7:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
67.1
metric
20
dewpoint
english
56.2
metric
13
condition
Chance of a Thunderstorm
icon
chancetstorms
chancetstorms.gif
fctcode
14
sky
61
wspd
english
3
metric
5
wdir
dir
WNW
degrees
292
wx
Isolated Thunderstorms
uvi
1
humidity
68
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
67.1
metric
20
qpf
english
0.01
metric
0
snow
english
0.0
metric
0
pop
31
mslp
english
29.99
metric
1016
hour
20
hour_padded
20
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527098400
pretty
8:00 PM CEST on May 23, 2018
civil
8:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
65.5
metric
19
dewpoint
english
56.9
metric
14
condition
Chance of a Thunderstorm
icon
chancetstorms
chancetstorms.gif
fctcode
14
sky
72
wspd
english
3
metric
5
wdir
dir
WNW
degrees
289
wx
Scattered Thunderstorms
uvi
0
humidity
74
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
65.5
metric
19
qpf
english
0.02
metric
1
snow
english
0.0
metric
0
pop
55
mslp
english
30.01
metric
1016
hour
21
hour_padded
21
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527102000
pretty
9:00 PM CEST on May 23, 2018
civil
9:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
62.7
metric
17
dewpoint
english
56.9
metric
14
condition
Chance of Rain
icon
chancerain
chancerain.gif
fctcode
12
sky
73
wspd
english
3
metric
5
wdir
dir
WSW
degrees
252
wx
Showers
uvi
0
humidity
81
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
62.7
metric
17
qpf
english
0.01
metric
0
snow
english
0.0
metric
0
pop
37
mslp
english
30.03
metric
1017
hour
22
hour_padded
22
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527105600
pretty
10:00 PM CEST on May 23, 2018
civil
10:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
61.4
metric
16
dewpoint
english
56.2
metric
13
condition
Chance of Rain
icon
chancerain
nt
fctcode
12
sky
66
wspd
english
4
metric
6
wdir
dir
WSW
degrees
239
wx
Showers
uvi
0
humidity
83
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
61.4
metric
16
qpf
english
0.01
metric
0
snow
english
0.0
metric
0
pop
44
mslp
english
30.05
metric
1018
hour
23
hour_padded
23
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
23
mday_padded
23
yday
142
isdst
1
epoch
1527109200
pretty
11:00 PM CEST on May 23, 2018
civil
11:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Wednesday
weekday_name_night
Wednesday Night
weekday_name_abbrev
Wed
weekday_name_unlang
Wednesday
weekday_name_night_unlang
Wednesday Night
ampm
PM
tz

age

temp
english
59.6
metric
15
dewpoint
english
55.7
metric
13
condition
Chance of Rain
icon
chancerain
nt
fctcode
12
sky
62
wspd
english
4
metric
6
wdir
dir
SSW
degrees
213
wx
Few Showers
uvi
0
humidity
87
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
59.6
metric
15
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
31
mslp
english
30.06
metric
1018
hour
0
hour_padded
00
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527112800
pretty
12:00 AM CEST on May 24, 2018
civil
12:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
58.9
metric
15
dewpoint
english
54.8
metric
13
condition
Mostly Cloudy
icon
mostlycloudy
nt
fctcode
3
sky
65
wspd
english
5
metric
8
wdir
dir
SW
degrees
216
wx
Mostly Cloudy
uvi
0
humidity
86
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
58.9
metric
15
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
10
mslp
english
30.06
metric
1018
hour
1
hour_padded
01
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527116400
pretty
1:00 AM CEST on May 24, 2018
civil
1:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
58.0
metric
14
dewpoint
english
54.4
metric
12
condition
Partly Cloudy
icon
partlycloudy
nt
fctcode
2
sky
58
wspd
english
3
metric
5
wdir
dir
SW
degrees
224
wx
Partly Cloudy
uvi
0
humidity
88
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
58.0
metric
14
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
8
mslp
english
30.06
metric
1018
hour
2
hour_padded
02
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527120000
pretty
2:00 AM CEST on May 24, 2018
civil
2:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
57.2
metric
14
dewpoint
english
54.1
metric
12
condition
Partly Cloudy
icon
partlycloudy
nt
fctcode
2
sky
58
wspd
english
3
metric
5
wdir
dir
SSW
degrees
199
wx
Partly Cloudy
uvi
0
humidity
89
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
57.2
metric
14
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
8
mslp
english
30.06
metric
1018
hour
3
hour_padded
03
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527123600
pretty
3:00 AM CEST on May 24, 2018
civil
3:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
56.3
metric
14
dewpoint
english
53.3
metric
12
condition
Partly Cloudy
icon
partlycloudy
nt
fctcode
2
sky
53
wspd
english
2
metric
3
wdir
dir
S
degrees
187
wx
Partly Cloudy
uvi
0
humidity
90
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
56.3
metric
14
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
8
mslp
english
30.06
metric
1018
hour
4
hour_padded
04
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527127200
pretty
4:00 AM CEST on May 24, 2018
civil
4:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
55.8
metric
13
dewpoint
english
53.0
metric
12
condition
Partly Cloudy
icon
partlycloudy
nt
fctcode
2
sky
52
wspd
english
3
metric
5
wdir
dir
S
degrees
172
wx
Partly Cloudy
uvi
0
humidity
90
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
55.8
metric
13
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
8
mslp
english
30.07
metric
1018
hour
5
hour_padded
05
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527130800
pretty
5:00 AM CEST on May 24, 2018
civil
5:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
55.0
metric
13
dewpoint
english
52.6
metric
11
condition
Partly Cloudy
icon
partlycloudy
nt
fctcode
2
sky
45
wspd
english
3
metric
5
wdir
dir
S
degrees
181
wx
Partly Cloudy
uvi
0
humidity
92
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
55.0
metric
13
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
8
mslp
english
30.07
metric
1018
hour
6
hour_padded
06
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527134400
pretty
6:00 AM CEST on May 24, 2018
civil
6:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
55.0
metric
13
dewpoint
english
52.5
metric
11
condition
Partly Cloudy
icon
partlycloudy
partlycloudy.gif
fctcode
2
sky
35
wspd
english
3
metric
5
wdir
dir
S
degrees
188
wx
Partly Cloudy
uvi
0
humidity
91
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
55.0
metric
13
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
8
mslp
english
30.07
metric
1018
hour
7
hour_padded
07
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527138000
pretty
7:00 AM CEST on May 24, 2018
civil
7:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
56.4
metric
14
dewpoint
english
53.5
metric
12
condition
Partly Cloudy
icon
partlycloudy
partlycloudy.gif
fctcode
2
sky
36
wspd
english
2
metric
3
wdir
dir
S
degrees
172
wx
Partly Cloudy
uvi
0
humidity
90
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
56.4
metric
14
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
7
mslp
english
30.08
metric
1019
hour
8
hour_padded
08
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527141600
pretty
8:00 AM CEST on May 24, 2018
civil
8:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
58.8
metric
15
dewpoint
english
54.5
metric
12
condition
Partly Cloudy
icon
partlycloudy
partlycloudy.gif
fctcode
2
sky
35
wspd
english
2
metric
3
wdir
dir
SSW
degrees
206
wx
Partly Cloudy
uvi
1
humidity
86
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
58.8
metric
15
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
5
mslp
english
30.08
metric
1019
hour
9
hour_padded
09
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527145200
pretty
9:00 AM CEST on May 24, 2018
civil
9:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
61.1
metric
16
dewpoint
english
55.0
metric
13
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
27
wspd
english
2
metric
3
wdir
dir
SW
degrees
227
wx
Mostly Sunny
uvi
2
humidity
80
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
61.1
metric
16
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
4
mslp
english
30.09
metric
1019
hour
10
hour_padded
10
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527148800
pretty
10:00 AM CEST on May 24, 2018
civil
10:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
63.4
metric
17
dewpoint
english
54.5
metric
12
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
24
wspd
english
2
metric
3
wdir
dir
W
degrees
265
wx
Mostly Sunny
uvi
3
humidity
73
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
63.4
metric
17
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
3
mslp
english
30.09
metric
1019
hour
11
hour_padded
11
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527152400
pretty
11:00 AM CEST on May 24, 2018
civil
11:00 AM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
AM
tz

age

temp
english
64.7
metric
18
dewpoint
english
54.2
metric
12
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
26
wspd
english
3
metric
5
wdir
dir
WNW
degrees
296
wx
Mostly Sunny
uvi
5
humidity
69
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
64.7
metric
18
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
2
mslp
english
30.08
metric
1019
hour
12
hour_padded
12
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527156000
pretty
12:00 PM CEST on May 24, 2018
civil
12:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
66.8
metric
19
dewpoint
english
54.1
metric
12
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
24
wspd
english
3
metric
5
wdir
dir
WNW
degrees
303
wx
Mostly Sunny
uvi
6
humidity
64
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
66.8
metric
19
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
1
mslp
english
30.07
metric
1018
hour
13
hour_padded
13
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527159600
pretty
1:00 PM CEST on May 24, 2018
civil
1:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
68.6
metric
20
dewpoint
english
53.6
metric
12
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
15
wspd
english
4
metric
6
wdir
dir
WNW
degrees
294
wx
Sunny
uvi
7
humidity
59
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
68.6
metric
20
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
0
mslp
english
30.06
metric
1018
hour
14
hour_padded
14
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527163200
pretty
2:00 PM CEST on May 24, 2018
civil
2:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
69.9
metric
21
dewpoint
english
52.8
metric
12
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
14
wspd
english
4
metric
6
wdir
dir
WNW
degrees
283
wx
Sunny
uvi
7
humidity
55
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
69.9
metric
21
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
5
mslp
english
30.04
metric
1017
hour
15
hour_padded
15
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527166800
pretty
3:00 PM CEST on May 24, 2018
civil
3:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
71.3
metric
22
dewpoint
english
52.4
metric
11
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
20
wspd
english
5
metric
8
wdir
dir
W
degrees
277
wx
Mostly Sunny
uvi
6
humidity
51
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
71.3
metric
22
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
5
mslp
english
30.03
metric
1017
hour
16
hour_padded
16
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527170400
pretty
4:00 PM CEST on May 24, 2018
civil
4:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
72.3
metric
22
dewpoint
english
51.8
metric
11
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
22
wspd
english
5
metric
8
wdir
dir
W
degrees
275
wx
Mostly Sunny
uvi
4
humidity
48
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
72.3
metric
22
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
5
mslp
english
30.02
metric
1017
hour
17
hour_padded
17
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527174000
pretty
5:00 PM CEST on May 24, 2018
civil
5:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
72.6
metric
23
dewpoint
english
51.6
metric
11
condition
Partly Cloudy
icon
partlycloudy
partlycloudy.gif
fctcode
2
sky
30
wspd
english
6
metric
10
wdir
dir
W
degrees
268
wx
Partly Cloudy
uvi
3
humidity
48
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
72.6
metric
23
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
0
mslp
english
30.01
metric
1016
hour
18
hour_padded
18
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527177600
pretty
6:00 PM CEST on May 24, 2018
civil
6:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
72.6
metric
23
dewpoint
english
52.3
metric
11
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
25
wspd
english
5
metric
8
wdir
dir
W
degrees
263
wx
Mostly Sunny
uvi
1
humidity
49
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
72.6
metric
23
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
0
mslp
english
30.01
metric
1016
hour
19
hour_padded
19
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527181200
pretty
7:00 PM CEST on May 24, 2018
civil
7:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
71.7
metric
22
dewpoint
english
53.6
metric
12
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
19
wspd
english
4
metric
6
wdir
dir
W
degrees
260
wx
Sunny
uvi
1
humidity
53
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
71.7
metric
22
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
1
mslp
english
30.02
metric
1017
hour
20
hour_padded
20
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527184800
pretty
8:00 PM CEST on May 24, 2018
civil
8:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
69.2
metric
21
dewpoint
english
55.2
metric
13
condition
Clear
icon
clear
clear.gif
fctcode
1
sky
16
wspd
english
2
metric
3
wdir
dir
W
degrees
265
wx
Sunny
uvi
0
humidity
61
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
69.2
metric
21
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
2
mslp
english
30.03
metric
1017
hour
21
hour_padded
21
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527188400
pretty
9:00 PM CEST on May 24, 2018
civil
9:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
65.4
metric
19
dewpoint
english
54.8
metric
13
condition
Partly Cloudy
icon
partlycloudy
partlycloudy.gif
fctcode
2
sky
30
wspd
english
2
metric
3
wdir
dir
ESE
degrees
118
wx
Partly Cloudy
uvi
0
humidity
69
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
65.4
metric
19
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
4
mslp
english
30.05
metric
1018
hour
22
hour_padded
22
min
00
sec
0
year
2018
mon
5
mon_padded
05
mon_abbrev
May
mday
24
mday_padded
24
yday
143
isdst
1
epoch
1527192000
pretty
10:00 PM CEST on May 24, 2018
civil
10:00 PM
month_name
May
month_name_abbrev
May
weekday_name
Thursday
weekday_name_night
Thursday Night
weekday_name_abbrev
Thu
weekday_name_unlang
Thursday
weekday_name_night_unlang
Thursday Night
ampm
PM
tz

age

temp
english
62.8
metric
17
dewpoint
english
53.8
metric
12
condition
Partly Cloudy
icon
partlycloudy
nt
fctcode
2
sky
30
wspd
english
2
metric
3
wdir
dir
SE
degrees
127
wx
Partly Cloudy
uvi
0
humidity
73
windchill
english
-9999
metric
-9999
heatindex
english
-9999
metric
-9999
feelslike
english
62.8
metric
17
qpf
english
0.0
metric
0
snow
english
0.0
metric
0
pop
5
mslp
english
30.07
metric
1018

The conkyrc:

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'desktop',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
	text_buffer_size = 2048,
-- fiddle with window
	use_spacer = 'none',
	use_xft = true,

-- Update interval in seconds
	update_interval = 1,
	cpu_avg_samples = 2,
	net_avg_samples = 2,
-- Minimum size of text area
	minimum_width = 235, minimum_height = 320,
	maximum_width = 235,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,
	default_shade_color = '#000000',
	draw_outline = true,
	default_outline_color = '#000000',
-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	--fonts tests:
--JD LCD Rounded:style=Bold
--LCDMono2
--Lucida Sans
--Neogrey
--PF Tempesta Five Condensed
--PF Tempesta Five Compressed
--Visitor TT1 BRK:Medium:size=9
--Anonymous Pro:Medium:size=8
--Terminus
font = 'Open Sans:size=8', --important for shades
template0 = 'Open Sans:size=7',
template1 = 'Open Sans:size=7',

	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

--border_inner_margin = '9',
-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	--default_color = '#cbcbcb',
	--color1  = '#505454', 
	own_window_colour = 'brown',
	own_window_transparent = true,
-- color
	default_color = 'cbcbcb',
	color0 = '98FB98', --PaleGreen
	color1 = '778899', --LightSlateGray
	color2 = 'FFD700', --Gold
	color3 = 'B0E0E6', --PowderBlue
	color4 = 'F4A460', --SandyBrown
	color5 = 'DEB887', --BurlyWood
	color6 = '00BFFF', --DeepSkyBlue
	color7 = '5F9EA0', --CadetBlue
	color8 = 'FFA500', --Orange
	color9 = 'FF4500', --OrangeRed
	

-- Text alignment, other possible values are commented
--alignment top_right
--alignment top_left
alignment = 'top_left',
--alignment bottom_left
--alignment bottom_right

-- Gap between borders of screen and text
	gap_x = 50,
	gap_y = -10,

	imlib_cache_size = 0,
	

};

conky.text = [[
${voffset 10}${execi 420 bash $HOME/2_Wunderground_API/2_wun}\
${image $HOME/2_Wunderground_API/Moon_phase.png -p 210,65 -s 30x30}\
${image $HOME/2_Wunderground_API/HTCimages/baserag1.png -p -1,60 -s 260x145}\
${image $HOME/2_Wunderground_API/HTCimages/baserag1.png -p -1,210 -s 260x70}
${image $HOME/2_Wunderground_API/Now.png -p 55,100 -s 125x75}
${image $HOME/2_Wunderground_API/HTCimages/baserag1.png -p -1,295 -s 260x70}
${voffset 5}${font Prototype:Style=Bold:size=15}${color1}${alignc}${time %A %e %B}${color}${font}
${font Prototype:Style=Bold:size=15}${color1}${goto 100}${execi 600  sed -n '67p' $HOME/2_Wunderground_API/Conditions}°${font}${color}\
${voffset 20}${goto 4}Wind ${execi 600  sed -n '73p' $HOME/2_Wunderground_API/Conditions}\
${alignr}${execi 600  sed -n '63p' $HOME/2_Wunderground_API/Conditions|cut -c-13}
${goto 4}${execi 600  sed -n '74p' $HOME/2_Wunderground_API/Hourly} km/h\
${alignr}${execi 600  sed -n '69p' $HOME/2_Wunderground_API/Conditions} Hum
${goto 4}${execi 600  sed -n '85p' $HOME/2_Wunderground_API/Conditions}mb\
${alignr}${execi 600  sed -n '57p' $HOME/2_Wunderground_API/Simple_Forecast} mm Prec
${goto 4}Sunrise ${color8}${execi 600  sed -n '16p' $HOME/2_Wunderground_API/Moon_Sun}:${execi 600  sed -n '18p' $HOME/2_Wunderground_API/Moon_Sun} \
${alignr}${color}Sunset ${color1}${execi 600  sed -n '21p' $HOME/2_Wunderground_API/Moon_Sun}:${execi 600  sed -n '23p' $HOME/2_Wunderground_API/Moon_Sun}${color}
${goto 4}± ${execi 600  sed -n '296p' $HOME/2_Wunderground_API/Hourly}\
${alignr}Vis ${execi 600  sed -n '117p' $HOME/2_Wunderground_API/Conditions} Km${color}
${goto 45}${execi 600  sed -n '49p' $HOME/2_Wunderground_API/Conditions}\
##--bloc heures##
${voffset 35}${goto 6}${execi 600 echo `date --date "2 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 62}${execi 600 echo `date --date "4 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 109}${execi 600 echo `date --date "6 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 154}${execi 600 echo `date --date "8 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 200}${execi 600 echo `date --date "10 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${voffset 15}${color8}${goto 6}${execi 600  sed -n '172p' $HOME/2_Wunderground_API/Hourly}°\
${goto 62}${execi 600  sed -n '406p' $HOME/2_Wunderground_API/Hourly}°\
${goto 109}${execi 600  sed -n '640p' $HOME/2_Wunderground_API/Hourly}°\
${goto 154}${execi 600  sed -n '874p' $HOME/2_Wunderground_API/Hourly}°\
${goto 200}${execi 600  sed -n '1108p' $HOME/2_Wunderground_API/Hourly}°\
${image $HOME/2_Wunderground_API/h2.png -p 5,237 -s 50x30}\
${image $HOME/2_Wunderground_API/h4.png -p 61,237 -s 50x30}\
${image $HOME/2_Wunderground_API/h6.png -p 107,237 -s 50x30}\
${image $HOME/2_Wunderground_API/h8.png -p 153,237 -s 50x30}\
${image $HOME/2_Wunderground_API/h10.png -p 198,237 -s 50x30}${color}\
##--bloc heures#

${voffset 52}${goto 15}${execi 600 echo `date --date "1 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 65}${execi 600 echo `date --date "2 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 115}${execi 600 echo `date --date "3 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 165}${execi 600 echo `date --date "4 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 215}${execi 600 echo `date --date "5 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${voffset 20}${color8}${goto 6}${execi 600  sed -n '145p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 66}${execi 600  sed -n '251p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 112}${execi 600  sed -n '357p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 162}${execi 600  sed -n '463p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 212}${execi 600  sed -n '569p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${image $HOME/2_Wunderground_API/d2.png -p 5,325 -s 50x30}\
${image $HOME/2_Wunderground_API/d3.png -p 61,325 -s 50x30}\
${image $HOME/2_Wunderground_API/d4.png -p 107,325 -s 50x30}\
${image $HOME/2_Wunderground_API/d5.png -p 156,325 -s 50x30}\
${image $HOME/2_Wunderground_API/d6.png -p 208,325 -s 50x30}\
${voffset 25}${color3}${goto 6}    ${execi 600  sed -n '150p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 66}    ${execi 600  sed -n '256p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 112}    ${execi 600  sed -n '362p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 162}   ${execi 600  sed -n '468p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 212}   ${execi 600  sed -n '574p' $HOME/2_Wunderground_API/Simple_Forecast}°${color}\
]];

I don't know why but the weather conditions are not displayed on the conky:
weather-wunderground.th.png

Last edited by ragamatrix (2018-05-24 07:14:20)

Offline

#2043 2018-05-24 05:41:17

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

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

The conkyrc you've posted uses the 1_accuweather script, can you please post the conky-wu-htc-v-10-hours conkyrc you seem to be using?
Also, please post your location.


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

#2044 2018-05-24 07:15:13

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

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

It's embarrassing...  :8 Sorry Teo, I've modified the previous post
Today I've launched it without the terminal, with the conky-manager-tool and it seems to work correctly.
You need the location link with the personal code?

Last edited by ragamatrix (2018-05-24 07:37:23)

Offline

#2045 2018-05-24 08:52:44

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

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

Well, no, if it's fixed then there's no reason to.


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

#2046 2018-06-17 09:10:21

ghorvath
Member
Registered: 2015-10-01
Posts: 161

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

I have a question regarding the 1)Accuweather - 1_11-11-17 script.

I put it to the lefthandside of my screen, and figured out that I should use

alignment = 'top_left',

instead of top_right. This is fine.

Now, on the righthandside of the conky instance, some kind of a shadowing or bordering is seen. This cannot be seen with the default bl-Helium configuration, where conky seems like it was part of the desktop background. I very much like this effect, and try to reproduce it with the weather conky, as well.

I thought that the following commands are somehow responsible for making the shadow/border kind of thing disappear, because the corresponding commands worked for conky 1.9 in bl-Hydrogen:

own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',

But apparently, even if I copy these instead of what is currently in the weather scripts, conky still produces the kind of shadow/border thing.

Any suggestions what I could try? Thanks.

Offline

#2047 2018-06-17 09:23:27

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

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

What's the default conkyrc file for bl-Helium where the border is exactly how you like it?
Check this thread as well.


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

#2048 2018-06-17 09:25:21

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

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

the whole .conkyrc would be helpful   wink

ops, Teo's already on the ball   lol

Last edited by unklar (2018-06-17 09:28:08)

Offline

#2049 2018-06-17 09:34:37

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

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

Hi there buddy 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

#2050 2018-06-17 09:48:27

ghorvath
Member
Registered: 2015-10-01
Posts: 161

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

This is what I like:

conky.config = {

--  Window Settings
    own_window = true,
    own_window_type = 'normal',
    own_window_transparent = true,
    own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
    own_window_colour = '000000',
    own_window_class = 'Conky',
    own_window_title = 'BunsenLabs Default Conky',

-- ARGB can be used for real transparency
--own_window_argb_visual = true, -- Options: true|false

-- NOTE that a composite manager is required for real transparency and ARGB will not
-- work as desired (in most cases) in conjunction with 'own_window_type override'.
-- Use with: own_window_type = 'normal',
-- Use with: own_window_transparent = false,

-- When ARGB visuals are enabled, use the following to modify the alpha value. Valid
-- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--own_window_argb_value = 150,

    minimum_width = 200, minimum_height = 0,-- width | height
    maximum_width = 200,

    gap_x = 20,-- left | right
    gap_y = 45,-- up | down

    alignment = 'top_right',
--  End Window Settings


--  Font Settings
-- Use Xft (anti-aliased font and stuff)
    use_xft = true,

--font = 'Liberation Mono:bold:size=10',
--font = 'Liberation Sans:size=10',
    font = 'Sans-serif:size=10',

-- Alpha of Xft font. Must be a value at or between 1 and 0
    xftalpha = 1,

-- Force UTF8? requires XFT
    override_utf8_locale = true,

    uppercase = false,
--  End Font Settings


--  Color Settings
    draw_shades = false,
    default_shade_color = '000000',

    draw_outline = false,-- amplifies text if true
    default_outline_color = '000000',

    default_color = '678b8b', -- Beam green
--default_color = '656667', -- Waldorf original colour
--default_color = '7a7a7a', -- Flame  & BunsenLabs Grey
--default_color = '929292', -- BunsenLabs Grey
--default_color = 'C0C0C0', -- BunsenLabs Silver
    color0 = 'B0E0E6',-- PowderBlue
    color1 = '778899',-- LightSlateGray
    color2 = 'D8BFD8',-- Thistle
    color3 = '9ACD32',-- YellowGreen
    color4 = 'FFA07A',-- LightSalmon
    color5 = 'FFDEAD',-- NavajoWhite
    color6 = '00BFFF',-- DeepSkyBlue
    color7 = '5F9EA0',-- CadetBlue
    color8 = 'BDB76B',-- DarkKhaki
    color9 = 'C0C0C0',-- Silver
--  End Color Settings


--  Borders Section
    draw_borders = false,
-- Stippled borders?
    stippled_borders = 5,
-- border margins
    border_inner_margin = 5,
    border_outer_margin = 0,
-- border width
    border_width = 2,
-- graph borders
    draw_graph_borders = false,
--default_graph_height = 15,
--default_graph_width = 40,
--  End Borders Section


--  Miscellaneous Section
-- Boolean value, if true, Conky will be forked to background when started.
    background = true,

-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
    use_spacer = 'none',

-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size = 6144,

-- Subtract (file system) buffers from used memory?
    no_buffers = true,

-- change GiB to G and MiB to M
    short_units = true,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
    imlib_cache_size = 0,

-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
    double_buffer = true,

-- Maximum size of user text buffer, i.e. layout below TEXT line in config file
-- (default is 16384 bytes)
--max_user_text = 16384,

-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
--temperature_unit = 'Fahrenheit',

-- Update interval in seconds
    update_interval = 3,
    update_interval_on_battery = 6
    
--  End Miscellaneous Section
};

With conky 1.9 the following did the trick:

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky

Offline

#2051 2018-06-17 10:14:03

ghorvath
Member
Registered: 2015-10-01
Posts: 161

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

Ah, ok, I figured it out. The following changes are needed:

own_window_type = 'normal'
own_window_class = 'Conky'

The other settings of the original weather script can be used without any changes, and then this does the trick.

Offline

#2052 2018-06-17 13:32:13

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, good to know you've made it ghorvath.


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

#2053 2018-06-19 17:50:11

garpu
Member
Registered: 2018-06-19
Posts: 10

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

So I've been having some issues with Wunderground being unreliable (not loading weather data every 2-3 updates, so I thought I was over my allotted calls.)  I noticed this message here:

To improve our services and enhance our relationship with our users, we will no longer provide free weather API keys as part of our program. If you have been directed to download our Weather Underground free API key by a third party provider, please contact your vendor for resolution.

Offline

#2054 2018-06-19 19:05:29

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

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

I have already referred here to this unreliability of the data transmitted (mrpeachy's WUN).
It is the same API key.

The statement you quoted I evaluate that it only affects NEW keys.
I assume, however, that the end has been rung in.   8o

Offline

#2055 2018-06-19 19:28:14

garpu
Member
Registered: 2018-06-19
Posts: 10

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

unklar wrote:

I have already referred here to this unreliability of the data transmitted (mrpeachy's WUN).
It is the same API key.

The statement you quoted I evaluate that it only affects NEW keys.
I assume, however, that the end has been rung in.   8o

Yeah, I switched to NWS scripts. I do need to hack up something to give me a satellite image, though.

Offline

#2056 2018-06-19 21:00:53

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

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

Try using the following key:

d8585d80376a429e

It should work for all users.


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

#2057 2018-06-20 12:51:32

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

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

I don't think it has anything to do with that key, Teo. neutral

The big advantage of the Wundergroung API so far was that I could select PWS (personal weather station). This made the weather forecast as nearh from my location possible as it was not the case otherwise

pws:ILICHTEN11 I used for many years. But this station did not offer any wind data and I had to change.
pws:IDEUTSCH6 much with the redesign of the website away and with
pws:ILUGAUER3 I don't get continuously reliable data because the evening changes to Kalovy Vary or Altenburg-Nobitz (EDAC).
Besides, 80 - 100km distance does not make sense.

Now I have
pws:IMLSEN8 discovers. Let's see what it looks like.   big_smile

Last edited by unklar (2018-06-20 12:52:39)

Offline

#2058 2018-06-21 18:05:24

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

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

At the end of the day though, since WU aren't issuing new API keys, the script needs to be updated or withdrawn.
Stay tuned guys.

Last edited by TeoBigusGeekus (2018-06-21 20:11:16)


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

#2059 2018-06-21 20:24:51

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

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

Can I get some testers to check the 2_WUnderground script with the fixed API key?
ie:

#!/bin/bash

#put your hemisphere here: n for north, s for south
hemisphere=n

#put your Weather Underground address API here
address="http://api.wunderground.com/api/d8585d80376a429e/conditions/forecast10day/astronomy/hourly/satellite/q/Greece/kastoria.json"

wun_icon_to_png () {
    if [[ $1 == day ]]; then
        case $2 in
            chanceflurries)
                echo 21
            ;;
            chancerain)
                echo 14
            ;;
            chancesleet)
                echo 26
            ;;
            chancesnow)
                echo 20
            ;;
            chancetstorms)
                echo 17
            ;;
            clear)
                echo 1
            ;;
            cloudy)
                echo 7
            ;;
            flurries)
                echo 21
            ;;
            fog)
                echo 11
            ;;
            hazy)
                echo 5
            ;;
            mostlycloudy)
                echo 6
            ;;
            mostlysunny)
                echo 4
            ;;
            partlycloudy)
                echo 4
            ;;
            partlysunny)
                echo 6
            ;;
            sleet)
                echo 26
            ;;
            rain)
                echo 18
            ;;
            snow)
                echo 22
            ;;
            sunny)
                echo 1
            ;;
            tstorms)
                echo 15
            ;;
            unknown)
                echo 0
            ;;
        esac
    elif [[ $1 == night ]]; then
        case $2 in
            chanceflurries)
                echo 43
            ;;
            chancerain)
                echo 39
            ;;
            chancesleet)
                echo 40
            ;;
            chancesnow)
                echo 43
            ;;
            chancetstorms)
                echo 41
            ;;
            clear)
                echo 33
            ;;
            cloudy)
                echo 38
            ;;
            flurries)
                echo 43
            ;;
            fog)
                echo 11
            ;;
            hazy)
                echo 37
            ;;
            mostlycloudy)
                echo 36
            ;;
            mostlysunny)
                echo 35
            ;;
            partlycloudy)
                echo 35
            ;;
            partlysunny)
                echo 36
            ;;
            sleet)
                echo 40
            ;;
            rain)
                echo 40
            ;;
            snow)
                echo 44
            ;;
            sunny)
                echo 33
            ;;
            tstorms)
                echo 41
            ;;
            unknown)
                echo 0
            ;;
        esac
    fi
    }

rm $HOME/2_Wunderground_API/*.png

kill -STOP $(pidof conky)

wget -O $HOME/2_Wunderground_API/raw_data $address

#Conditions feature
sed -n '/,	"current_observation": {/,/,	"satellite": {/p' $HOME/2_Wunderground_API/raw_data > $HOME/2_Wunderground_API/Conditions
sed -i 's/^[ \t]*"//g' $HOME/2_Wunderground_API/Conditions
sed -i '/current_observation\|image":\|logo_\|title":\|link":\|^[ \t]*},$\|^[ \t]*}$\|temperature_string\|forecast_url\|history_url\|ob_url\|satellite":/d' $HOME/2_Wunderground_API/Conditions
sed -i -e 's/":"/\n/g' -e 's/",\|": {$//g' -e 's/"precip_1hr_string/\nprecip_1hr_string/g' -e 's/":/\n/g' -e 's/,$//g' $HOME/2_Wunderground_API/Conditions
sed -i -e 's/^http.*\/c\/k\///g' -e '/gif/s/_.*$//g' $HOME/2_Wunderground_API/Conditions
day_or_night=$(sed -n 137p $HOME/2_Wunderground_API/Conditions)
if [[ $day_or_night == nt ]]; then
	cp $HOME/2_Wunderground_API/Forecast_Images/$(wun_icon_to_png night $(sed -n 135p $HOME/2_Wunderground_API/Conditions)).png $HOME/2_Wunderground_API/Now.png
else 
	cp $HOME/2_Wunderground_API/Forecast_Images/$(wun_icon_to_png day $(sed -n 135p $HOME/2_Wunderground_API/Conditions)).png $HOME/2_Wunderground_API/Now.png
fi

#Satellite feature, commented out by default, uncomment if you wish so
#sed -n '/,	"satellite": {/,/"forecast":{/p' $HOME/2_Wunderground_API/raw_data > $HOME/2_Wunderground_API/Satellite
#sed -i 's/^[ \t]*"//g' $HOME/2_Wunderground_API/Satellite
#sed -i -e '/image/!d' -e 's/^.*": "//g' -e 's/".*$//g' $HOME/2_Wunderground_API/Satellite
#for (( i=1; i<=3; i++ ))
#	  do
#          wget -O $HOME/2_Wunderground_API/sat_pic$i.png $(sed -n ${i}p $HOME/2_Wunderground_API/Satellite)
#	  done

#Forecast feature: Forecast
sed -n '/"forecast":{/,/"simpleforecast": {/p' $HOME/2_Wunderground_API/raw_data > $HOME/2_Wunderground_API/Forecast
sed -i -e '/"period":\|icon_url/d' $HOME/2_Wunderground_API/Forecast
sed -i 's/^[ \t]*"//g' $HOME/2_Wunderground_API/Forecast
sed -i -e '/period\|icon\|title\|fcttext/!d' -e 's/":"/\n/g' -e 's/":/\n/g' -e 's/",//g' -e 's/,$//g' -e 's/nt_//g' $HOME/2_Wunderground_API/Forecast

#Forecast feature: Simple Forecast
sed -n '/"simpleforecast": {/,/"hourly_forecast": \[/p' $HOME/2_Wunderground_API/raw_data > $HOME/2_Wunderground_API/Simple_Forecast
sed -i 's/^[ \t]*"//g' $HOME/2_Wunderground_API/Simple_Forecast
sed -i '/hourly_forecast\|simpleforecast\|forecastday\|{"date"\|period\|icon_url\|^[ \t]*},$\|^[ \t]*}$\|^[ \t]*,$\|^[ \t]*\]$/d' $HOME/2_Wunderground_API/Simple_Forecast
sed -i -e 's/":"/\n/g' -e 's/":/\n/g' -e 's/",$//g' -e 's/,$//g' -e 's/"$//g' $HOME/2_Wunderground_API/Simple_Forecast
sed -i '/^[ \t]*{/d' $HOME/2_Wunderground_API/Simple_Forecast
sed -i -e 's/^[ \t]*"//g' -e 's/^[ \t]*//g' $HOME/2_Wunderground_API/Simple_Forecast
for (( i=2; i<=146; i+=16 ))
    do
        cp $HOME/2_Wunderground_API/Forecast_Images/$(wun_icon_to_png day $(sed -n ${i}p $HOME/2_Wunderground_API/Forecast)).png $HOME/2_Wunderground_API/d$(( 1+(i-2)/16 )).png
        j=$(( i+8 ))
        cp $HOME/2_Wunderground_API/Forecast_Images/$(wun_icon_to_png night $(sed -n ${j}p $HOME/2_Wunderground_API/Forecast)).png $HOME/2_Wunderground_API/n$(( 1+(i-2)/16 )).png
    done

#Forecast feature: Hourly
sed -n '/"hourly_forecast": \[/,/"moon_phase": {/p' $HOME/2_Wunderground_API/raw_data > $HOME/2_Wunderground_API/Hourly
sed -i -e 's/^[ \t]*"//g' -e 's/^[ \t]*//g' $HOME/2_Wunderground_API/Hourly
sed -i '/hourly_forecast\|FCTTIME\|^{$\|^},$\|^}$\|^,$\|^]$\|moon_phase/d' $HOME/2_Wunderground_API/Hourly
sed -i -e 's/": /\n/g' -e 's/","/\n/g' -e 's/", "/\n/g' $HOME/2_Wunderground_API/Hourly
sed -i -e 's/^""//g' -e 's/^"//g' -e 's/^{"//g' -e 's/"},$//g' -e 's/",$//g' $HOME/2_Wunderground_API/Hourly 
sed -i -e 's/^},//g' -e 's/"}$//g' -e 's/^,//g' $HOME/2_Wunderground_API/Hourly
sed -i -e 's/^icon_url.*\/c\/k\///g' -e '/gif/s/_.*$//g' $HOME/2_Wunderground_API/Hourly
sed -i -e '/min_unpadded\|UTCDATE/,+1d' $HOME/2_Wunderground_API/Hourly
for (( i=64; i<=4212; i+=117 ))
    do
		j=$(( i+1 ))
		day_or_night=$(sed -n ${j}p $HOME/2_Wunderground_API/Hourly)
		if [[ $day_or_night == nt ]]; then
			cp $HOME/2_Wunderground_API/Forecast_Images/$(wun_icon_to_png night $(sed -n ${i}p $HOME/2_Wunderground_API/Hourly)).png $HOME/2_Wunderground_API/h$(( 1+(i-64)/117 )).png
		else 
			cp $HOME/2_Wunderground_API/Forecast_Images/$(wun_icon_to_png day $(sed -n ${i}p $HOME/2_Wunderground_API/Hourly)).png $HOME/2_Wunderground_API/h$(( 1+(i-64)/117 )).png
		fi
    done
    
#Forecast feature: Moon_Sun
sed -n '/"moon_phase": {/,/"sun_phase": {/p' $HOME/2_Wunderground_API/raw_data > $HOME/2_Wunderground_API/Moon_Sun
sed -i 's/^[ \t]*"//g' $HOME/2_Wunderground_API/Moon_Sun
sed -i '/moon_phase\|^[ \t]*},$\|sun_phase\|^[ \t]*}$/d' $HOME/2_Wunderground_API/Moon_Sun
sed -i -e 's/":"/\n/g' -e 's/".*$//g' $HOME/2_Wunderground_API/Moon_Sun
moon_phase=$(sed -n 6p $HOME/2_Wunderground_API/Moon_Sun)
if [[ $moon_phase == "Waning Crescent" ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"21.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase == "Waxing Crescent" ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"04.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase == "Waning Gibbous" ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"17.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase == "Waxing Gibbous" ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"09.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase == "First Quarter" ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"07.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase == "Last Quarter" ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"19.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase =~ New.* ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"24.png" $HOME/2_Wunderground_API/Moon_phase.png
elif [[ $moon_phase =~ Full.* ]]; then
	cp $HOME/2_Wunderground_API/moonicons/$hemisphere"13.png" $HOME/2_Wunderground_API/Moon_phase.png
fi

kill -CONT $(pidof conky)

I can't quite be sure that this key is independent of calls for all users by checking it all by my own.
Any help would be appreciated.


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

#2060 2018-06-21 22:23:18

garpu
Member
Registered: 2018-06-19
Posts: 10

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

So far so good for me.  (Am using a modified conkyrc2.)  Want me to keep using it for a few days?

Offline

Board footer

Powered by FluxBB