Read the statement by Michael Teeuw here.
MMM-Bergfex doesent load respectively should be a valid spdx license expression
-
@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.
-
I do have the same problem:
To avoid some enconding Problems, I picked some oneword-places for start:
{ module: 'MMM-bergfex', position: 'top_right', classes: 'small dimmed', config: { updateInterval: 30*60*1000, animationSpeed: 0, header: 'Schneebericht', skiareas: [ // 'Zell am Ziller - Zilleral Arena', // 'Gerlos - Zillertal Arena', 'Ischgl', 'Jungholz', ], shortenArea: 20, cssclassrow: 'normal', cssclassheader: 'bright' } },
like described in this thread (https://forum.magicmirror.builders/post/30795), I changed to
var util = require(‘util’);
innode_helper.js
In my logs I get this:
TypeError: Cannot read property 'parent' of undefined at Function.exports.update (/home/pi/MagicMirror/modules/MMM-bergfex/node_modules/cheerio/lib/parse.js:69:25) at module.exports (/home/pi/MagicMirror/modules/MMM-bergfex/node_modules/cheerio/lib/parse.js:19:11) at Function.exports.load (/home/pi/MagicMirror/modules/MMM-bergfex/node_modules/cheerio/lib/static.js:27:14) at Request._callback (/home/pi/MagicMirror/modules/MMM-bergfex/node_helper.js:43:19) at self.callback (/home/pi/MagicMirror/modules/MMM-bergfex/node_modules/request/request.js:186:22) at emitOne (events.js:96:13) at Request.emit (events.js:191:7) at Request.onRequestError (/home/pi/MagicMirror/modules/MMM-bergfex/node_modules/request/request.js:878:8) at emitOne (events.js:96:13) at ClientRequest.emit (events.js:191:7)
-
@binderth are you sure that your pi is connected with the internet? I have seen the same error a couple of weeks ago and I noticed that my pi wasn’t connected with the www anymore. What’s happening in case you ping www.google.com from your pi? Are you using pm2? What’s in your pm2 log mm
-
This post is deleted! -
This post is deleted! -
This post is deleted!