SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1076 2014-01-06 21:15:29

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

mrpeachy wrote:

@sector11 , to use the most recent wun weather script, and from here on out, any template you use will need to have the updated line at the top

I did it before reading this..  big_smile
Now to play ...


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Help fund CrunchBang, donate to the project!

#1077 2014-01-06 21:37:20

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

moved to wun thread smile

Last edited by mrpeachy (2014-01-07 01:34:08)

Offline

#1078 2014-01-06 22:30:43

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

WUN HOW TO:  How to use the out() function

Using the out function is like putting together a jigsaw, rather than the conkyrc analogy of writing a letter

the function "out" is how you get the lua script to display text and weather data
it takes the form out({options})
to break it down:

out - names the function to use
what is inside the curved brackets () is the information we are sending to the out function
curly brackets deignate a table in lua
they are inside the curved brackets ({})

in the table are the options, these are:
c=color (eg 0xffffff for white)
a=alpha (eg 1 for full opaque, 0 for full transparent)
f=font (eg "Mono" font name has to be in quotes)
fs=font size (eg 12)
x=x position (eg 100 sets output 100 pixels in from left edge)
y=y position (eg 100 sets output 100 pixels down from top)
txt=text or data to show (more about txt later)
face="normal" (can be "normal","bold","italic","bolditalic")
hj="c" (horizontal justify relative to set x position, can be l=left, c=center, r=right, default is l)
vj="n" (vertical adjust relative to set y position, can be n=normal, nb=normal-ybearing, m=middle, mb=middle-ybearing, t=top, default is n)
ro=45 (rotation in degrees)
wrap_len=50 (default=0  When wrap_len is set the function will output the text wrapped at the set number of characters)
wrap_gap=15 (this is the line height for when the wrapped text is output, default=15)

NOTE
wrap setting are useful for these settings
text_forecast[1].fctext
text_forecast[1].fctext_metric
as they output long sections of text

So we want to show the text

Hello World

in Mono font at size 12, fully opaque white at coordinates 100 across,100 down
we need this

out({c=0xffffff,a=1,f="mono",fs=12,x=100,y=100,txt="Hello World"})

in a lua table entries must be seperated by a comma ,
a missing comma will give an error!

NOTE in the settings at the top you set these values:
default_font="mono"--font must be in quotes
default_font_size=10
default_color=0xffffff--white
default_alpha=1--fully opaque

because of these settings, if you want your output in the default, you dont need to set the values each time for the out function
using the above settings
out({x=100,y=100,txt="Hello World"})
will use the default settings for color,alpha,font and font size etc
if you want something other than the defualt then sending the value to the out function overwrites the default

NOTE about txt
txt can be one of 2 things or a combination of both
1.  plain text eg

Weather Forecast

plain text must be in quotes, so:
txt="Weather Forecast"

2.  weather data, eg you want to show current conditions

Mostly Sunny

this is generated from a lua data option, in this case now["conditions"]
data options are called without quotes, so:
txt=now.weather

3.  Plain text and weather data, eg you want the following

Feels like temp: 35 °F

the text

Feels like temp: 

is plain text
the number

35

is generated from a data option
and the

 °F 

is plain text

the code for this is
txt="Feels like temp: "..now.feelslike_f.." °F"

here we use a double period .. to stitch the different parts of the line together
if we wanted to put together 2 different data options seperated by a space
for example wind direction in degrees and wind direction in NESW

txt=now.wind_degrees.." "..now.wind_dir
the space is required to be input as plain text in quotes and returns

135 SW

without the space we still need the .. to put the eperate data options together
txt=now.wind_degrees..now.wind_dir
but it would look like this

135SW

using x and y to set output position

this is perhaps the greatest inconvenience to showing text via a lua script
but while it may take more effort to get text on the screen this way, I have always found lua to be much more efficient at displaying text
especially when you are using lots of gotos and voffsets in the conkyrc

and with some tricks text positioning can be made much easier

say you want a table like so, lets say that we want everything to be in our default font, font size and alpha
part2table.jpg

to make that table there are 9 elements to call and place
1 main title
4 sub titles
4 data outputs with following °F

we want the text  Temperatures  to start at 20 across 20 down

out({x=20,y=20,c=0xffff00,txt="Temperatures"})

