Skip to content

This Modules will display the Timetable of the local Bus.

License

Notifications You must be signed in to change notification settings

alfkoblischke/MMM-MyBus

Repository files navigation

MMM-myBus

See the wiki page for an in depth overview of how to get started.

MMM-myBus

Example of MMM-Template

[Module description]

Installation

Install

In your terminal, go to your MagicMirror² Module folder and clone MMM-Template:

cd ~/MagicMirror/modules
git clone https://github.com/alfkoblischke/myBus

Update

cd ~/MagicMirror/modules/MMM-myBus
git pull

Using the module

To use this module, add it to the modules array in the config/config.js file:

    {
        module: 'MMM-myBus',
        position: 'lower_third'
    },

Or you could use all the options:

    {
        module: 'MMM-myBus',
        position: 'lower_third',
        config: {
            exampleContent: 'Welcome world'
        }
    },

Configuration options

Option Possible values Default Description
exampleContent string not available The content to show on the page

Sending notifications to the module

Notification Description
TEMPLATE_RANDOM_TEXT Payload must contain the text that needs to be shown on this module

Developer commands

  • npm install - Install devDependencies like ESLint.
  • npm run lint - Run linting and formatter checks.
  • npm run lint:fix - Fix linting and formatter issues.

About

This Modules will display the Timetable of the local Bus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published