You are not logged in.

#3076 2019-10-19 16:38:51

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

loutch wrote:

it’s a pity accuweather was a reference in conky.

Don't worry, it'll become one again.
Maybe the Accuweather Wars are over.

loutch wrote:

& Hoping the wunderground site doesn’t change.

It WILL change, I can assure you that. Let's just hope it'll take a long time.

Last edited by TeoBigusGeekus (2019-10-20 16:59:39)


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

#3077 2019-10-19 16:49:16

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

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

just hope

&

nice week-end


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#3078 2019-10-19 17:01:00

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

You too mon ami.


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

#3079 2019-10-19 18:44:26

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

ANNOUNCEMENT
I changed the documentation of the Accuweather script to emphasize that you should use https and not http in the address variable.


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

#3080 2019-10-20 07:33:49

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

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

Thank @Teo solved
Ps)If you like, the script that creates the directory will also be correct
accuweather_conky_script.git in Accuweather_conky_script.git
when you have free time.
Thank for the job

Offline

#3081 2019-10-20 09:44:30

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

Anytime ector1935.


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

#3082 2019-10-21 21:18:47

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

ANNOUNCEMENT
Renamed the Accuweather RSS script - numbering abandoned.


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

#3083 2019-10-22 07:08:21

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

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

The Martix has changed again. :]

Offline

#3084 2019-10-22 07:26:28

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

What, in the Accuweather script?


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

#3085 2019-10-22 07:41:11

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

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

The curr_cond looks like this:

1
12
12
Sunny
NNW
9 km/h
100%
1022.00 mbar
1
10%
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
12
16 km
07:14 AM
05:31 PM
10:17
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
03:25 PM
EMPTY LINE FOR COMPATIBILITY WITH THE OLD CONKYRC FILES
a
07:14
17:31
15:25
:LINE
8

Offline

#3086 2019-10-22 07:47:50

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

I was getting worried; I'll fix it as soon as I get the chance.
Thanks for reporting it morfik.


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

#3087 2019-10-22 13:24:45

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

ANNOUNCEMENT
No moonrise time from Accuweather (and no moon duration either) so the script went berzerk. 
Modified the latter to deal with situations like these.
Thanks to morfik for reporting it.

Last edited by TeoBigusGeekus (2019-10-22 13:27:00)


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

#3088 2019-10-22 13:40:31

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

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

Accuweather starts to suck balls. Are they planning to remove all the info? big_smile

Offline

#3089 2019-10-22 13:45:32

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

No, it's just that today's moonrise time is in the future (after midnight), so they decided not to show it at all.
Weather.com deals with it in another way
fvIVXhVt.jpg


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

#3090 2019-10-22 13:48:34

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

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

So basically it will work, and it won't only show values in such cases?

Offline

#3091 2019-10-22 13:51:04

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

Yep, that's the idea


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

#3092 2019-10-22 13:51:22

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

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

Ok, so it sucks less. big_smile

Offline

#3093 2019-10-22 13:52:14

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/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

#3094 2019-10-22 17:10:18

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

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

Enter the default WunderConky with "reminds" next moon phase command:

2019-10-22_135644_S11.th.jpg

Text portion:

${image /media/5/Conky/images/bk_50_410x630.png -p -1,-1}\
${color8}WEATHER ${color3}${swapbar 1}${color}\
${texeci 500 bash /media/5/Conky/2_Wunderground/2_wun}
${image /media/5/Conky/2_Wunderground/Forecast_Images/current.png -p 0,15 -s 155x155}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/Moon_phase.png -p 285,45 -s 40x40}\
${goto 180}${execpi 600 sed -n '88p' /media/5/Conky/2_Wunderground/curr_cond|cut -c1-20}
${goto 180}${execpi 600 sed -n '88p' /media/5/Conky/2_Wunderground/curr_cond|cut -c21-40}
${goto 180}${execpi 600 sed -n '52p' /media/5/Conky/2_Wunderground/curr_cond}° \
(${execpi 600 sed -n '58p' /media/5/Conky/2_Wunderground/curr_cond}°)
${goto 180}${execpi 600 sed -n '1p' /media/5/Conky/2_Wunderground/moon_data}\



