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

      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 Do not disturb
        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 Do not disturb
              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 Do not disturb
                    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
                    • S Offline
                      stoffel
                      last edited by

                      ok, i think so,

                      0|MagicMirror  | stderr 2: /home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:595
                      0|MagicMirror  |     let tt = data[left];
                      0|MagicMirror  |                  ^
                      0|MagicMirror  | TypeError: Cannot read property '' of undefined
                      0|MagicMirror  |     at get_define_info (/home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:595:18)
                      0|MagicMirror  |     at get_define_info (/home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:599:12)
                      0|MagicMirror  |     at get_define_info (/home/pi/MagicMirror/modules/MMM-Config/scripts/buildschema3.js:599:12)
                      

                      look at page 2 the 2. post

                      S 2 Replies Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @stoffel
                        last edited by

                        @stoffel yes, that is because of the … the code splits the string with . and not I have 10 items, some empty… oops…

                        working on fix…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @stoffel
                          last edited by

                          @stoffel I think I have a fix

                          see the issue for instructions

                          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
                          • FoziF Offline
                            Fozi Project Sponsor @sdetweil
                            last edited by

                            @sdetweil The “Mother of all Modules”! :love-you_gesture_light_skin_tone:
                            That’s a fantastic job, Sam! Especially beginners will be grateful, but not only beginners.

                            HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                            1 Reply Last reply Reply Quote 0
                            • StoffbeuteluweS Offline
                              Stoffbeuteluwe Project Sponsor
                              last edited by

                              Hi I only see this…?
                              IMG_0811.jpeg

                              Need a little bit help :grinning_face:

                              S 1 Reply Last reply Reply Quote -1
                              • S Do not disturb
                                sdetweil @Stoffbeuteluwe
                                last edited by

                                @stoffbeuteluwe try again , git pull the repo…

                                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

                                  @sdetweil

                                  i have fix it with your issues. thank you very much !!

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @stoffel
                                    last edited by

                                    @stoffel i have seen a couple places in some data where I inadvertently change paths to files with leading …

                                    so be careful…

                                    will update fix when I have it…

                                    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

                                      @sdetweil
                                      ok, thanks. it works well with all my modules, great!

                                      but when i add the MMM-Volume i have another error. i think it is a problem from MMM-Volume. it’s two years old. it’s a json format error

                                      S 1 Reply Last reply Reply Quote 1
                                      • S Do not disturb
                                        sdetweil @stoffel
                                        last edited by sdetweil

                                        @stoffel no, I fixed a problem with MMM-Volume earlier today… haven’t pushed it yet…

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

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

                                          @sdetweil

                                          ok

                                          when you module works also with MMM-Volume then i am very happy.:beaming_face_with_smiling_eyes: i control my mm over remote control.

                                          thank you very much for your support, great job :thumbs_up:

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @stoffel
                                            last edited by sdetweil

                                            @stoffel do a git pull on the newform branch, and try it out… this is with the fix for MMM-Volume

                                            and another, plus an npm install after

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 14
                                            • 15
                                            • 2 / 15
                                            • 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