MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-DailyPokemon Issue

    Scheduled Pinned Locked Moved Solved Troubleshooting
    modules won’t loadconfig.jshelp
    13 Posts 3 Posters 2.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      millis @mumblebaj
      last edited by

      @mumblebaj
      Thank you for looking over my code for me, I really do appreciate it, as i said before I am new to all of this and its just a big mystery to me (for the moment)

      so what would I need to change in my code to fix this?
      from your reply am I right in saying the issue lies with the placement of the square brackets?

      I have tried removing them and that didn’t work and I also moved the code into the module above (inside those square brackets)

      This is the link from where i got the code it was literally a case of following the install instructions followed by a quick copy and paste
      https://github.com/NolanKingdon/MMM-DailyPokemon

      Sorry for being an absolute pain, I really do appreciate you taking up your own time to try and help me!

      Ashley.

      I have no clue about anything until i try

      mumblebajM M 2 Replies Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @millis
        last edited by mumblebaj

        @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.

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mickecarlsson @millis
          last edited by mickecarlsson

          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

          1 Reply Last reply Reply Quote 0
          • M Offline
            millis @mumblebaj
            last edited by

            @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.

            I have no clue about anything until i try

            mumblebajM 1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @millis
              last edited by

              @millis You can place it anywhere in the module [ ] block, not outside it like you have done.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                millis @mumblebaj
                last edited by

                @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!

                I have no clue about anything until i try

                mumblebajM 1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @millis
                  last edited by

                  @millis No problem. Just mark the post as solved.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy