You are not logged in.

#1481 2017-01-18 17:56:06

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 think you need lua for this, so it's out of my league. 
Anyone else?


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

#1482 2017-01-21 16:51:36

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

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

TeoBigusGeekus wrote:

I'll be damned: .conkyrc4 from script #2b works now.
I swear it didn't work last night and today at noon.  hmm

@S11
Thats a great idea S11 and it can come handy in hot and semi hot climates.
I'm putting it on the front page.

Missed this post - somehow I got myself unsubscribed to the thread - HORROR!!!!!!!!!!!

It's a good idea for the north ... but really needed here.  Right now accuweather is reporting 8|11 and wunderground was reporting 10 but has stopped working.    One can feel the difference, when walking in the sun at 23° one thinks it's not so hot, why are my arms 'burning' (literally feels like fire) and when I get home and see a 10/11 I know.

BTW, is it me or is 2b_Wunderground_API down for the count?
None of mine are working.  ???

I'M BACK


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1483 2017-01-21 17:26:46

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

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

loutch wrote:

Hello

I a little understood how work one interactive conky, here is my clickable 1_accuweather

Looks interesting. I'm LUA illiterate but can tweak a little.  Good luck with this.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1484 2017-01-21 19:29:24

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)

What about the 2b?
I have no trouble here. Also compare with mrpeachy's WUN.

Difference is:
WUN uses the data of a weather station with WIND.
2b uses data from a weather station (pws) without WIND data.

2bAPI.th.jpg

Offline

#1485 2017-01-21 20:01:28

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

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

Hmmmmmmmm thanks unklar ... I must have made an OOPS! somewhere then.  Will check.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1486 2017-01-21 20:57:26

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

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

Sector11 wrote:

BTW, is it me or is 2b_Wunderground_API down for the count?
None of mine are working.  ???

The first 3 are working; the 4th doesn't.
I'll investigate tomorrow.


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

#1487 2017-01-21 21:23:06

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)

Excuse me Teo, I only had the No.3 in my /home

For tomorrow No.4  wink
That is with conky V1.9

Edit:A test with "Teo-Mega", also here I can not find any errors.

3bAPI.th.jpg4bAPI.th.jpg

Last edited by unklar (2017-01-21 22:34:00)

Offline

#1488 2017-01-22 05:59:52

chepioq
Member
Registered: 2015-11-29
Posts: 69

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

Additional conky, to complete my conky in post #1478.

conky-texte:

conky.config = {
background = false,
use_xft = true,
font = 'DejaVuSansMono:size=8',
update_interval = 1800.0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
stippled_borders = 8,
border_inner_margin = 4,
alignment = 'top_left',
minimum_width = 190,
minimum_height = 283,
gap_x = 120,
gap_y = 505,
no_buffers = false,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = right,
text_buffer_size = 6144,
imlib_cache_size = 8192, 

default_outline_color = '000000',
color1 = 'F5B800',
color2 = '00f5ff',
}

conky.text = [[
${color2}${alignc}${font DejaVuSansMono:bold:size=10}Tendance${font}
${color1}${goto 13}${exec sed -n '8p' $HOME/.conkyrc/conky-1.10/conky-meteo/conky-aubagne-2/Forecast | tr -s '.' '\n' | sed 's/$/./g'}
${color2}${alignc}${font DejaVuSansMono:bold:size=10}Cette nuit${font}
${color1}${goto 13}${exec sed -n '16p' $HOME/.conkyrc/conky-1.10/conky-meteo/conky-aubagne-2/Forecast | tr -s '.' '\n' | sed 's/$/./g'}
]]

Yon2.jpg

I place this conky under my conky-meteo, because if I integrate the code in my conky-meteo it changes the width of my conky, depending on the length of the sentences.

Offline

#1489 2017-01-22 08:03:07

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

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

@chepioq
Can you please edit your initial post so that others can find everything in one post?


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

#1490 2017-01-22 08:31:07

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:
Sector11 wrote:

BTW, is it me or is 2b_Wunderground_API down for the count?
None of mine are working.  ???

The first 3 are working; the 4th doesn't.
I'll investigate tomorrow.

Right.
The script populates the output files without problem, so it's not a coding error.
All the first conkyrcs run OK, only the 4th one refuses to show up.
Remove some of the output and it worked alright.
So, the problem might be a combination of the large amount of output .conkyrc4  shows, a memory bug (?) perhaps in conky 1.10 and my crappy pc.
Waiting for confirmation from other people with better hardware than mine.


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

