You are not logged in.

#2176 2018-10-01 20:31:55

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

Nah, this was just the script I used in the first place to download all accuweather images.
I forgot it was there, you can safely delete it.

EDIT: It works anyway.
EDIT2: I promise to look into git sometime in the future if it's gonna make your lives easier. Perhaps in the winter, if I find the time that is tongue

Last edited by TeoBigusGeekus (2018-10-01 20:33:53)


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

#2177 2018-10-02 07:57:01

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

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

It would be nice. big_smile

Offline

#2178 2018-10-17 14:56:14

earlybird
ほやほや
Registered: 2015-12-16
Posts: 684
Website

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

For all who are using Teo's scripts with the WeatherUnderground API, this is good to know: Effective 2018-12-31, the API will shut down. Source.

Offline

#2179 2018-10-17 16:41:54

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,275

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

Hmmmm will have to convert my WU API scripts to Accueather


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2180 2018-10-17 17:03:11

unklar
Member
Registered: 2015-10-31
Posts: 844

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

@earlybird

we already know that.   wink


@Sector11
I'm in (and Teo anyway)   cool

Last edited by unklar (2018-10-17 17:10:09)

Offline

#2181 2018-10-17 17:12:18

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

Is it absolutely certain that the current WU script will stop working?
It uses a master key that seems to work for everybody.
Let's wait and see...


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

#2182 2018-10-17 17:18:33

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,275

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

Now that's interesting.  I know I still have some of mrpeachy's wunderground LUA scripts that still work too.

Look out January 1st we are coming for you!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2183 2018-10-19 20:13:58

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

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

Hello everyone, I was wondering if it happens only to me.
Thanks for your help

2018-10-19-220932_353x807_scrot.th.png

as if not said, everything works.
Sorry for the useless post

Last edited by ector1935 (2018-10-19 20:27:43)

Offline

#2184 2018-10-20 05:11:09

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

If you mean the absence of images, it only happens when I power on my pc (or after a restart) because conky doesn't have the time to "see" them. After it updates itself for the first time the images are always there.
Is your internet connection stable?


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

#2185 2018-10-21 10:20:48

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

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

Thanks @teo it happens when I start it, the connection is ok.
It all works.
thank you
Regards

Offline

#2186 2018-10-21 11:34:41

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

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

#2187 2018-11-01 20:48:25

unklar
Member
Registered: 2015-10-31
Posts: 844

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

Today I received the text "[End of Service] Weather Underground API" via e-mail...

It's a pity, but the reliability of the transmitted data of "my personal weather station" (pw) was excellent in the last three months and never better!
cry   monkey

Offline

#2188 2018-11-01 21:24:14

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,275

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

Yea, I got the same same, unklar.

It did say this though:

Your subscriptions, and therefore access, will continue to work through 12/31/2018

... so we will just have to convert everything to Accuweather.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2189 2018-12-23 03:22:23

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

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

I have a question about executing the weather scripts in conky.

I don't remember how log I have this issue, but I've managed to target it now, and it looks like the texeci is involved somehow.

Basically when I start conky, everything works just fine for some time, but from time to time, my GUI session hangs/freezes for 10-30 seconds, and after that it works fine again. When the hang happens, the mouse and audio work fine, but keystrokes and video seem to be frozen like in a regular hang when you want to press the reset button, but I can switch to TTY via ctrl+alt+F1 (so keyboard works), and under TTY everything works fine. When I go back to GUI session, it's still frozen. So it looks like only X-server/window_manager/compositor_manager is hanged. When everything backs to normal, my GUI session gets some fast forward mode, so for example a movie speeds up for a few secs to display all the frames that weren't displayed during the freeze.

I removed all the texeci from conky weather scripts, and moved the execution of the scripts to cron (in 30min interval). I haven't noticed any hangs since then. So what can be wrong with the execution of the weather scripts from conky?

Offline

#2190 2018-12-23 06:34:28

ohnonot
...again
Registered: 2015-09-29
Posts: 3,674
Website

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

^ answering that question will require complex troubleshooting.

