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.

    Help please!!

    Scheduled Pinned Locked Moved Development
    63 Posts 4 Posters 32.1k Views 4 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 Do not disturb
      sdetweil @innovation
      last edited by

      @innovation ok,

      postinstall should be 43 lines long
      if so do this

      ./postinstall
      

      the check for qrcp.json again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      I 1 Reply Last reply Reply Quote 0
      • I Offline
        innovation @sdetweil
        last edited by

        @sdetweil Yes the file is there now

        pi@smart:~/MagicMirror/modules/uploadPics $ ls qrcp.json
        qrcp.json

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @innovation
          last edited by

          @innovation ok, start mm

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            innovation @sdetweil
            last edited by

            @sdetweil I am getting the same “default message if none supplied in the config.js”

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @innovation
              last edited by sdetweil

              @innovation weird

              ok, add
              debug: true,

              to the module definition
              and then do

              npm start >somefile
              once mm comes up u can stop it and then we can look at somefile

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                innovation @sdetweil
                last edited by

                @sdetweil npm start >somefile
                npm ERR! missing script: start

                npm ERR! A complete log of this run can be found in:
                npm ERR! /home/pi/.npm/_logs/2021-03-26T16_26_09_848Z-debug.log

                Yes, the program started then I ended it

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @innovation
                  last edited by

                  @innovation from the magicmirror folder please

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  I 1 Reply Last reply Reply Quote 0
                  • I Offline
                    innovation @sdetweil
                    last edited by

                    @sdetweil Yes it opened. Where is the somefile?

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @innovation
                      last edited by sdetweil

                      @innovation in the magicmirror folder

                      > means put all the terminal window content of the pgm into the file
                      (same as for windows)

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      I 1 Reply Last reply Reply Quote 0
                      • I Offline
                        innovation @sdetweil
                        last edited by

                        @sdetweil Nothing shows up in the terminal when I run in though

                        S 2 Replies Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @innovation
                          last edited by

                          @innovation don’t understand, mm puts out messages
                          looks like this

                          > magicmirror@2.14.0 start /home/sam/MagicMirror
                          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                          
                          [26.03.2021 11:17.39.334] [LOG]   Starting MagicMirror: v2.14.0
                          [26.03.2021 11:17.39.338] [LOG]   Loading config ...
                          [26.03.2021 11:17.39.343] [LOG]   Loading module helpers ...
                          [26.03.2021 11:17.39.345] [LOG]   No helper found for module: alert.
                          [26.03.2021 11:17.39.483] [LOG]   Initializing new module helper ...
                          [26.03.2021 11:17.39.483] [LOG]   Module helper loaded: updatenotification
                          [26.03.2021 11:17.39.484] [LOG]   No helper found for module: clock.
                          [26.03.2021 11:17.39.843] [LOG]   Initializing new module helper ...
                          [26.03.2021 11:17.39.843] [LOG]   Module helper loaded: calendar
                          [26.03.2021 11:17.39.844] [LOG]   No helper found for module: currentweather.
                          [26.03.2021 11:17.39.845] [LOG]   No helper found for module: weatherforecast.
                          [26.03.2021 11:17.39.865] [LOG]   Initializing new module helper ...
                          [26.03.2021 11:17.39.866] [LOG]   Module helper loaded: newsfeed
                          [26.03.2021 11:17.39.867] [LOG]   init module helper undefinedundefined
                          [26.03.2021 11:17.39.868] [LOG]   Module helper loaded: uploadPics
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @innovation
                            last edited by sdetweil

                            @innovation if u do the > symbol, then ALL the output goes to the file

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            I 1 Reply Last reply Reply Quote 0
                            • I Offline
                              innovation @sdetweil
                              last edited by

                              @sdetweil > magicmirror@2.13.0 start /home/pi/MagicMirror

                              DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                              [2021-03-26 22:24:56.461] [LOG] Starting MagicMirror: v2.13.0
                              [2021-03-26 22:24:56.519] [LOG] Loading config …
                              [2021-03-26 22:24:56.541] [LOG] Loading module helpers …
                              [2021-03-26 22:24:56.546] [LOG] No helper found for module: compliments.
                              [2021-03-26 22:24:56.556] [LOG] No helper found for module: MMM-CSSBackgrounds.
                              [2021-03-26 22:24:56.586] [LOG] Module helper loaded: uploadPics
                              [2021-03-26 22:24:56.588] [LOG] All module helpers loaded.
                              [2021-03-26 22:24:57.103] [LOG] Starting server on port 8080 …
                              [2021-03-26 22:24:57.164] [LOG] Server started …
                              [2021-03-26 22:24:57.166] [LOG] Connecting socket for: uploadPics
                              [2021-03-26 22:24:57.168] [LOG] Sockets connected & modules started …
                              [2021-03-26 22:24:58.047] [LOG] Launching application.
                              ^C[2021-03-26 22:26:14.188] [LOG] Shutting down server…

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @innovation
                                last edited by

                                @innovation did u add debug: true to the uploadPics module config section

                                                {
                                                        module:"uploadPics",
                                                        disabled:false,
                                                        position:"bottom_left",
                                                        config:{
                                                                dest : '../modules/MMM-ImagesPhotos/uploads',
                                                                debug:true
                                                        }
                                                },
                                
                                

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                I 1 Reply Last reply Reply Quote 0
                                • I Offline
                                  innovation @sdetweil
                                  last edited by

                                  @sdetweil Sorry, put it in the wrong place

                                  magicmirror@2.13.0 start /home/pi/MagicMirror
                                  DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                                  [2021-03-26 22:34:16.943] [LOG] Starting MagicMirror: v2.13.0
                                  [2021-03-26 22:34:17.001] [LOG] Loading config …
                                  [2021-03-26 22:34:17.016] [LOG] Loading module helpers …
                                  [2021-03-26 22:34:17.020] [LOG] No helper found for module: compliments.
                                  [2021-03-26 22:34:17.026] [LOG] No helper found for module: MMM-CSSBackgrounds.
                                  [2021-03-26 22:34:17.045] [LOG] Module helper loaded: uploadPics
                                  [2021-03-26 22:34:17.046] [LOG] All module helpers loaded.
                                  [2021-03-26 22:34:17.520] [LOG] Starting server on port 8080 …
                                  [2021-03-26 22:34:17.560] [LOG] Server started …
                                  [2021-03-26 22:34:17.562] [LOG] Connecting socket for: uploadPics
                                  [2021-03-26 22:34:17.564] [LOG] Sockets connected & modules started …
                                  [2021-03-26 22:34:18.464] [LOG] Launching application.
                                  [2021-03-26 22:34:24.895] [LOG] uploadPics received a socket notification: CONFIG - Payload: [object Object]
                                  [2021-03-26 22:34:24.898] [LOG] p=/home/pi/MagicMirror/modules/MMMM-ImagesPhotos/uploads
                                  [2021-03-26 22:34:26.239] [LOG] error=Error: stat /home/pi/MagicMirror/modules/MMMM-ImagesPhotos/uploads: no such file or directory
                                  Run qrcp help for help.

                                  ^C[2021-03-26 22:34:38.105] [LOG] Shutting down server…
                                  [2021-03-26 22:34:38.107] [LOG] Stopping module helper: uploadPics

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @innovation
                                    last edited by sdetweil

                                    @innovation said in Help please!!:

                                    [2021-03-26 22:34:24.898] [LOG] p=/home/pi/MagicMirror/modules/MMMM-ImagesPhotos/uploads
                                    [2021-03-26 22:34:26.239] [LOG] error=Error: stat /home/pi/MagicMirror/modules/MMMM-ImagesPhotos/uploads: no such file or directory

                                    where are the uploaded pics supposed to go?
                                    that folder doesn’t exist…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    I 1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      innovation @sdetweil
                                      last edited by

                                      @sdetweil But there is a folder in

                                      /home/pi/MagicMirror/modules/MMM-ImagesPhotos/uploads

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @innovation
                                        last edited by

                                        @innovation ‘’/MMMM’
                                        typo in the dest config… 4 M’s instead of 3

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        I 1 Reply Last reply Reply Quote 0
                                        • I Offline
                                          innovation @sdetweil
                                          last edited by

                                          @sdetweil Yes it works! Thank you so much for this. I really appreciate it

                                          S 1 Reply Last reply Reply Quote 1
                                          • S Do not disturb
                                            sdetweil @innovation
                                            last edited by

                                            @innovation glad u got it… i changed the message to say check the config
                                            and also allowed the error message to pass thru even if not in debug mode… thanks for your patience

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            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
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • 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