You are not logged in.

#3721 2020-08-23 21:23: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)

It's totally correct, you've done a perfect job as always buddy.
It's just strange to see greek characters in other people's conkys.


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

#3722 2020-08-23 21:30:11

manuel-909
Member
Registered: 2017-10-09
Posts: 94

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

Nice one sector11.....  smile

Offline

#3723 2020-08-23 22:29:38

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

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

TeoBigusGeekus wrote:

It's totally correct, you've done a perfect job as always buddy.
It's just strange to see greek characters in other people's conkys.

And I though my forgetter was getting better.

I asked you a while back if those would work as short form of 2 characters for a calendar and you said yes.  They have been on that and other calendars here ever since  big_smile

Being non Greek, I think they look "wonderful"

Τομέας11 or ΤΟΜΕΑΣ11
Είμαι φίλος σου!

;D


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3724 2020-08-25 06:20: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)

Κι εγώ είμαι φίλος σου Τομέα11!
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

#3725 2020-08-25 12:54:26

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

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

↑↑↑↑↑ That calls for a coffee/drink

Everyone here, belly up to the bar I'm buying!
Slaps €5000 on the bar!
- hey were in pixellandia, I can afford it!

Bartender, I'm driving the keyboard, coffee please.
Everyone else, speak up, bartender is waiting.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3726 2020-08-26 07:28: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)

Only tea for me, thanks (or scotch tongue)
Στην υγειά σου!


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

#3727 2020-08-26 11:44:26

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,

with the first "autumn storm" over Germany today, Accuweather has decided to make curr_cond look like this:

EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
-

Can anyone here in Europe confirm this ?

Offline

#3728 2020-08-26 12:36:10

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

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

unklar wrote:

@Teo,

with the first "autumn storm" over Germany today, Accuweather has decided to make curr_cond look like this:

EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
-

Can anyone here in Europe confirm this ?

Hi, confirm.
Cheers
2020-08-26-143401_1600x900_scrot.th.png

Offline

#3729 2020-08-26 14:45:06

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

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

@  Teo,
In my best Scots Gaelic accent, which it really terrible.

How about a cuppa tea with a scotch chaser sir!  The finest in the house for sure.

Now to continue...

I'm thinking instead of in a conky; a cron job.

FROM:

${execpi 900 /media/5/Conky/Weather_com_conky_script/weather_com}\

TO:

*/45 * * * * cd /media/5/Conky/Weather_com_conky_script/ && weather_com

or just

*/45 * * * * /media/5/Conky/Weather_com_conky_script/weather_com

IF I leave the line:

weather_conky_launch_command="conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky"

it should still stop the conky when it updates.

your thoughts?

Also what if I use the same info in 2 different conkys would this work?

weather_conky_launch_command="conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky"
weather_conky_launch_command="conky -c /media/5/Conky/Weather_com_conky_script/wetter.conky"

Or in the script would I need:

weather_conky_launch_command="conky -c /media/5/Conky/Weather_com_conky_script/wetter_com-1.9.conky"
weather_conky_launch_command_2="conky -c /media/5/Conky/Weather_com_conky_script/wetter.conky"
{snip}

pkill -STOP -xf "$weather_conky_launch_command"
pkill -STOP -xf "$weather_conky_launch_command_2"

{snip}

pkill -CONT -xf "$weather_conky_launch_command"
pkill -CONT -xf "$weather_conky_launch_command_2"

Just a wild though I had.

===============================
@ unklar

Again with the Scots Gaelic accent the bartender looks at unklar....

I can tell you're a scotch whiskey man, here's the finest in the house.
One for every EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES

That's not good, wish I could fix it for you.

@ Teo IMHO:

Forget compatibility with old ... build for new!

This is beginning to sound like Weather.com has a system in place where the database is being created "live" as things change

Argentina still working:
2020-08-26_114831_S11.th.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3730 2020-08-26 15:36:44

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)

Sector11 wrote:

@ unklar

Again with the Scots Gaelic accent the bartender looks at unklar....

    I can tell you're a scotch whiskey man, here's the finest in the house.
    One for every EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES

That's not good, wish I could fix it for you.

Hello, my friend!

First the whisky. lol lol big_smile
I have now arrived at Linkwood, 12 years old.
Even my wife appreciates it because of its excellent taste.

To the weather.
The mistake is in Accuweather and not in Weather_com.   wink

About your proposition to Teo.
Why do you want to do this with cron_job?
I mean, Teo has here announced the procedure with his script and its execution before the desktop starts.
I'm using this at Weather.com and it works great, i.e. I have the current weather data with the start of the desktop. Not only with the second run of the Conky.

Or, do you mean something else and I get you wrong ?   smile

Offline

