You are not logged in.

#521 2016-01-07 10:39:10

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,646

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

Inodoro Pereyra wrote:

Thank you Unklar, I didn't know that...

You do not need to apologize.
I also do not know much.  big_smile

@mrpeachy has in his WUN_Lua_Script the Wunderground API
written this information:

LOCATION
from http://www.wunderground.com/weather/api/d/docs?d=data/index
--options for entering location
location="CA/San_Francisco",		--US state/city
location="60290",			--US zipcode
location="Australia/Sydney",		--country/city
location="37.8,-122.4",			--latitude,longitude
location="KJFK",			--airport code
location="autoip",			--AutoIP address location
location="pws:KCASANFR70",		--PWS id
pws means personal weather station
go here to pick your pws:
http://www.wunderground.com/weatherstation/about.asp

Offline

#522 2016-01-07 18:05:03

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Thanks again. big_smile


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#523 2016-01-07 22:56:16

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

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

Northern and Southern Hemisphere Moon Phase Calendar.
North_South_Moon.jpg

Available in the Archive: 5_Moon_Phase_Calendar-365.tar.gz

You will need to change ALL the paths in the various scripts from:
  /home/sector11/5_Moon_Phase_Calendar-365
  /home/<your_username>/5_Moon_Phase_Calendar-365

  $HOME and or /home/$USER does not work, I think it is because of the because of the "mogrify" command to edit the images:

Northern Hemisphere
~/5_Moon_Phase_Calendar-365/N/5MPC-365_N.conky
~/5_Moon_Phase_Calendar-365/N/5-MPCalendar-365  <- Teo's modified script
~/5_Moon_Phase_Calendar-365/N/not01.sh
~/5_Moon_Phase_Calendar-365/N/t01.sh

Southern Hemisphere
~/5_Moon_Phase_Calendar-365/S/5MPC-365_S.conky
~/5_Moon_Phase_Calendar-365/S/5-MPCalendar-365_s  <- Teo's modified script
~/5_Moon_Phase_Calendar-365/S/not01.sh
~/5_Moon_Phase_Calendar-365/S/t01.sh

And the two Start/StopConky scripts
~/5_Moon_Phase_Calendar-365/ssc-North_Moon.sh
~/5_Moon_Phase_Calendar-365/ssc-South_Moon.sh

Have fun ....


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#524 2016-01-08 21:38:33

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

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

Sector11 wrote:

Northern and Southern Hemisphere Moon Phase Calendar.
http://s20.postimg.org/oxho5t5ft/North_South_Moon.jpg

Available in the Archive: 5_Moon_Phase_Calendar-365.tar.gz

You will need to change ALL the paths in the various scripts from:
  /home/sector11/5_Moon_Phase_Calendar-365
  /home/<your_username>/5_Moon_Phase_Calendar-365

  $HOME and or /home/$USER does not work, I think it is because of the because of the "mogrify" command to edit the images:

Northern Hemisphere
~/5_Moon_Phase_Calendar-365/N/5MPC-365_N.conky
~/5_Moon_Phase_Calendar-365/N/5-MPCalendar-365  <- Teo's modified script
~/5_Moon_Phase_Calendar-365/N/not01.sh
~/5_Moon_Phase_Calendar-365/N/t01.sh

Southern Hemisphere
~/5_Moon_Phase_Calendar-365/S/5MPC-365_S.conky
~/5_Moon_Phase_Calendar-365/S/5-MPCalendar-365_s  <- Teo's modified script
~/5_Moon_Phase_Calendar-365/S/not01.sh
~/5_Moon_Phase_Calendar-365/S/t01.sh

And the two Start/StopConky scripts
~/5_Moon_Phase_Calendar-365/ssc-North_Moon.sh
~/5_Moon_Phase_Calendar-365/ssc-South_Moon.sh

Have fun ....

Great job Yoda ..... now that the force be with us .... we create the weather station ......
Great job even Obi - Wan ...... may the force be with you .... my teachers ...
Luke


Nothing happens by chance

Offline

#525 2016-01-08 22:21:56

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

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

Anytime mate.


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

#526 2016-01-10 01:04:23

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

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

Sector11 wrote:

@ loutch - very nice -->> I love the conky on the right. cool in fact it's AWESOME!  LOVE that Barometer!

