You are not logged in.

#2076 2018-06-26 21:42:12

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

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

unklar wrote:

In the README of @mrpeachy's wun (2014) :
500 Call's per day and 10 Call's per minute, free

The regulations of WUN (for the FREE) are documented on their website from 2013 and do not say any changes.

The 500 calls per day and 10 calls per minute shouldn't apply to the key I gave you.


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

#2077 2018-06-27 11:13:12

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

Hello conky men wink !
I have always a redirection when the wun script is running

Redirection de la sortie vers « wget-log ».

I added a function to remove it, it's almost working if you have the same problem I can post it if you are interested. By the way glad to read you Sector11 wink
wundergroundz.th.png

Offline

#2078 2018-06-27 14:24:34

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

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

@ragamatrix,

do you mean "POINTS TO NOTICE" ?   smile

Offline

#2079 2018-06-27 16:13:01

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

ops Danke ...

Offline

#2080 2018-06-29 10:12:26

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

Hello Teo,
I've made some tests with wu script and not sure to understand what's happend...
I've added the

-o /dev/null

option in the new script and this key number: d8585d80376a429e
the update time never change in the Conditions file line 49:Thu, 28 Jun 2018 23:50:00 +0200 (at 12:00 the 20th)
I don't have anymore wget-log but a lots of horgen.json ..1 .2 .3 .4 .5 .6 .7 ... etc.
"horgen" related to my location...

Offline

#2081 2018-06-29 12:08:01

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

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

What is your location again?


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

#2082 2018-06-29 12:33:19

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

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

Sector11 wrote:

However mrpeachys v9000 script still runs fine for me (C v1.9)
2018-06-26_174503_Scrot11.th.jpg

Hello my friend  smile

It's not working for me.
These are my details:
v9000.lua

...
--enter username in quotes like this username = "yourname"
local username = "unklar"
package.path = '/home/'..username..'/.v9000_config.lua'
--**************************************************************************************************
--**************************************************************************************************
require '.v9000_config'
--INITIALIZE SETTINGS-- need only be run once
get=1
run=1
general_settings,translation_tables,translate=weather_settings()
--GET DAILY WEATHER FUNCTION
function getdaily(l,u)
	if u=="F" then
	web="http://www.intellicast.com/Local/Forecast.aspx?unit=F&location="..l
	elseif u=="C" then
	web="http://www.intellicast.com/Local/Forecast.aspx?unit=C&location=GMXX3855"..l
	end
local f=io.popen("curl --max-time 60 '"..web.."' | sed 's/%//g'")
local allweatherdata=f:read("*a")
f:close()
...
[unklar@localhost ~]$ conky -c ~/v9000/conky_weather &                          
[1] 8594
[unklar@localhost ~]$ Conky: forked to background, pid is 8597

Conky: desktop window (260011f) is subwindow of root window (96)
Conky: window type - normal
Conky: drawing to created window (0x4e00002)
Conky: drawing to double buffer
gathering data with curl.  Attempt 1 of 3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
gathering data with curl.  Attempt 2 of 3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
gathering data with curl.  Attempt 3 of 3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
unable to gather data, check connection and try again
unable to gather data, check connection and try again
unable to gather data, check connection and try again
unable to gather data, check connection and try again
unable to gather data, check connection and try again
^C
[1]+  Fertig                  conky -c ~/v9000/conky_weather

it has died   monkey

Offline

#2083 2018-06-29 12:36:43

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

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

TeoBigusGeekus wrote:

What is your location again?

He is in Horgen, Switzerland   wink

Offline

#2084 2018-06-29 13:04:27

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

unklar wrote:
TeoBigusGeekus wrote:

What is your location again?

He is in Horgen, Switzerland   wink

Yes I am smile

Offline

#2085 2018-06-29 13:17:44

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

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

I just tested the script for Horgen (.conkyrc4) and it seems OK.
The update time not changing is not that abnormal if there hasn't been any change in your location's forecast since yesterday night.
As for the horgen.json files, I don't get them at all.

Are you sure you're using the correct address?

address="http://api.wunderground.com/api/d8585d80376a429e/conditions/forecast10day/astronomy/hourly/satellite/q/ch/horgen.json"

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

