You are not logged in.

#1981 2017-11-14 07:37:18

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 it OK now? Has the temp reappeared?


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

#1982 2017-11-14 15:34:56

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

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

TeoBigusGeekus wrote:

The usage of -f cancels out the -f2015 and -f2016 parameters.
Accordingly, the usage of -h cancels out the -h2015 and -h2016 parameters.

Would there be any interest in making the script accept all options at once?
ie,

bash ./1_accuweather -f -f2015 -f2016 -h -h2015 -h2016

making the script prepare everything, all images (2015 and 2016) and conkyfont forecast.
Right now, if the -f or -h switches are used, no images are copied and no altogether files with images are created.

Nevermind then.


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

#1983 2017-11-14 22:46:24

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

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

TeoBigusGeekus wrote:

Is it OK now? Has the temp reappeared?

hi,
even today it does not seem to work
regards @teo

Offline

#1984 2017-11-14 22:49:41

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 was your conkyrc again?


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

#1985 2017-11-15 13:39:04

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

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

today everything is back ok
thank @teo
[url=https://i.imgur.com/mN7BIr8.png]
  mN7BIr8l.png
[/url]

Offline

#1986 2017-11-15 18:33: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)

Told you so 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

#1987 2017-11-25 14:36:31

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

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

Been a long time ... I received a PM asking for the Full Moon with the baying wolf.

Here you go: moon_day_full_wolf.png

I will be back Teo, bank on it!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1988 2017-11-25 16:00:45

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

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

Take your time S11, life comes first.

Last edited by TeoBigusGeekus (2017-11-25 23:07:23)


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

#1989 2017-11-25 22:09:25

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)

Sector11 wrote:

I will be back Teo, bank on it!

TeoBigusGeekus wrote:

Take you time S11, life comes first.

Thank you for the positive news!  smile

Offline

#1990 2017-11-25 23:07:31

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

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

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

#1991 2017-12-16 17:12:26

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

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

hello everyone, @teo are days that I do not see the temperature to which I referred in previous posts, also in xsession-errors, I see this error:

--2017-12-16 13:51:57--  http://www.accuweather.com/en/it/gorlago/2277856/current-weather/2277856
Risoluzione di www.accuweather.com... [WARNING] <<begin_cat>> is deprecated: use <<beg>> instead!
[WARNING] <<begin_cat>> is deprecated: use <<beg>> instead!
[WARNING] <<end_cat>> is deprecated: use <<end>> instead!
[WARNING] <<end_cat>> is deprecated: use <<end>> instead!
[WARNING] <<begin_cat>> is deprecated: use <<beg>> instead!
[WARNING] <<end_cat>> is deprecated: use <<end>> instead!
95.100.87.146

the conky is always the same that I've posted several times, but if you need it I'll put it away.
Thank for help

Offline

#1992 2017-12-16 19:09:52

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

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

Are you sure that the temperature is up on Accuweather but not on your conky?
Also, how many conkys are you running?
It could be a case of the killall commands of other conkyrcs interfering with this one.
I don't think the xsession-errors messages have something to do with it.

Last edited by TeoBigusGeekus (2017-12-16 19:11:55)


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

#1993 2017-12-18 13:19:25

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

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

Hi,
I use only one conky and in accuweather the temperature is there, see link:
https://www.accuweather.com/en/it/gorla … er/2277856
my current_con

3
6
8
Partly sunny
N
6 km/h
33%
1022.00 mb
1
40%
2976 m
-9
16 km
07:56 AM
04:38 PM
8:42 hr
1-m
07:44 AM
05:09 PM
9:25 hr
33-m
b
07:56
16:38
07:44
17:09
9

my conky

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',


-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
    no_buffers = true,
    background = true,

-- fiddle with window
	use_spacer = 'none',
	use_xft = true,

-- Update interval in seconds
	update_interval = 1,

-- Minimum size of text area
	minimum_width = 335, minimum_height = 335,
	maximum_width = 335,

	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 = 0,

-- border margins
	border_inner_margin = 0,

-- border width
	border_width = 0,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = 'DCDCDC',

	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 = 79,

	imlib_cache_size = 3.0,

-- text_buffer_size = 4096,

     short_units = true,

