Dashing widget to display weather from forecast.io.
##Usage
To use this widget, copy forecast.coffee
, forecast.html
, and forecast.scss
into the /widgets/forecast
directory. Put the forecast.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following to your dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="forecast" data-view="Forecast" data-title="Weather Forecast" ></div>
</li>
##Settings
- Forecast API Key from developer.forecast.io
- Latitude and Longitude for your desired location. Easily obtained from forward geocoding sites such as geocoder.ca
- Configurable temperature units. (US, SI, UK)
- Default schedule set to fetch weather every 5 minutes but can be changed from within forcast.rb.
@adityai that might happen if you didn't include the widget in the dashboard template (see "Usage")