+1...absolutely beautiful.  Great work, loutch.  Hey Teo, any chance you could incorporate that barometer into one of the official scripts?

Offline

#527 2016-01-10 18:34:06

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

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

Sorry Krunchtime, but I'm lua intolerant.


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

#528 2016-01-10 19:42:23

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

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

Script 2b: New Moon
All's 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

#529 2016-01-10 20:53:18

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

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

^ So do we need a virgin sacrifice?  I have some Virgin Olive Oil ...  lol  lol  cool


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#530 2016-01-10 22:00:25

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

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

Wait till the Full Moon, then you shall see...  ]:D


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

#531 2016-01-11 08:28:16

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

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

TeoBigusGeekus wrote:

Sorry Krunchtime, but I'm lua intolerant.

Whoops...that's right.  I forgot.  You still the man, though.

TeoBigusGeekus wrote:

Wait till the Full Moon, then you shall see...  ]:D

lol

Last edited by KrunchTime (2016-01-11 08:29:22)

Offline

#532 2016-01-11 15:38:23

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

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

Cheers mate!

You still haven't answered me 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

#533 2016-01-11 16:36:17

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

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

@KrunchTime

I can't get that Barometer working.  It requires "conkyForecast" which stopped working for me years ago.

tic .. tic ..tic ..
Mind you the lua script might be able to use a command from one of Teo's scripts ...

name='execpi',   arg='1800 conkyForecast --location=XXXX0000 --datatype=BR -u',   max_value=1050, sub_value=950,

name='execi',   arg='1800 conkyForecast --location=XXXX0000 --datatype=LT -u -x', 

name='execi',    arg='1800 conkyForecast --location=XXXX0000 --datatype=HT -u -x',  max_value=60, sub_value=-30,

BR = Barometer reading
LT = Forecasted Low for today
HT =  Forecasted High for today

  -u, --hideunits = Hide units such as mph or C, degree symbols (°) are still shown.

  -x, --hidedegreesymbol = Hide the degree symbol used with temperature output, this is only valid if used in conjunction with --hideunits.

I would suppose you/we might be able to:

1. call the script as per normal:

TEXT
${texeci 1800 bash /media/5/Conky/1b1_accuweather_images/1b1}\

and then

2. use this:

name='execpi',   arg='600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond | cut -c-7',                      max_value=1050, sub_value=950,

    name='execi',   arg='600 conkyForecast --location=XXXX0000 --datatype=LT -u -x', 

    name='execi',   arg='600 conkyForecast --location=XXXX0000 --datatype=HT -u -x',                      max_value=60, sub_value=-30,

For LT and HT use Temp (600 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond) and Feels Like (600 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond)

Now that brain though of this and put it to writing here - I must try it.

HMMMMMMMMM I see single quotes inside single quotes....

arg='600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond | cut -c-7'
maybe
arg='600 sed -n "33p" /media/5/Conky/1b1_accuweather_images/curr_cond | cut -c-7'

It seems logical to me.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#534 2016-01-11 18:03:35

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

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

Well, it 'almost' works.
This is the baro.lua using 1b1 accuweather
- (Steady) is hard coded as it's not in the script. Also Buenos Aires - it's easier that way
- at one point I had the hands showing pressure and temps - I lost them and don't have the knowhow to find out 'right away' what I did to loose them or how to get them back - more playing on my part.

2016_01_11_14_51_49_Scrot11.png <- larger than actual size.

- Interestingly enough I still have conkyForecast here so the images work.  Although those 8 images are the same all the time so could be coppied to a directory just for this purpose.
- Also to small for my eyes to be of practical use, but size can me changed.
- - - must get the hands back first.

#===============================================
#  conkyrc_barotext
#  author  : SLK for the original Lua ring script
#  modified by shamen456
#  version : v2011-08-21
#  license : Distributed under the terms of GNU GPL version 2 or later
#  for more conky screenshots visit http://shamen456.deviantart.com/
#
#  modified for TeoBigusGeekus 1b1 accuweather script by Sector11
#  2016-01-11
#===============================================
# pkill -xf "conky -q -c /media/5/Conky/barometer/baro/conkyrc_barotext" &

