Skip to content
master
Switch branches/tags
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

MMM-MyDutchWeather

This a module for Magic Mirror² smart mirror project.
This modules is ONLY for use in the Netherlands and it presents the actual weather information for your dutch city from the KNMI directly from the 10-minutes network.

To use this module, an API Key is required. This API Key you can get here for free.
The key and the use of the key is FREE and as-is. The number of data-requests is limited to 300 requests per day.

Screenshot
Screenshot
Screenshot

Installation

Clone this repository in your modules folder, and install dependencies:

cd ~/MagicMirror/modules 
git clone https://github.com/htilburgs/MMM-MyDutchWeather.git
cd MMM-MyDutchWeather
npm install 

Configuration

Go to the MagicMirror/config directory and edit the config.js file. Add the module to your modules array in your config.js.

{
  module: 'MMM-MyDutchWeather',
  position: 'top_left',
  header: 'My Dutch Weather',
  config: {
	  latitude: null,			// Latitude of your city
	  longitude: null,			// Longitude of your city
	  apiKey: null,				// API Key - Get for free at http://weerlive.nl/api/toegang/index.php
	  showIcons: true,			// Display Icons or Text
	  showExtra: false,			// Display additional weather information
	  maxWidth: "500px"			// Max width wrapper
  }
},

To get your latitude and longitude, you can go to https://latitudelongitude.org

Module configuration

Here is the documentation of options for the modules configuration

Option Description
latitude REQUIRED - The latitude of your location for a correct calculation

Number
Default: null
longitude REQUIRED - The longitude of your location for a correct calculation

Number
Default: null
apiKey REQUIRED - The API Key needed for MyDutchWeather
Get for free at Weerlive.nl
showIcons Choose if you like to see Icons or Plain Text

True/False
Default: true
showExtra Choose if you like to see additional weather information

True/False
Default: false
maxWidth The maximum width of the module

Default: 500px

License

The MIT License (MIT)

Copyright © 2019 Harm Tilburgs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

About

MagicMirror module that shows local Dutch weather information from the KNMI 10-minutes network

Resources

License

Packages

No packages published