#1491 2017-01-22 12:57:36

chepioq
Member
Registered: 2015-11-29
Posts: 69

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

TeoBigusGeekus wrote:

@chepioq
Can you please edit your initial post so that others can find everything in one post?

Done.

Offline

#1492 2017-01-22 13:37:57

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

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

Well, I finally found out what the "thermometers" are for in the Accuweather scripts.  Up until today I thought they were 'just there'  - NOPE, they are Warnings - extreme heat or cold (cold I'm guessing)

Check out 30 / 31 Jan  sad

Probably comes into play at:

 22 Jan 17 @ 10:36:40 ~
  $ c2f 35

   35°C  =  95.00°F

but that's a guess.

@ Teo -  Will play with wunderground today.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1493 2017-01-22 14:48:49

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

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

Well, I found a problem right up front:

/media/5/Conky/2b_Wunderground_API/conkyrc1
${execi 600 bash /media/5/2_wunderground_int/wunderground-script}  DUH!!!!
Tested with:
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b} - works

/media/5/Conky/2b_Wunderground_API/conkyrc2
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b} - works

/media/5/Conky/2b_Wunderground_API/conkyrc2_SC
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b} - works

/media/5/Conky/2b_Wunderground_API/conkyrc3
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b}\ - works

/media/5/Conky/2b_Wunderground_API/conkyrc4 - 36 Hours
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b-66x40}\ - works

Special to use smaller images:
/media/5/Conky/2b_Wunderground_API/2b-66x40
/media/5/Conky/2b_Wunderground_API/Forecast_Images-66x40

/media/5/Conky/2b_Wunderground_API/conkyrc4_SC
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b}\ - works

/media/5/Conky/2b_Wunderground_API/conkyrc4_text - had the same as conkyrc1 :8
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b}\ - works
- was going to be converted to straight text - should do.


I have more but they do not have auto-start-stop scripts.
Still checking ...


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1494 2017-01-22 17:18:03

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

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

Definitely not wunderground.  It's ME :8   I don't know what caused my wife's script to stop working, I's run daily and working fine now.  So - me, except for the case of Teo's script that doesn't work.

2017-01-22_140943_Scrot11.th.png<--> 2017-01-22_141116_Scrot11.th.jpg
Two conkys - same thing almost.  I wonder why I did that?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1495 2017-01-22 18:25: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)

with conky1.10  big_smile
screenFetch-2017-01-22.th.png
??

Offline

#1496 2017-01-22 18:49:42

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

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

Yeah, it must be a pc resources thing.
No big deal...


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

#1497 2017-01-22 19:40:31

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

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

^ That's the 36hr one you're talking about, right?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1498 2017-01-22 19:43:07

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

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

Yeah, the huge one.


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

#1499 2017-01-22 20:08:39

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

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

Bummer ... Would it work without images?
Or using the smaller images?

I have one version that does not resize the images ${image} using -s uses CPU resources.

Soooooooooooooooo I resized the images and created a 36 HR one that uses the small images in their natural size:

/media/5/Conky/2b_Wunderground_API/conkyrc4 - 36 Hours
${execi 600 bash /media/5/Conky/2b_Wunderground_API/2b-66x40}\ - works

Special to use smaller images:
/media/5/Conky/2b_Wunderground_API/2b-66x40
/media/5/Conky/2b_Wunderground_API/Forecast_Images-66x40

Looks the same as the other one resizes the 37 images from 250x150 to 66x40: OK, not quite.  smile
${image /media/5/Conky/2b_Wunderground_API/h1.png -p 42,27 -s 41x25}
${image /media/5/Conky/2b_Wunderground_API/h1.png -p 100,105}

Of course the problem is if I run 2 wunderground scripts at the same time one using the 66x40 images - one of them will look like I was drunk when I made it.
2017-01-22_170525_Scrot11.th.png
I've been meaning to put that in a directory by itself so it doesn't mess up the other wunderground scripts.  big_smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1500 2017-01-22 20:11:59

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)

Oops, I know the .conkyrc4 with me an entry

max_specials = '512',

or

max_specials 512

has. I have been commenting on it a long time ago. Because otherwise she did not want to start.
One to three did not have this entry...  hmm

Offline

Board footer

Powered by FluxBB