You are not logged in.
very strange!
how long does it take to do that?
No idea, it's an anomaly!
could you launch the conky through a terminal and keep the terminal open to watch for error messages?
Can and will.
Stand by for an update...
Last edited by Habitual (2014-01-29 18:12:40)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
what about day[1].moon_phase_user
don't you want to translate the moon phases?
Offline
mrpeachy wrote:very strange!
how long does it take to do that?No idea, it's an anomaly!
mrpeachy wrote:could you launch the conky through a terminal and keep the terminal open to watch for error messages?
Can and will.
Stand by for an update...
WOW! That's really strange ... weather images are still there, but the background two imagesare gone ... there is no way they should fade out. {Twilight Zone theme music in the background}
Mine runs ±14 hours a day ... I'll leave my computer on for a few days to see if it happens here as well.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
what about day[1].moon_phase_user
don't you want to translate the moon phases?
yes, i have been thinking about that, should be quite easy to implement
Offline
Hot chocolate and cookies served at 6!
6 "where" smarty-pants?![]()
Has any else noticed that if left running "too long" the background image "frames" in iweather_falldown.lua disappears or goes transparent. Causing me to restart it?
It also cause the program to not respond to any clicks...
Thanks!
Edit: and a Radar Map is definitely a "Cool" new feature.
I've had mine running since yesterday at this time when I read your post.
No strange behavior here.
If there's a problem with the script mrpeachy will figure it out.
The man is like a lua machine.
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
fixed an issue where setting indicator to 0 did not turn off the update indicator
main archive updated
Offline
No strange behavior here.
If there's a problem with the script mrpeachy will figure it out.
The man is like a lua machine.
Thanks for that.
Good thing, I don't want to start busting on conky code, I'm retired.
to paraphrase a popular song waaaaaay back in "the day"...
"I'm justa LUA Machine, and I don't work for nobody but you."
I just dated myself as a Dinosaur.
Last edited by Habitual (2014-01-29 20:13:44)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
"I'm justa LUA Machine, and I don't work for nobody but you."
Wait!
What am I laughing about? I remember when that came out too.
Last edited by jst_joe (2014-01-29 20:28:09)
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
for moon phase translations, until i get around to putting it into wun.lua you can do it in the template quite easily
function translate(input)
local input=string.lower(input)
local mp={
--do not edit this side --edit this side to what you want to show
["new"] ="t_New",
["full"] ="t_Full",
["first quarter"] ="t_First Quarter",
["last quarter"] ="t_Last Quarter",
["waning gibbous"] ="t_Waning Gibbous",
["waning crescent"] ="t_Waning Crescent",
["waxing crescent"] ="t_Waxing Crescent",
["waxing gibbous"] ="t_Waxing Gibbous"}
--########################################################################
for k,v in pairs(mp) do
if input==k then
input= v
end
end--for k v
return input
end--of translate
--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION-
_G.weather_script = function(update,time,now,text_forecast,day,hour)--#### DO NOT EDIT THIS LINE ##############
--#######################################################################
--these tables hold the coordinates for each repeat do not edit #########
top_left_xcoordinate={}--################################################
top_left_ycoordinate={}--################################################
--#######################################################################
--SET DEFAULTS ##########################################################
--set defaults do not localise these defaults if you use a seperate display script
default_font="mono"--font must be in quotes
default_font_size=12
default_face="normal"
default_color=0xffffff
default_alpha=1--fully opaque
default_image_width=50
default_image_height=50
--END OF DEFAULTS #######################################################
out({x=100,y=100,txt=translate(day[1].moon_phase)})
--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--########################################################################################]]
end--of weather_display function do not edit this line ##################
--#######################################################################
you could put anything you wanted into the mp table
but ive set it up for moon phases
Last edited by mrpeachy (2014-01-29 20:34:29)
Offline
Hey mrpeachy,
Awesome scripts!! Hope you remember me from the Ubuntu forum. I joined here specifically to ask you a question. I was just wondering if the current pollen count could be added. I see it under current conditions on their web page, but I don't know if it's on the API. I am just getting Wun set up (although v9000 is still working good. I had to add a couple of "if whatever==nil, for when the info wasn't there, but other than that it's still good). I just want something a little closer to home, as the Wunderground reporting station here is about a mile and a half from my house. I'm still learning lua, and using your tutorial a lot, just been really busy for awhile. Just getting around to playing some more. Thank You for everything you do for this semi-noobie.
Offline
I was just wondering if the current pollen count could be added.
Well, I was going to ask this as well, AND Length of Daylight in h:m, if it exists in the API?
Thanks.
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
@ stylintile - Welcome to the #! forums.
We'll make it as painless as possible.
{OK, who's got the dentist drill this week?}
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
stylintile wrote:I was just wondering if the current pollen count could be added.
Well, I was going to ask this as well, AND Length of Daylight in h:m, if it exists in the API?
Thanks.
I believe length of day is there: Sun Transit
Of course I may be wrong. ... YUP! local noon! ... boy do I feel silly!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
@ stylintile - Welcome to the #! forums.
We'll make it as painless as possible.
{OK, who's got the dentist drill this week?}![]()
![]()
Thanks! I think?
Offline
Thanks! I think?
{psssst - it's from a fisher price kids set, you're safe!}
Coffee and cookies in the room at the end of the hall.
Last edited by Sector11 (2014-01-29 22:07:32)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
i could write a quick function to calculate length of day based on sunset and sunrise times
as far as i know, pollen is not in the api, it would have to be fetched from somewhere else
there are other things available like tides, not sure what the interest in that would be
Hi stylintile
Offline
stylintile wrote:Thanks! I think?
{psssst - it's from a fisher price kids set, you're safe!}
Coffee and cookies in the room at the end of the hall.
@stylintile
We really don't let Sector11 play with sharp objects. ]:D
{psssst - don't tell him though, he thinks the fisher price stuff is real}
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
From my old conky.fu days:
echo "Pollen: $(curl --silent -q -d "affiliateid=6176&zip=44512" http://www.pollen.com/forecast.asp | cut -d'|' -f5 ) of 12"
44512 is NOT your ZIP Code, but if it is, we're practically neighbors.
Seems to only accept "ZIP Codes" at that page. I don't know who's or where that affiliateid came from, hell it could even be mine, but the OldGuy doesn't remember signing up there for that.
Last edited by Habitual (2014-01-29 22:21:14)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
watch for error messages?
Survey Says:
Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value)
Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value)
Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value)
Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value)
Pretty sure I ran over the window 4 times.
Thanks!
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
Sector11 wrote:stylintile wrote:Thanks! I think?
{psssst - it's from a fisher price kids set, you're safe!}
Coffee and cookies in the room at the end of the hall.
@stylintile
We really don't let Sector11 play with sharp objects. ]:D
{psssst - don't tell him though, he thinks the fisher price stuff is real}![]()
![]()
If that's the case, shouldn't it be MILK and cookies?
Offline
as far as i know, pollen is not in the api
Hi stylintile
Hi back. It's not a problem, I'll just keep doing it the way I am now. Using wget to download the source, and using grep to get what I want from it. Maybe someday I'll find a tutorial like yours on sed and awk, but for now grep works.
Offline
If that's the case, shouldn't it be MILK and cookies?
You mess with my coffee and you'll find out just where I can put this 'toy' drill!
]:D <--- he made me say that! O:)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
If that's the case, shouldn't it be MILK and cookies?
Nooo!
@Sector11
You still have that (Milkaholic) wall that you posted on the VSIDO forum.
That was funny as hell!
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 wrote:watch for error messages?
Survey Says:
Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value) Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value) Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value) Conky: llua_do_call: function conky_get_mouse execution failed: ...me/jj/wun/additional_files/scripts/button_script.lua:98: attempt to index local 'f' (a nil value)
Pretty sure I ran over the window 4 times.
Thanks!
hmmm... this is just a guess but maybe your tmp folder gets cleaned out every once in a while?
since the default setting in wunrci is to save click info in tmp
in the button code line 97,98 and 99 is this
local f = io.open(xwin[5])
click = f:read()
f:close()
and xwin[5] is a call to the xdo log file
in wunrci there is this line:
## activate mouse click logging ####################
####################################################
lua_draw_hook_pre get_mouse {"interactiveconkyrc","/tmp/xdo"}
try changing the path to point to wun in your home folder, or somewhere else other than tmp
then see if the problem persists
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