Skip to content
MagicMirror module that shows local Dutch weather information from the KNMI 10-minutes network
JavaScript CSS
Branch: master
Clone or download
htilburgs Merge pull request #1 from htilburgs/beta
Simple or with additional weather information
Latest commit f5ca220 Apr 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial Release Apr 6, 2019
MMM-MyDutchWeather.css
MMM-MyDutchWeather.js Add option for only showing location and temperature Apr 8, 2019
README.md Update README.md Apr 8, 2019
node_helper.js Initial Release Apr 6, 2019
package.json Initial Release Apr 6, 2019
screenshot01.png Add files via upload Apr 8, 2019
screenshot02.png Add files via upload Apr 8, 2019
screenshot03.png Add files via upload Apr 8, 2019

README.md

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.

You can’t perform that action at this time.