 #   jeffbyrnes
 
 KV_KEY = 'forecast-alert-datapoint'
+LOCATION = process.env.HUBOT_LAT_LNG
 
 module.exports = (robot) ->
   postWeatherAlert = (json, callback) ->

    _delay = "#{Math.round(delta / 60 / 1000)}"

    _now = new Date().getTime()
    _link = "http://forecast.io/#/f/LAT,LNG/#{Math.round(_now / 1000)}"

    msg = "WEATHER: #{_percent}% chance of inclement weather in the next hour for at least #{_minutes} minutes. It will be worst in #{_delay} minutes (#{_intensity} precipitation). #{_link}"


#
# Configuration:
#   HUBOT_FORECAST_KEY
#   HUBOT_LAT_LNG
#
# Commands:
#   none