${goto 180}${color8}        WIND: ${color}${execpi 600 sed -n '82p' /media/5/Conky/2_Wunderground/curr_cond} \
${execpi 600 sed -n '86p' /media/5/Conky/2_Wunderground/curr_cond}km/h
${goto 180}${color8}  VISIBILITY: ${color}${execpi 600 sed -n '78p' /media/5/Conky/2_Wunderground/curr_cond} km
${goto 180}${color8}    PRESSURE: ${color}${execpi 600 sed -n '30p' /media/5/Conky/2_Wunderground/curr_cond}hPa
${goto 180}${color8}    HUMIDITY: ${color}${execpi 600 sed -n '36p' /media/5/Conky/2_Wunderground/curr_cond} %
${goto 180}${color8}    UV INDEX: ${color}${execpi 600 sed -n '72p' /media/5/Conky/2_Wunderground/curr_cond}
${goto 180}${color8}PRECIP. (6h): ${color}${execpi 600 sed -n '22p' /media/5/Conky/2_Wunderground/curr_cond} mm
 ${color8}SUNRISE: ${color}${execpi 600 sed -n '44p' /media/5/Conky/2_Wunderground/curr_cond|cut -c1-5}\
${goto 180}${color8}MOONRISE: ${color}${execpi 600 sed -n '2p' /media/5/Conky/2_Wunderground/moon_data|cut -c1-5}
  ${color8}SUNSET: ${color}${execpi 600 sed -n '48p' /media/5/Conky/2_Wunderground/curr_cond|cut -c1-5}\
