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.

    Are you tired of editing config.js, or have trouble doing it, see my new module

    Scheduled Pinned Locked Moved Utilities
    293 Posts 28 Posters 349.9k Views 31 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.
    • S Offline
      stoffel
      last edited by

      ich muss kurz weg. melde mich später nochmal

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @stoffel
        last edited by

        @stoffel are you using the MM url

        http://mm_address:mm_port/modules/MMM-Config/config.html
        

        got your files… this will take some thinking…

        compliments_plus has a data item with lots of .

         "..--..--...."
        

        the forming system can’t handle the dots in the naming scheme
        cause it sees the dots as part of the name, not a literal…

        regular compliments has them as LEADING only, and I can trick it…
        compliments plus has trailing and/or embedded…

        currently there is no escaping mechanism…

        I opened issued
        https://github.com/sdetweil/MMM-Config/issues/8

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          stoffel
          last edited by

          i’v tryed with my address, the same.

          the “…–…–…” are original here
          but this

                    ],
                    '01-01-....': [
                      null
                    ],
                    '..-..-....': [
                      null
                    ]
          

          is the result of MMM-Remote-Control module (edit config), i’v changed it to original

          		  "01-01-....": [
          			function() {return "<i class=\"fa fa-glass-cheers\"></i> Happy New Year! " + moment().format("YYYY")}
          		  ],
          		  "..-..-....": [
          			function() {return moment().locale(config.language).format("dddd, D MMMM")}
          			// https://forum.magicmirror.builders/topic/13332/reloading-config-defaults-or-module
          		  ],
          

          the same problem
          i have searched here for the missing file, nothing.

          i am testing again ;-)

          thanks for your help

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @stoffel
            last edited by sdetweil

            @stoffel the missing file is not involved…

            if the name contains a ‘.’ , it breaks the system. the only example I had was compliments, which had leading dots…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • JalibuJ Offline
              Jalibu Module Developer
              last edited by

              Wow!
              Great module! I just checked out compatibility with my modules and am very impressed.
              I’ll leave you some feedback on GitHub.

              4f85761e-6517-4a4d-b1ce-5884caeb9f91-image.png

              1 Reply Last reply Reply Quote 0
              • S Offline
                stoffel
                last edited by

                ok, but it works with this 2 variante.

                what system breaks ? mm or MMM-Config ?

                i’v comment out the compliments_plus modul in the config.js but is the same result

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @stoffel
                  last edited by

                  @stoffel MMM-Config … MM is happy

                  did the collector crash again, where u start MM, npm start or pm2 logs --lines=100

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stoffel
                    last edited by

                    autostart with pm2

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stoffel
                      last edited by

                      @sdetweil
                      ok, what i see is when i start mm with npm start it loads all modules what i have installt not only from the config.js (i use now the default config.js from mm). Next i delete all moduls what i not needed.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @stoffel
                        last edited by

                        @stoffel sorry, I do not understand

                        if there is a collector error, you should see something like

                        /home/sam/mmm-config/scripts/buildschema3.js:619
                          return data[left];
                                     ^
                        
                        TypeError: Cannot read property 'feeds' of undefined
                            at get_define_info (/home/sam/mmm-config/scripts/buildschema3.js:619:14)
                            at /home/sam/mmm-config/scripts/buildschema3.js:415:29
                            at Array.forEach (<anonymous>)
                            at Object.<anonymous> (/home/sam/mmm-config/scripts/buildschema3.js:405:24)
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 29
                        • 30
                        • 1 / 30
                        • 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