You are not logged in.
well, at least it's not "me" (this time).
Edit: at least my conkyForecast is working!
Last edited by Habitual (2014-01-09 17:31:35)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
Their website is taking forever to load also Hotlanta isn't used to this kind of weather.
That or we're all overloading their servers.
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
That or we're all overloading their servers.
Yeah, bandwidth usage must be "way up"
That or someone at wunderground is waaaay too "Type A".
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
i just ran the script and it looks like the time problem has gone, at least for me
i seriously doubt that we are having any impact on the wunderground servers
people paying $5000 for the downpour key get to make 1,000,000 calls per day (10,000 per minute)
i cant imagine why you would need that but obviously some people do!
i hope to have iweather.lua swapped over to the new names and functional soon
Offline
Aha!
Fixed it.
I switched
lua_load /home/jj/wun/iweather.lua
to
lua_load /home/jj/wun/wun_template.lua
ran wunrc and got data.
switched it back to original and re-ran wunrc and
it's working.
Enjoy.
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
here is the newly formatted iweather.lua, imperial/metric swappable
--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_x_coordinate={}--###############################################
top_left_y_coordinate={}--###############################################
--#######################################################################
--SET DEFAULTS ##########################################################
--set defaults do not localise these defaults if you use a seperate display script
default_font="URW Gothic L"--font must be in quotes
default_font_size=11
default_color=0xffffff--white
default_alpha=1--fully opaque
default_image_width=50
default_image_height=50
--END OF DEFAULTS #######################################################
--#######################################################################
--START OF BUTTON CODE -- START OF BUTTON CODE -- START OF BUTTON CODE
--########################################################################################
function button_settings()
dh=do_button({blx_on=222,fs_off={"14"},fs_on={"14"},fxadj_off={10},fxadj_on={10},fyadj_off={-5},fyadj_on={-5},text=1,font_off={"URW Gothic L"},font_on={"URW Gothic L"},txt_on={"DAYS"},txt_off={"HOURS"},dolw_on=2,dolw_off=2,docol_off=0x000000,docol_on=0x000000,dtype_off=3,dfal_on=0.5,dfcol_on=0xffffff,dfal_off=0.5,btype=1,bname="dayhour",blx_off=296.5,bly_off=166+240,bw_off=70,bh_off=23,draw=1,on_on_on={"current"},on_on_off={"mlh","current"},off_on_off={"day1","day2","day3","day4","day5","day6","day7","day8","day9","day10"},off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day9","day10"}})
if dh==1 then
hm=do_button({blx_on=296.5,fs_off={"14"},fs_on={"14"},fxadj_off={10},fxadj_on={10},fyadj_off={-5},fyadj_on={-5},text=1,font_off={"URW Gothic L"},font_on={"URW Gothic L"},txt_on={"LESS"},txt_off={"MORE"},dolw_on=2,dolw_off=2,docol_off=0x000000,docol_on=0x000000,dtype_off=3,dfal_on=0.5,dfcol_on=0xffffff,dfal_off=0.5,btype=1,bname="mlh",blx_off=296.5,bly_off=166+240,bw_off=70,bh_off=23,draw=1})
else
hm=0
end
local b1=do_button({dfal_off=0.5,btype=1,bname="day1",blx_off=9.5,bly_off=166,bw_off=70,bh_off=23,draw=1, off_on_on={"day2","day3","day4","day5","day6","day7","day8","day9","day10","current"}})
local b2=do_button({dfal_off=0.5,btype=1,bname="day2",blx_off=81.5,bly_off=166,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day3","day4","day5","day6","day7","day8","day9","day10","current"}})
local b3=do_button({dfal_off=0.5,btype=1,bname="day3",blx_off=153,bly_off=166,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day4","day5","day6","day7","day8","day9","day10","current"}})
local b4=do_button({dfal_off=0.5,btype=1,bname="day4",blx_off=225,bly_off=166,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day5","day6","day7","day8","day9","day10","current"}})
local b5=do_button({dfal_off=0.5,btype=1,bname="day5",blx_off=296.5,bly_off=166,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day6","day7","day8","day9","day10","current"}})
local b6=do_button({dfal_off=0.5,btype=1,bname="day6",blx_off=9.5,bly_off=166+120,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day7","day8","day9","day10","current"}})
local b7=do_button({dfal_off=0.5,btype=1,bname="day7",blx_off=81.5,bly_off=166+120,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day8","day9","day10","current"}})
local b8=do_button({dfal_off=0.5,btype=1,bname="day8",blx_off=153,bly_off=166+120,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day9","day10","current"}})
local b9=do_button({dfal_off=0.5,btype=1,bname="day9",blx_off=225,bly_off=166+120,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day10","current"}})
local b10=do_button({dfal_off=0.5,btype=1,bname="day10",blx_off=296.5,bly_off=166+120,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day9","current"}})
local bc=do_button({dfal_off=0.5,st_type=1,btype=1,bname="current",blx_off=264,bly_off=134.5,bw_off=23,bh_off=98,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day9","day10"}})
if hm==1 then add=10 elseif hm==0 then add=0 end
if b1==1 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=1+add
elseif b1==0 and b2==1 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=2+add
elseif b1==0 and b2==0 and b3==1 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=3+add
elseif b1==0 and b2==0 and b3==0 and b4==1 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=4+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==1 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=5+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==1 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=6+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==1 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=7+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==1 and b9==0 and b10==0 and bc==0 then
showday=8+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==1 and b10==0 and bc==0 then
showday=9+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==1 and bc==0 then
showday=10+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==1 then
showday=0
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=0
end
end--function button_settings
--########################################################################################
--END OF BUTTON CODE ----END OF BUTTON CODE ----END OF BUTTON CODE ---
--#######################################################################
image({x=0,y=0,w=376,h=265*(620/421),file="/home/mcdowall/wun/additional_files/bg.png"})
--START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
out({a=1,fs=10,x=12,y=20,txt=now.location_full.." ".." "..now.observation_time_rfc822})
out({a=1,fs=16,x=280,y=25,txt=os.date("%I:%M %p")})
ct={"C","U","R","R","E","N","T"}
for i=1,7 do
out({hj="c",a=1,fs=14,x=274,y=50+(13*(i-1)),txt=ct[i]})
end
--current window
image({x=300,y=45,h=50,w=50,file=now.weather_icon})
out({a=1,fs=20,x=300,y=125,txt=now.temp_metric..now.temp_metric_unit})
--DATA WINDOW
if showday==nil then showday=0 end
if dh==0 and showday>0 then
local sd=tonumber(showday)
out({a=1,fs=14,x=15,y=48,txt=day[sd].weekday.." "..day[sd].monthname.." "..day[sd].day_pad})
out({a=1,fs=18,x=15,y=65,txt=day[sd].conditions})
gap=13
ypos=67+gap
out({a=1,fs=12,x=15,y=ypos,txt="High: "..day[sd].high_metric..day[sd].high_metric_unit})
out({a=1,fs=12,x=90,y=ypos,txt="Low: "..day[sd].low_metric..day[sd].low_metric_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Hum: "..day[sd].avehumidity.."%"})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Rain: "..day[sd].precipitation.."%"})
out({a=1,fs=12,x=80,y=ypos,txt="QPF: "..day[sd].rain_allday_metric..day[sd].rain_allday_metric_unit})
out({a=1,fs=12,x=150,y=ypos,txt="D/N: "..day[sd].rain_day_metric..day[sd].rain_day_metric_unit.." / "..day[sd].rain_night_metric..day[sd].rain_night_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Snow All Day: "..day[sd].snow_allday_metric..day[sd].snow_allday_metric_unit})
out({a=1,fs=12,x=140,y=ypos,txt="D/N: "..day[sd].snow_day_metric..day[sd].snow_day_metric_unit.." / "..day[sd].snow_night_metric..day[sd].snow_night_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Ave Wind: "..day[sd].avewind_metric..day[sd].avewind_metric_unit})
out({a=1,fs=12,x=130,y=ypos,txt=day[sd].avewind_degrees.."°"})
out({a=1,fs=12,x=165,y=ypos,txt=day[sd].avewind_dir})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Max Wind: "..day[sd].maxwind_metric..day[sd].maxwind_metric_unit})
out({a=1,fs=12,x=130,y=ypos,txt=day[sd].maxwind_degrees.."°"})
out({a=1,fs=12,x=165,y=ypos,txt=day[sd].maxwind_dir})
image({x=215,y=ypos-24,h=30,w=30,file=day[sd].avewind_icon})
elseif dh==1 and showday>0 then
local sd=tonumber(showday)
out({a=1,fs=14,x=15,y=48,txt=hour[sd].hour_12..hour[sd].ampm.." "..hour[sd].weekday.." "..hour[sd].monthname.." "..hour[sd].day})
out({a=1,fs=18,x=15,y=65,txt=hour[sd].conditions})
gap=13
ypos=67+gap
out({a=1,fs=12,x=15,y=ypos,txt="Temp: "..hour[sd].temp_metric..hour[sd].temp_metric_unit})
out({a=1,fs=12,x=90,y=ypos,txt="Feels Like: "..hour[sd].feelslike_metric..hour[sd].feelslike_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Dew: "..hour[sd].dewpoint_metric..hour[sd].dewpoint_metric_unit})
out({a=1,fs=12,x=90,y=ypos,txt="Chill: "..hour[sd].windchill_metric..hour[sd].windchill_metric_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Heat: "..hour[sd].heatindex_metric..hour[sd].heatindex_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Rain: "..hour[sd].precipitation.."%"})
out({a=1,fs=12,x=90,y=ypos,txt="QPF: "..hour[sd].rain_metric..hour[sd].rain_metric_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Snow: "..hour[sd].snow_metric..hour[sd].snow_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="UV: "..hour[sd].uvi.."/"..hour[sd].uvi_text})
out({a=1,fs=12,x=115,y=ypos,txt="Pressure: "..hour[sd].pressure_metric..hour[sd].pressure_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Wind: "..hour[sd].wind_metric..hour[sd].wind_metric_unit})
out({a=1,fs=12,x=115,y=ypos,txt=hour[sd].wind_degrees.."°"})
out({a=1,fs=12,x=165,y=ypos,txt=hour[sd].wind_dir})
image({x=215,y=ypos-24,h=30,w=30,file=hour[sd].wind_icon})
elseif showday==0 then
out({a=1,fs=14,x=15,y=48,txt=os.date("%A").." "..os.date("%B").." "..os.date("%d").." "..os.date("%G")})
out({a=1,fs=18,x=15,y=65,txt=now.weather})
gap=13
ypos=67+gap
out({a=1,fs=12,x=15,y=ypos,txt="Temp: "..now.temp_metric..now.temp_metric_unit})
out({a=1,fs=12,x=100,y=ypos,txt="Feels: "..now.feelslike_metric..now.feelslike_metric_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Hum: "..now.humidity.."%"})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Chill: "..now.windchill_metric..now.windchill_metric_unit})
out({a=1,fs=12,x=100,y=ypos,txt="Heat: "..now.heatindex_metric..now.heatindex_metric_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Dew: "..now.dewpoint_metric..now.dewpoint_metric_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Vis: "..now.visibility_metric..now.visibility_metric_unit})
out({a=1,fs=12,x=100,y=ypos,txt="Pressure: "..now.pressure_metric..now.pressure_metric_unit})
out({a=1,fs=12,x=200,y=ypos,txt="Trend: "..now.pressure_trend})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Wind: "..now.wind_metric..now.wind_metric_unit})
out({a=1,fs=12,x=115,y=ypos,txt=now.wind_degrees.."°"})
out({a=1,fs=12,x=165,y=ypos,txt=now.wind_dir})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Gusts: "..now.wind_gust_metric..now.wind_gust_metric_unit})
image({x=200,y=ypos-24,h=30,w=30,file=now.wind_icon})
else
out({a=1,fs=18,x=15,y=50,txt="oops!"})
end
--FORECAST DAY BOXES
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=5
topx=20
py=160
--set coordinates for top lef corners for each repeat
top_left_x_coordinate[1],top_left_y_coordinate[1] =topx ,py
top_left_x_coordinate[2],top_left_y_coordinate[2] =topx+70 ,py
top_left_x_coordinate[3],top_left_y_coordinate[3] =topx+70+71.5 ,py
top_left_x_coordinate[4],top_left_y_coordinate[4] =topx+70+72+71.5 ,py
top_left_x_coordinate[5],top_left_y_coordinate[5] =topx+70+72+71.5+71.5 ,py
top_left_x_coordinate[6],top_left_y_coordinate[6] =topx+70+72+71.5+71.5+71.5 ,py
if dh==0 then
--########################################################################################
for i=start_day,number_of_days do --start of day repeat, do not edit #######
tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
--########################################################################################
--top row
out({a=1,fs=12,x=tlx-4,y=tly,txt=day[i].weekday_short.." "..day[i].month_pad.."/"..day[i].day_pad})
image({x=tlx,y=tly+10,h=45,w=45,file=day[i].weather_icon})
out({a=1,fs=12,x=tlx,y=tly+91,txt=day[i].high_metric..day[i].high_metric_unit})
out({a=1,fs=12,x=tlx+35,y=tly+91,txt=day[i].low_metric..day[i].low_metric_unit})
out({a=1,fs=14,x=tlx+5,y=tly+73,txt=day[i].precipitation.."%"})
tly=tly+120
--bottom row
out({a=1,fs=12,x=tlx-4,y=tly,txt=day[i+5].weekday_short.." "..day[i+5].month_pad.."/"..day[i+5].day_pad})
image({x=tlx,y=tly+10,h=45,w=45,file=day[i+5].weather_icon})
out({a=1,fs=12,x=tlx,y=tly+91,txt=day[i+5].high_metric..day[i+5].high_metric_unit})
out({a=1,fs=12,x=tlx+35,y=tly+91,txt=day[i+5].low_metric..day[i+5].low_metric_unit})
out({a=1,fs=14,x=tlx+5,y=tly+73,txt=day[i+5].precipitation.."%"})
--########################################################################################
end--of forecast repeat section ##########################################################
elseif dh==1 then
--########################################################################################
for i=start_day,number_of_days do --start of day repeat, do not edit #######
tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
--########################################################################################
i=i+add
--top row
out({a=1,fs=11,x=tlx-4,y=tly,txt=hour[i].hour_12..hour[i].ampm.." "..hour[i].month_pad.."/"..hour[i].day_pad})
image({x=tlx,y=tly+10,h=45,w=45,file=hour[i].weather_icon})
--print(hour[i].weather_icon)
out({a=1,fs=12,x=tlx,y=tly+91,txt=hour[i].heatindex_metric..hour[i].heatindex_metric_unit})
out({a=1,fs=12,x=tlx+30,y=tly+91,txt=hour[i].windchill_metric..hour[i].windchill_metric_unit})
out({a=1,fs=14,x=tlx+5,y=tly+73,txt=hour[i].precipitation.."%"})
tly=tly+120
--bottom row
out({a=1,fs=11,x=tlx-4,y=tly,txt=hour[i+5].hour_12..hour[i].ampm.." "..hour[i+5].month_pad.."/"..hour[i+5].day_pad})
image({x=tlx,y=tly+10,h=45,w=45,file=hour[i+5].weather_icon})
out({a=1,fs=12,x=tlx,y=tly+91,txt=hour[i+5].heatindex_metric..hour[i+5].heatindex_metric_unit})
out({a=1,fs=12,x=tlx+30,y=tly+91,txt=hour[i+5].windchill_metric..hour[i+5].windchill_metric_unit})
out({a=1,fs=14,x=tlx+5,y=tly+73,txt=hour[i+5].precipitation.."%"})
--########################################################################################
end--of forecast repeat section ##########################################################
end--if dh
--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--########################################################################################
--]]
end--of weather_display function do not edit this line ##################
--#######################################################################
im not having any issues with wun today
ill update the archive in a minute
Offline
oops seems like i have to be more careful with my api calls
apparently ive gone over the per minute limit a couple of times
all those starts - error - kill - restart !
Offline
yea me too.. maybe a little less killalls
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
it seems that wunderground.com is a 'bit' overloaded:
alexander@netbook:~$ conky -c /home/alexander/wun/wunrc
Conky: desktop window (aa) is root window
Conky: window type - normal
Conky: drawing to created window (0x3a00001)
Conky: drawing to double buffer
data url= http://api.wunderground.com/api/0419fe8c1c1c1bea/conditions/forecast10day/astronomy/hourly/lang:DE/q/63125.json
gathering weather data 1/3
data url= http://api.wunderground.com/api/0419fe8c1c1c1bea/conditions/forecast10day/astronomy/hourly/lang:DE/q/63125.json
gathering weather data 2/3
data url= http://api.wunderground.com/api/0419fe8c1c1c1bea/conditions/forecast10day/astronomy/hourly/lang:DE/q/63125.json
gathering weather data 3/3
but nothing happened ...
Offline
certainly seems that something is up with the wunderground site, as sector11 mentioned earlier, going to www.wunderground.com in a browser is also blank
hope they get things sorted out
Offline
Their website isn't loading at all right now, so they must be having some kind of issues.
EDIT
@mrpeachy, you must have been posting as I was typing.
Last edited by jst_joe (2014-01-09 20:18:26)
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, at least it's not "me" (this time).
Edit: at least my conkyForecast is working!
AHHHHHHHHHHHHHHHHHHH SHUDDUP!!! {mumble mumble mumble}
That just isn't fair... :cool: ... Oh wait ... I am getting something from cF:
09 Jan 14 | 17:07:15 ~
$ cf
Thu, 9 Jan 2014 ERROR: ErERROR: ErTodays ForecastthERROR: ErERROR: Error reading weather data: too many values to unpackN/A: Error reading weather data: ERROR: Error reading weather data: too many values to unpack
Partly Cloudy:ERROR: ErrERROR: ErroERROR: EERROR: EERROR: Error reading weather data: too many values to unpack
ERROR: Error reading weather data: ERROR: ErERROR: ErERROR: Error reading weather data: too many values to unpack
19:12 16kphr readMoon Phase -->ta: ERROR: Error reading weather data: too many values to unpack
{snip}
09 Jan 14 | 17:08:07 ~
$
Weather today is ERROR with a high of ERROR and winds from the ERROR at ErERROR. :lol:
... and wunderground simply isn't working here. I can't connect to the web page, and none of the wun scripts are working. :( I tried both the static and the interactive. :(
Creating the image - editing it - uploading it - and wunderground is still stuck on data 3/3 and Iceweasel still trying to connect! :(
Maybe I'm over my limit and they dropped the axe!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
certainly seems that something is up with the wunderground site, as sector11 mentioned earlier, going to www.wunderground.com in a browser is also blank
hope they get things sorted out
Allways good to have a second opinion. I was on the brink of thinking maybe it was me again .. but with a website not loading , there has to be something afoot.
DoS or DDoS???
Last edited by Sector11 (2014-01-09 20:31:46)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Habitual wrote:well, at least it's not "me" (this time).
Edit: at least my conkyForecast is working!
AHHHHHHHHHHHHHHHHHHH SHUDDUP!!! {mumble mumble mumble}
I knew that'd shake you up, Old(er) Man!
I'm chalking this up to "gremlins" and will quit messing with it until tomorrow.
Last edited by Habitual (2014-01-09 20:30:00)
Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.
Offline
I knew that'd shake you up, Old(er) Man!
I'm chalking this up to "gremlins" and will quit messing with it until tomorrow.
Of course you did. And it was 'obvious' why you put that there.
{it's an ongoing joke | battle folks .. nothing serious .. move along}
I think we should all feed, water and house those gremlins ... keep them dry though.
EDIT: Even my bash script, that uses wunderground, old scrot seen below, has stopped working. So it's not the WUN script!
Last edited by Sector11 (2014-01-09 21:04:26)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
pain in the butt
well it leads me to a couple of conclusions
1. i need to ping wunderground first to see if its up before trying to gather the data
2. i can save the last successful data to a text file then if the ping fails, load that data
Offline
Maybe this is just a rare happening Peachy..
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
^ Their servers froze.
I used to go to Atlanta aka: Hotlanta, about twice a year for classes.
Anything below 40 and the local government shuts down.
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
it most likely is unusual, but always good to be prepared for when it happens again
it would also be useful for anyone who is unconnected during an update interval
instead of the script breaking with errors it keeps running, just doesnt update until it next connects
Offline
Actually Peachy that sounds like a good plan.. with maybe some text saying that it is displaying a backup or unable to connect.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
pain in the butt
well it leads me to a couple of conclusions
1. i need to ping wunderground first to see if its up before trying to gather the data
2. i can save the last successful data to a text file then if the ping fails, load that data
If you do that is there a way to show something like: "Old Data"
EDIT: Started this - had supper - come back - hit [Submit] and see falldown up there!
Last edited by Sector11 (2014-01-10 00:21:42)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
yes, i will set all the "last updated" information to indicate that the data is old
i was thinking before, in an interactive lua there could be an update button... if you have your interval for every 30 mins, but for some reason want the most recent data you can click the button and the script will update again
wonder if i could figure out a way to count api calls and display it
well first things first!
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