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 400.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 @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
                  • A Offline
                    Alyx @sdetweil
                    last edited by

                    @sdetweil sent back over

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

                      @alyx yes… saw. was at car dealer for oil change… just got back…

                      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 Ah no worries was out for some materials to build the mirror frame myself haha

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

                          @alyx ok, the crash is because u have a bad position for selfieshoot in config.js

                          	module: "MMM-Selfieshot",
                              position: "bottom",
                          

                          bottom is not valid

                          https://docs.magicmirror.builders/modules/configuration.html#example

                          separate lines are my addition to the view

                          The location of the module in which the module will be loaded. Possible values are  
                          top_bar,
                          top_left, 
                          top_center, 
                          top_right, 
                          upper_third, 
                          middle_center, 
                          lower_third, 
                          bottom_left, 
                          bottom_center, 
                          bottom_right, 
                          bottom_bar, 
                          fullscreen_above, and 
                          fullscreen_below. 
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            I opened issue to document changes to protect against crashing

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

                            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 OK back working now with that thanks! Although the conf for my pm2 seems to be not working anymore, I think I saw a similar issue somewhere in the comments here?

                              Also I cant get the conf page anymore cause it can no longer get /modules/MMM-Config/review

                              ?

                              S 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:

                                Although the conf for my pm2

                                eh?? what conf for pm2? where?

                                pm2 setup is done once at install (if you use my script and it just points to the ~/MagicMirror/installers/mm.sh

                                Also I cant get the conf page anymore cause it can no longer get /modules/MMM-Config/review

                                eh??

                                http://localhost:8080/modules/MMM-Config/review

                                (the MM config says localhost, SO the url MUST be localhost to match…

                                anything else
                                (ip or name)
                                will fail

                                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 Before I was able to connect my alexa as a smart device with pm2 but now its not showing at all on alexa is what i mean.

                                  Yep that the link I use but I get the the home page and its the same blank interface as before with no modules tab or anything? Like I just used it to make the latest conf file so I know it works some how haha

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

                                    @alyx ok screw that its working now all of a sudden ahaha

                                    The alexa thing still isnt working tho

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

                                      @alyx i;m not sure what u mean by the alexaControl problem

                                      u set it up once and then do Alexa Discover Devices.

                                      they are there forever …(until u manually delete them)

                                      now… IF the machine IP changes (like across a reboot)

                                      then the ip address that alexa saved is no longer valid and alexa can’t find them
                                      it does NOT save dns NAME, only IP address.

                                      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
                                        Yes thats what I mean I haven’t changed anything like that although. I just used the script and the generated config file. It seems alexa can no longer find the devices and is displaying them as offline

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

                                          @alyx the pi address changed (like powered off overnight and the ip lease expired

                                          I set fixed (reservation) addresses for all my pi devices in my network router to avoid this problem

                                          only way to fix is to delete and rediscover

                                          alexa.amazon.com
                                          smarthome tab
                                          devices
                                          at the bottom is forget all
                                          (or u can delete them 1 by 1)

                                          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 did delete and rediscover but the thing is they arent showing up in the discovery now lol

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 14
                                            • 15
                                            • 8 / 15
                                            • 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