Skip to content
Magic Mirror module that displays weather from SMHI hourly
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
.gitignore
LICENSE Initial commit Nov 6, 2018
MMM-Weather-SMHI-Hourly.js Removed custom header in favor of built in header and added bunch of … Apr 3, 2019
README.md
currentWeather.mst Removed custom header in favor of built in header and added bunch of … Apr 3, 2019
futureWeather.mst
node_helper.js
package.json Updated packages. Aug 12, 2019
screenshot.png
yarn.lock

README.md

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

David 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

You can’t perform that action at this time.