You are not logged in.

#761 2016-04-22 13:17:19

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

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

loutch wrote:

as I am for my white period I would want to use conkywindNESW (if it is possible) in the 1a_accuweather_conkyweather_font

Didier-t does some very nice work.

That blue arrow is a good idea as well ... I like that better then the red direction pointers I {cough cough} borrowed.  big_smile

conkywindNESW could work with:

${if_match "${command}"=="NNE"}${font conkywindNESW}B${font}${endif}

It would take a 'few' ${if_match ...} commands to do it though like my thing with the red pointers.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#762 2016-04-22 13:19:28

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

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

fvirgola80 wrote:

@ Sectro11 you doing? I did not forget you  big_smile

Doing good here ... and getting better every day.  I should have 'upgraded' years ago!  cool


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#763 2016-04-22 13:52:25

loutch
Member
Registered: 2015-12-12
Posts: 848

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

@ S11

i try something but it doesn't work because i don't found in 1a_accuweather_conkyweather_font any wind direction

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#764 2016-04-22 15:19:49

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

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

OH I am sorry... you are right, no 'wind direction' in 1a_accuweather_conkyweather_font.

I was looking at 1b2_accuweather_conkyweather_font which does have the wind direction and speed.
Using the conky companion: 2016_04_22_11_59_35_Scrot11.jpg
Maybe you can use that script.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#765 2016-04-22 16:11:35

loutch
Member
Registered: 2015-12-12
Posts: 848

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

i found something it work with one line

1461341496.png

but we have 16 differends icons and my conky have 8 days , that is going to make me a conky with 16x8 = 128 lines and more if we ad the current day

Last edited by loutch (2016-04-22 16:20:51)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#766 2016-04-22 16:33:37

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

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

If you want my input:  Only do the "current wind".  Everything past today is a 'guess" anyway.  smile

What line did you use?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#767 2016-04-22 16:54: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)

Can you please explain to me what you're trying to do to see if I could be of any help?


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

#768 2016-04-22 16:56:03

loutch
Member
Registered: 2015-12-12
Posts: 848

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

Ok but i have something wrong ,with one line i habe any icon but with too or more lines i have nothing

${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="N"}${font conkywindNESW:size=30}A${else}
                                                                                                                  ${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="E"}${font conkywindNESW:size=30}E${else}
                                                                                                                  ${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="S"}${font conkywindNESW:size=30}I${else}
                                                                                                                  ${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="W"}${font conkywindNESW:size=30}M${endif}${endif}${endif}${endif}


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#769 2016-04-22 17:03:58

loutch
Member
Registered: 2015-12-12
Posts: 848

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

TeoBigusGeekus wrote:

Can you please explain to me what you're trying to do to see if I could be of any help?


i try to ad a wind direction like this :

http://pix.tdct.org/upload/original/1461341496.png

at this conky

1460883485.png


i just see that is impossible because 1b2_accuweather_conkyweather_font  have just wind direction in the current condition and not for everydays

Last edited by loutch (2016-04-22 17:12:11)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#770 2016-04-23 08:40:18

loutch
Member
Registered: 2015-12-12
Posts: 848

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

Hello i integrate the wind direction in the weather-conky for the moment it work great he change the icon .The modification are just for the 16 first wind direction .

1461400598.png

here the conkyrc

${execi 600 bash $HOME/1b2_accuweather_conkyweather_font/1b2}
${voffset 40}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="N"}${font conkywindNESW:size=40}1${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="NE"}${font conkywindNESW:size=40}2${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="NNE"}${font conkywindNESW:size=40}3${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="ENE"}${font conkywindNESW:size=40}4${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="E"}${font conkywindNESW:size=40}5${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="SE"}${font conkywindNESW:size=40}6${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="ESE"}${font conkywindNESW:size=40}7${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="SSE"}${font conkywindNESW:size=40}8${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="S"}${font conkywindNESW:size=40}9${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="SO"}${font conkywindNESW:size=40}:${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="SSO"}${font conkywindNESW:size=40};${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="OSO"}${font conkywindNESW:size=40}<${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="O"}${font conkywindNESW:size=40}=${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="ON"}${font conkywindNESW:size=40}>${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="NNO"}${font conkywindNESW:size=40}?${else}
${voffset -15}${offset 165}${if_match "${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}"=="ONO"}${font conkywindNESW:size=40}@${endif}
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}
${execi 120 ~/.conky/meteo/meteo.sh FRXX2585}
${voffset -160}${font GE Inspira :size=40}${execi 120 ~/.conky/meteo/meteo2.sh "Température aujourd'hui" |cut -c1-5}$font 
${execi 90 sed -n '3p' $HOME/.conky/meteo/meteo-fr.txt |cut -c25-59}
${font weather:size=60}${voffset -60}${offset 160}${execi 120 ~/.conky/meteo/meteo2.sh "Conditions aujourd'hui"}${font}
${voffset -10} Vent : ${execi 120 ~/.conky/meteo/meteo2.sh "Vent aujourd'hui"}
 Lever du soleil : ${execi 120 ~/.conky/meteo/meteo2.sh "Lever du soleil"}
 Coucher du soleil : ${execi 120 ~/.conky/meteo/meteo2.sh "Coucher du soleil"}
