A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
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.js
From 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.