MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Utilities
    20
    216
    14384
    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
      sdetweil last edited by sdetweil

      I’ve watched as users continue to struggle with formatting in config.js and i think I have a solution

      https://github.com/sdetweil/MMM-Config

      it automatically discovers what you have installed (in the modules folder) and what you are using (in config.js)

      and will let you turn them on/off, edit the settings and change the module positions. all in a form.

      every time u start MagicMirror it will check to see if config.js has changed since last time, and if you’ve added or removed something from the modules folder… it will construct a form that will allow you to edit the settings of everything.

      and then save it back to config.js (after saving the current copy) (and if using PM2) restart MM to use that new config.js

      also works on Windows installations of MM.

      it can put a QR code on the screen so you can use your phone or ipad, or other scanning device so u don’t have to know the url
      and can also be bookmarked etc…
      I supply a css to allow you to change color of the form.

      some screen shots
      initial form screen
      Screenshot at 2021-05-20 18-39-08.png

      base expanded

      Screenshot at 2021-05-20 18-39-25.png

      some places I can tell what you can do
      Screenshot at 2021-05-20 18-39-18.png

      modules list, blue is enabled, red disabled… (u can changed that in the css file)
      Screenshot at 2021-05-20 18-39-40.png

      sample module form section , discovered from module source file and config.js usage (if any)

      Screenshot at 2021-05-20 18-39-52.png

      module position info, cause you may need one above another, (clock and calendar for example)
      and things in other areas…
      Screenshot at 2021-05-20 18-40-13.png

      if u disable a module (checkbox), the contents STAYS in config.js, otherwise it would lose the important info (apikeys, urls, etc)

      thanks to a few testers(who can name themselves if they want) , we’ve gone thru a lot of modules, but not all…
      so I expect there will be reports of troubles… give it a shot and let me know…

      it currently doesn’t support multiple instances of the same module (used for pages and carousel or similar type modules ), or things like my Covid19 charter.
      but I have an open issue and am working on it…

      Sam

      Create a working config
      How to add modules

      Mykle1 S lavolp3 cowboysdude Fozi 5 Replies Last reply Reply Quote 14
      • Mykle1
        Mykle1 Project Sponsor Module Developer @sdetweil last edited by Mykle1

        @sdetweil

        Possibly the most important module ever written for MM. I can see that all the config errors for users (new and old) will be virtually eliminated. I applaud your work on this. Just fantastic!

        Works on MM installations on Ubuntu 16.04 LTS and 20.04 LTS, too.

        Peace!

        Create a working config
        How to add modules

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

          if u set your config.js to allow connection from outside the mm system, you can config from anywhere

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • BKeyport
            BKeyport Module Developer last edited by

            WOW! this is cool. I’ll have to see how it works when I get my test box setup.

            The "E" in "Javascript" stands for "Easy"

            1 Reply Last reply Reply Quote 0
            • B
              bdream last edited by

              @sdetweil Haven’t had all users the wish for exactly this app?

              Great job 💪🏼

              –
              cheers, bdream

              1 Reply Last reply Reply Quote 0
              • lavolp3
                lavolp3 Module Developer @sdetweil last edited by

                @sdetweil Happy to see this developing further. Have waited for something like this for ages!

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                1 Reply Last reply Reply Quote 0
                • cowboysdude
                  cowboysdude Module Developer @sdetweil last edited by

                  @sdetweil WOW this is really AWESOME!!! Very much needed!!

                  Awesome job!!!

                  Thank you Sam!!!

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

                    @mykle1 I develop on Ubuntu 18.04, so it works there too!

                    Sam

                    Create a working config
                    How to add modules

                    Mykle1 1 Reply Last reply Reply Quote 1
                    • Mykle1
                      Mykle1 Project Sponsor Module Developer @sdetweil last edited by

                      @sdetweil

                      👍

                      Create a working config
                      How to add modules

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

                        hallo everyone,

                        im new with the fantastic mm and i am german so sorry for my english.
                        i testing this modul.

                        for me MMM-Config is not working. the config.html page say MagicMirror is not running.
                        i tested from my pc and direct from my rpi.

                        mmm-config-console.png

                        file not found ‘/modules/MMM-Config/node_modules/jsonform/deps/opt/bootstrap.css.map’
                        i have installed this module 2 times.
                        i have searched in the whole rpi but nothing.

                        my rpi:
                        Raspberry Pi 3B +
                        updated raspian

                        config.js:
                        address: ‘0.0.0.0’
                        ipWhitelist: []

                        who have this file, or where can i download this file ?

                        thanks sdetweil for this great module and a nice day for all

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 21
                        • 22
                        • 1 / 22
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy