You are not logged in.

#4021 2021-10-04 09:27:05

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

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

Hello

Many tanks Théo

Here the rest with sat images.

What is today with the version 1.10 of conky is that the click does not work anymore, before I could make the satellite images appear or disappear by clicking on the conky now I have to restart the conky.


Capture-d-cran-2021-10-04-11-20-10.png

@+

Last edited by loutch (2021-10-04 09:27:42)


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

#4022 2021-10-04 13:26:47

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

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

^@loutch

C'est un rêve !  big_smile
S'agit-il toujours des anciens scripts (satellites) que @ragamatrix utilisait également ?

Je pourrais utiliser quelque chose de "plus à droite" .... (Ich könnte etwas "weiter rechts" gebrauchen ....)
------------------------------
This is a dream!
Are these still the old (satellite) scripts that @ragamatrix also used?

I could use something "further right"....

loutch wrote:

What is today with the version 1.10 of conky is that the click does not work anymore, before I could make the satellite images appear or disappear by clicking on the conky now I have to restart the conky.

Which Conky version is this?
Maybe it was updated in the meantime and you didn't notice it.

Offline

#4023 2021-10-04 14:48:18

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

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

Hello unklar

conky in 1.10-8 .

die scripte sind von meinem mageia5 und villeicht von ragamatrix

meine

#!/bin/bash

rm $HOME/tmpconky/satimage.png

sleep 3

wget -O $HOME/tmpconky/satimage.png https://neige.meteociel.fr/satellite/latest-vis.jpg

exit 0

ragamatrix ????

#!/bin/bash

file_exists() {
    if [ -e "$1" ]; then
        return 0
    else
        return 1
    fi
}

PREFIX=${HOME}/tmpconky/
RSAT=${PREFIX}radar-sat
#RSAT_zoom=${PREFIX}radar-satzoom
OUTPUT=${PREFIX}europe.png
tailleRSAT=80
#tailleRSAT_zoom=80
tailledecoupe_ir2=692x692
#tailledecoupe_zoom=150x150
################################
################################
#Annotation pour vérifier si l'image est actualisée ##HelveticaLTStd-BlkCond
jour=$(date +%d.%m.%y); heuremodif=$(date +%H); minmodif=$(date +%M)
#fonte=Open-Sans-Bold
libelle=""
TXT=${PREFIX}updated.png
#################################################################

adrS="https://eumetview.eumetsat.int/static-images/latestImages/EUMETSAT_MSG_RGBNatColour_WesternEurope.jpg"

wget -qO "${RSAT}" "${adrS}"

convert ${RSAT} -filter Lanczos -crop $tailledecoupe_ir2+331+1\! ${RSAT}.png
#convert ${RSAT} -filter Lanczos -crop $tailledecoupe_zoom+389+335\! ${RSAT_zoom}.png
#convert ${RSAT_zoom}.png -resize ${tailleRSAT_zoom}% ${RSAT_zoom}
#########################################################
convert ${RSAT}.png -resize ${tailleRSAT}% ${RSAT}.png
convert  ${RSAT}.png \
\( +clone  -alpha extract \
       -draw 'fill black polygon 0,0 0,5 5,0 fill white circle 5,5 5,0' \
        \( +clone -flip \) -compose Multiply -composite \
        \( +clone -flop \) -compose Multiply -composite \
     \) -alpha off -compose CopyOpacity -composite ${RSAT}.png

#convert -background transparent -fill blue -font Ubuntu -pointsize 17 -gravity center label:"${libelle} ${jour} @ ${heuremodif} : ${minmodif}" -trim \
#\( +clone -background skyblue  -shadow 100x1 -channel A -level 0,6% +channel \) +swap +repage -gravity center -composite ${TXT}



convert $RSAT.png  -background  black \( +clone -shadow 70x4+4+4 \) +swap -background none -flatten ${OUTPUT}

composite -geometry +35+10 ${TXT} ${OUTPUT} ${OUTPUT}

if file_exists "${HOME}"/tmpconky/radar-sat-*; then
    rm "${HOME}"/.conky/tmpconky/radar-sat-* "${RSAT}" "${RSAT}.png"
else
    rm "${RSAT}" "${RSAT}.png"
fi
 
exit

keine problem 

systeme oder barographe-barometre


Das wahr in M5 kde eine conky-clic in 1.9 version

@+

Last edited by loutch (2021-10-04 19:20:57)


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

#4024 2021-10-05 09:17: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)

That's what I call conky weather extravaganza !!! smile


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

#4025 2021-10-05 11:43:15

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

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

loutch wrote:

Hello unklar

conky in 1.10-8 .

die scripte sind von meinem mageia5 und villeicht von ragamatrix

meine

#!/bin/bash

rm $HOME/tmpconky/satimage.png

sleep 3

wget -O $HOME/tmpconky/satimage.png https://neige.meteociel.fr/satellite/latest-vis.jpg

exit 0

ragamatrix ????

#!/bin/bash

file_exists() {
    if [ -e "$1" ]; then
        return 0
    else
        return 1
    fi
}

PREFIX=${HOME}/tmpconky/
RSAT=${PREFIX}radar-sat
#RSAT_zoom=${PREFIX}radar-satzoom
OUTPUT=${PREFIX}europe.png
tailleRSAT=80
#tailleRSAT_zoom=80
tailledecoupe_ir2=692x692
#tailledecoupe_zoom=150x150
################################
################################
#Annotation pour vérifier si l'image est actualisée ##HelveticaLTStd-BlkCond
jour=$(date +%d.%m.%y); heuremodif=$(date +%H); minmodif=$(date +%M)
#fonte=Open-Sans-Bold
libelle=""
TXT=${PREFIX}updated.png
#################################################################

adrS="https://eumetview.eumetsat.int/static-images/latestImages/EUMETSAT_MSG_RGBNatColour_WesternEurope.jpg"

wget -qO "${RSAT}" "${adrS}"

convert ${RSAT} -filter Lanczos -crop $tailledecoupe_ir2+331+1\! ${RSAT}.png
#convert ${RSAT} -filter Lanczos -crop $tailledecoupe_zoom+389+335\! ${RSAT_zoom}.png
#convert ${RSAT_zoom}.png -resize ${tailleRSAT_zoom}% ${RSAT_zoom}
#########################################################
convert ${RSAT}.png -resize ${tailleRSAT}% ${RSAT}.png
convert  ${RSAT}.png \
\( +clone  -alpha extract \
       -draw 'fill black polygon 0,0 0,5 5,0 fill white circle 5,5 5,0' \
        \( +clone -flip \) -compose Multiply -composite \
        \( +clone -flop \) -compose Multiply -composite \
     \) -alpha off -compose CopyOpacity -composite ${RSAT}.png

#convert -background transparent -fill blue -font Ubuntu -pointsize 17 -gravity center label:"${libelle} ${jour} @ ${heuremodif} : ${minmodif}" -trim \
#\( +clone -background skyblue  -shadow 100x1 -channel A -level 0,6% +channel \) +swap +repage -gravity center -composite ${TXT}



convert $RSAT.png  -background  black \( +clone -shadow 70x4+4+4 \) +swap -background none -flatten ${OUTPUT}

composite -geometry +35+10 ${TXT} ${OUTPUT} ${OUTPUT}

if file_exists "${HOME}"/tmpconky/radar-sat-*; then
    rm "${HOME}"/.conky/tmpconky/radar-sat-* "${RSAT}" "${RSAT}.png"
else
    rm "${RSAT}" "${RSAT}.png"
fi
 
exit

keine problem 

systeme oder barographe-barometre


Das wahr in M5 kde eine conky-clic in 1.9 version

@+

Merci, loutch.
Je n'avais pas encore votre script simple. Voici le résultat.
2021-10-05-13-14-10_scrot.th.png link


Darkly, je me souviens de deux fois où lua ne fonctionnait pas dans une configuration (dans la version 1.10).

...
	lua_load = '~/.conky/rumit/scripts/image.lua',
--${lua fDrawImage $HOME/tmpconky/satimage.png 0 730 240 240 0}
};