note x=20,y=20 are the coordinates of the bottom left corner of the text
we could do the rest like this, i like to use comments to help me remember what im doing
a comment in lua is started with --
we want the sub title text to line up on the left at x=20 (across)
and the weather data to line up at x=160 (across)

then we will need to set y (down) values for each line, and match the y values from the sub titles to the data

--titles column
out({x=20,y=45,c=0xff0000,txt="Feels Like: "})
out({x=20,y=60,c=0xff0000,txt="Wind Chill: "})
out({x=20,y=75,c=0xff0000,txt="Heat Index: "})
out({x=20,y=90,c=0xff0000,txt="Dew Point: "})
--weather data column
out({x=160,y=45,c=0x0000ff,txt=now.feelslike_f.."°F"})
out({x=160,y=60,c=0x0000ff,txt=now.windchill_f..now.windchill_f_unit})
out({x=160,y=75,c=0x0000ff,txt=now.heatindex_f..now.heatindex_f_unit})
out({x=160,y=90,c=0x0000ff,txt=now.dewpoint_f.."°F"})

NOTE
you can see that for feelslike i follwed the data call with the unit hard coded

txt=now.feelslike_f.."°F"

This is becasue feels like temperature is always a number.
Some data options, like windchill and heatindex are sometimes NA.
If the unit was hardcoded after windchill:

txt=now.windchill_f.."°F"

and windchill was NA then the output would be:

NA°F

which doesnt make a lot of sense.
To compensate for options being NA the script provides or hides the unit as follows:

out({x=160,y=60,c=0x0000ff,txt=now.windchill_f..now.windchill_f_unit})

When windchill is a number (not NA) then:

36°F

When windchill is NA then:

NA

But say we didnt like the spacing, we would have to go back and recalculate and input each y value
but to make things easier we can use calculations like this,

--titles column
lgap=15--set how much gap, in pixels, between lines
gap=20+lgap--the first line, Temperatures, was set at x=20, so the next line is at 20+lgap, gap=45
out({x=20,y=gap,c=0xff0000,txt="Feels Like: "})
gap=gap+lgap--calculate new gap by adding lgap to the previous gap value of 45, gap=60
out({x=20,y=gap,c=0xff0000,txt="Wind Chill: "})
gap=gap+lgap--calculate new gap by adding lgap to the previous gap value of 60, gap=75
out({x=20,y=gap,c=0xff0000,txt="Heat Index: "})
gap=gap+lgap--calculate new gap by adding lgap to the previous gap value of 75, gap=90
out({x=20,y=gap,c=0xff0000,txt="Dew Point: "})
--weather data column
gap=20+lgap--reset gap value to 45
out({x=160,y=gap,c=0x0000ff,txt=now.feelslike_f.."°F"})
gap=gap+lgap
out({x=160,y=gap,c=0x0000ff,txt=now.windchill_f..now.windchill_f_unit})
gap=gap+lgap
out({x=160,y=gap,c=0x0000ff,txt=now.heatindex_f..now.heatindex_f_unit})
gap=gap+lgap
out({x=160,y=gap,c=0x0000ff,txt=now.dewpoint_f.."°F"})

now if we dont like the spacing, we only need adjust lgap and everything else will adjust accordingly
for both the titles column and the data column

it also means you can rearrange the order of lines quite easily without having to reset the y value for each

NOTE setting gap= sets a variable in lua which should ideally be preceeded by local like so

local gap=gap+gap

this helps with such things as minimizing the potential for memory leaks
but isnt absolutely necessary smile

another method would be to preset your variables then use them lower down in the code

--set x values, need 2 for 2 columns
x1=20
x2=160
--set y values, need 4 for the 4 lines
y1=45
y2=60
y3=75
y4=90
--titles column
out({x=x1,y=y1,c=0xff0000,txt="Feels Like: "})
out({x=x1,y=y2,c=0xff0000,txt="Wind Chill: "})
out({x=x1,y=y3,c=0xff0000,txt="Heat Index: "})
out({x=x1,y=y4,c=0xff0000,txt="Dew Point: "})
--weather data column
out({x=x2,y=y1,c=0x0000ff,txt=now.feelslike_f.."°F"})
out({x=x2,y=y2,c=0x0000ff,txt=now.windchill_f..now.windchill_f_unit})
out({x=x2,y=y3,c=0x0000ff,txt=now.heatindex_f..now.heatindex_f_unit})
out({x=x2,y=y4,c=0x0000ff,txt=now.dewpoint_f.."°F"})