#2086 2018-06-29 13:29:13

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

not exactly:
mine:http://api.wunderground.com/api/d8585d8 … orgen.json
yours:
http://api.wunderground.com/api/d8585d8 … orgen.json
I test with yours few minutes and say if there are changes
Differences:
Switzerland
ch

Thanks for the updates explanations, I've learned something smile

Last edited by ragamatrix (2018-06-29 13:35:10)

Offline

#2087 2018-06-29 13:33:59

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

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

I tested it with your address and it works perfectly again.


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

#2088 2018-06-29 13:37:47

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

2 updates with your address and no more horgen.json files in my home folder, ?? Thank you and sorry

Offline

#2089 2018-06-29 13:39:35

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

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

Nevermind, but your address works as well.


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

#2090 2018-07-06 10:28:22

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

Hello,
modify a little and add hours in conkyaccuweather_font:
enjoy:
1530873005.png
conkyrc:

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	own_window_colour = 'brown',

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,

-- fiddle with window
	use_spacer = 'right',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3.0,

-- Minimum size of text area
	minimum_width = 280, minimum_height = 500,
	maximum_width = 230,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Open Sans:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_margin = 9,
	border_outer_margin = 0,

-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = '#cbcbcb',


-- Text alignment, other possible values are commented
--alignment top_left
	alignment = 'top_left',
--alignment bottom_left
--alignment bottom_right

-- Gap between borders of screen and text
	gap_x = 30,
	gap_y = 80,
lua_load = '~/.conky/script/draw_bg.lua',
-- stuff after 'TEXT' will be formatted on screen

};

conky.text = [[
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.50} \
${color 8e8e8e}Météo ${stippled_hr 1}$color${execi 600 bash $HOME/1_accuweather/1_accuweather -f}

${font conkyweather:size=40}${execi 600  sed -n '22p' ~/1_accuweather/curr_cond}${font}${goto 75}${voffset -40}CURRENTLY: ${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}°
${goto 75}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|fold -w30}

