You are not logged in.

#3541 2020-07-05 09:12:40

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

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

unklar wrote:

Teo,
after the first tests the script works without errors. smile

All variables are displayed, also the images come correctly. Here "weatherfont".

Oops, I just noticed on your shot, the dew point values are wrong roll
I'll correct it later in the day.

EDIT: Corrected!

Last edited by TeoBigusGeekus (2020-07-05 10:05:50)


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

#3542 2020-07-05 10:06:16

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

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

There's also a bug in h_no_in_hum vs. h_no_ind_hum -- I think one of them should be used and not both. big_smile I stick with h_no_ind_hum. big_smile

Other than that it works well:

p5QSACs.png

Offline

#3543 2020-07-05 10:25:37

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

Never tried the hourly accuweather conky before. but it sure is impressive. what an amazing script.
one question: how to make it show the hours in 24h format?

Offline

#3544 2020-07-05 11:29:15

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

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

@morfik
Corrected, thanks for the tip.

@ceeslans
There's no way to do it right now.
I'll see if I can come up with something.


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

#3545 2020-07-05 15:57:43

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 general consensus about the 24h format in the hourly Accuweather forecast?
What do you guys say?


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

#3546 2020-07-05 18:13:06

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

TeoBigusGeekus wrote:

What's the general consensus about the 24h format in the hourly Accuweather forecast?
What do you guys say?

Teo, not pretending to claim general consensus, but this really is a trivial matter only.
The 12h am/pm format is fine by me, no need to go to extra lengths to implement a 24h format

Offline

#3547 2020-07-05 19:14:30

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

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

No problem man, if a lot of people are for it, then why not?


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

#3548 2020-07-06 06:02:47

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

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

^I would have sworn now to have seen the 24 hour format before with Accuweather.
I was of the opinion that at that time (2015) in the script, which Teo had written especially for the German edition of the script, was the case.  smile

It could also be that I am mistaken, because I can't find anything in my archive...  hmm

In any case, I would be in favour of it, if Teo doesn't mind.

Offline

#3549 2020-07-07 21:36:05

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, that settles it then...

After massive public demand by ceeslans and unklar I've updated the script to use the 24h format for the hourly forecast.


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

#3550 2020-07-08 04:54:15

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

^ yep, that's it. works great!
fczLcMom.png

Offline

#3551 2020-07-08 08:06:51

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

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

^Teo, it took a little longer with me.
You had given me a riddle again, because I didn't get any data and pictures displayed.

I am older lol and had downloaded the script via git...  8)  8o

Now everything is ok. Nice work from you.   smile

Offline

#3552 2020-07-08 08:13:25

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

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

Thank you both for your feedback.
I'll let the script be for a few days and then I'll update the git repository.


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

#3553 2020-07-08 21:49:19

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:

I'll let the script be for a few days and then I'll update the git repository.

...or not

ANNOUNCEMENT
Accuweather's hourly forecast massively changed. So has the script. Read the readme info for the new hourly forecast parameters.


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

#3554 2020-07-09 12:50:48

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

Teo, in an effort to reduce screen occupancy and tweak the looks of the hourly forecast conky, I had to make numerous changes to the text, icon/font sizes, colors, offsets etc.
Since these conky settings for 'Hourly Forecast' are now mostly hardcoded in the base script file, I had to change the values in 'accuweather' script.
Would it be possible to 'move' this specific code to an extra script file, which could then be called as an 'include' by the accuweather script?
This way, it will be easier to update the base script, whenever accuweather decides to change their general format again...

dtctBYDt.png

Offline

#3555 2020-07-11 18:36: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)

Out of town, will answer in the next couple of days.


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

#3556 2020-07-13 22:07:02

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

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

Ok, back to base again.

@ceeslans
I suppose I could make it a separate script, but I don't see how it would make things easier; could you please explain a bit more?


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

#3557 2020-07-14 05:57:57

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

@Teo, on second thought I agree with you, it wouldn't make it easier really.
I've backed up the edited 'hourly forecast' script section, for a simple overwrite - if/when needed.

Offline

#3558 2020-07-14 13:19:39

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, thanks for your contributions.


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

#3559 2020-07-14 22:42:25

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

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

Hi teo,this conky no longer shows the hours of the weather.
Could you please change this with the new parameters the weather hours for newbies like me ?!
Always when you have time.
Thank you


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,

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

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 360, minimum_height = 500,
	maximum_width = 360,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_margin = 9,

-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = '#cbcbcb',
	color1 = '#ffe595',

	own_window_colour = 'brown',
	own_window_transparent = true,

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

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

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen

};

