A module for MagicMirror² that shows a super hero character based on this superhero api.
- Clone repository into
../modules/
inside your MagicMirror folder:git clone https://github.com/Lavve/MMM-MagicSuperHero
- Run
cd MMM-MagicSuperHero && npm install
- Add the module to the MagicMirror config.js
{
module: "MMM-MagicSuperHero",
position: 'top_center',
header: 'Super hero',
config: {
showPowerImage: true,
showRoundPowerImage: false,
showPowerImageGrey: false,
showPowerStats: true,
showPowerStatsColors: true,
showPowerAppearence: true,
appearanceUnit: 'metric',
updateInterval: 60 * 60 * 1000,
}
},
Configuration | Default | Description |
---|---|---|
showPowerImage | true |
(bool) Show image |
showRoundPowerImage | false |
(bool) Show round image |
showPowerImageGrey | false |
(bool) Show image in greyscale |
showPowerStats | true |
(bool) Show power statistics |
showPowerStatsColors | true |
(bool) Show power bars in color |
showPowerAppearence | true |
(bool) Show appearance |
appearanceUnit | 'metric' |
(str) 'metric' or 'imperal' units |
updateInterval | 60 * 60 * 1000 |
(int) Time in milliseconds for next character. Default every 1h. |
Pull requests and translations are welcome.
Donate if you like my modules! <3