You are not logged in.
address="http://www.accuweather.com/en/it/gorlago/2277856/weather-forecast/2277856"
call me the wife for dinner we feel, thank you
Offline
Yes, that's the address I've used as well.
Try running the script again and see whether it was a temporary glitch.
If the wrong temps are repeated, please post your script in its entirety.
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
Good morning,
here I am here again,to disturb,after updating to the latest version conky1.10
I re-run the scritp,restarting the conky downgrade at 1.9 seems to work it all.
@teo thank you
Last edited by ector1935 (2017-10-23 13:02:50)
Offline
Well, glad to know it's OK for you, though we didn't find the cause of the problem
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
Hi teo,
if you tell me what to do, see why it does not update the weather, now I have installed the latest version of conky and i converted the conky weather.
then 1_accuweather is in the home and in his folder, like all other scripts, I have installed conky-chooser and start the conky-meteo and the conky-sat, both boot up.
here is the weather conky:
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
no_buffers = true,
background = yes,
-- fiddle with window
use_spacer = 'none',
use_xft = true,
-- Update interval in seconds
update_interval = 3,
-- Minimum size of text area
minimum_width = 330, minimum_height = 330,
maximum_width = 330,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
default_shade_color = 'black',
draw_outline = false,
default_outline_color = 'black',
-- Text stuff
draw_outline = true,-- amplifies text if yes
draw_borders = false,
border_outer_margin = 0,
draw_graph_borders = yes,
-- font freesans -12
-- font = 'Arial:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
use_xft = true,
xftalpha = 1,
font = "Fira Mono:bold:size=10",
text_buffer_size = 256,
-- minimum_size = "10",
-- Stippled borders?
stippled_borders = 3,
-- border margins
border_inner_margin = 5,
-- border width
border_width = 2,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
own_window_colour = 'black',
-- Text alignment, other possible values are commented
alignment = 'top_left',
-- Gap between borders of screen and text
gap_x = 10,
gap_y = 30,
imlib_cache_size = 3,
-- text_buffer_size = 4096,
short_units = true,
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${image /home/ettore/1_accuweather/80s_Sunset.png -p 66,0 -s 170x170}\
${font Kenyan Coffee:size=50}${color3}${alignc}${time %H:%M}${color}${font}
${font Shimes One PERSONAL USE:size=70}${color6}${alignc}${time %A}${font}
${font Kenyan Coffee:size=20}${color3}${alignc}${time %d %b %y}${color}${font}
${color3}Booted @${color} ${exec who -b | cut -c23-}${alignr}${color3}Up:${color} ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}
${color1}${swapbar 0}${color}
${color5}${alignc}TEMPS
${goto 18}${color3}CPU${color} ${acpitemp}°\
${goto 93}${color3}M|B${color} ${execpi 5 sensors acpitz-virtual-0 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°\
${goto 165}${color3}SDA${color} ${hddtemp /dev/sda}°\
${goto 240}${color3}GPU${color}${hwmon 1 temp 1}°
${color1}${swapbar 0}${color}
${alignc}${color5}Intel Core i7-3630QM ${color3}Avg${color} ${if_match ${cpu cpu0} < 10}${cpu cpu0}\
${else}${if_match ${cpu cpu0} < 100} ${cpu cpu0}\
${else}${color}${cpu cpu0}${color}${endif}${endif}%
${color3}CPU ${color0} %${color} MHz${alignr 5}${color3}${goto 190}CPU ${color0}%${color} MHz
${goto 17}${color3}1${color0} \
${if_match ${cpu cpu1} < 10} ${cpu cpu1}\
${else}${if_match ${cpu cpu1} < 100} ${cpu cpu1}\
${else}${color9}${cpu cpu1}${color}${endif}${endif}\
${goto 100}${color}${freq 1}${goto 200}${color3}5${goto 222}${color0}${if_match ${cpu cpu5} < 10} ${cpu cpu5}\
${else}${if_match ${cpu cpu5} < 100} ${cpu cpu5}\
${else}${color9}${cpu cpu5}${color}${endif}${endif}\
${alignr 2}${color}${freq 5}
${goto 17}${color3}2${color0} \
${if_match ${cpu cpu2} < 10} ${cpu cpu2}\
${else}${if_match ${cpu cpu2} < 100} ${cpu cpu2}\
${else}${color9}${cpu cpu2}${color}${endif}${endif}\
${goto 100}${color}${freq 2}${goto 200}${color3}6${goto 222}${color0}${if_match ${cpu cpu6} < 10} ${cpu cpu6}\
${else}${if_match ${cpu cpu6} < 100} ${cpu cpu6}\
${else}${color9}${cpu cpu6}${color}${endif}${endif}\
${alignr 2}${color}${freq 6}
${goto 17}${color3}3${color0} \
${if_match ${cpu cpu3} < 10} ${cpu cpu3}\
${else}${if_match ${cpu cpu3} < 100} ${cpu cpu3}\
${else}${color9}${cpu cpu3}${color}${endif}${endif}\
${goto 100}${color}${freq 3}${goto 200}${color3}7${goto 222}${color0}${if_match ${cpu cpu7} < 10} ${cpu cpu7}\
${else}${if_match ${cpu cpu7} < 100} ${cpu cpu7}\
${else}${color9}${cpu cpu7}${color}${endif}${endif}\
${alignr 2}${color}${freq 7}
${goto 17}${color3}4${color0} \
${if_match ${cpu cpu4} < 10} ${cpu cpu4}\
${else}${if_match ${cpu cpu4} < 100} ${cpu cpu4}\
${else}${color9}${cpu cpu4}${color}${endif}${endif}\
${goto 100}${color}${freq 4}${goto 200}${color0}8${goto 222}${color0}${if_match ${cpu cpu8} < 10} ${cpu cpu8}\
${else}${if_match ${cpu cpu8} < 100} ${cpu cpu8}\
${else}${color9}${cpu cpu8}${color}${endif}${endif}\
${alignr 2}${color}${freq 8}
#${alignc}${color5}CPU Fan${color} ${platform f71882fg.2560 fan 1} ${color3}RPM
${color1}${swapbar 0}${color}
${alignc}${color3}Memory${color} Using:${color3} ${mem} of ${memmax}
${color1}${swapbar 0}${color}
S.T.${goto 118}Currently:${alignr}Temp\
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}
${image $HOME/1_accuweather/forecast_2016/forecast_0.png -p 23,435 -s 250x252}\
${font Fira Mono:size=30}±${execi 300 sed -n '3p' ~/1_accuweather/curr_cond}\
${alignr}${execi 300 sed -n '2p' ~/1_accuweather/curr_cond}${font}
UVI: ${execi 300 sed -n '9p' ~/1_accuweather/curr_cond}/11\
${alignr}${execi 300 sed -n '8p' ~/1_accuweather/curr_cond}:Bar
Wind: ${execi 300 sed -n '5p' ~/1_accuweather/curr_cond} ${execi 300 sed -n '6p' ~/1_accuweather/curr_cond}\
${alignr}${execi 300 sed -n '7p' ~/1_accuweather/curr_cond} :Hum
Cld: ${execi 300 sed -n '10p' ~/1_accuweather/curr_cond}\
${alignr}${execi 300 sed -n '13p' ~/1_accuweather/curr_cond} :Vis
${texeci 500 bash $HOME/4_Moon/moon_MoonGiant}
${image ~/4_Moon/0.png -p 100,660}
${alignc}${swapbar 0,50} Current Moon & Forecast ${swapbar 0,50}
${color5}${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}\
${alignr}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`} ${color}
${image $HOME/1_accuweather/forecast_2016/forecast_1.png -p 10,670 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_2.png -p 270,670 -s 45x45}\
${if_match "${execpi 300 sed -n '1p' /home/ettore/1_accuweather/first_days}" == "Lo"}\
${else}${execpi 300 sed -n '3p' /home/ettore/1_accuweather/first_days}${endif}\
${alignr}${goto 260}${execi 300 sed -n '8p' ~/1_accuweather/first_days}
${goto 65}${if_match "${execpi 300 sed -n '3p' /home/ettore/1_accuweather/first_days}" == "Lo"}\
${execpi 300 sed -n '4p' /home/ettore/1_accuweather/first_days}\
${alignr https://forums.bunsenlabs.org/edit.php?id=48496#}${goto 322}${execi 300 sed -n '9p' ~/1_accuweather/first_days}
${color5}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
${alignr}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}${color}
${image $HOME/1_accuweather/forecast_2016/forecast_3.png -p 10,735 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_4.png -p 258,735 -s 45x45}\
${execi 300 sed -n '13p' ~/1_accuweather/first_days}\
${alignr 55}${goto 250}${execi 300 sed -n '18p' ~/1_accuweather/first_days}
${goto 63}${execi 300 sed -n '14p' ~/1_accuweather/first_days}\
${alignr}${execi 300 sed -n '19p' ~/1_accuweather/first_days}
${execi 600 sed -n '5p' $HOME/1_accuweather/hourly1}\
${goto 75}${execi 600 sed -n '9p' $HOME/1_accuweather/hourly1}\
${goto 135}${execi 600 sed -n '13p' $HOME/1_accuweather/hourly1}\
${goto 195}${execi 600 sed -n '17p' $HOME/1_accuweather/hourly1}\
${goto 260}${execi 600 sed -n '5p' $HOME/1_accuweather/hourly2}
${color8}${execi 600 sed -n '8p' $HOME/1_accuweather/first_days}°\
${goto 77}${execi 600 sed -n '30p' $HOME/1_accuweather/hourly1}°\
${goto 137}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
${goto 199}${execi 600 sed -n '34p' $HOME/1_accuweather/hourly1}°\
${goto 264}${execi 600 sed -n '36p' $HOME/1_accuweather/hourly2}°\
${image $HOME/1_accuweather/hourly_2016/hourly_2.png -p 7,820 -s 45x45}\
${image $HOME/1_accuweather/hourly_2016/hourly_4.png -p 77,820 -s 45x45}\
${image $HOME/1_accuweather/hourly_2016/hourly_6.png -p 137,820 -s 45x45}\
${image $HOME/1_accuweather/hourly_2016/hourly_8.png -p 197,820 -s 45x45}\
${image $HOME/1_accuweather/hourly_2016/hourly_10.png -p 252,820 -s 45x45}${color}
${voffset -30}
]];
here the accuweather:
#!/bin/bash
#function: test_image
test_image () {
case $1 in
1)
echo a
;;
2|3)
echo b
;;
4|5)
echo c
;;
6)
echo d
;;
7)
echo e
;;
8)
echo f
;;
11)
echo 0
;;
12)
echo h
;;
13|14)
echo g
;;
15)
echo m
;;
16|17)
echo k
;;
18)
echo i
;;
19)
echo q
;;
20|21|23)
echo o
;;
22)
echo r
;;
24|31)
echo E
;;
25)
echo v
;;
26)
echo x
;;
29)
echo y
;;
30)
echo 5
;;
32)
echo 6
;;
33)
echo A
;;
34|35)
echo B
;;
36|37)
echo C
;;
38)
echo D
;;
39|40)
echo G
;;
41|42)
echo K
;;
43|44)
echo O
;;
*)
echo -
;;
esac
}
############################
# Check the user arguments #
############################
if (( $# < 1 || $# > 4 )); then
echo "Invalid arguments!"
exit
fi
forecast0=0
forecast2015=0
forecast2016=0
hourly0=0
hourly2015=0
hourly2016=0
for i in $*
do
if [[ $i != -f && $i != -f2015 && $i != -f2016 && $i != -h && $i != -h2015 && $i != -h2016 ]]; then
echo "Invalid arguments!"
exit
fi
case $i in
-f)
forecast0=1
;;
-f2015)
forecast2015=1
;;
-f2016)
forecast2016=1
;;
-h)
hourly0=1
;;
-h2015)
hourly2015=1
;;
-h2016)
hourly2016=1
;;
esac
done
if [[ $forecast0 == 1 ]]; then
forecast2015=0
forecast2016=0
fi
if [[ $hourly0 == 1 ]]; then
hourly2015=0
hourly2016=0
fi
#Put your Accuweather address here
#address="http://www.accuweather.com/en/ar/buenos-aires/7894/weather-forecast/7894"
#address="http://www.accuweather.com/en/jp/tokyo/226396/weather-forecast/226396"
#address="http://www.accuweather.com/en/gr/kastoria/178682/weather-forecast/178682"
address="http://www.accuweather.com/en/it/gorlago/2277856/weather-forecast/2277856"
last_number=$(echo $address|sed 's/^.*\///')
#############################################################
# NORMAL FORECAST: -f, -f2015 or -f2016 passed as arguments #
#############################################################
if [[ $forecast0 == 1 || $forecast2015 == 1 || $forecast2016 == 1 ]]; then
#function: convert_time
convert_time ()
{
hours=$(echo $1|awk -F ":| " '{print $1}')
minutes=$(echo $1|awk -F ":| " '{print $2}')
am_or_pm=$(echo $1|awk -F ":| " '{print $3}')
if [[ $am_or_pm == AM ]]; then
if (( $hours < 10 )); then
hours_24=0$hours
fi
if (( $hours == 10 || $hours == 11 )); then
hours_24=$hours
fi
if (( $hours == 12 )); then
hours_24=00
fi
elif [[ $am_or_pm == PM ]]; then
if (( $hours != 12 )); then
hours_24=$((hours+12))
fi
if (( $hours == 12 )); then
hours_24=12
fi
fi
time_24=$hours_24:$minutes
echo $time_24
}
#function: test_wind
test_wind () {
case $1 in
CLM)
echo -
;;
S)
echo 1
;;
SSW)
echo 2
;;
SW)
echo 3
;;
WSW)
echo 4
;;
W)
echo 5
;;
WNW)
echo 6
;;
NW)
echo 7
;;
NNW)
echo 8
;;
N)
echo 9
;;
NNE)
echo :
;;
NE)
echo ;
;;
ENE)
echo \<
;;
E)
echo =
;;
ESE)
echo \>
;;
SE)
echo ?
;;
SSE)
echo @
;;
esac
}
kill -STOP $(pidof conky)
curr_addr="$(echo $address|sed 's/weather-forecast.*$//')"current-weather/"$last_number"
wget -O $HOME/1_accuweather/curr_cond_raw "$curr_addr"
addr1="$(echo $address|sed 's/weather-forecast.*$//')"daily-weather-forecast/"$last_number"
wget -O $HOME/1_accuweather/first_days_raw "$addr1"
addr2="$addr1"?day=6
wget -O $HOME/1_accuweather/last_days_raw "$addr2"
if [[ $forecast2015 == 1 ]]; then
rm $HOME/1_accuweather/forecast_2015/forecast_*.png
fi
if [[ $forecast2016 == 1 ]]; then
rm $HOME/1_accuweather/forecast_2016/forecast_*.png
fi
#current conditions
if [[ -s $HOME/1_accuweather/curr_cond_raw ]]; then
sed -i '/detail-now/,/Astronomy <span class/!d' $HOME/1_accuweather/curr_cond_raw
egrep -i '"cond"|icon i-|large-temp|small-temp|wind-point|"wind"><strong>|Humidity|Pressure|UV Index|Cloud Cover|Ceiling|Dew Point|Visibility|Duration|Sunrise:|Sunset:|Moonrise:|Moonset:' $HOME/1_accuweather/curr_cond_raw > $HOME/1_accuweather/curr_cond
sed -i -e 's/^.*<strong>//g' -e 's/^.*<span>//g' -e 's/^.*icon i-//g' -e 's/^.*large-temp">//g' -e 's/^.*<\/em> //g' -e 's/^.*"cond">//g' -e 's/^.*wind-point //g' $HOME/1_accuweather/curr_cond
sed -i -e 's/">.*$//g' -e 's/°.*$//g' -e 's/<\/span>.*$//g' -e 's/&#.*$//g' -e 's/ &darr.*$//g' -e 's/ &uarr.*$//g' -e 's/<\/strong>.*$//g' $HOME/1_accuweather/curr_cond
sed -i '1s/-.*$//' $HOME/1_accuweather/curr_cond
image=$(sed -n 1p $HOME/1_accuweather/curr_cond)
echo $(test_image $image) >> $HOME/1_accuweather/curr_cond
sunrise_time=$(sed -n 14p $HOME/1_accuweather/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
sunrise_time=$(sed -n 15p $HOME/1_accuweather/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
sunrise_time=$(sed -n 18p $HOME/1_accuweather/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
sunrise_time=$(sed -n 19p $HOME/1_accuweather/curr_cond)
echo $(convert_time "$sunrise_time") >> $HOME/1_accuweather/curr_cond
wind=$(sed -n 5p $HOME/1_accuweather/curr_cond)
echo $(test_wind $wind) >> $HOME/1_accuweather/curr_cond
if (( $(sed -n 14p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
sed -i '14s/^/0/' $HOME/1_accuweather/curr_cond
fi
if (( $(sed -n 15p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
sed -i '15s/^/0/' $HOME/1_accuweather/curr_cond
fi
if (( $(sed -n 18p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
sed -i '18s/^/0/' $HOME/1_accuweather/curr_cond
fi
if (( $(sed -n 19p /$HOME/1_accuweather/curr_cond|wc -c) == 8 )); then
sed -i '19s/^/0/' $HOME/1_accuweather/curr_cond
fi
if [[ $forecast2015 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n 1p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2015/forecast_0.png
cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n 5p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2015/wind_0.png
fi
if [[ $forecast2016 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n 1p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2016/forecast_0.png
cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n 5p $HOME/1_accuweather/curr_cond).png $HOME/1_accuweather/forecast_2016/wind_0.png
fi
fi
#First 5 days
if [[ -s $HOME/1_accuweather/first_days_raw ]]; then
sed -i '/.feed-controls/,/\.feed-tabs/!d' $HOME/1_accuweather/first_days_raw
egrep -i 'href="#"|icon i-|"large-temp"|"small-temp"|temp-label|"cond"' $HOME/1_accuweather/first_days_raw > $HOME/1_accuweather/first_days
sed -i -e '/icon/s/-. //g' -e 's/^.*icon i-//g' -e 's/^.*large-temp">//g' -e 's/^.*small-temp">\///g' -e 's/^.*"cond">//g' -e 's/^.*href="#">//g' -e 's/^.*"temp-label tonight ">//g' -e 's/^.*"temp-label tonight selected">//g' $HOME/1_accuweather/first_days
sed -i -e 's/°.*$//g' -e 's/<\/a>.*$//g' -e 's/<\/span>.*$//g' -e 's/">.*$//g' $HOME/1_accuweather/first_days
sed -i -e 's/Mon$/MONDAY/' -e 's/Tue$/TUESDAY/' -e 's/Wed$/WEDNESDAY/' -e 's/Thu$/THURSDAY/' -e 's/Fri$/FRIDAY/' -e 's/Sat$/SATURDAY/' -e 's/Sun$/SUNDAY/' -e 's/Today$/TODAY/' -e 's/Tonight$/TONIGHT/' -e 's/Early AM/EARLY AM/' $HOME/1_accuweather/first_days
for (( i=2; i<=22; i+=5 ))
do
image=$(sed -n "${i}"p $HOME/1_accuweather/first_days)
echo $(test_image $image) >> $HOME/1_accuweather/first_days
done
if [[ $forecast0 == 0 ]]; then
j=1
for (( i=2; i<=22; i+=5 ))
do
if [[ $forecast2015 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/first_days).png $HOME/1_accuweather/forecast_2015/forecast_$j.png
fi
if [[ $forecast2016 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/first_days).png $HOME/1_accuweather/forecast_2016/forecast_$j.png
fi
((j++))
done
fi
fi
#Next 5 days
if [[ -s $HOME/1_accuweather/last_days_raw ]]; then
sed -i '/.feed-controls/,/\.feed-tabs/!d' $HOME/1_accuweather/last_days_raw
egrep -i 'href="#"|icon i-|large-temp|small-temp|temp-label|"cond"' $HOME/1_accuweather/last_days_raw > $HOME/1_accuweather/last_days
sed -i -e '/icon/s/-. //g' -e 's/^.*icon i-//g' -e 's/^.*large-temp">//g' -e 's/^.*small-temp">\///g' -e 's/^.*"cond">//g' -e 's/^.*href="#">//g' -e 's/^.*"temp-label tonight ">//g' $HOME/1_accuweather/last_days
sed -i -e 's/°.*$//g' -e 's/<\/a>.*$//g' -e 's/<\/span>.*$//g' -e 's/">.*$//g' $HOME/1_accuweather/last_days
sed -i -e 's/Mon$/MONDAY/' -e 's/Tue$/TUESDAY/' -e 's/Wed$/WEDNESDAY/' -e 's/Thu$/THURSDAY/' -e 's/Fri$/FRIDAY/' -e 's/Sat$/SATURDAY/' -e 's/Sun$/SUNDAY/' $HOME/1_accuweather/last_days
for (( i=2; i<=22; i+=5 ))
do
image=$(sed -n "${i}"p $HOME/1_accuweather/last_days)
echo $(test_image $image) >> $HOME/1_accuweather/last_days
done
if [[ $forecast0 == 0 ]]; then
j=6
for (( i=2; i<=22; i+=5 ))
do
if [[ $forecast2015 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/last_days).png $HOME/1_accuweather/forecast_2015/forecast_$j.png
fi
if [[ $forecast2016 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/last_days).png $HOME/1_accuweather/forecast_2016/forecast_$j.png
fi
((j++))
done
fi
fi
if [[ $hourly0 != 1 && $hourly2015 != 1 && $hourly2016 != 1 ]]; then
kill -CONT $(pidof conky)
fi
fi
#############################################################
# HOURLY FORECAST: -h, -h2015 or -h2016 passed as arguments #
#############################################################
if [[ $hourly0 == 1 || $hourly2015 == 1 || $hourly2016 == 1 ]]; then
#Hourly: First 8h
if [[ $forecast0 != 1 && $forecast2015 != 1 && $forecast2016 != 1 ]]; then
kill -STOP $(pidof conky)
fi
if [[ $hourly2015 == 1 ]]; then
rm $HOME/1_accuweather/hourly_2015/hourly_*.png
fi
if [[ $hourly2016 == 1 ]]; then
rm $HOME/1_accuweather/hourly_2016/hourly_*.png
fi
hourly_addr1="$(echo $address|sed 's/weather-forecast.*$//')"hourly-weather-forecast/"$last_number"
wget -O $HOME/1_accuweather/hourly_raw1 "$hourly_addr1"
if [[ -s $HOME/1_accuweather/hourly_raw1 ]]; then
sed -i '/detail-tab-buttons\.detail-tab-buttons/,/<div class="hourly-table">/!d' $HOME/1_accuweather/hourly_raw1
egrep -i 'hour=|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday|pm<\/div>|am<\/div>|icon-weather icon i-|<th>Forecast|<span>.*<\/span>|<th>Temp|<th>Realfeel|<th>Wind|<th>Rain|<th>Snow|<th>Ice|<th>UV Index|<th>Cloud Cover|<th>Humidity|<th>Dew Point' $HOME/1_accuweather/hourly_raw1 > $HOME/1_accuweather/hourly1
sed -i -e 's/^[ \t]*//g' -e 's/^.*<div>//g' -e 's/^.*<span>//g' -e 's/^.*<th>//g' -e 's/^.*icon i-//g' -e 's/-s">.*$//g' -e 's/<\/div>.*$//g' -e 's/&#.*$//g' -e 's/<\/span>.*$//g' -e 's/<\/th>.*$//g' -e 's/^.*href="//g' -e 's/" class=.*$//g' $HOME/1_accuweather/hourly1
sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thu/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' -e 's/\r//g' $HOME/1_accuweather/hourly1
echo "ConkyWeather Font Icons" >> $HOME/1_accuweather/hourly1
for (( i=4; i<=18; i+=2 ))
do
image=$(sed -n "${i}"p $HOME/1_accuweather/hourly1)
echo $(test_image $image) >> $HOME/1_accuweather/hourly1
done
if [[ $hourly0 == 0 ]]; then
j=1
for (( i=4; i<=18; i+=2 ))
do
if [[ $hourly2015 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/hourly1).png $HOME/1_accuweather/hourly_2015/hourly_$j.png
fi
if [[ $hourly2016 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/hourly1).png $HOME/1_accuweather/hourly_2016/hourly_$j.png
fi
((j++))
done
fi
fi
#Hourly: Next 8h
hourly_addr2=$(sed -n 1p $HOME/1_accuweather/hourly1)
wget -O $HOME/1_accuweather/hourly_raw2 "$hourly_addr2"
if [[ -s $HOME/1_accuweather/hourly_raw2 ]]; then
sed -i '/detail-tab-buttons\.detail-tab-buttons/,/<div class="hourly-table">/!d' $HOME/1_accuweather/hourly_raw2
egrep -i 'hour=|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday|pm<\/div>|am<\/div>|icon-weather icon i-|<th>Forecast|<span>.*<\/span>|<th>Temp|<th>Realfeel|<th>Wind|<th>Rain|<th>Snow|<th>Ice|<th>UV Index|<th>Cloud Cover|<th>Humidity|<th>Dew Point' $HOME/1_accuweather/hourly_raw2 > $HOME/1_accuweather/hourly2
sed -i -e 's/^[ \t]*//g' -e 's/^.*<div>//g' -e 's/^.*<span>//g' -e 's/^.*<th>//g' -e 's/^.*icon i-//g' -e 's/-s">.*$//g' -e 's/<\/div>.*$//g' -e 's/&#.*$//g' -e 's/<\/span>.*$//g' -e 's/<\/th>.*$//g' -e 's/^.*href="//g' -e 's/" class=.*$//g' $HOME/1_accuweather/hourly2
sed -i 1d $HOME/1_accuweather/hourly2
sed -i -e 's/Monday/Mon/' -e 's/Tuesday/Tue/' -e 's/Wednesday/Wed/' -e 's/Thursday/Thu/' -e 's/Friday/Fri/' -e 's/Saturday/Sat/' -e 's/Sunday/Sun/' -e 's/\r//g' $HOME/1_accuweather/hourly2
echo "ConkyWeather Font Icons" >> $HOME/1_accuweather/hourly2
for (( i=4; i<=18; i+=2 ))
do
image=$(sed -n "${i}"p $HOME/1_accuweather/hourly2)
echo $(test_image $image) >> $HOME/1_accuweather/hourly2
done
if [[ $hourly0 == 0 ]]; then
j=9
for (( i=4; i<=18; i+=2 ))
do
if [[ $hourly2015 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2015/$(sed -n ${i}p $HOME/1_accuweather/hourly2).png $HOME/1_accuweather/hourly_2015/hourly_$j.png
fi
if [[ $hourly2016 == 1 ]]; then
cp $HOME/1_accuweather/Forecast_Images_2016/$(sed -n ${i}p $HOME/1_accuweather/hourly2).png $HOME/1_accuweather/hourly_2016/hourly_$j.png
fi
((j++))
done
fi
fi
# Full info, next 16h - altogether16 file
rm $HOME/1_accuweather/altogether16 altogether16_2015 altogether16_2016
#TIME
echo "\${color ffe595}TIME\${goto 100}" > $HOME/1_accuweather/altogether16
sed -i "1s/$/$(sed -n 2p $HOME/1_accuweather/hourly1):$(sed -n 3p $HOME/1_accuweather/hourly1)/" $HOME/1_accuweather/altogether16
jump_to=160
for (( i=5; i<=17; i+=2 ))
do
time=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "1s/$/\${goto $jump_to}$time/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
sed -i "1s/$/\${goto 580}$(sed -n 2p $HOME/1_accuweather/hourly2):$(sed -n 3p $HOME/1_accuweather/hourly2)/" $HOME/1_accuweather/altogether16
jump_to=640
for (( i=5; i<=17; i+=2 ))
do
time=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "1s/$/\${goto $jump_to}$time/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
sed -i '1s/$/\n\n\n/' $HOME/1_accuweather/altogether16
#FORECAST
echo "\${color ffe595}FORECAST\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=20; i<=27; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1|awk '{print $1}'|cut -c1-8)
sed -i "5s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=20; i<=27; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2|awk '{print $1}'|cut -c1-8)
sed -i "5s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
sed -i '5s/$/\n/' $HOME/1_accuweather/altogether16
jump_to=100
for (( i=20; i<=27; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1|awk '{print $2}'|cut -c1-8)
sed -i "6s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=20; i<=27; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2|awk '{print $2}'|cut -c1-8)
sed -i "6s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#TEMPERATURE
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "TEMPER.\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=29; i<=36; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "8s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=29; i<=36; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "8s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#REAL FEEL
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "REAL FEEL\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=38; i<=45; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "10s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=38; i<=45; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "10s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#WIND
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "WIND\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=47; i<=54; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "12s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=47; i<=54; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "12s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#RAIN
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "RAIN\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=64; i<=71; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "14s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=64; i<=71; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "14s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#SNOW
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "SNOW\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=73; i<=80; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "16s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=73; i<=80; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "16s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#ICE
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "ICE\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=82; i<=89; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "18s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=82; i<=89; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "18s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#UV INDEX
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "UV INDEX\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=99; i<=106; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "20s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=99; i<=106; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "20s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#CLOUD COVER
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "CLOUD COV.\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=108; i<=115; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "22s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=108; i<=115; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "22s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#HUMIDITY
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "HUMIDITY\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=117; i<=124; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "24s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=117; i<=124; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "24s/$/\${goto $jump_to}$messg/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#DEW POINT
echo "\${color ffe595}\${goto 100}\${hr 1}" >> $HOME/1_accuweather/altogether16
echo "DEW POINT\${color}" >> $HOME/1_accuweather/altogether16
jump_to=100
for (( i=126; i<=133; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly1)
sed -i "26s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=126; i<=133; i+=1 ))
do
messg=$(sed -n ${i}p $HOME/1_accuweather/hourly2)
sed -i "26s/$/\${goto $jump_to}$messg°/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
#IMAGES
if [[ $hourly0 == 0 ]]; then
if [[ $hourly2015 == 1 ]]; then
jump_to=75
cp $HOME/1_accuweather/altogether16 $HOME/1_accuweather/altogether16_2015
fi
if [[ $hourly2016 == 1 ]]; then
jump_to=85
cp $HOME/1_accuweather/altogether16 $HOME/1_accuweather/altogether16_2016
fi
rm $HOME/1_accuweather/altogether16
for (( i=1; i<=16; i+=1 ))
do
if [[ $hourly2015 == 1 ]]; then
sed -i "4s/$/\${image \$HOME\/1_accuweather\/hourly_2015\/hourly_$i.png -s 60x36 -p $jump_to,49}/" $HOME/1_accuweather/altogether16_2015
fi
if [[ $hourly2016 == 1 ]]; then
sed -i "4s/$/\${image \$HOME\/1_accuweather\/hourly_2016\/hourly_$i.png -s 36x36 -p $jump_to,49}/" $HOME/1_accuweather/altogether16_2016
fi
((jump_to+=60))
done
fi
#CONKYFONT
if [[ $hourly0 == 1 ]]; then
sed -i '4s/$/\${color}\${font conkyweather:size=35}/' $HOME/1_accuweather/altogether16
jump_to=95
for (( i=135; i<=142; i+=1 ))
do
sed -i "4s/$/\${goto $jump_to}$(sed -n ${i}p $HOME/1_accuweather/hourly1)/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
for (( i=135; i<=142; i+=1 ))
do
sed -i "4s/$/\${goto $jump_to}$(sed -n ${i}p $HOME/1_accuweather/hourly2)/" $HOME/1_accuweather/altogether16
((jump_to+=60))
done
sed -i '4s/$/\${font}/' $HOME/1_accuweather/altogether16
sed -i '2,3d' $HOME/1_accuweather/altogether16
fi
kill -CONT $(pidof conky)
fi
here the conky startup:
conky -c /home/ettore/.config/conky/AL-Meteo-Gorlag.conkyrc & sleep 1s
conky -c /home/ettore/.config/conky/AL-Sat-Europe.conkyrc & sleep 7s
the conky are all in ~ / .config / conky /
if you need anything else let me know
Last edited by ector1935 (2017-10-23 15:29:05)
Offline
At this time, the weather image of the last hour does not work, and the hourly temperatures are not updated.
see photos
Offline
At this time, the weather image of the last hour does not work, and the hourly temperatures are not updated
See line 130 of your conkyrc
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}
You tell the script to only update the daily forecast.
If you want the script to download the hourly data (2016 images), you should add the -h2016 switch, ie.
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016 -h2016}
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
ok,I did and reappear 'last image,of the weather,now I keep an eye on you and let you know if everything works.
You are the best @teo!
Last edited by ector1935 (2017-10-23 15:59:15)
Offline
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
Hi Teo,
unfortunately I started the session this morning, I no longer work on the time update of temperatures, in the last minimum temperature, see photos.
I do not understand why it does not work.
Use archlabs,let me know if there is any command to post or else.
edit
I noticed that it does not update even wind,uvi,etc etc! :8
If you kilo the weather conky and start it from terminal this happens:
[1]+ Stopped conky -c '/home/ettore/.config/conky/AL-Meteo-Gorlag.conkyrc'
[ettore@yoda-pc ~]$
Redirecting output to ‘wget-log’.
Redirecting output to ‘wget-log.1’.
Redirecting output to ‘wget-log.2’.
Redirecting output to ‘wget-log.3’.
Redirecting output to ‘wget-log.4’.
Redirecting output to ‘wget-log.5’.
rm: cannot remove '/home/ettore/1_accuweather/altogether16': No such file or directory
rm: cannot remove 'altogether16_2015': No such file or directory
rm: cannot remove 'altogether16_2016': No such file or directory
Last edited by ector1935 (2017-10-24 09:50:03)
Offline
Are the values updated in your curr_cond and altogether16 files?
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
curr_cond
1
19
20
Sunny
S
7 km/h
27%
1020.00 mb
2
0%
155 m
0
16 km
07:49 AM
06:20 PM
10:31 hr
1-m
12:02 PM
09:32 PM
9:30 hr
33-m
a
07:49
18:20
12:02
21:32
1
altogether16 is not there, there are only:
altogether16_2016
altogether16_2015
how do i create altogether16?
thank
Last edited by ector1935 (2017-10-24 12:14:13)
Offline
Sorry, I meant altogether16_2016
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
${color ffe595}TIME${goto 100}Tue:2pm${goto 160}3pm${goto 220}4pm${goto 280}5pm${goto 340}6pm${goto 400}7pm${goto 460}8pm${goto 520}9pm${goto 580}Tue:10pm${goto 640}11pm${goto 700}12am${goto 760}1am${goto 820}2am${goto 880}3am${goto 940}4am${goto 1000}5am
${image $HOME/1_accuweather/hourly_2016/hourly_1.png -s 36x36 -p 85,49}${image $HOME/1_accuweather/hourly_2016/hourly_2.png -s 36x36 -p 145,49}${image $HOME/1_accuweather/hourly_2016/hourly_3.png -s 36x36 -p 205,49}${image $HOME/1_accuweather/hourly_2016/hourly_4.png -s 36x36 -p 265,49}${image $HOME/1_accuweather/hourly_2016/hourly_5.png -s 36x36 -p 325,49}${image $HOME/1_accuweather/hourly_2016/hourly_6.png -s 36x36 -p 385,49}${image $HOME/1_accuweather/hourly_2016/hourly_7.png -s 36x36 -p 445,49}${image $HOME/1_accuweather/hourly_2016/hourly_8.png -s 36x36 -p 505,49}${image $HOME/1_accuweather/hourly_2016/hourly_9.png -s 36x36 -p 565,49}${image $HOME/1_accuweather/hourly_2016/hourly_10.png -s 36x36 -p 625,49}${image $HOME/1_accuweather/hourly_2016/hourly_11.png -s 36x36 -p 685,49}${image $HOME/1_accuweather/hourly_2016/hourly_12.png -s 36x36 -p 745,49}${image $HOME/1_accuweather/hourly_2016/hourly_13.png -s 36x36 -p 805,49}${image $HOME/1_accuweather/hourly_2016/hourly_14.png -s 36x36 -p 865,49}${image $HOME/1_accuweather/hourly_2016/hourly_15.png -s 36x36 -p 925,49}${image $HOME/1_accuweather/hourly_2016/hourly_16.png -s 36x36 -p 985,49}
${color ffe595}FORECAST${color}${goto 100}Sunny${goto 160}Partly${goto 220}Partly${goto 280}Mostly${goto 340}Partly${goto 400}Cloudy${goto 460}Partly${goto 520}Cloudy${goto 580}Cloudy${goto 640}Cloudy${goto 700}Cloudy${goto 760}Cloudy${goto 820}Cloudy${goto 880}Cloudy${goto 940}Cloudy${goto 1000}Cloudy
${goto 100}${goto 160}Sunny${goto 220}Cloudy${goto 280}Cloudy${goto 340}Cloudy${goto 400}${goto 460}Cloudy${goto 520}${goto 580}${goto 640}${goto 700}${goto 760}${goto 820}${goto 880}${goto 940}${goto 1000}
${color ffe595}${goto 100}${hr 1}
TEMPER.${color}${goto 100}20°${goto 160}20°${goto 220}21°${goto 280}19°${goto 340}17°${goto 400}14°${goto 460}12°${goto 520}11°${goto 580}11°${goto 640}11°${goto 700}10°${goto 760}10°${goto 820}10°${goto 880}10°${goto 940}10°${goto 1000}10°
${color ffe595}${goto 100}${hr 1}
REAL FEEL${color}${goto 100}22°${goto 160}22°${goto 220}21°${goto 280}19°${goto 340}17°${goto 400}15°${goto 460}11°${goto 520}10°${goto 580}10°${goto 640}9°${goto 700}9°${goto 760}9°${goto 820}9°${goto 880}9°${goto 940}9°${goto 1000}9°
${color ffe595}${goto 100}${hr 1}
WIND${color}${goto 100}4 N${goto 160}4 N${goto 220}4 NW${goto 280}4 SW${goto 340}6 NNE${goto 400}6 NNE${goto 460}7 NNE${goto 520}9 NNE${goto 580}9 NNE${goto 640}9 NNE${goto 700}9 NNE${goto 760}9 NNE${goto 820}9 NNE${goto 880}9 NNE${goto 940}9 NNE${goto 1000}9 NNE
${color ffe595}${goto 100}${hr 1}
RAIN${color}${goto 100}0%${goto 160}0%${goto 220}0%${goto 280}0%${goto 340}0%${goto 400}0%${goto 460}0%${goto 520}0%${goto 580}0%${goto 640}0%${goto 700}0%${goto 760}0%${goto 820}0%${goto 880}0%${goto 940}0%${goto 1000}0%
${color ffe595}${goto 100}${hr 1}
SNOW${color}${goto 100}0%${goto 160}0%${goto 220}0%${goto 280}0%${goto 340}0%${goto 400}0%${goto 460}0%${goto 520}0%${goto 580}0%${goto 640}0%${goto 700}0%${goto 760}0%${goto 820}0%${goto 880}0%${goto 940}0%${goto 1000}0%
${color ffe595}${goto 100}${hr 1}
ICE${color}${goto 100}0%${goto 160}0%${goto 220}0%${goto 280}0%${goto 340}0%${goto 400}0%${goto 460}0%${goto 520}0%${goto 580}0%${goto 640}0%${goto 700}0%${goto 760}0%${goto 820}0%${goto 880}0%${goto 940}0%${goto 1000}0%
${color ffe595}${goto 100}${hr 1}
UV INDEX${color}${goto 100}3${goto 160}2${goto 220}2${goto 280}1${goto 340}0${goto 400}0${goto 460}0${goto 520}0${goto 580}0${goto 640}0${goto 700}0${goto 760}0${goto 820}0${goto 880}0${goto 940}0${goto 1000}0
${color ffe595}${goto 100}${hr 1}
CLOUD COV.${color}${goto 100}9%${goto 160}32%${goto 220}55%${goto 280}75%${goto 340}64%${goto 400}53%${goto 460}46%${goto 520}50%${goto 580}59%${goto 640}68%${goto 700}70%${goto 760}70%${goto 820}70%${goto 880}70%${goto 940}70%${goto 1000}70%
${color ffe595}${goto 100}${hr 1}
HUMIDITY${color}${goto 100}28%${goto 160}32%${goto 220}34%${goto 280}45%${goto 340}51%${goto 400}56%${goto 460}65%${goto 520}68%${goto 580}72%${goto 640}70%${goto 700}71%${goto 760}70%${goto 820}69%${goto 880}67%${goto 940}69%${goto 1000}69%
${color ffe595}${goto 100}${hr 1}
DEW POINT${color}${goto 100}1°${goto 160}3°${goto 220}4°${goto 280}7°${goto 340}7°${goto 400}6°${goto 460}6°${goto 520}6°${goto 580}6°${goto 640}6°${goto 700}5°${goto 760}5°${goto 820}5°${goto 880}4°${goto 940}5°${goto 1000}4°
Offline
Well, does it update?
Does it change values?
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
You change them, but they are all wrong, also the ultimate temperature has disappeared again, try it a couple of days see if it works!
edit
these are all wrong
the same thing with wind, humidity etc
Last edited by ector1935 (2017-10-24 13:54:42)
Offline
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
you have to wait at least until tomorrow,because it seems that execi no longer work with conky1.10.
edit
for the moment I've downgraded to 1.9 and it all works
Last edited by ector1935 (2017-10-24 15:55:23)
Offline
I've been using execi/texeci with conky 1.10 for quite a while now, no problems whatsoever.
After all, you update your conky much more frequently than daily, isn't that so?
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