now you can adjust the preset x and y values in one place and have the text reposition accordingly

the use of calculations and the ability to set variables adds a lot of flexibility to the code

Offline

#1079 2014-01-07 00:45:15

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: weather in conky (LUA scripts) updated 12/26/13!

Hey Peachy.. Maybe a new thread for wun-lua??  wink

So here is what I have going on right now..
Screenshot_from_2014_01_06_16_32_43.jpg

I am currently working on some highlights for the buttons  big_smile

Offline

#1080 2014-01-07 00:57:57

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

HOT Damn that's really WOW that you have running there falldown!

I think a new thread might be a good idea as well.

Struggling to get images working ... Grrrrrrrrrrrrrrr!


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1081 2014-01-07 01:14:49

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

what trouble are you having with icons Sector11?

Offline

#1082 2014-01-07 03:02:43

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

mrpeachy wrote:

what trouble are you having with icons Sector11?

Just not showing up.

Don't worry about it, It had a long day with your scripts and probably got a , in the wrong spot!
I'll tackle it again tomorrow ...  If I keep walking into a brick wall I'll come a callin'   wink

Meantime - a wun prior to icons: 2014_01_06_18_27_58_382x662_Sector11.jpg

°F are scary - 102° vs 42° ... yea yea, just a number.  lol  lol  lol

I hope you are not in to cold of a deep freeze.

A spokesperson for the US National Weather Service: wrote:

    The coldest temperatures in almost two decades will spread into the northern and central US today behind an Arctic cold front. Combined with gusty winds, these temperatures will result in life-threatening wind chill values as low as 60[F] below zero [51C below zero].

.. and I thought mine was scary!

To everyone in the US and Canada: stay warm, stay safe!


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1083 2014-01-30 22:35:55

stylintile
New Member
From: Loganville, Georgia
Registered: 2014-01-29
Posts: 5

Re: weather in conky (LUA scripts) updated 12/26/13!

We got an inch of snow two days ago, and it got down to 6ºF last night.  I live in the sunny south (Atlanta, Georgia).  It's not suppused to do that here, that's why I left Colorado after 35 years.  Oh well, in Colorado we could get 2-3 feet of snow.  I guess I can live with an inch.  Bsides 6ºF is much better than -60ºF.

Offline

#1084 2014-01-31 08:32:40

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: weather in conky (LUA scripts) updated 12/26/13!

hello mrpeachy

do you plan a final update of v9000?

regards, alex

Offline

#1085 2014-01-31 16:10:27

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

i plan on maintaining v9000 if intellicast makes other site changes

is there anything in particular that needs updating?

Offline

#1086 2014-01-31 17:50:12

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

Well, with the quick fix you did just before the start of WUN all of my v9000 scripts are still working.

Some of which are:
2014_01_31_14_31_39_1920x1080_Sector11.jpg
Vertical weather
Horizontal weather - borrowed from ragamatrix - - - Hi ragamatrix
v9-Corner (classic10day)
and my wife's weather in a box!


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1087 2014-02-01 10:54:59

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: weather in conky (LUA scripts) updated 12/26/13!

i had serious problems with this code (the whole script crashed):

local s,f,t=string.find(allweather,"<td%scolspan=%p2%p><strong>([%a,%s%d]*)</strong></td>",start)

but after a week it's working again?! and i did nothing, i'm a bit confused sad

you will find this in the forecast-section (circa line 420).

Offline

#1088 2014-02-01 17:26:50

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

i just ran v9000 from the archive and it seems to be working correctly
im not sure what could have happened to your script...

Offline

#1089 2014-02-01 17:31:24

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: weather in conky (LUA scripts) updated 12/26/13!

now it works smile i had this problem days ago! i do not know why it works now (with the same code)?!

Offline

#1090 2014-10-12 03:59:39

aysberg313
New Member
Registered: 2014-10-12
Posts: 3

Re: weather in conky (LUA scripts) updated 12/26/13!