###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below
own_window_colour 000000
own_window_class Conky
own_window_title 1b1 Barometer conky
### ARGB can be used for real transparency
##  own_window_argb_visual yes # Options: yes or no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
##  own_window_argb_value 175

minimum_size 200 200  #  w|h
maximum_width 200

gap_x 90	# l|r
gap_y 20	# u|d

alignment tl
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont URW Chancery L:bold:size=9
xftalpha 1.0
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC # Gainsboro
color0 8FBC8F #DarkSeaGreen
color1 778899 #LightSlateGray
color2 FFA07A #LightSalmon
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
#####################################################  End Color Settings  ###
#border_inner_margin 5
#border_outer_margin 0

## ---------- Begin Borders Section
draw_borders no
## Stippled borders?
stippled_borders 5
## border margins
#border_inner_margin 5
#border_outer_margin 0
border_inner_margin 0
border_outer_margin 0
## border width
border_width 2
## graph borders
draw_graph_borders yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton ----------

background yes
use_spacer none
no_buffers yes
imlib_cache_size 0
double_buffer yes

update_interval 1

lua_load /media/5/Conky/barometer/baro/baro.lua
lua_draw_hook_pre main

lua_load /media/5/Conky/barometer/baro/textwriting.lua
lua_draw_hook_post draw_text

TEXT
${image /media/5/Conky/barometer/baro/bigpanel2.png  -s 200x200 -p +0,-5}${image /usr/share/conkyforecast/images/weathericons/00.png  -s 40x40 -p 2,90}${image /usr/share/conkyforecast/images/weathericons/40.png  -s 40x40 -p 2,50}${image /usr/share/conkyforecast/images/weathericons/09.png  -s 40x40 -p 25,20}${image /usr/share/conkyforecast/images/weathericons/39.png  -s 40x40 -p 60,0}${image /usr/share/conkyforecast/images/weathericons/28.png  -s 40x40 -p 100,0}${image /usr/share/conkyforecast/images/weathericons/30.png  -s 40x40 -p 135,20}${image /usr/share/conkyforecast/images/weathericons/34.png  -s 40x40 -p 145,50}${image /usr/share/conkyforecast/images/weathericons/32.png  -s 40x40 -p 150,90}



${color7}${alignc}Buenos Aires
${color7}${alignc}${execpi 600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond | cut -c-7}
${alignc}(Steady)

${goto 15}Now${goto 150}Feels
${font URW Chancery L:bold:size=14}${goto 14}${color2}${execpi 600 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${goto 146}${color3}${execpi 600 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${font}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#535 2016-01-11 19:08:22

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

TeoBigusGeekus wrote:

Script 2b: New Moon
All's well...

Excellent!
I... missed it... :8


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#536 2016-01-11 19:13:50

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

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

OK,
2016_01_11_15_32_36_Scrot11.png 2016_01_11_15_47_28_Scrot11.png

2016_01_11_15_47_43_Scrot11.png 2016_01_11_15_48_07_Scrot11.png


1. conky window a little larger than needed to accomodate the drop shadow on the background image.  smile
2. changed the font so "I" can see it better ...
3. dropped the city name - I know where I am. (I think)
4. dropped the (Steady) - script doesn't do: Falling - Steady - Rising
- Teo has one that does - 0 + »»» time to change scripts
- so:

${if_match "${command}"=="-"}Falling${else}${if_match ${command}"=="0"}Steady${else}Rising${endif}${endif}

And where did the pointers go!!!!  »» looking in a mirror »» mad


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#537 2016-01-11 19:14:48

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

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

Inodoro Pereyra wrote:
TeoBigusGeekus wrote:

Script 2b: New Moon
All's well...

Excellent!
I... missed it... :8

Say what!  Sleeping on the job again?  yikes


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#538 2016-01-11 19:45:10

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Sector11 wrote:

Say what!  Sleeping on the job again?  yikes

Well... umm... I can explain that...
It's not what it looks like... :8


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#539 2016-01-11 20:40:34

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

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

To the chalkboard with you!
2016_01_11_17_21_22_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#540 2016-01-11 21:08:31

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

lol  lol  lol
In reality I wasn't sleeping.
I was just... meditating...  ]:D


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

Board footer

Powered by FluxBB