first of all, what conky config and accompanying shell script do you use? you'll need to show us. _your modified version_ of course.
then troubleshooting: does the bad behaviour stop when you disable parts of the setup? like, let conky run, but just comment out the output parsing?
or, does the freeze always occur when the cron job executes?
etc. etc...

maybe with all those weather sites becoming paid services, it is time for me to advertise my very own weather conky once again:
https://notabug.org/ohnonot/conky-itl-weather
https://framagit.org/ohnonot/conky-itl-weather
in active development since 2013 iirc... i'm using it myself.

Offline

#2191 2018-12-23 13:42:23

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

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

My conky config is here:
https://gitlab.com/morfikov/debian-file … fik/.conky

Basically it's 4 different instances: 1 for disks, 1 regular conky, and 2 weather conky (hourly_2015 + images_2015 + moon).

The bad behavior stops when I remove the following from the scripts:


${texeci 3600 bash /home/morfik/.conky/1_accuweather/1_accuweather -f2015}${texeci 600 bash /home/morfik/.conky/4_Moon/moon_MoonGiant}

${texeci 600 bash /home/morfik/.conky/1_accuweather/1_accuweather -h2015 -h_8h -h_no_forecast}

When I moved these execution to cron, freezes don't happen -- they only happen when the scripts are called from conky,

Offline

#2192 2018-12-23 14:04:13

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

Have you tried merging the two calls to the script?
ie. instead of having one call for the forecast every 6 hours and one call for the hourly forecast every hour, merge them into one call

${texeci 600 bash /home/morfik/.conky/1_accuweather/1_accuweather -f2015 -h2015 -h_8h -h_no_forecast}${texeci 600 bash /home/morfik/.conky/4_Moon/moon_MoonGiant}

Also, what is the -h_no_forecast parameter?

Last edited by TeoBigusGeekus (2018-12-23 14:04:40)


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

#2193 2018-12-23 14:20:19

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

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

I added the parameter to remove one part in the output, because it wasn't looking good in my conky. big_smile
dWVwEJ3.png

I don't have the text under the images on the left conky

I could try to merge them and see whether that helps.

Offline

#2194 2018-12-23 20:14:20

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

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

TeoBigusGeekus wrote:

Have you tried merging the two calls to the script?

It also hangs.

Offline

#2195 2018-12-23 22:04:36

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,217
Website

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

morfik wrote:

I added the parameter to remove one part in the output, because it wasn't looking good in my conky. big_smile
https://i.imgur.com/dWVwEJ3.png

I don't have the text under the images on the left conky

I could try to merge them and see whether that helps.

That is a mighty conky you have there.


I like my Metal like my coffee.......Black!
Resident Metalhead Poser

Offline

#2196 2018-12-23 22:06:01

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

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

Yes it is. big_smile

Offline

#2197 2018-12-24 12:49:29

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

Ok, next step: try merging the accuweather and the moon script to reduce the execi commands to just one.

Also, you seem to have a spot of wallpaper in your conky.


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

#2198 2018-12-24 13:07:25

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

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

TeoBigusGeekus wrote:

Ok, next step: try merging the accuweather and the moon script to reduce the execi commands to just one.

No, that won't work -- the hang happens even if there's only the left conky running, and it has only one script exec.

TeoBigusGeekus wrote:

Also, you seem to have a spot of wallpaper in your conky.

Seem to have what? big_smile

Offline

#2199 2018-12-26 17:57:57

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 825

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

That's strange indeed, I've yet to see any footprint whatsoever on my pc's performance running conky with the scripts, it's as though they aren't there.

PS: Have you tried using execi instead of texeci?
PS2: Merry Christmas and a Happy New Year!!!


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

#2200 2018-12-26 18:22:34

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,275

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

morfik wrote:
TeoBigusGeekus wrote:

Also, you seem to have a spot of wallpaper in your conky.

Seem to have what? big_smile

Teo is joking with you, meaning your entire screen is covered with conky but we can see a little of your wallpaper behind them  big_smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

Board footer

Powered by FluxBB