• 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 317.1k 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 Away
    sdetweil @BKeyport
    last edited by sdetweil May 27, 2021, 2:24 AM May 27, 2021, 2:16 AM

    @bkeyport if u open the developers window, ctrl-shift-i, and select the console tab. are there errors shown

    also if u look in the pm2 logs, are there problems.

    do a
    git checkout newform
    and try again. lots of fixes there

    the latest code requires a port number to be passed to the form page… use the review link

    http://mm_ip:mm_port/modules/MMM-Config/review
    (thats the url on the qr image)

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    B 1 Reply Last reply May 27, 2021, 2:51 AM Reply Quote 0
    • B Online
      BKeyport Module Developer @sdetweil
      last edited by May 27, 2021, 2:51 AM

      @sdetweil

      Failed to load resource (Connection refused) http://IP:8200/socket.io/?EIO=4&transport=polling&t=NchkO1_

      DevTools failed to load SourceMap: Could not load content for http://IP:8080/modules/MMM-Config/node_modules/jsonform/deps/opt/bootstrap.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

      Then repeated
      (anonymous) @ VM6:1
      create @ polling-xhr.js:198
      Request @ polling-xhr.js:115
      request @ polling-xhr.js:62
      doPoll @ polling-xhr.js:90
      poll @ polling.js:74
      doOpen @ polling.js:23
      open @ transport.js:44
      open @ socket.js:194
      Socket @ socket.js:119
      ./node_modules/engine.io-client/lib/index.js.module.exports @ index.js:3
      open @ manager.js:112
      (anonymous) @ manager.js:342
      VM6:1 GET http://IP:8200/socket.io/?EIO=4&transport=polling&t=NchkPo7 net::ERR_CONNECTION_REFUSED

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

      S 1 Reply Last reply May 27, 2021, 2:53 AM Reply Quote 0
      • S Away
        sdetweil @BKeyport
        last edited by sdetweil May 27, 2021, 2:54 AM May 27, 2021, 2:53 AM

        @bkeyport did u use the review link, its probably port 8300 now

        see the instructions here

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply May 27, 2021, 2:56 AM Reply Quote 0
        • B Online
          BKeyport Module Developer @sdetweil
          last edited by BKeyport May 27, 2021, 2:57 AM May 27, 2021, 2:56 AM

          @sdetweil review link as shown redirects to:

          http://raspberrypi:8080/modules/MMM-Config/config.html?port=8301

          which fails because it’s not in DNS - changing raspberrypi to my IP address results in same header as before. Did update newform, and restarted MM.

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

          S 3 Replies Last reply May 27, 2021, 2:57 AM Reply Quote 0
          • S Away
            sdetweil @BKeyport
            last edited by May 27, 2021, 2:57 AM

            @bkeyport i have cors allow all …

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @BKeyport
              last edited by May 27, 2021, 2:59 AM

              @bkeyport I asked the machine for its IP address /name…

              most routers now -a-days register the DHCP requests to names…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply May 27, 2021, 2:59 AM Reply Quote 0
              • B Online
                BKeyport Module Developer @sdetweil
                last edited by May 27, 2021, 2:59 AM

                Yeah, my router setup is stupid in my testing area. :)

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

                1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @BKeyport
                  last edited by May 27, 2021, 2:59 AM

                  @bkeyport and npm install after checkout newform?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil Yeah, that did it… Forgot to npm install. D’oh!

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

                    S 2 Replies Last reply May 27, 2021, 3:09 AM Reply Quote 0
                    • S Away
                      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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 29
                      • 30
                      • 6 / 30
                      6 / 30
                      • First post
                        52/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