conky.text = [[
${font monofur:size=9}${alignc}Conky v${conky_version}${font}
${goto 55}${font LED_mono:size=25}${color6}88:88:88${goto 55}${color}${time %T}${color}${font}
${texeci 1200 bash $HOME/.conky/rumit/neige.sh}${lua fDrawImage $HOME/.conky/rumit/satir-1.png 0 490 240 240 0}
#${texeci 1200 bash $HOME/.conky/rumit/scripts/loutch.sh}${image $HOME/tmpconky/satimage.png -p 0,0 -s 240x240}
${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f}
...

J'ai donc dû configurer un conky supplémentaire et le placer comme ça :

-- LUA --	
--lua_load = '~/.conky/scripts/draw_bg.lua',
--lua_draw_hook_pre = 'draw_bg 10 0 0 0 0 0x000000 0.55',

};

conky.text = [[

${texeci 1200 bash $HOME/.conky/rumit/scripts/loutch.sh}
${image $HOME/tmpconky/satimage.png -p 0,0 -s 240x240}
...

Quelle était l'astuce pour le mettre dans une configuration de toute façon ?   big_smile

Offline

#4026 2021-10-05 13:08:26

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

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

re

@ unklar

Super


Quelle était l'astuce pour le mettre dans une configuration de toute façon ? 

sorry immer noch nicht gefunden mit diesem verdammten Version 1.10 , fur mich es ist

1 lua Skript für 1 conky

2 lua Skripte  für 2 conky

  etc.....

Nun, wenn jetzt eine freundliche Seele weiß, wie man mehrere Lua-Skripte in ein conky setzen, werde ich es nehmen.
--------------------------------
sorry still not found with this damn version 1.10 , for me it is

1 lua script for 1 conky

2 lua scripts for 2 conky

  etc.....

Well if now some kind soul knows how to put several lua scripts in a conky I take .
@+

Last edited by loutch (2021-10-05 13:12:55)


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

#4027 2021-10-05 16:08:23

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

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

loutch wrote:

sorry immer noch nicht gefunden mit diesem verdammten Version 1.10 , fur mich es ist
...
--------------------------------
sorry still not found with this damn version 1.10 , for me it is
...

lol  lol  lol

J'aime ça !

Si je ne me trompe pas, @manuel-909 connaissait la solution.  wink

Offline

#4028 2021-10-08 07:18:01

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

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

I finally got around to installing the fixed script because it was looking like this more and more often:

Screenshot_20211008_090607.th.png   link Screenshot_20211008_091858.th.png   link


Thanks again, Teo.  smile

Last edited by unklar (2021-10-08 07:21:16)

Offline

#4029 2021-10-13 10:40:25

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

Looks like accuweather is it at again

conky: desktop window (2201414) is subwindow of root window (1e6)
conky: window type - normal
conky: drawing to created window (0x5a00002)
conky: drawing to double buffer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21869  100 21869    0     0  28401      0 --:--:-- --:--:-- --:--:-- 28364
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 22611  100 22611    0     0  25207      0 --:--:-- --:--:-- --:--:-- 25179
cp: target '/home/thomas/Accuweather_conky_script/forecast_2016/forecast_2.png' is not a directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/80%.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/79.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/69.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/73.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/77.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/80.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/80.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/79.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/80.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/82.png': No such file or directory

daily_forecast now has 2 extra outputs. I had to adjust my conkyrc, but I only have weather icons for for 2 days. Looks like they added

LOCAL HURRICANE TRACKER
Pamela

Which is what is throwing off my conkyrc

Offline

#4030 2021-10-14 10:32:06

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

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

Here everything is (still) ok.   big_smile

Edit: Are you also up to date?

Last edited by unklar (2021-10-14 15:00:12)

Offline

#4031 2021-10-14 19:50: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)

Sorry for the late response, mine's also ok, but we don't have hurricanes in Greece (apart from our political choices and political life in general).
Can you remind me your accuweather address again seatommyboy?


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

#4032 2021-10-15 10:57:30

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

I think it was the hurricane thing they added tht threw things off. Booted this morning and everything is fine. Thanks...

Offline

#4033 2021-10-16 21:30:14

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, thanks for the feedback.


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

#4034 2022-02-06 19:55:32

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

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

It looks like something has changed again -- the hourly accuweather shows only the first three hours.

Offline

#4035 2022-02-07 09:25:34

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

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

I can confirm that. The error message reads:

..
sed: -e Ausdruck #1, Zeichen 21: Unbekannte Option für »s«
sed: -e Ausdruck #1, Zeichen 21: Unbekannte Option für »s«
..

The whole thing then looks like this:
YNimxxht.png

Offline

#4036 2022-02-07 19:54:59

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've tried for Kastoria and Lichtenstein, can't replicate the error.
Maybe a temporary glitch from Accuweather?

Please monitor and report back, my access to a linux machine is limited.


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

#4037 2022-02-08 06:13:12

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

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

It looks like everything is normal now.

Offline

#4038 2022-02-08 10:13:21

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

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

^Yes, sorry, everything is fine here too.   wink

Offline

#4039 2022-02-17 10:59:38

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

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

Well, they did it again.
For two days they play like the weather.com did back then  8o

@Teo, sorry, I woke them up. :8


Everything for the cat...
I had also just started  big_smile
uLLAknat.png

Last edited by unklar (2022-02-17 11:21:09)

Offline

#4040 2022-02-17 11:09:14

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

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

Yes, mine output is also messed up.

Offline

Board footer

Powered by FluxBB