hi everyone. and thanks for your labour. firstly I’m sorry for my English, it's a little. i have been using conky chronograph v9000 for long time successfully but i have a problem now. it crushed last week. i thing this problem cause intellicast web site.

terminal output:

Conky: llua_do_call: function conky_weather execution failed: /home/zifiri/.conkychrono-9000/v9000/v9000.lua:645: bad argument #1 to '?' (string expected, got nil)

I don't know what should i do.

Last edited by aysberg313 (2014-10-12 04:00:50)

Offline

#1091 2014-10-12 14:59:22

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

^ yes, my v9000 script failed a few days ago as well.

Have you looked at » Wun Weather Script for Conky (Lua)

A chronograph clock can be build around that as well.

Or this one with Teo's bash script for weather.

PS: Your English is fine.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1092 2014-10-16 03:19:25

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

Sector11 wrote:

^ yes, my v9000 script failed a few days ago as well.

Have you looked at » Wun Weather Script for Conky (Lua)

A chronograph clock can be build around that as well.

Or this one with Teo's bash script for weather.

PS: Your English is fine.

I see you're still using the numbers around the clock that I added oh so long ago lol. WOW, I really have been gone for ages, I gotta get back into building my distro and building new conky configs, oh, and hi everyone, how you all been? it's been quite a while since I've been here


8o Got /? | The first GUI, and "on-line" system was created in 1968 by Douglas Engelbart, the system included modern day innovations such as video conferencing, and on-line file sharing.

Offline

#1093 2014-10-17 18:13:52

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

Are you kidding I steal borrow quality work all the time, and in my conkys try hard to give credit where it's due.

So it should not surprise you that I have a few McLovin directories:

  • /media/5/conky/McBars_McLovin

  • /media/5/conky/McLovin

  • /media/5/conky/McLovin-1

Nostalgia - taken from /media/5/conky/McBars_McLovin with conkyForecast:
mcbars.jpg

Yea, a few of your conkys are still here... these two use conkyForecast - now dead for me ... but the clocks still work.
2014_10_17_14_57_09_1920x1080_Sector11.jpg
Don't quite understand this part though; the numbers around the clock that I added oh so long ago.
Where else are the numbers going to go?

Can you kick start my memory please.

So what are you building?  McLinux?


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1094 2014-10-18 10:46:50

aysberg313
New Member
Registered: 2014-10-12
Posts: 3

Re: weather in conky (LUA scripts) updated 12/26/13!

Sector11 wrote:

^ yes, my v9000 script failed a few days ago as well.

Have you looked at » Wun Weather Script for Conky (Lua)

A chronograph clock can be build around that as well.

Or this one with Teo's bash script for weather.

PS: Your English is fine.

Thank you so much for your interest and I'm sorry my answer late. Conky Chronograph + 10d v9000 [1] were my favorite. But like i said they failed [2]. I have view given links and I'm using now wun weather script [3]. Thanks again, last one thing. Can i use Wun weather script lua instead v9000.lua with Conky Chronograph and 10d v9000 templates? I haven't tried that yet.


[1] http://www.imagebam.com/image/330b48358550201
[2] http://www.imagebam.com/image/eb84ec358550267
[3] http://www.imagebam.com/image/5bd874358550232

Last edited by aysberg313 (2014-10-18 10:51:34)

Offline

#1095 2014-10-18 14:59:24

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

aysberg313 wrote:

Thank you so much for your interest and I'm sorry my answer late. Conky Chronograph + 10d v9000 [1] were my favorite. But like i said they failed [2]. I have view given links and I'm using now wun weather script [3]. Thanks again, last one thing. Can i use Wun weather script lua instead v9000.lua with Conky Chronograph and 10d v9000 templates? I haven't tried that yet.

No need to apologize.  Been a while since I've created a weather conky ... I don't believe the templates from the v9000 scripts are compatible with the wun script.  For one thing the two scripts use different sites - so the information they call in is different.

I'll have to revisit my LUA wun weather scripts.  big_smile


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1096 2014-10-19 00:47:28

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

@S11
Actually, I've been taking care of some health issues, but I am working on my own distro, Tweaker Linux, I've built 2 versions, one w a Debian base, and 1 w an Ubuntu base. I used the Ubuntu mini ISO to build the Tweaker-U, and use MATE for the desktop, I use MATE for both of them actually, and I use a slimmed down Kernel for them, and am thinking about making separate kernels for desktops and laptops. That would make the kernels even slimmer.


