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.2k 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 @Alyx
      last edited by sdetweil

      @alyx but you used sudo, which messed things up… permissions as root when we need user level…

      please delete my module folder, and reinstall without sudo…

      you MAY have messed up the rest of the MM files too…

      linux has very strict permissions

      the postinstall failed which moves files to the right places…

      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 I used sudo because some package files reported back errors and that I dont have the required permissions?

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

          @alyx probably cause you used sudo before…

          so, I’d start over again… delete the MM folder

          and run my install script, then add my module and npm install in its folder…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A D 2 Replies Last reply Reply Quote 0
          • A Offline
            Alyx @sdetweil
            last edited by

            @sdetweil ok I flash reinstalled MM (worryingly good at it now…) and it seems to be working :)

            The config pops up on the webpage correctly and all.

            Thanks Sam!

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

              @sdetweil hi sam, i hope you haven’t much work from my issues :/ can you tell me if you have a solution? at this time i had to deinstall your module to finish my project for university but i want to use it again ;)

              S 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @Dinschal
                last edited by

                @dinschal I have 2 of the 3 fixed I think, but not finished testing… I would just skip using for now… sorry… you found some good ones…

                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 oh its totally fine ;) just tell me when you finished ;)

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

                    @dinschal so, 3 problems (all issued opened on the module github page

                    1. timeFormat was changed to a string, easy, done
                      https://github.com/sdetweil/MMM-Config/issues/27
                    2. changed parm for clock was not saved… in progress,
                      https://github.com/sdetweil/MMM-Config/issues/29
                    3. weather lost parms on save. fixed I think. this takes a special schema file to expose the providers parameters. (this schema file is to make the UI correct, above what I can do to discover the variables)
                      https://github.com/sdetweil/MMM-Config/issues/28

                    I save the generated on (little script provided to do that, upgraded cause of this problem to allow just ONE modules info to be saved) and then customize it to the module…
                    I can ship some (I will for this) , but if the module author ships that is good too (won’t happen for base)

                    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
                      okay i have to admit that i had to google for a moment to understand what you mean
                      :D i think i got it … it would be better from the start if the developer would pack all optional options in the config so that your module loads them !? for my university project i will leave it out for now and configure it as standard. for the future i will use your tool again ;)

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