Read the statement by Michael Teeuw here.
MMM-Bergfex doesent load respectively should be a valid spdx license expression
-
@gianienderlin said in MMM-Bergfex doesent load respectively should be a valid spdx license expression:
custom files. please let me k
as far as i could see there is one main change in node_helper.js:
instead of
var sys = require(‘sys’);he uses
var util = require(‘util’);regards,
andre -
@gianienderlin worked for me! The only thing what I´ve changed was the const in node_helper.js.
Due to the fact that I am more interested in seeing the results of the Austrian ski resorts I put // Constants
const URL = “http://www.bergfex.at/oesterreich/schneewerte/”;Thank you!
-
yes this is possible: -) but thought there was more…
-
anybody knows how I have to set ‘Kitzbühel - Kirchberg’ to the config? I think I am struggling with the “ü” same also for special characters like “-”… In case I am putting Kitzbühel into the config it says loading…
-
@marphi1602 said in MMM-Bergfex doesent load respectively should be a valid spdx license expression:
Kitzbühel - Kirchberg
it works for me without an issue. my config part:
{ module: 'MMM-bergfex', position: 'top_right', classes: 'small dimmed', config: { updateInterval: 30*60*1000, animationSpeed: 0, header: 'Schneebericht', skiareas: [ 'Fieberbrunn - Saalbach Hinterglemm Leogang', 'Kitzbühel - Kirchberg', ], shortenArea: 20, cssclassrow: 'normal', cssclassheader: 'bright' } },
edit: which ‘locale’ are you using? i have “C” configured except “LANGUAGE=” and “LC_ALL=”.
edit2: maybe you can try this (this is what is visible in the logfile): ‘Kitzbhel - Kirchberg’ -
@astrakid thanks! I checked the config once again and I’ve seen some odd ascii characters hence it hasn’t worked properly. Now it’s working!
-
Is there any chance to highlight this ski resort with the highest amount of fresh snow?
-
@gianienderlin @astrakid Even after copying these files, the problem stays: the only thing I see is the header and ‘_loading…’
-
@hermlam pls publish the bergfex part of your config. Are you looking for the snow results of Austria or Switzerland? I had to change the const to the Austrian snow result url, pls see the posts above. For the first step I would suggest to take only one ski resort in your Cfg.
-
@marphi1602 highlightingwould need changes to the sourcecode.