See the wiki page for an in depth overview of how to get started.
[Module description]
In your terminal, go to your MagicMirror² Module folder and clone MMM-Template:
cd ~/MagicMirror/modules
git clone https://github.com/alfkoblischke/myBus
cd ~/MagicMirror/modules/MMM-myBus
git pull
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'
}
},
Option | Possible values | Default | Description |
---|---|---|---|
exampleContent |
string |
not available | The content to show on the page |
Notification | Description |
---|---|
TEMPLATE_RANDOM_TEXT |
Payload must contain the text that needs to be shown on this module |
npm install
- Install devDependencies like ESLint.npm run lint
- Run linting and formatter checks.npm run lint:fix
- Fix linting and formatter issues.