Skip to content
bergfex.at snow reports Austria
JavaScript CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Mar 7, 2017
MMM-bergfex.css
MMM-bergfex.js updated Mar 14, 2017
README.md
node_helper.js
package.json

README.md

MMM-bergfex.at

bergfex.at snow reports Austria retrieved from http://www.bergfex.at/oesterreich/schneewerte/

Prerequisites

  • tested only on MagicMirror v2.0.0

Download and Installation

To use this module, clone this repository to your modules folder of your MagicMirror: git clone https://github.com/nebulx29/MMM-bergfex

Goto MMM-bergfex module directory and run npm install cheerio and npm install

Configuration

The module needs the default configuration block in your config.js to work.

{
	module: 'MMM-bergfex',
	position: 'top_right', 
	classes: 'small dimmed', 
	config: {
		updateInterval: 30*60*1000,
		animationSpeed: 0,
		header: 'bergfex.at Snow Report',
		skiareas: [
			'Hochkar',
			'Koralpe'
		],
		shortenArea: 20,
		cssclassrow: 'normal',
		cssclassheader: 'bright'				
	}
},

The following properties can be configured:

Option Description Values Default
updateInterval The update interval. Determines the refresh rate in ms at which sensor is read.
Example: updateInterval: 10000
int 30*60*1000ms = 30min
animationSpeed Speed of animation when updates occur.
Example: animationSpeed: 0
int 0
header The name that should be displayed at the top of the module
Example: header: 'bergfex.at'
String 'bergfex.at'
skiareas This is an array with strings of the skiareas to display. String must exactly match the name on http://www.bergfex.at/oesterreich/schneewerte/
array of strings ''
shortenArea number of characters skiarea names will be shortened to.
Example: shortenArea: 20
int 20
cssclassheader CSS class for the table header (bright, normal, etc).
Example: cssclassheader: normal
String 'normal'
cssclassrow CSS class for the table rows (normal, light, etc).
Example: cssclassrow: light
String 'light'
You can’t perform that action at this time.