1. Welcome Hearth.com Guests and Visitors - Please enjoy our forums!
    Hearth.com GOLD Sponsors who help bring the site content to you:
    Hearthstone Soapstone and Cast-Iron stoves( Wood, Gas or Pellet Stoves and Inserts)
    Caluwe - Passion for Fire and Water ( Pellet and Wood Hydronic and Space Heating)

CurrentTemp - web based instant current temp in your area (US only)

Post in 'The Inglenook' started by joecool85, Dec 30, 2011.

  1. joecool85

    joecool85 Minister of Fire

    Joined:
    Jan 24, 2010
    Messages:
    851
    Loc:
    Central Maine
    I just made CurrentTemp v1.1 available to the public. It parses out an RSS feed from WeatherBug.com and then relays only the temperature but in ° F , ° C and ° K. My wife thinks I'm obsessed with unit conversion calculators and php...she might be right.

    http://www.thatraymond.com/currenttemp.php

    Also, a trick, if you want it to automatically load your zipcode, just fill it in like this (put your zipcode where the 04901 is):

    http://www.thatraymond.com/currenttemp.php?zip=04901

    Then if you bookmark that CURL it will automatically bring you up to your zipcode.

    Let me know what you think :)

    Helpful Sponsor Ads!





  2. snowleopard

    snowleopard New Member

    Joined:
    Dec 9, 2009
    Messages:
    1,494
    So I tried it, and got this:
    23.8 °F
    -4.6 °C
    268.6 °K,

    which is off by a mere 45 degrees or so.

    Back to the drawing board . . .
  3. Hass

    Hass Minister of Fire

    Joined:
    Mar 20, 2011
    Messages:
    529
    Loc:
    Alabama, NY
    Current temperature for zipcode 14001

    35.6 °F
    2 °C
    275.2 °K

    It's actually 39 out.... according to weather.com
    40 on my thermo.
  4. BrotherBart

    BrotherBart Hearth.com LLC Mid-Atlantic Division Staff Member

    Joined:
    Nov 18, 2005
    Messages:
    27,159
    Loc:
    Northern Virginia
    It got mine right. Same temp as the one showing in the task bar on my computer.

    But an XML parsing error on the full forecast.
  5. Doing The Dixie Eyed Hustle

    Doing The Dixie Eyed Hustle Minister of Fire

    Joined:
    May 27, 2008
    Messages:
    4,815
    Loc:
    Ridge, LI, NY
    Current temperature for zipcode 11961

    41.6 °F
    5.3 °C
    278.5 °K

    'Bout right. Going down to 30ish tonight.
    (yes Snow, that's above Zero [​IMG])
  6. snowleopard

    snowleopard New Member

    Joined:
    Dec 9, 2009
    Messages:
    1,494
    I *knew* that.

    I did.

    Kids are headed off to see some friends for a few hours. After trying to start one car with inadequate plugged-in time, they went with the jeep instead. I am on the couch under a fuzzy blanket. I just noticed that I am still in my jammies and it is 6:09 pm. I've been trying all day to persuade myself and the kids to go out and pull down a few sledloads of birch from the garage. This might explain the jammies--if I bundle up, I probably will feel obligated to go outside. And trust me, it's NOT the 5.8F that the optimistic little Firebug is reporting.

    I haven't been outside all day. Wait, take that back. I went out barefoot and barehanded long enough to knock apart some wood for kindling, since this is the first day in several that the fire died down enough to clean out ashes. Just about frostbit my hand on the axe handle--that was bitter.

    It's still only -20 or so outside here, but it seems like once it's been that cold for awhile, it's colder than it was before. This is when zero literally starts seeming balmy. At zero the air feels soft against your skin as if it's blown in from a halcyon isle with fragrant flowers and the kiss of waves upon a shore, and you can inhale without regretting it.

    5.8 °F
    -14.6 °C
    258.6 °K
    Not.


    ETA: Just checked the weather forecast, and found my motivation to get off the couch and go pull some birch in:
    .TONIGHT...PARTLY CLOUDY. PATCHY ICE FOG. LOWS 30 TO 45 BELOW.
    LIGHT WINDS.
    .NEW YEARS DAY...PARTLY CLOUDY. PATCHY ICE FOG. HIGHS 25 TO
    35 BELOW...EXCEPT AROUND 15 BELOW IN THE HILLS. LIGHT WINDS.
    .SUNDAY NIGHT...BECOMING CLOUDY. A CHANCE OF SNOW. LOWS AROUND
    30 BELOW. This is my favorite part: TEMPERATURES RISING OVERNIGHT. LIGHT WINDS.
    .MONDAY...MOSTLY CLOUDY. A CHANCE OF SNOW. HIGHS 15 TO 25 BELOW.
    LIGHT WINDS.

    .MONDAY NIGHT...DECREASING CLOUDS. LOWS 30 TO 35 BELOW. LIGHT
    WINDS.
    .TUESDAY...PARTLY CLOUDY. HIGHS NEAR 30 BELOW.
    .TUESDAY NIGHT...MOSTLY CLOUDY. LOWS NEAR 40 BELOW.
    .WEDNESDAY...MOSTLY CLOUDY. HIGHS NEAR 30 BELOW.
    .WEDNESDAY NIGHT...CLOUDY. A CHANCE OF SNOW. LOWS NEAR 40 BELOW.
    .THURSDAY...MOSTLY CLOUDY. HIGHS NEAR 30 BELOW.
    .THURSDAY NIGHT...PARTLY CLOUDY. LOWS NEAR 40 BELOW.
    .FRIDAY...MOSTLY CLOUDY. HIGHS NEAR 30 BELOW.
    .FRIDAY NIGHT...MOSTLY CLOUDY. LOWS NEAR 40 BELOW.
    .SATURDAY...MOSTLY CLOUDY. HIGHS NEAR 30 BELOW.

    We've only got about three tough months ahead. Usually by April it's starting to moderate. And by June it should be warmer. And three months is only around 90 days. Although, crap, it's a leap year. 91. And 90-91 days is not a lot, several days less than 100.
  7. tfdchief

    tfdchief Minister of Fire

    Joined:
    Nov 24, 2009
    Messages:
    3,331
    Loc:
    Tuscola, IL
    Hey, joecool85, you need a weather station.....that will help your addiction ;-P Check my link to my weather station web page in my signature. Have kept it since 2006. Folks around here rely on it. When it goes down, I hear about. :bug:
  8. joecool85

    joecool85 Minister of Fire

    Joined:
    Jan 24, 2010
    Messages:
    851
    Loc:
    Central Maine
    BrotherBart, what zipcode did you use that it gave you a parsing error for on the full forecast?

    As for the others where the forecast was off, this uses the WeatherBug.com directories which guess at what weather station is closest to the zipcode you put in, MOST of the time it's pretty good, but it certainly isn't perfect! I think I may add in some code so it tells you what weather station it is reporting from and what date/time the temp was taken.

    **edit**
    For those of you having issues with it not being accurate, please click the Full Forecast button and see if WeatherBug.com was retrieving close weatherstation data.
  9. joecool85

    joecool85 Minister of Fire

    Joined:
    Jan 24, 2010
    Messages:
    851
    Loc:
    Central Maine
    Hey...that's not such a bad idea...
  10. joecool85

    joecool85 Minister of Fire

    Joined:
    Jan 24, 2010
    Messages:
    851
    Loc:
    Central Maine
    I have released version 2.0, this one shows where the data is coming from. As I was doing this I noticed that WeatherBug was pulling data for me from all over the state if I kept refreshing it...I'm thinking they're having some issues on their end.
  11. joecool85

    joecool85 Minister of Fire

    Joined:
    Jan 24, 2010
    Messages:
    851
    Loc:
    Central Maine

Share This Page