Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

smartweather

89 sites No security coverage
View on drupal.org

SmartWeather is a smart module which provides current weather details and forecast upto 7 days. Display of forecast is optional.
The module is smart enough to detect website visitor location and get the weather details from OpenWeatherMap.org.

Features

  1. Get current weather details on the basis of website visitor location.
  2. Display weather forecast upto 7 days. This is optional.
  3. Display weather on basis of fixed latitude and longitude of area/location of your choice, incase you do not want the module to detect visitor location.
  4. Display weather in Celsius or Fahrenheit.
  5. Includes relevant CSS classes and id's to customize the design per your website.

How it works

  • The module basically automatically detects the visitor IP address and get the location details. On the basis of location detected the module then gets the weather details from OpenWeatherMap.org.
  • You can also configure the module to get data for specific location by specifying the latitude and longitude through SmartWeather settings form in case you do not want the module to display website visitor specific weather details.
  • The location details are fetched from GeoPlugin.com, which offers 120 requests per minute for free. If your website visitors are close to 120 request per minute then you can choose to opt for geoplugin.com premium plan. Please refer to FAQ- https://www.geoplugin.com/faq
  • GeoPlugin.com includes GeoLite data created by MaxMind, available from http://www.maxmind.com.
  • Weather data is fetched from https://openweathermap.org/ with a limitation of 60 calls/minute and a total of 1,000,000 calls/month. If your website visitors are more than the above mentioned limit then you may need to buy a premium subscription.
    Please refer to pricing at- https://openweathermap.org/price
  • The weather data is cached in Drupal for specific time so that the module does not hit the GeoPlugin API and OpenWeatherMap API at every request.



REQUIREMENTS
OpenWeatherMap.org- need to create a free API key by registering at OpenWeatherMap.org.

CONFIGURATION
Configure the SmartWeather at (/admin/config/smartweather/settings).

MAINTAINERS
Current maintainer:
Gaurav Kumar - https://www.drupal.org/u/gauravkumar

Activity

Total releases
2
First release
May 2025
Latest release
10 months ago
Release cadence
7 days
Stability
100% stable

Releases

Version Type Release date
8.x-1.4 Stable May 31, 2025
8.x-1.3 Stable May 24, 2025