• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 258.9k Views 30 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 @BKeyport
    last edited by May 27, 2021, 3:09 AM

    @bkeyport I construct the review url like this

          // thi is the name in the preferences pi
          this.hostname = os.hostname();
    
          this.config.url =
            "http://" +
            (this.config.address == "0.0.0.0"
              ? this.hostname
              : this.config.address) +
            ":" +
            this.config.port;
    

    so, lacking the dns entry, I would configure to use one of the specific ip addresses

    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 @BKeyport
      last edited by May 27, 2021, 3:10 AM

      @bkeyport

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

      Yeah, that did it…

      does that mean you system is working now?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply May 27, 2021, 3:11 AM Reply Quote 0
      • B Offline
        BKeyport Module Developer @sdetweil
        last edited by May 27, 2021, 3:11 AM

        @sdetweil Yeah. playing with it now making sure it works with my module and modules I’ve taken up support for.

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

        S 1 Reply Last reply May 27, 2021, 3:16 AM Reply Quote 0
        • S Offline
          sdetweil @BKeyport
          last edited by sdetweil May 27, 2021, 3:17 AM May 27, 2021, 3:16 AM

          @bkeyport cool… there are SO many variations… and guesses to make…

          the upcoming multi-module version, will add on a new capability…

          generate a new file that can be used to REALLY describe the parms, and take away any abiguity on my part.

          I generate it ANYHOW to make the form work… so, its a nit to save it… I’m working thru USING the file, instead of recreating every time…

          and then the author can tune it, to make selection lists, instead of text fields, etc…
          optional sets of fields, depending on selection

          the author packages that file with the module and voila, if its there my module uses it…

          described here
          https://github.com/sdetweil/MMM-Config/issues/11

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply May 27, 2021, 3:34 AM Reply Quote 0
          • B Offline
            BKeyport Module Developer @sdetweil
            last edited by May 27, 2021, 3:34 AM

            @sdetweil OK, it seems to be horribly broken on my side. From save to save, it’s not keeping the modules in config.js - example, my MMM-Multimonth won’t stay configured.

            I can’t disable default modules. (Calendar, which I don’t use due to incompatibility with my agenda provider)

            You want the config files to look though and see what’s happening?

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

            S 1 Reply Last reply May 27, 2021, 3:35 AM Reply Quote 0
            • S Offline
              sdetweil @BKeyport
              last edited by May 27, 2021, 3:35 AM

              @bkeyport yes please…

              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
                last edited by May 31, 2021, 8:18 PM

                I have updated the module now to support multiple instances of the same module,
                a little config (adding name to a file) … altho the module will auto detect if multiples are being used NOW, regardless of the file

                ALSO, one lacking feature of this solution is being able to get the form exactly right… as the info is missing in the module data…

                BUT i am creating the form info ANYHOW, so it can be saved and manually edited to improve the module experience, and I will use THAT instead of constructing the info every time…

                this means u can add selection lists, and other features (very easily)
                see the two issues for instructions

                multi-module
                https://github.com/sdetweil/MMM-Config/issues/2

                and save and use schema file
                https://github.com/sdetweil/MMM-Config/issues/11

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Jun 2, 2021, 12:42 AM Reply Quote 2
                • M Offline
                  Mykle1 Project Sponsor Module Developer @sdetweil
                  last edited by Jun 2, 2021, 12:42 AM

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

                  I have updated the module now to support multiple instances of the same module,

                  Oh, this is quite a feature, and much appreciated. :thumbsup:

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by Jun 2, 2021, 2:35 PM

                    if u downloaded to test out multi-module, do another git pull…

                    I had turned off rename of config.js while I tested save… oops… forgot to turn it back on
                    corrected now

                    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
                      last edited by Jun 7, 2021, 6:09 PM

                      I have promoted the multi-module version to be the only version…

                      no need for any git checkout now

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Jun 8, 2021, 8:34 PM Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 29
                      • 30
                      • 7 / 30
                      7 / 30
                      • First post
                        61/293
                        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