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 342.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
      sdetweil @Dinschal
      last edited by

      @dinschal said in Are you tired of editing config.js, or have trouble doing it, see my new module:

      it would be better from the start if the developer would pack all optional options in the config

      no… then config is a large mess… the design for config is JUST the changes you NEED, all the rest are defined already…

      i want to keep that model. i just had a bug in my code… if the option wasn’t in config, then i don’t copy it from the form… oops… now I need to check if some option changed from the form data 1st… so I don’t copy all of the parms, just the needed one to match

      BUT the form exposes the parms for every module… most users (and me!) are poor at reading the doc, BEFORE they use things… and get in trouble … the form is intended to help with that too …

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Dinschal @sdetweil
        last edited by

        @sdetweil haha in the past i was tired of reading the doc too ;) but too many failures made me to read it ;)

        1 Reply Last reply Reply Quote 0
        • A Offline
          Alyx
          last edited by

          So I’m experiencing a new issue where when I use the editor and trhen press save its not actually saving the new co’ve reinstallked the module and even chmod the folder to 777

          Is this an issue others are experiencing?

          I have the config for it on the defualt settings and the somefile.txt reports that everything is find and it opened successfully on port 8301 ( this seems to change actually) I’m thinking that the port is changing while I’m editing?

          S 3 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @Alyx
            last edited by

            @alyx no. the code looks for a free port, and then starts the socket connection there.

            send my the debug output from
            debug;true
            and npm start >somefile.txt
            via email

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @alyx said in Are you tired of editing config.js, or have trouble doing it, see my new module:

              chmod the folder to 777

              please don’t do crazy things. post and I will help

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @alyx under the submit button two messages are written

                Your Configuration has been submitted
                and
                config.js created successfully

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Alyx @sdetweil
                  last edited by

                  @sdetweil
                  Did the debug what folder does it go to? I have the somefile ready also

                  As for the messages I get the first part but not the second saying its created

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

                    @alyx debug is set in config.js for my module

                    the somefile is the debug output from save
                    also send the config.js and the defaulys.js from my module folder.

                    the .js files will have to be renamed to .txt
                    as .js files cannot be sent as attachments

                    my email is my same userid at gmail

                    lack of the second message means some content formatting issue

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      Alyx @sdetweil
                      last edited by

                      @sdetweil Sent over there cheers

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

                        @alyx sent message back. need the rest of debug

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        A 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 13
                        • 14
                        • 15
                        • 16
                        • 17
                        • 29
                        • 30
                        • 15 / 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