${voffset 20}${goto 12}${execi 600 echo `date --date "2 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execi 600 echo `date --date "4 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execi 600 echo `date --date "6 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execi 600 echo `date --date "8 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execi 600 echo `date --date "10 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}
${goto 12}${font conkyweather:size=25}${execi 600  sed -n '145p' ~/1_accuweather/hourly1}\
${goto 58}${font conkyweather:size=25}${execi 600  sed -n '147p' ~/1_accuweather/hourly1}\
${voffset -1}${goto 105}${font conkyweather:size=25}${execi 600  sed -n '149p' ~/1_accuweather/hourly1}\
${goto 150}${font conkyweather:size=25}${execi 600  sed -n '151p' ~/1_accuweather/hourly1}\
${goto 196}${voffset -5}${font conkyweather:size=25}${execi 600  sed -n '145p' ~/1_accuweather/hourly2}${font}
${color8}${goto 17}${execi 600 sed -n '08p' $HOME/1_accuweather/first_days}°\
${goto 63}${execi 600 sed -n '30p' $HOME/1_accuweather/hourly1}°\
${goto 110}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
${goto 155}${execi 600 sed -n '34p' $HOME/1_accuweather/hourly1}°\
${goto 201}${execi 600 sed -n '36p' $HOME/1_accuweather/hourly2}°

${color 8e8e8e}Tendance ${stippled_hr 1}$color

${font conkyweather:size=40}${execi 600  sed -n '26p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 600 echo `date --date "0 day" +%A|sed -e 's/\(.\{1\}\)/\U\1/'`}: ${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|fold -w30}


${color 8e8e8e}Prévisions ${stippled_hr 1}$color

${font conkyweather:size=40}${execi 600  sed -n '27p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 600 echo `date --date "1 day" +%A|sed -e 's/\(.\{1\}\)/\U\1/'`}: ${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '28p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 600 echo `date --date "2 day" +%A|sed -e 's/\(.\{1\}\)/\U\1/'`}: ${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '29p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 600 echo `date --date "3 day" +%A|sed -e 's/\(.\{1\}\)/\U\1/'`}: ${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|fold -w30}
]];

Last edited by ragamatrix (2018-07-06 10:30:58)

Offline

#2091 2018-07-06 14:21:21

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

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

@raga, thank you for the idea
you forgot the  -h  wink

and recently I learned that the date calls can also be simplified   big_smile

${execi 3600 date  --date='4 hour' '+%H.%M'}\
${execi 3600 date  --date='1 day' '+%A %d'}
conky.text = [[
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.50} \
${color 8e8e8e}Météo ${stippled_hr 1}$color${execi 600 bash $HOME/1_accuweather/1_accuweather -f -h}

${font conkyweather:size=40}${execi 600  sed -n '22p' ~/1_accuweather/curr_cond}${font}${goto 75}${voffset -40}CURRENTLY: ${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}°
${goto 75}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|fold -w30}

${voffset 20}${goto 12}${execi 3600 date  --date='2 hour' '+%H.%M'}\
${goto 58}${execi 3600 date  --date='4 hour' '+%H.%M'}\
${goto 105}${execi 3600 date  --date='6 hour' '+%H.%M'}\
${goto 150}${execi 3600 date  --date='8 hour' '+%H.%M'}\
${goto 196}${execi 3600 date  --date='10 hour' '+%H.%M'}
${goto 12}${font conkyweather:size=25}${execi 600  sed -n '145p' ~/1_accuweather/hourly1}\
${goto 58}${font conkyweather:size=25}${execi 600  sed -n '147p' ~/1_accuweather/hourly1}\
${voffset -1}${goto 105}${font conkyweather:size=25}${execi 600  sed -n '149p' ~/1_accuweather/hourly1}\
${goto 150}${font conkyweather:size=25}${execi 600  sed -n '151p' ~/1_accuweather/hourly1}\
${goto 196}${font conkyweather:size=25}${execi 600  sed -n '145p' ~/1_accuweather/hourly2}${font}
${color8}${goto 17}${execi 600 sed -n '08p' $HOME/1_accuweather/first_days}°\
${goto 63}${execi 600 sed -n '30p' $HOME/1_accuweather/hourly1}°\
${goto 110}${execi 600 sed -n '32p' $HOME/1_accuweather/hourly1}°\
${goto 155}${execi 600 sed -n '34p' $HOME/1_accuweather/hourly1}°\
${goto 201}${execi 600 sed -n '36p' $HOME/1_accuweather/hourly2}°

${color 8e8e8e}Tendance ${stippled_hr 1}$color

${font conkyweather:size=40}${execi 600  sed -n '26p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 3600 date  --date='0 day' '+%A %d'}:${alignr}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|fold -w30}


${color 8e8e8e}Prévisions ${stippled_hr 1}$color

${font conkyweather:size=40}${execi 600  sed -n '27p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 3600 date  --date='1 day' '+%A %d'}:${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '28p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 3600 date  --date='2 day' '+%A %d'}:${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|fold -w30}


${font conkyweather:size=40}${execi 600  sed -n '29p' ~/1_accuweather/first_days}${font}${goto 75}${voffset -40}${execi 3600 date  --date='3 day' '+%A %d'}:${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°
${goto 75}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|fold -w30}
]];

2018-07-06-16-05-13_scrot.th.png

Last edited by unklar (2018-07-06 14:23:21)

Offline

#2092 2018-07-06 21:04:35

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

