Weather widget for Dashing that displays weather and changes background color accordingly. Uses OpenWeatherMap API.
To use this widget, copy widgets/weather
, assets/fonts
, assets/stylesheets
, jobs/weather.rb
to same folders in your dashing app.
In your dashing layout file add following snippet to add weather widget.
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="weather" data-view="Weather"></div>
</li>
All customization is done in weather.rb
job file. You will need to provide CITY_ID and register with OpenWeatherMap to get API_KEY.
Rest of the settings are well commented in the code and can be changed, this includes changing climacons icons and colors. Any contributions to more rich experience with these settings are welcomed.
Special thanks to contributions from
David Underword for providing original weather widget
Adam Whitcroft for creating awesome climacons font