${goto 180}${color8} MOONSET: ${color}${execpi 600 sed -n '3p' /media/5/Conky/2_Wunderground/moon_data|cut -c1-5}
${color3}${swapbar 0}${color}
${if_match "${execpi 600 sed -n '2p' /media/5/Conky/2_Wunderground/10days}" == "Tonight"}${color8}\
${execpi 600 sed -n '2p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}ZD\
${goto 210}${execpi 600 sed -n '100p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}${color}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/1.png -p 0,235 -s 55x55}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/2.png -p 190,235 -s 55x55}
${goto 70}- /${execpi 600 sed -n '12p' /media/5/Conky/2_Wunderground/10days}°\
${goto 260}${execpi 600 sed -n '110p' /media/5/Conky/2_Wunderground/10days}°/${execpi 600 sed -n '208p' /media/5/Conky/2_Wunderground/10days}°
${goto 70}${execpi 600 sed -n '46p' /media/5/Conky/2_Wunderground/10days} ${execpi 600 sed -n '42p' /media/5/Conky/2_Wunderground/10days}km/h\
${goto 260}${execpi 600 sed -n '144p' /media/5/Conky/2_Wunderground/10days} ${execpi 600 sed -n '140p' /media/5/Conky/2_Wunderground/10days}km/h
${goto 70}${execpi 600 sed -n '26p' /media/5/Conky/2_Wunderground/10days}\
${goto 260}${execpi 600 sed -n '124p' /media/5/Conky/2_Wunderground/10days}
${hr}
${color8}${execpi 600 sed -n '296p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}\
${goto 135}${execpi 600 sed -n '492p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}\
${goto 260}${execpi 600 sed -n '688p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/4.png -p 0,305 -s 55x55}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/6.png -p 130,305 -s 55x55}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/8.png -p 255,305 -s 55x55}${color}

${goto 070}${execpi 600 sed -n '306p' /media/5/Conky/2_Wunderground/10days}°\
${goto 200}${execpi 600 sed -n '502p' /media/5/Conky/2_Wunderground/10days}°\
${goto 325}${execpi 600 sed -n '698p' /media/5/Conky/2_Wunderground/10days}°
${color3}${goto 080}${execpi 600 sed -n '404p' /media/5/Conky/2_Wunderground/10days}°\
${goto 210}${execpi 600 sed -n '600p' /media/5/Conky/2_Wunderground/10days}°\
${goto 335}${execpi 600 sed -n '796p' /media/5/Conky/2_Wunderground/10days}°${color}

${execpi 600 sed -n '320p' /media/5/Conky/2_Wunderground/10days}\
${goto 135}${execpi 600 sed -n '516p' /media/5/Conky/2_Wunderground/10days}\
${goto 260}${execpi 600 sed -n '712p' /media/5/Conky/2_Wunderground/10days}
${color3}${swapbar 0}${color}
${color8}${goto 22}${execpi 600 sed -n '884p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 87}${execpi 600 sed -n '1080p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 150}${execpi 600 sed -n '1276p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 215}${execpi 600 sed -n '1472p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 280}${execpi 600 sed -n '1668p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 345}${execpi 600 sed -n '1864p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${color}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/10.png -p 0,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/12.png -p 65,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/14.png -p 130,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/16.png -p 195,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/18.png -p 260,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/20.png -p 325,405 -s 50x50}




${execpi 600 sed -n '894p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 35}${execpi 600 sed -n '992p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 72}${execpi 600 sed -n '1090p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 100}${execpi 600 sed -n '1188p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 135}${execpi 600 sed -n '1286p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 165}${execpi 600 sed -n '1384p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 200}${execpi 600 sed -n '1482p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 230}${execpi 600 sed -n '1580p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 265}${execpi 600 sed -n '1678p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 290}${execpi 600 sed -n '1776p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 332}${execpi 600 sed -n '1874p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 360}${execpi 600 sed -n '1972p' /media/5/Conky/2_Wunderground/10days}°${color}
${else}${color8}${execpi 600 sed -n '2p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}\
${goto 210}${execpi 600 sed -n '100p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}${color}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/1.png -p 0,235 -s 55x55}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/2.png -p 190,235 -s 55x55}
${goto 100}${execpi 600 sed -n '12p' /media/5/Conky/2_Wunderground/10days}°\
${goto 290}- /${execpi 600 sed -n '110p' /media/5/Conky/2_Wunderground/10days}°
${goto 100}${execpi 600 sed -n '46p' /media/5/Conky/2_Wunderground/10days} ${execpi 600 sed -n '42p' /media/5/Conky/2_Wunderground/10days}km/h\
${goto 290}${execpi 600 sed -n '144p' /media/5/Conky/2_Wunderground/10days} ${execpi 600 sed -n '140p' /media/5/Conky/2_Wunderground/10days}km/h
${goto 100}${execpi 600 sed -n '26p' /media/5/Conky/2_Wunderground/10days}\
${goto 290}${execpi 600 sed -n '124p' /media/5/Conky/2_Wunderground/10days}
${color3}${swapbar 0}${color}
${color8}${execpi 600 sed -n '200p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}\
${goto 150}${execpi 600 sed -n '396p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}\
${goto 280}${execpi 600 sed -n '592p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z}${color}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/3.png -p 0,305 -s 55x55}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/5.png -p 130,305 -s 55x55}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/7.png -p 255,305 -s 55x55}

${goto 70}${execpi 600 sed -n '208p' /media/5/Conky/2_Wunderground/10days}°\
${goto 200}${execpi 600 sed -n '404p' /media/5/Conky/2_Wunderground/10days}°\
${goto 325}${execpi 600 sed -n '600p' /media/5/Conky/2_Wunderground/10days}°
${goto 80}${execpi 600 sed -n '306p' /media/5/Conky/2_Wunderground/10days}°\
${goto 210}${execpi 600 sed -n '502p' /media/5/Conky/2_Wunderground/10days}°\
${goto 335}${execpi 600 sed -n '698p' /media/5/Conky/2_Wunderground/10days}°

${execpi 600 sed -n '222p' /media/5/Conky/2_Wunderground/10days}\
${goto 150}${execpi 600 sed -n '418p' /media/5/Conky/2_Wunderground/10days}\
${goto 280}${execpi 600 sed -n '614p' /media/5/Conky/2_Wunderground/10days}
${color3}${swapbar 0}${color}
${color8}${goto 25}${execpi 600 sed -n '786p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 87}${execpi 600 sed -n '982p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 150}${execpi 600 sed -n '1178p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 215}${execpi 600 sed -n '1374p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 280}${execpi 600 sed -n '1570p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}\
${goto 345}${execpi 600 sed -n '1766p' /media/5/Conky/2_Wunderground/10days|tr a-z A-Z|cut -c1-3}${color}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/9.png -p 0,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/11.png -p 65,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/13.png -p 130,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/15.png -p 195,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/17.png -p 260,405 -s 50x50}\
${image /media/5/Conky/2_Wunderground/Forecast_Images/19.png -p 325,405 -s 50x50}




${execpi 600 sed -n '796p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 35}${execpi 600 sed -n '894p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 72}${execpi 600 sed -n '992p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 100}${execpi 600 sed -n '1090p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 135}${execpi 600 sed -n '1188p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 165}${execpi 600 sed -n '1286p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 200}${execpi 600 sed -n '1384p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 230}${execpi 600 sed -n '1482p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 265}${execpi 600 sed -n '1580p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 290}${execpi 600 sed -n '1678p' /media/5/Conky/2_Wunderground/10days}°${color}\
${goto 332}${execpi 600 sed -n '1776p' /media/5/Conky/2_Wunderground/10days}°\
${color3}${goto 360}${execpi 600 sed -n '1874p' /media/5/Conky/2_Wunderground/10days}°${color}
${endif}
${font monofur:size=16}${color3}${membar 1,105} ${color8}Next Moon Phase${color3} ${membar 1}${color7}
${execpi 86400 remind -q -r ~/.reminders_WUNmoon | sed -e "/.*(today):/d" -e '/^$/d'}${font}

and ... remind -q -r ~/.reminders_WUNmoon | sed -e "/.*(today):/d" -e '/^$/d'}

## manpage: http://linux.die.net/man/1/remind

##  $LatDeg, $LatMin, $LatSec
##  These specify the latitude of your location. $LatDeg can range from −90 to 90, and the others
##  from −59 to 59. Northern latitudes are positive; southern ones are negative. For southern lati-
##  tudes, all three components should be negative.

##  $Location (STRING type)
##  This is a string specifying the name of your location. It is usually the name of your town or city.
##  It can be set to whatever you like, but good style indicates that it should be kept consistent with the
##  latitude and longitude system variables.

##  $LongDeg, $LongMin, $LongSec
##  These specify the longitude of your location. $LongDeg can range from −180 to 180. Western
##  longitudes are positive; eastern ones are negative. Note that all three components should have the
##  same sign: All positive for Western longitudes and all negative for Eastern longitudes.
##  The latitude and longitude information is required for the functions sunrise() and sunset().
##  Default values can be compiled into Remind, or you can SET the correct values at the start of
##  your reminder scripts.

##     $ latlon
##  Latitude   /  Longitude
##  -34.612999 / -58.470001
##  34°36"46.7964'S
##  58°28"12.0036'W


##  sunrise([dq_date])
##  Returns a TIME indicating the time of sunrise on the specified date (default today().) In high lati-
##  tudes, there may be no sunrise on a particular day, in which case sunrise() returns the INT 0 if the
##  sun never sets, or 1440 if it never rises.

##  sunset([dq_date])
##  Returns a TIME indicating the time of sunset on the specified date (default today().) In high lati-
##  tudes, there may be no sunset on a particular day, in which case sunset() returns the INT 0 if the
##  sun never rises, or 1440 if it never sets.
##  The functions sunrise() and sunset() are based on an algorithm in "Almanac for Computers for the
##  year 1978" by L. E. Doggett, Nautical Almanac Office, USNO. They require the latitude and lon-
##  gitude to be specified by setting the appropriate system variables. (See "System Variables".) The
##  sun functions should be accurate to within about 4 minutes for latitud

##  SUN STUFF ##
##  SET sunrise
##  SET sunset

##  MSG Sun Rise: sunrise()   Set: sunset()

#### Moon Stuff ###

### Phase can range from 0 to 3,
### 0 signifying new moon,
### 1 first quarter,
### 2 full moon,
### 3 third quarter.

SET moondatetime
SET moonphase
#SET newmoon moondate(0)
#SET firstquarter moondate(1)
#SET fullmoon moondate(2)
#SET thirdquarter moondate(3)

SET moondate(0)
SET moondate(1)
SET moondate(2)
SET moondate(3)

##MSG 0 new 90 1Q 180 full 270 3Q
##MSG 2 [moonphase()]
MSG      New Moon [moondate(0)] @ [moontime(0)]
MSG   1st Quarter [moondate(1)] @ [moontime(1)]
MSG     Full Moon [moondate(2)] @ [moontime(2)]
MSG   3rd Quarter [moondate(3)] @ [moontime(3)]
 22 Oct 19 @ 14:04:04 ~
   $ sho remind
alias = aptitude show filename
Package: remind                   
Version: 03.01.15-1+b1
State: installed
Automatically installed: no
Priority: optional
Section: utils
Maintainer: Ana Beatriz Guerrero Lopez <ana@debian.org>
Architecture: amd64
Uncompressed Size: 431 k
Depends: libc6 (>= 2.14)
Suggests: tkremind, wyrd
Description: sophisticated calendar and alarm program
 Remind allows you to remind yourself of upcoming events and appointments.  Each reminder or alarm can consist of
 a message sent to standard output, or a program to be executed. 
 
 It also features: sophisticated date calculation, moon phases, sunrise/sunset, Hebrew calendar, alarms,
 PostScript output, tcl/tk front-end and proper handling of holidays. 
 
 Reminders can be created by the remind scripting language or by using the graphical frontend package "tkremind".
Homepage: http://www.roaringpenguin.com/products/remind/
Tags: role::program, scope::utility, suite::kde, use::timekeeping, works-with::pim

 
 22 Oct 19 @ 14:04:12 ~
   $ 

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: sector11 Kernel: 4.9.0-11-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 dm: lightdm Distro: BunsenLabs GNU/Linux 9.6 (Helium)

Offline

#3095 2019-10-22 19:54:15

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

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

Hi @Teo, moon phase works in fits and starts with accuweather here by me.
He broke his accuweather cock
4_ Moon same thing to you no?
Thank
Cheers



2019-10-22-215446_1600x900_scrot.th.png

Last edited by ector1935 (2019-10-22 19:58:40)

Offline

#3096 2019-10-22 20:21:38

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

@S11
Very impressive, I didn't know this utility.

@ector1935
If I understand correctly, 4_Moon is broken?


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

#3097 2019-10-22 21:08:47

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

No, the moon script works fine here.
That was an excellent opportunity to update the script.


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

#3098 2019-10-22 21:09:49

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

ANNOUNCEMENT
Moongiant conky script: Script and script's folder renamed. I've abandoned the number naming scheme for this one as well.

EDIT: Only the NWS to go...

Last edited by TeoBigusGeekus (2019-10-22 21:14:36)


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

#3099 2019-10-23 00:28:37

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

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

Couple of thoughts:
-- use https in https://www.moongiant.com/ URLs.
-- introduce some $CONKY_DIR variable, so user can change the location of the script in one place.
-- introduce some line breaking "\" for the long lines for better readability.

Offline

#3100 2019-10-23 04:24:01

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,172

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

A conky_dir variable sounds nice, but a find and replace in all modern text editors will do the trick.
The same applies to word wrapping (Code OSS: Alt+z to toggle, Settings->Text Editor->Wordwrap: ON for permanent word wrapping).
Https is important though.


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