You are not logged in.
Peachy I'm sure you can come up with a cool counter.. and the update button sounds cool.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
Peachy I'm sure you can come up with a cool counter.. and the update button sounds cool.
I like that as well ...
Another thing I've been thinking about - - - poor mrpeachy we come up with ideas he's got to do the work. Well, he can choose to do it or not! But here goes...
Weather sites usually update once an hour, but they can't do that on the hour every hour for every city in the world ... so:
Maybe have the script create and keep a log of the last 'X' (24, 48) 'successful' updates that a person can read...
Lets say Buenos Aires in the list updates between the 15 and 20 minute mark.
Now, in one of the files (maybe wun_config.lua) have an option that can be turned on that checks system time (minutes) and a user specified "minute-mark" (ie: 22) and every 22 minutes after the hour the script runs to get an update.
One exception, when you turn your computer on for the day - it goes regardless.
Just a thought from a program challenged user.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Wun is back up according to twitter.. and they are sorry for any inconvenience.
Yep.. up and running.
Last edited by falldown (2014-01-10 02:34:27)
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
falldown wrote:Peachy I'm sure you can come up with a cool counter.. and the update button sounds cool.
I like that as well ...
Another thing I've been thinking about - - - poor mrpeachy we come up with ideas he's got to do the work. Well, he can choose to do it or not!
But here goes...
Weather sites usually update once an hour, but they can't do that on the hour every hour for every city in the world ... so:
Maybe have the script create and keep a log of the last 'X' (24, 48) 'successful' updates that a person can read...
Lets say Buenos Aires in the list updates between the 15 and 20 minute mark.
Now, in one of the files (maybe wun_config.lua) have an option that can be turned on that checks system time (minutes) and a user specified "minute-mark" (ie: 22) and every 22 minutes after the hour the script runs to get an update.
One exception, when you turn your computer on for the day - it goes regardless.
Just a thought from a program challenged user.
getting the updates to run at a specified time past the hour, or on the hour, should be easy enough
and loggin updates is pretty easy using a table in the code... then writing the table contents to a file should also be prett straight forward
I have completed most of the work to compensate for bad connections
one problem is i am using the program ping
it works great for www.wunderground.com
but it doesnt seem to respond the same way when i try and ping www.usno.navy.mil
ill have to look into ping to see how i judge from the response if a site is accessible or not
but other than that it is workin nicely, saving data and using the saved data when the site is unavailable
Last edited by mrpeachy (2014-01-10 02:39:58)
Offline
Yep, up here too.
Thanks falldown.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
@mrpeachy,
Just got a chance to test out the new wunrci scripts and everything is running just Great.
Switching from imperial to metric is just a find and replace away and nooo problems with iweather.lua.
Excellent work!
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
I did notice this in wun_template.lua
default_metricont="URW Gothic L"--font must be in quotes
default_metricont_size=12
defaultmetricolor=0xffffff--white
but switching back to
default_font="URW Gothic L"--font must be in quotes
default_font_size=12
default_color=0xffffff--white
and all is good.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
Hey guys, I been following along with this and have had no issues other than yesterdays anomalies with the WU site.
I have noticed on the clickable button to go from hours to Days/Less/More, a strange thing happens to the hours; say it is 9:00AM, the next 10 hours will list as the following. 10:00AM, 11:00AM, 12:00PM, 1:00PM, 2:00PM, then on the bottom row it will continue with the next 5 hours, however, it goes from 2:00PM, to 3:00AM, 4:00AM, 5:00PM, 6:00PM, 7:00PM. I've noticed this behavior when switching to the 'hours' button on the bottom. Not sure when or how long ago this started. By the way, I have switched to the newest files in Post #1.
Everything else is going great with mine.
This is a really attractive weather script!
Last edited by jed (2014-01-10 14:51:03)
Proud user of VSDIO: Jedi! You can download it from here... I'm on the web at NixNut.com!
Offline
Just noticed that too jed and in the MORE button section it goes from 12AM on the top row to 1PM, 2PM, 3PM, 4PM, 5AM on the bottom row.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
ill take a look at iweather.lua and see whats up
and ill make sure to fix
default_metricont="URW Gothic L"--font must be in quotes
default_metricont_size=12
defaultmetricolor=0xffffff--white
a product of not being careful with my find/replaces!
Offline
^ Believe me no complaints here, just thought you'd like to be aware of it.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
Just got back home, popped in the latest and greatest and I must say:
Now this is a weather conky I can get my teeth into. I still have some tweaking I want to do ...
I put it in a window because it's so big and I can call it when I want and close it [x]
Weather on the left is v9000 - still running
Once I get this 'just right' I'll tackle the interactive one ...
* Is there a way to "stop it" from going online and using a local file while developing it?
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Hey guys, I been following along with this and have had no issues other than yesterdays anomalies with the WU site.
I have noticed on the clickable button to go from hours to Days/Less/More, a strange thing happens to the hours; say it is 9:00AM, the next 10 hours will list as the following. 10:00AM, 11:00AM, 12:00PM, 1:00PM, 2:00PM, then on the bottom row it will continue with the next 5 hours, however, it goes from 2:00PM, to 3:00AM, 4:00AM, 5:00PM, 6:00PM, 7:00PM. I've noticed this behavior when switching to the 'hours' button on the bottom. Not sure when or how long ago this started. By the way, I have switched to the newest files in Post #1.
Everything else is going great with mine.
This is a really attractive weather script!
found the problem, a typo
line 209 (or there abouts is missing a +5)
should be this:
out({a=1,fs=11,x=tlx-4,y=tly,txt=hour[i+5].hour_12..hour[i+5].ampm.." "..hour[i+5].month_pad.."/"..hour[i+5].day_pad})
it was missing in the square brackets before .ampm
Offline
getting the updates to run at a specified time past the hour, or on the hour, should be easy enough
and loggin updates is pretty easy using a table in the code... then writing the table contents to a file should also be pretty straight forward
I have completed most of the work to compensate for bad connections
one problem is i am using the program ping
it works great for www.wunderground.com
but it doesnt seem to respond the same way when i try and ping www.usno.navy.milill have to look into ping to see how i judge from the response if a site is accessible or not
but other than that it is workin nicely, saving data and using the saved data when the site is unavailable
Oops! ... just saw this was well ... is any of this implemented in the "mini update 01/09/14 @13:00" or just in the development lab?
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Just got back home, popped in the latest and greatest and I must say:
KUDOS mrpeachy!
Now this is a weather conky I can get my teeth into. I still have some tweaking I want to do ...
I put it in a window because it's so big and I can call it when I want and close it [x]
http://s20.postimg.org/i16r2rwjt/2014_01_10_13_58_42_1920x1080_Sector11.jpg
Weather on the left is v9000 - still runningOnce I get this 'just right' I'll tackle the interactive one ...
* Is there a way to "stop it" from going online and using a local file while developing it?
yes there is in the update im about to post!
in fact that gives me an idea for a development setting which forces the use of saved data!
when its up ill edit this post
EDIT - the update is posted, i will implement developer mode later but for now to stop wun.lua from downloading new data and forcing it to use saved data open the new wun.lua and go to line 1061
local mst1=tonumber("0"..response:gsub(".*time (%d+)ms.*","%1"))
then directly underneath add a new line that hard codes the value of mst1 so that it is greater than the check value
local mst1=tonumber("0"..response:gsub(".*time (%d+)ms.*","%1"))
--faking a high mst1 value so the ping test fails
local mst1=5000
you can do the same thing lower down (what was 1087)
local mst2=tonumber("0"..response:gsub(".*time (%d+)ms.*","%1"))
to
local mst2=tonumber("0"..response:gsub(".*time (%d+)ms.*","%1"))
--faking a high mst2 value so the ping test fails
local mst2=5000
Last edited by mrpeachy (2014-01-10 17:46:04)
Offline
Thank you mrpeachy.
Everything seems to be working like a charm, don't know about the ping part yet (and hopfuly won't find out).
Now it's time to play.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
well I think wun.lua has reached the point where any further updates will only be bug fixes
I think i have implemented all the features i wanted
I have the sun moon azimuth altitude section to work on but I will only update with that addition once it is fully complete
All the data option names should not change any more
The config should not change any more
I will work on iweather.lua a bit more, i dont like the placement of the hour/day more/less buttons
when i click hours, it nearly always registers a click to more!
Offline
Peachy once you figure out your days, hour, less and more button placement I will adjust the bg image as needed.
I am still working on this text template and I am very glad that all issues have been sorted out
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
Peachy once you figure out your days, hour, less and more button placement I will adjust the bg image as needed.
![]()
I am still working on this text template and I am very glad that all issues have been sorted out
Thanks!
the HOURS/DAYS button needs to stay where it is when you click it
any thoughts about where the MORE/LESS button should appear?
Offline
I would say that the hours/day button goes on the bottom left and stay stationary.. whereas the more/less button appears just right of it.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
that is a good idea, i will make it so
Last edited by mrpeachy (2014-01-10 21:47:48)
Offline
Oh no... I feel another LCARS brain storm coming on..
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
I would say that the hours/day button goes on the bottom left and stay stationary.. whereas the more/less button appears just right of it.
I more/less agree ...
runnin' for the hills....
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
OK ... just finished my tweaking time ... I think ... maybe ... almost ...
Here's the conky under re-development:
Note the ñ as a place holder for outputs that could be longer than they are,
I also dropped the metric ending for temperatures in favour of a simple ° as I know my conky uses °C
Oh ... and I removed the snow stuff - only three times since 1919 - I'm not worried!
And here it is all cleaned up and back in it's "box"
mrpeachy - very impressive script ...
Now to tackle the interactive ... or maybe I'll wait until the more|less issue is settled.
Last edited by Sector11 (2014-01-10 22:38:11)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
^ Love the wall Sector11.
Reminds me of the roads I grew up around in California, or Deals Gap here in E. TN aka: Tail of the Dragon.
Great for cars like the one in your scrot or a bike.
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
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