Read the statement by Michael Teeuw here.
Need help with a module
-
could someone please tell me what is wrong here:
{ module: 'MMM-NesteBussAtB', position: 'upper_third', config: { showIcon: true, // Bus icon in front of row showNumber: true, // Bus number showFrom: true, // Bus stop name showTo: true, // Bus destination showMin: true, // "min" text after minutes size: "medium", // Text size, for example small, medium or large stopIds: [16011496, 16010496], // See https://www.atb.no/holdeplassoversikt/ maxCount: 2, // Max number of next buses per route maxMinutes: 45, // Do not show buses more then this minutes into the future stacked: true // Show multiple buses on same row, if same route and destination } }because i can’t get it to work.
-
I solved it my self :-) using some very old programming knowledge.
{ module: ‘MMM-NesteBussAtB’, position: ‘upper_third’, config: { showIcon: true, // Bus icon in front of row showNumber: true, // Bus number showFrom: true, // Bus stop name showTo: true, // Bus destination showMin: true, // “min” text after minutes size: “medium”, // Text size, for example small, medium or large stopIds: [16011496, 16010496], // See https://www.atb.no/holdeplassoversikt/ maxCount: 2, // Max number of next buses per route maxMinutes: 45, // Do not show buses more then this minutes into the future stacked: true // Show multiple buses on same row, if same route and destination } }, -
@esim put that in your config.js,
Then run
node tests/configs/check_config.jsFrom the MagicMirror folder. Find and fix the errors, starting at the top
-
I solved it my self :-) using some very old programming knowledge.
{ module: ‘MMM-NesteBussAtB’, position: ‘upper_third’, config: { showIcon: true, // Bus icon in front of row showNumber: true, // Bus number showFrom: true, // Bus stop name showTo: true, // Bus destination showMin: true, // “min” text after minutes size: “medium”, // Text size, for example small, medium or large stopIds: [16011496, 16010496], // See https://www.atb.no/holdeplassoversikt/ maxCount: 2, // Max number of next buses per route maxMinutes: 45, // Do not show buses more then this minutes into the future stacked: true // Show multiple buses on same row, if same route and destination } }, -
@sdetweil thanks, a very nice tip that one.
-
Please use the Markdown features of the board when posting code or logs.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login