conky.text = [[
${font Arial:size=12}${color1}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f2016}
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_0.png -p 0,50 -s 170x170}
${font Arial:size=10}${texeci 600 sed -n '4p' $HOME/Accuweather_conky_script/curr_cond}${font}${goto 200}${color1}TEMPERATURE: $color${alignr}${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}° (${texeci 600 sed -n '3p' $HOME/Accuweather_conky_script/curr_cond}°)
${goto 200}${color1}WIND SPEED: $color${alignr}${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond} ${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}HUMIDITY: $color${alignr}${texeci 600 sed -n '7p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}PRESSURE: $color${alignr}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}UV INDEX: $color${alignr}${texeci 600 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}CLOUD COVER: $color${alignr}${texeci 600 sed -n '10p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}CEILING: $color${alignr}${texeci 600 sed -n '11p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}DEW POINT: $color${alignr}${texeci 600 sed -n '12p' $HOME/Accuweather_conky_script/curr_cond}°
${goto 200}${color1}VISIBILITY: $color${alignr}${texeci 600 sed -n '13p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}SUN R/S: $color${alignr}${texeci 600 sed -n '14p' $HOME/Accuweather_conky_script/curr_cond}/${texeci 600 sed -n '15p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}SUN DUR: $color${alignr}${texeci 600 sed -n '16p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}MOON R/S: $color${alignr}${texeci 600 sed -n '18p' $HOME/Accuweather_conky_script/curr_cond}/${texeci 600 sed -n '19p' $HOME/Accuweather_conky_script/curr_cond}
${goto 200}${color1}MOON DUR: $color${alignr}${texeci 600 sed -n '20p' $HOME/Accuweather_conky_script/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color1}${texeci 600 sed -n '1p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${goto 145}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${goto 270}${texeci 600 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}$color$font${image $HOME/Accuweather_conky_script/forecast_2016/forecast_1.png -p 0,245 -s 80x80}${image $HOME/Accuweather_conky_script/forecast_2016/forecast_2.png -p 110,245 -s 80x80}${image $HOME/Accuweather_conky_script/forecast_2016/forecast_3.png -p 230,245 -s 80x80}

${goto 100}${texeci 600 sed -n '4p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 210}${texeci 600 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 330}${texeci 600 sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}°
${goto 100}/${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 210}/${texeci 600 sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 330}/${texeci 600 sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}°



${font Arial:size=8}${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}${goto 135}${texeci 600 sed -n '13p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}${goto 255}${texeci 600 sed -n '20p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}
${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}${goto 135}${texeci 600 sed -n '13p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}${goto 255}${texeci 600 sed -n '20p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color1}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${goto 145}${texeci 600 sed -n '29p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${goto 270}${texeci 600 sed -n '36p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}$color$font${image $HOME/Accuweather_conky_script/forecast_2016/forecast_4.png -p 0,385 -s 80x80}${image $HOME/Accuweather_conky_script/forecast_2016/forecast_5.png -p 110,385 -s 80x80}${image $HOME/Accuweather_conky_script/forecast_2016/forecast_6.png -p 230,385 -s 80x80}

${goto 100}${texeci 600 sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 210}${texeci 600 sed -n '32p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 330}${texeci 600 sed -n '39p' $HOME/Accuweather_conky_script/daily_forecast}°
${goto 100}/${texeci 600 sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 210}/${texeci 600 sed -n '33p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 330}/${texeci 600 sed -n '40p' $HOME/Accuweather_conky_script/daily_forecast}°



${font Arial:size=8}${texeci 600 sed -n '27p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}${goto 135}${texeci 600 sed -n '34p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}${goto 255}${texeci 600 sed -n '41p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}
${texeci 600 sed -n '27p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}${goto 135}${texeci 600 sed -n '34p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}${goto 255}${texeci 600 sed -n '41p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color1}${texeci 600 sed -n '43p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${goto 145}${texeci 600 sed -n '50p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${goto 270}${texeci 600 sed -n '57p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}$color$font${image $HOME/Accuweather_conky_script/forecast_2016/forecast_7.png -p 0,525 -s 80x80}${image $HOME/Accuweather_conky_script/forecast_2016/forecast_8.png -p 110,525 -s 80x80}${image $HOME/Accuweather_conky_script/forecast_2016/forecast_9.png -p 230,525 -s 80x80}

${goto 100}${texeci 600 sed -n '46p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 210}${texeci 600 sed -n '53p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 330}${texeci 600 sed -n '60p' $HOME/Accuweather_conky_script/daily_forecast}°
${goto 100}/${texeci 600 sed -n '47p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 210}/${texeci 600 sed -n '54p' $HOME/Accuweather_conky_script/daily_forecast}°${goto 330}/${texeci 600 sed -n '61p' $HOME/Accuweather_conky_script/daily_forecast}°



${font Arial:size=8}${texeci 600 sed -n '48p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}${goto 135}${texeci 600 sed -n '55p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}${goto 255}${texeci 600 sed -n '62p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-20}
${texeci 600 sed -n '48p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}${goto 135}${texeci 600 sed -n '55p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}${goto 255}${texeci 600 sed -n '62p' $HOME/Accuweather_conky_script/daily_forecast|cut -c21-40}$font





]];

thank for help

Offline

#3560 2020-07-15 13:16:21

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

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

^only the curr_cond is ok.
They've been tinkering again, they're teasing Teo again... tongue

Offline

Board footer

Powered by FluxBB