#3731 2020-08-26 20:15:50

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

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

unklar wrote:

Hello, my friend!

First the whisky. lol lol big_smile
I have now arrived at Linkwood, 12 years old.
Even my wife appreciates it because of its excellent taste.

Well, if your wife approves then you have a winner!  big_smile

unklar wrote:

To the weather.
The mistake is in Accuweather and not in Weather_com.   wink

Ohhhhh!!! OOPS!

We all know about me and my OOPSIES! Sorry.

unklar wrote:

{snip}
Or, do you mean something else and I get you wrong ?   smile

Exactly.

I have been doing what Teo suggested since he suggested it.

My openbox autostart file:

## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
## For commented version of autostart SEE:
## medit /home/sector11/.config/openbox/autostart-2020-03-05

#######
## bash /home/teo/Weather_com_conky_script/weather_com
##
## As you can see, before I start conky, I execute the weather.com script once
## (WITHOUT an ambersand, so that it first finishes its job and then control
## is passed to the next command) and I now have fresh data, even on first
## launch.
bash /media/5/Conky/Weather_com_conky_script/weather_com
#######

xset -dpms &
xset s off &
xset -b &
nitrogen --restore &
compton --config ~/.config/compton/S11.compton.conf &
thunar --daemon &
fbpanel &
(sleep 1s && volumeicon) &
(sleep 1s && artha) &
(sleep 1s && discord --start-minimized) &
## Start all conkys
(sleep 2s && /media/5/Conky/OBMenuS/S11_Current.sh) &

exit

BUT
I like to play with conkys and IF I forget to remove the line that calls the weather script, it keeps going on the net to collect the data.

NOW if the line is NOT in the conky in the first place, it can be removed from the openbox autostart file as well, if it is in a cron job that runs before openbox even looks for it's autostart file.

Now I can edit a conky without worrying about removing a line and replacing it when:

  • I am creating a new conky, or

  • modifying an existing conky, or

  • testing a 'what if I do this' idea

Just a thought


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3732 2020-08-27 11:48:55

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

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

Hi @Teo,
I wanted to ask you why the script weather_com works with this weather.com address:
https://weather.com/en-GB/weather/tenda … 9f3d67cfb1

while with this address of weather.com, the weather_com script does not work:
https://weather.com/it-IT/tempo/10giorn … 9f3d67cfb1

I am attaching you terminal errors

archlabs% /home/eroe/Weather_com_conky_script/weather_com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  105k    0  105k    0     0  81262      0 --:--:--  0:00:01 --:--:-- 81201
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  105k    0  105k    0     0   110k      0 --:--:-- --:--:-- --:--:--  110k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  105k    0  105k    0     0   388k      0 --:--:-- --:--:-- --:--:--  388k

(process:220479): librsvg-CRITICAL **: 01:46:15.311: Handle could not read or parse the SVG; did you check for errors during the loading stage?Handle is still loading; call rsvg_handle_close() firstHandle has not been loadedhandle must already be loaded in order to call rsvg_handle_set_stylesheet()RsvgError

process:220479): librsvg-CRITICAL **: 01:46:15.311: Handle could not read or parse the SVG; did you check for errors during the loading stage?Handle is still loading; call rsvg_handle_close() firstHandle has not been loadedhandle must already be loaded in order to call rsvg_handle_set_stylesheet()RsvgError
convert: negative or zero image size `/home/eroe/Weather_com_conky_script/Forecast_Images/d10.svg' @ error/image.c/SetImageExtent/2641.
convert: no decode delegate for this image format `/home/eroe/Weather_com_conky_script/Forecast_Images/d10.svg' @ error/svg.c/ReadSVGImage/3425.
convert: no images defined `/home/eroe/Weather_com_conky_script/Forecast_Images/d10.png' @ error/convert.c/ConvertImageCommand/3285.

(process:220515): librsvg-CRITICAL **: 01:46:16.979: Handle could not read or parse the SVG; did you check for errors during the loading stage?Handle is still loading; call rsvg_handle_close() firstHandle has not been loadedhandle must already be loaded in order to call rsvg_handle_set_stylesheet()RsvgError

(process:220515): librsvg-CRITICAL **: 01:46:16.979: Handle could not read or parse the SVG; did you check for errors during the loading stage?Handle is still loading; call rsvg_handle_close() firstHandle has not been loadedhandle must already be loaded in order to call rsvg_handle_set_stylesheet()RsvgError
convert: negative or zero image size `/home/eroe/Weather_com_conky_script/Forecast_Images/d11.svg' @ error/image.c/SetImageExtent/2641.
convert: no decode delegate for this image format `/home/eroe/Weather_com_conky_script/Forecast_Images/d11.svg' @ error/svg.c/ReadSVGImage/3425.
convert: no images defined `/home/eroe/Weather_com_conky_script/Forecast_Images/d11.png' @ error/convert.c/ConvertImageCommand/3285.

