/MMM-Weather-SMHI-Hourly

Magic Mirror module that displays weather from SMHI hourly

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

MMM-Weather-SMHI-Hourly

Magic Mirror module that displays weather from SMHI hourly. Weather icons changes upon sunrise and sunset. Relys on SMHI Api and Sunrise Sunset Api

Snyk Vulnerabilities for GitHub Repo LGTM Alerts LGTM Grade Yarn

Maintenance GitHub commit activity GitHub

Screenshot

Screenshot

Install

This module uses Yarn.

  1. yarn install

Configuration

Key Value Required Default Description
lon numeric Y - Longitude
lat numeric Y - Latitude
hours numeric N 12 Hours to show.
updateInterval numeric milliseconds N 3600000 (60min) Number of milliseconds between updates
debug boolean N false Debug output.

Example config

{
    module: "MMM-Weather-SMHI-Hourly",
    position: "top_right",
    header: "Väder", // Optional
    config: {
        lon: "xx.xxxxxx",
        lat: "yy.yyyyyy",
        hours: 12
    }
}

Development

This module isn't perfect. If you find a bug or has a feature request don't hesitate to create an issue OR even better, create a pull request! :D