-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${image /home/don/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 39,390 -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 110,632}
${alignc}${swapbar 0,50} Current Moon & Forecast ${swapbar 0,50}
${color5}${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}\
${alignr 20}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`} ${color}
${image $HOME/1_accuweather/forecast_2016/forecast_1.png -p 10,640 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_2.png -p 265,640 -s 45x45}\
${if_match "${execpi 300 sed -n '1p' /home/midfingr/1_accuweather/first_days}" == "Lo"}\
${else}${execpi 300 sed -n '3p' /home/don/1_accuweather/first_days}${endif}\
${alignr}${goto 250}${execi 300 sed -n '8p' ~/1_accuweather/first_days}

${goto 55}${if_match "${execpi 300 sed -n '3p' /home/midfingr/1_accuweather/first_days}" == "Lo"}\
${execpi 300 sed -n '4p' /home/don/1_accuweather/first_days}\
${alignr https://forums.bunsenlabs.org/edit.php?id=48496#}${goto 307}${execi 300 sed -n '9p' ~/1_accuweather/first_days}
${color5}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
${alignr 20}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}${color}
${image $HOME/1_accuweather/forecast_2016/forecast_3.png -p 10,705 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_4.png -p 258,705 -s 45x45}\
${execi 300 sed -n '13p' ~/1_accuweather/first_days}\
${alignr 83}${execi 300 sed -n '18p' ~/1_accuweather/first_days}

${goto 55}${execi 300 sed -n '14p' ~/1_accuweather/first_days}\
${alignr}${goto 309}${execi 300 sed -n '19p' ~/1_accuweather/first_days}
#${texeci 500 bash $HOME/1_accuweather/1_accuweather -h2016}
#${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 '3' $HOME/1_accuweather/first_days}°\
#${goto 77}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
##${goto 137}${execi 600 sed -n '34p' $HOME/1_accuweather/hourly1}°\
#${goto 199}${execi 600 sed -n '36p' $HOME/1_accuweather/hourly1}°\
#${goto 264}${execi 600 sed -n '39p' $HOME/1_accuweather/hourly2}°\
#${image $HOME/1_accuweather/hourly_2016/hourly_2.png -p 0,828  -s 45x45}\
#${image $HOME/1_accuweather/hourly_2016/hourly_4.png -p 70,828 -s 45x45}\
#${image $HOME/1_accuweather/hourly_2016/hourly_6.png -p 130,828 -s 45x45}\
##${image $HOME/1_accuweather/hourly_2016/hourly_8.png -p 185,828 -s 45x45}\
###${image $HOME/1_accuweather/hourly_2016/hourly_10.png -p 250,828 -s 45x45}${color}
${voffset -30}
]];

it is at least two weeks since the temp is not functional

Offline

#1994 2017-12-18 17:38: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)

For starters, change this line

${alignr}${execi 300 sed -n '2p' ~/1_accuweather/curr_cond}${font}

to

${alignr}${execi 300 sed -n '2p' ~/1_accuweather/curr_cond} ${font}

Notice the space before the ${font} string.

To help you, the line is just before the UVI: etc. staff.


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

#1995 2017-12-18 21:24:37

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

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

Now the conky worksThank @teo
And
A great Merry Christmas and Happy New Year to all the friends and readers of the forum

Offline

#1996 2017-12-18 22:18:45

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

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

I hope your torment has come to an end ector1935.
Merry Christmas and a Happy New Year to everybody!


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

#1997 2018-01-29 15:56:33

sinister
Member
From: North Carolina
Registered: 2015-09-29
Posts: 35

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

i used to hang around in the crunchbang forums back in the day id was siiNNiiSTer big_smile

is there something im missing? i used the top part of .conkyrc_1_images_2016 in my own conky so i have current conditions temp wind humidity etc, and the today tomorrow next day icons temps. when i turned the pc on this morning conky was still displaying what it displayed yesterday. like the script didnt refresh the info the conky pulls from? this would be my 1st attempt at using a conky with weather info so excuse my ignorance lol

cv1hY

Offline

#1998 2018-01-29 16:06:48

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!
Just wait until the script refreshes.
Post back if your problem is resolved.


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

#1999 2018-01-29 18:02:08

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

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

I'd like to ask the conky-masters here: Is there maybe a service (without registration) or method which makes it possible to get an output similar to this:
conkyweatherformat.th.png

In this post (at the end) there is damo's bunsenweather script and the code for conkyrc to call it. It works fine for me - apart from a little delay while starting conky -, but openweathermap.org requires registration in order to get an api key for the script.

Howerver there are services like

curl -4 wttr.in/paris

which offer awesome weather data without registration. Is there maybe a way to change that script for something that just works without registration?

Offline

#2000 2018-01-29 20:25:51

sinister
Member
From: North Carolina
Registered: 2015-09-29
Posts: 35

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

TeoBigusGeekus wrote:

Hi there buddy!
Just wait until the script refreshes.
Post back if your problem is resolved.

do i have to have the script called in openbox auto start?

im a fool dont mind me...  8o

Last edited by sinister (2018-01-29 21:53:46)

Offline

Board footer

Powered by FluxBB