(process:220561): librsvg-CRITICAL **: 01:46:18.577: Handle could not read or parse the SVG; did you check for errors during the loading stage?Handle is still loading; call rsvg_handle_close() firstHandle has not been loadedhandle must already be loaded in order to call rsvg_handle_set_stylesheet()RsvgError

(process:220561): librsvg-CRITICAL **: 01:46:18.577: Handle could not read or parse the SVG; did you check for errors during the loading stage?Handle is still loading; call rsvg_handle_close() firstHandle has not been loadedhandle must already be loaded in order to call rsvg_handle_set_stylesheet()RsvgError
convert: negative or zero image size `/home/eroe/Weather_com_conky_script/Forecast_Images/d12.svg' @ error/image.c/SetImageExtent/2641.
convert: no decode delegate for this image format `/home/eroe/Weather_com_conky_script/Forecast_Images/d12.svg' @ error/svg.c/ReadSVGImage/3425.
convert: no images defined `/home/eroe/Weather_com_conky_script/Forecast_Images/d12.png' @ error/convert.c/ConvertImageCommand/3285.

What am I doing wrong?!
Thanks for the work you do for us.
Cheers

Last edited by ector1935 (2020-08-27 11:49:43)

Offline

#3733 2020-08-27 17:57:01

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

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

@S11
I had previously thought about cron for updating the script, but I don't want to get the average user into more trouble than he already is into. Most of the users like to keep it simple: conky is a luxury, weather in conky? extra luxury, cron for weather in conky? oh for God's sake!!!
You can of course try it and report back... wink

@ector1935
I'll try to test the script in Italian my friend and report back.

@unklar
Yep, the current weather in the Accuweather script needs a total rewrite.
I'll see to it as soon as I can, BUT... this summer is starting to get ridiculous guys, conky weather wise I mean  neutral


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

#3734 2020-08-27 18:26:55

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

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

I'm a complicated person in a simple world.
As I said I was just asking.  It "should" work, I think, maybe.

Conky weather 2020 is like the rest of the world in 2020
NOT A NICE YEAR!

Teo is the Weatherman and needs a break.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3735 2020-08-27 23:38:11

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

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

@ector1935
I get perfect results with

address="https://weather.com/it-IT/tempo/oggi/l/7d61ea112d284a9831b849405043ab7dc4c5e2d678bacedd1efed19f3d67cfb1"

Have you changed the necessary variables?

hourly=orario
today=oggi
tenday=10giorni
night=Notte
N=...

etc


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

#3736 2020-08-28 10:12:02

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)

Sector11 wrote:
unklar wrote:

{snip}
Or, do you mean something else and I get you wrong ?   smile

Exactly.

I have been doing what Teo suggested since he suggested it.

I suspected it. I was on the wrong horse. I'm sorry.   wink

TeoBigusGeekus wrote:

@unklar
Yep, the current weather in the Accuweather script needs a total rewrite.
I'll see to it as soon as I can, BUT... this summer is starting to get ridiculous guys, conky weather wise I mean  neutral

@Teo,
I have already taken an example from you:
You have to take everything easy. Take your time!  big_smile

Offline

#3737 2020-08-28 12:06:25

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

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

No need to apologize at all unklar.  It was a normal response.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3738 2020-08-28 13:21:05

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

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

TeoBigusGeekus wrote:

@ector1935
I get perfect results with

address="https://weather.com/it-IT/tempo/oggi/l/7d61ea112d284a9831b849405043ab7dc4c5e2d678bacedd1efed19f3d67cfb1"

Have you changed the necessary variables?

hourly=orario
today=oggi
tenday=10giorni
night=Notte
N=...

etc

Not.
Now I have settled.
What is the etc etc etc.. are other variables to change ?!
But it only happens to me that the maximum temperatures are in%.
sig!

2020-08-28-151825_1600x900_scrot.th.png


Edit
I put Hourly=Orario uppercase initial letter and everything looks okay,but maybe it wasn't that either, I just know that conky is working now.

2020-08-28-154455_1600x900_scrot.th.png

Thank@Teo
Cheers

Last edited by ector1935 (2020-08-28 13:49:46)

Offline

#3739 2020-08-28 21:00:47

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

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

Hi everyone, sorry if I'm still disturbing, but tonight nothing new is working on weather.com.
Does it happen to you too ?!
Teo when you have time you can check.
Thank you

Offline

#3740 2020-08-29 04:59:14

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)

Yes! No data in 10days and hourly.
This time they conspired against Teo at the same time.   8o  sad

Offline

Board footer

Powered by FluxBB