Thank you unklar alles klaar (I know it's easy...) I'll try it as soon as möglich merci et bonne soirée wink

Offline

#2093 2018-07-06 21:40:22

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

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

Very nice one ragamatrix, clean and informative.


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

#2094 2018-07-09 01:48:14

trescopas
New Member
Registered: 2018-07-09
Posts: 2

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

Hi all,

I wanted to share with the forum a Conky configuration that was inspired by TeoBigusGeekus' Accuweather scripts.  I've written scripts in Python to scrape the data from Accuweather and Moongiant, and I've thrown in some history trivia as well. The code is available on Github, if anyone is interested.

https://cdn.scrot.moe/images/2018/07/09/conky_weather.th.png

Thanks to Sector11 and TeoBigusGeekus for sharing their code, which were very helpful to me when I was creating my scripts.

Last edited by trescopas (2018-07-09 02:13:26)

Offline

#2095 2018-07-09 20:34:57

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

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

Brilliant work trescopas, thanks for sharing!


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

#2096 2018-07-10 08:30:56

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

@trescopas Thank you for this work, unfortunately I'm not able to make it work...
errors:

conky -c /home/raphix/.conky/conkyscraps/conky_weather.luaconky: Bad arguments: ' ' and ' 50'
conky: compare failed for expression ' < 50'
conky: Bad arguments: ' ' and ' 50'
conky: compare failed for expression ' >= 50'
conky: Bad arguments: ' ' and '70'
conky: compare failed for expression ' <70'
conky: Bad arguments: ' ' and ' 70'
conky: compare failed for expression ' >= 70'
conky: Bad arguments: ' ' and '90'
conky: compare failed for expression ' <90'
conky: Bad arguments: ' ' and ' 90'
conky: compare failed for expression ' >= 90'
killall conky                                             
 10:26 raphix > sed: impossible de lire /home/raphix/.conky/conkyscraps/wikipedia/wikipedia_today_scrape.py/history: N'est pas un dossier
sed: impossible de lire /home/raphix/.conky/conkyscraps/wikipedia/wikipedia_today_scrape.py/history: N'est pas un dossier
sed: impossible de lire /home/raphix/.conky/conkyscraps/wikipedia/wikipedia_today_scrape.py/history: N'est pas un dossier
sed: impossible de lire /home/raphix/.conky/conkyscraps/wikipedia/wikipedia_today_scrape.py/history: N'est pas un dossier
sed: impossible de lire /home/raphix/.conky/conkyscraps/wikipedia/wikipedia_today_scrape.py/history: N'est pas un dossier
sed: impossible de lire /home/raphix/.conky/conkyscraps/wikipedia/wikipedia_today_scrape.py/history: N'est pas un dossier
conky: Bad arguments: ' ' and ' 50'
conky: compare failed for expression ' < 50'
conky: Bad arguments: ' ' and ' 50'
conky: compare failed for expression ' >= 50'
conky: Bad arguments: ' ' and '70'
conky: compare failed for expression ' <70'
conky: Bad arguments: ' ' and ' 70'
conky: compare failed for expression ' >= 70'
conky: Bad arguments: ' ' and '90'
conky: compare failed for expression ' <90'
conky: Bad arguments: ' ' and ' 90'
conky: compare failed for expression ' >= 90'
conky: received SIGINT or SIGTERM to terminate. bye!

Is it possible to have metric info? big_smile
@TeoBigusGeekus: It was a pleasure to share it, glad that you like it.

Last edited by ragamatrix (2018-07-10 08:35:42)

Offline

#2097 2018-07-18 02:11:51

trescopas
New Member
Registered: 2018-07-09
Posts: 2

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

@ragamatrix Thanks for trying out the script, and I'm sorry it isn't working out of the box.  I should have placed better documentation! I believe that you need to go into conky_weather.lua and modify the template variables. In your case, this means, in line 67-68:

    template1 = '/home/raphix/.conky/conkyscraps/weather/',
    template2 = '/home/raphix/.conky/conkyscraps/wikipedia/',

I think this should fix it.

I'm happy to set up a version that reads metric data. I see that you speak French - I think having history from the French Wikipedia would be feasible too!  I'll tinker with it and push changes to the repo.

Offline

#2098 2018-08-24 09:12:24

ragamatrix
Member
Registered: 2015-10-04
Posts: 371

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

@trescopas Thanks a lot for your great work. I'm now abble to enjoy it. It's a very clever conky smile Waiting for a french history links easier to unterstand for french guys wink

Offline

#2099 2018-09-09 18:00:06

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

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

He all
I use Weather Underground API for my conky-weather, and I see this notification : https://apicommunity.wunderground.com/w … ground-api
The wunderground api stop the 12/31/2018.

I have 4 months left to find another one.

Offline

#2100 2018-09-09 19:20:38

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

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

Thanks @chepioq

They already did that with intellicast.com and it was only a matter of time,
until they also apply their "boundless friendliness" to WU.
I haven't believed those lying bags for a long time!  sad

With that mrpeachy's WUN dies with me, which I very much regret and it remains only Teo's accuweather. devil
Then you can be curious how long They resist the "friendliness".

Offline

Board footer

Powered by FluxBB