8o Got /? | The first GUI, and "on-line" system was created in 1968 by Douglas Engelbart, the system included modern day innovations such as video conferencing, and on-line file sharing.

Offline

#1097 2014-10-19 02:07:39

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

@ McLovin

I hope all is well with you and your health issues are in the past.  Tweaker sounds interesting.  If you 'building' kernels you are light years ahead of me.  I'm not a GNOME fan so Mate isn't my thing, but I am looking forward to seeing a screenshot or two when you do get the opportunity.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1098 2014-10-23 05:30:56

McLovin
#! CrunchBanger
From: my computer chair
Registered: 2009-02-28
Posts: 105
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

I'm working on one now, using the newest stable 3.17.1, and I'm gonna test out 3.18 when I get a chance. but we have gone ridiculously off topic lol. I'll pm you when I have something good, and I'll post some screenies to show


8o Got /? | The first GUI, and "on-line" system was created in 1968 by Douglas Engelbart, the system included modern day innovations such as video conferencing, and on-line file sharing.

Offline

#1099 2014-11-05 15:04:51

hecate
Member
Registered: 2014-11-05
Posts: 11

Re: weather in conky (LUA scripts) updated 12/26/13!

Hi all

I first used the v9000 weather script a few years back and loved it but it conked out a few years ago and I tried using the new one but couldn't get it to work. I spent quite a while getting the layout and data presented just how I wanted and after finding an old screenshot of my desktop yesterday decided to give it another go.

I downloaded the package from page 1 here, extracted as instructed (having made a back up of my old one), edited the .v9000_config.lua and placed it in my home folder then ran the default conky-weather but I am getting this output from the terminal

Conky: llua_do_call: function conky_weather execution failed: /home/hecate/v9000/v9000.lua:645: bad argument #1 to '?' (string expected, got nil)

I searched for the 'v9000.lua:645: bad argument #1 to '?' (string expected, got nil)' error and found it on this thread but it was in reference to the conky chronograph v9000 and the poster was directed to different weather scripts.

I have had a complete reinstall of my OS since this last worked and wondered if I was missing any dependencies but tried one of Teo's scripts and it ran fine.

I would dearly like to get this working as the v9000 script has so much weather info that you can bring in. If anyone can help I'd be really grateful. Thanks in advance.

Offline

Help fund CrunchBang, donate to the project!

#1100 2014-11-11 13:00:42

destripato
New Member
Registered: 2014-11-11
Posts: 4

Re: weather in conky (LUA scripts) updated 12/26/13!

Hi guys. Yesterday i reprogrammed the v9000.lua file and now it works perfectly.

Also i added 2 news "things":

1.- Now i added the ability to get 42 hours of hourly forecast data (before you "only" could get 24 hours)
2.- New variable ----- hour_wind_kmh (before only was hour_wind_mph)


You must fill these 2 fields in the v9000.lua file according to your needs:

local utc= 0
local maxHours=3

Explication:
LOCAL UTC

Adjust this variable depending of your Time zone compared with UTC (Universal Time).
It's very easy; for example visiting <http://www.timeanddate.com/worldclock/timezone/utc> or other similar web.

Examples:
-if you live in Los Angeles (California) you type--> local utc= -8
-if you live in Caracas --> local utc= -4.5
-if you live in London ---> local utc= 0
-if you live in Madrid ---> local utc= 1 (important: you never type the sign + here)
-if you live in New Delhi --> local utc= 5.5 (important: you never type the sign + here)
etc...

LOCAL maxHours

Maximum number of hours you want of hourly forecast data (Minimum: 3 hours.   Maximum: 42 hours)
For example, if you want to get the weather forecast for up to 10 hours, you type ---> local maxHours=10
If you want up to 21 ---->local maxHours=21
If you want up to 42 ---->local maxHours=42
etc...

All the rest is the same as before.

Download the new v9000.lua here:
https://www.dropbox.com/s/k9jfhtforpxnd … ar.gz?dl=0

Any problem post it.

Thanks mrpeachy for all.

Last edited by destripato (2014-11-11 13:02:44)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo