You are not logged in.

#2201 2018-12-26 19:02:57

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

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

#2202 2018-12-27 00:43:17

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

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

TeoBigusGeekus wrote:

PS: Have you tried using execi instead of texeci?

I'll try that.

Offline

#2203 2018-12-27 19:02:12

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

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

When I used execi instead of texeci, the left conky stopped working. I had to change text_buffer_size to 2048 . After these changes, I don't think I experience any freezes now. I have to test that for few days to be sure. But maybe this text_buffer_size was too small sometimes when the script runs? But it's weird it hangs the whole screen... :]

Offline

#2204 2018-12-27 19:06:28

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

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

If it works...

Try it and report back.


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

#2205 2018-12-31 02:05:06

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

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

I think the problem went away. big_smile

Offline

#2206 2018-12-31 11:19:05

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

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

Good to know morfik, 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

#2207 2019-01-09 21:27:32

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

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

even if you change text_buffer_size = 4095, still freezing after and hour or so.

Offline

#2208 2019-01-09 22:07:32

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

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

Are you having the same problem with morfik?
Which script are you using?


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

#2209 2019-01-10 03:34:44

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

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

i am using yours , 1_accuweather , moon_MoonGiant , ${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2015}${texeci 500 bash $HOME/4_Moon/moon_MoonGiant} , .conkyrc_1_images_2015 , running in terminal no errors , but still freezing..

Offline

#2210 2019-01-10 10:29:33

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

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

Have you tried replacing texeci with execi?


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

#2211 2019-01-10 16:09:41

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

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

After over 4 hours still running i remove ${execi 500 bash $HOME/4_Moon/moon_MoonGiant} maybe they don't work together , thank you for your help teo......

Offline

#2212 2019-01-10 21:59:59

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

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

Try deleting the KILL commands in the moon script and check again.

Last edited by TeoBigusGeekus (2019-01-10 22:00:35)


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

#2213 2019-01-11 00:09:39

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

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

kill -STOP $(pidof conky) , kill -CONT $(pidof conky) , delete both ?

Offline

#2214 2019-01-11 03:12:51

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

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

Yes


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

#2215 2019-01-12 01:53:42

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

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

ok teo that fix the freezing problem thank you...  : - )
and execi  vs  texeci ..........

Offline

#2216 2019-01-12 06:57:13

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

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

news from WU
WU promised a free API, with 5 days forecast, but nothing appears.

WU extended old API until February 15, 2019

If you want news, see here:
https://apicommunity.wunderground.com/w … tton&reply[id]=19948468#reply_19948468

an here

https://apicommunity.wunderground.com/w … reply-list[settings][page]=4#topic-reply-list

Offline

#2217 2019-01-12 10:18:20

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

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

@chepioq

Thanks for your message and the links. I have read them. smile

It's like in Germany, nothing, but nothing at all they have under control in their quest for maximum profit. They only want one customer/user as payer and leave chaos behind.  sad

I will take a look at Darksky.net.

Offline

#2218 2019-01-12 12:04:03

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

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

manuel-909 wrote:

ok teo that fix the freezing problem thank you...  : - )
and execi  vs  texeci ..........

Good to know manuel.

As for the WU script, it works perfectly here; we'll see what gives after February, until then...


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

#2219 2019-01-27 13:48:42

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

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

hello!
Following my previous post (#2216) I made a new conky-weather with dark-sky api.
You must have a free api key, here : https://darksky.net/dev/docs
This is free for 1000 calls per days.
The answer is in .json format and you must have jq package, in fedora
dnf install jq
Search for your distribution

The result:
1548595726.png

My config is here :
https://sd-1.archive-host.com/membres/u … rk_sky.zip
In the 3b1 file replace in fist line " your_api_key_here" by your api key.

And replace '43.2924','5.5703' by your own latitude and longitude

Last edited by chepioq (2019-02-18 16:23:40)

Offline

#2220 2019-01-27 23:01:10

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

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

Nice work chepioq, it really deserves its own thread.


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

#2221 2019-01-28 13:04:23

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

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

Thank Teo
but I have a little problem.

I have a file, daily-icons, with that :

wind
rain
wind
partly-cloudy-day
rain
partly-cloudy-day
wind
wind

I use this file for made icons d1, d2, ...,d8 with tis command

for (( i=1; i<=8; i+=1 ))
    do
        cp $HOME/conky-meteo-dark_sky/Dark_Sky_icons/$(Dark_Sky_icons $(sed -n ${i}p $HOME/.conkyrc/conky-1.10/conky-meteo/conky-meteo-dark_sky/daily-icons)).png $HOME/conky-meteo-dark_sky/d$(( 1+(i-1) )).png
   done

That work but icons are not the good icons, I think this code is not good but I am not able to see why (I am not a programmer).

Can someone help me,  thanks in advance.

Offline

#2222 2019-01-28 16:24:25

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

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

If I understand correctly, that loop takes the icon wind.png from the Dark_Sky_icons folder and copies it to the conky-meteo-dark_sky folder as d1.png, then goes on to the rain.png icon which is copied as d2.png etc.
Isn't this what you want?


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

#2223 2019-01-28 16:30:10

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

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

Yes I want that, and that work for the first two icons, but after the third it does not fit anymore

Offline

#2224 2019-01-29 09:28:58

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

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

I find other (but long) way
I update my #2219 post

Offline

#2225 2019-01-29 16:10:42

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

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

I run the script and it produces the correct icons.
Can you give me an example of what goes wrong?


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

Board footer

Powered by FluxBB