Read the statement by Michael Teeuw here.
MMM-DailyPokemon Issue
-
@millis You only need this piece of the module config code:
{ module: "MMM-DailyPokemon", position: "top_center", config: { updateInterval: 600000, minPoke: 4, maxPoke: 151, grayscale: true, showType: true, language: "en", genera: true, gbaMode: true, nameSize: 26, flavorText: false } }
This needs to go into the module block. You can paste it between the alert and clock modules.
modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "MMM-DailyPokemon", position: "top_center", config: { updateInterval: 600000, minPoke: 4, maxPoke: 151, grayscale: true, showType: true, language: "en", genera: true, gbaMode: true, nameSize: 26, flavorText: false } }, { module: "clock", position: "top_left" },
Then remove the incorrect code you pasted at the bottom of the file.
-
The previous poster solved it, and I made one mistake in my post.
You also need to change let config= to var config=
in the beginning of the config.js -
@mumblebaj
YES!!!Thank you so much!! it works!!!
out of interest then how come it gets placed in between the alert and clock and not at the bottom of the code? is it due the position placement on the mirror?
Again Thank you so much!!
Ashley.
-
@millis You can place it anywhere in the
module [ ]
block, not outside it like you have done. -
@mumblebaj
Okay that is awesome! thank you for that and everything else!now i can try and add more modules as that one the first one i tried!
Honestly, Thank you!
-
@millis No problem. Just mark the post as solved.