${voffset 60} Demain : ${execi 120 ~/.conky/meteo/meteo2.sh "Température demain"}
 ${execi 90 sed -n '6p' $HOME/.conky/meteo/meteo-fr.txt |cut -c21-45}  
${font weather:size=30}${voffset -35}${offset 200}${execi 120 ~/.conky/meteo/meteo2.sh "Conditions demain"}${font}
${voffset -200}


i traduce in french here the line in the 1b2

sed -i -e 's/NW/NO/g' -e 's/WNW/ONO/g' -e 's/NNW/NNO/g' -e 's/W/O/g' -e 's/SSW/SSO/g' -e 's/SW/SO/g' -e 's/WSW/OSO/g' /$HOME/1b2_accuweather_conkyweather_font/curr_cond

@+

Last edited by loutch (2016-04-23 12:54:59)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#771 2016-04-23 12:48:43

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

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

@loutch -   Looks good, but it will be really hard on your CPU with the next 8 days.  8*16=128 ${if_match ...}, ${else}, ${endif} combinations.

Also, you are missing three - if they ever show in your weather script:  -  !  and  %
2016_04_23_09_41_59_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#772 2016-04-23 12:52:51

loutch
Member
Registered: 2015-12-12
Posts: 848

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

@S11

I don't know at what direction  coorespond - ! and %


S11 wrote:

@loutch -   Looks good, but it will be really hard on your CPU with the next 8 days.  8*16=128 ${if_match ...}, ${else}, ${endif} combinations.

yes i do not think of making for the moment the other lines because i don't think that 1b2 works with landings of speed

Last edited by loutch (2016-04-23 13:02:30)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#773 2016-04-23 13:06:48

loutch
Member
Registered: 2015-12-12
Posts: 848

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

here wind change at 3:05 PM

1461416806.png


@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#774 2016-04-23 14:28:20

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

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

loutch wrote:

@S11

I don't know at what direction  coorespond - ! and %

Calm:   free from storm or wind; "calm seas" - "no wind"
» ConkyWindNESW  %

Variable: liable to or capable of change; "variable winds" - constantly changing direction
» ConkyWindNESW  !

If the accuweather weather site temporarily has no wind data they will sometimes report: Not Available or N/A
» ConkyWindNESW  -

1b2 does wind speed for currently.  ... look in "curr_cond"  Image
line 31 - wind direction - NE and line 38 - wind speed


My calculations (8*16=128) were not for speed but for directions only - for the next 8 days - and don't take into consideration the "N/A", "variable" or "no wind" factors either.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#775 2016-04-23 14:38:50

loutch
Member
Registered: 2015-12-12
Posts: 848

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

ok


tanks and


@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#776 2016-04-23 14:43:01

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

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

wink  no problem.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#777 2016-05-02 11:01:25

loutch
Member
Registered: 2015-12-12
Posts: 848

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

Hello

Here a conky-meteo with 2b_wunderground like the Didier-t Conkyrc (three next hours and three next days)

Above that of the Didier next size down the wunderground

1462186614.png

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#778 2016-05-02 11:43:05

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

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

WOW!  Both very nice.  Good to see Teo's scripts getting some love from the French community.

Didier-t's work is excellent!  Thanks for sharing these loutch


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#779 2016-05-02 16:44:28

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

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

Very beautiful loutch!


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

#780 2016-05-04 09:26:50

sarai
New Member
Registered: 2016-04-21
Posts: 3

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

My weather script stopped working today- nothing changed but all of a sudden it started loading a bunch of weather symbols and blank boxes. I restarted it and same thing (should have taken a screenshot) and even tried deleting all the little files created by the script but now nothing loads at all.

Conky is giving the error:

sed: -e expression #1, char 9: unterminated `s' command
sed: -e expression #1, char 5: unterminated `s' command
sed: -e expression #1, char 12: unterminated `s' command
sed: -e expression #1, char 10: unterminated `s' command

This is for the 1b2 script. sad

Offline

Board footer

Powered by FluxBB