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.
    • I Offline
      innovation
      last edited by

      @sdetweil Yes

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

        @innovation can u open a terminal window and do

        qrcp
        and look in the module folder for qrcp.json

        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 Into cd ~/MagicMirror/modules/uploadPics?

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

            @innovation yes

            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 GNU bash, version 5.0.3(1)-release (arm-unknown-linux-gnueabihf)
              These shell commands are defined internally. Type help' to see this list. Type help name’ to find out more about the function name'. Use info bash’ to find out more about the shell in general.
              Use man -k' or info’ to find out more about commands not in this list.

              A star (*) next to a name means that the command is disabled.

              job_spec [&] history [-c] [-d offset] [n] or history -anrw >
              (( expression )) if COMMANDS; then COMMANDS; [ elif COMMANDS; t>
              . filename [arguments] jobs [-lnprs] [jobspec …] or jobs -x command>
              : kill [-s sigspec | -n signum | -sigspec] pid |>
              [ arg… ] let arg [arg …]
              [[ expression ]] local [option] name[=value] …
              alias [-p] [name[=value] … ] logout [n]
              bg [job_spec …] mapfile [-d delim] [-n count] [-O origin] [-s >
              bind [-lpsvPSVX] [-m keymap] [-f filename] [-q > popd [-n] [+N | -N]
              break [n] printf [-v var] format [arguments]
              builtin [shell-builtin [arg …]] pushd [-n] [+N | -N | dir]
              caller [expr] pwd [-LP]
              case WORD in [PATTERN [| PATTERN]…) COMMANDS > read [-ers] [-a array] [-d delim] [-i text] [->
              cd [-L|[-P [-e]] [-@]] [dir] readarray [-d delim] [-n count] [-O origin] [->
              command [-pVv] command [arg …] readonly [-aAf] [name[=value] …] or readonly>
              compgen [-abcdefgjksuv] [-o option] [-A action]> return [n]
              complete [-abcdefgjksuv] [-pr] [-DEI] [-o optio> select NAME [in WORDS … ;] do COMMANDS; done
              compopt [-o|+o option] [-DEI] [name …] set [-abefhkmnptuvxBCHP] [-o option-name] [–]>
              continue [n] shift [n]
              coproc [NAME] command [redirections] shopt [-pqsu] [-o] [optname …]
              declare [-aAfFgilnrtux] [-p] [name[=value] …> source filename [arguments]
              dirs [-clpv] [+N] [-N] suspend [-f]
              disown [-h] [-ar] [jobspec … | pid …] test [expr]
              echo [-neE] [arg …] time [-p] pipeline
              enable [-a] [-dnps] [-f filename] [name …] times
              eval [arg …] trap [-lp] [[arg] signal_spec …]
              exec [-cl] [-a name] [command [arguments …]] > true
              exit [n] type [-afptP] name [name …]
              export [-fn] [name[=value] …] or export -p typeset [-aAfFgilnrtux] [-p] name[=value] …
              false ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]
              fc [-e ename] [-lnr] [first] [last] or fc -s [p> umask [-p] [-S] [mode]
              fg [job_spec] unalias [-a] name [name …]
              for NAME [in WORDS … ] ; do COMMANDS; done unset [-f] [-v] [-n] [name …]
              for (( exp1; exp2; exp3 )); do COMMANDS; done until COMMANDS; do COMMANDS; done
              function name { COMMANDS ; } or name () { COMMA> variables - Names and meanings of some shell v>
              getopts optstring name [arg] wait [-fn] [id …]
              hash [-lr] [-p pathname] [-dt] [name …] while COMMANDS; do COMMANDS; done
              help [-dms] [pattern …] { COMMANDS ; }

              This is what it says

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

                @innovation what did u type??

                qrcp
                

                should have replied

                sam@galliumos:~/MagicMirror/modules/uploadPics$ qrcp
                Error: requires at least 1 arg(s), only received 0
                Run `qrcp help` for help.
                

                anf then, if the file was present

                ls qrcp.json
                

                should have replied

                sam@galliumos:~/MagicMirror/modules/uploadPics$ ls qrcp.json
                qrcp.json
                

                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
                  pi@smart:~ $ qrcp
                  Error: requires at least 1 arg(s), only received 0
                  Run qrcp help for help.

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

                    @innovation and for 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
                      pi@smart:~ $ ls qrcp.json
                      ls: cannot access ‘qrcp.json’: No such file or directory
                      pi@smart:~ $

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

                        @innovation ok, then do these two commands

                        ip link show
                        iwconfig
                        

                        show the results

                        mine look like this

                        sam@galliumos:~/MagicMirror/modules/uploadPics$ ip link show
                        1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
                            link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                        9: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
                            link/ether a4:c4:94:66:7e:b1 brd ff:ff:ff:ff:ff:ff
                        sam@galliumos:~/MagicMirror/modules/uploadPics$ iwconfig
                        wlp1s0    IEEE 802.11  ESSID:"fubar"  
                                  Mode:Managed  Frequency:5.745 GHz  Access Point: 24:05:88:41:B5:08   
                                  Bit Rate=650 Mb/s   Tx-Power=22 dBm   
                                  Retry short limit:7   RTS thr:off   Fragment thr:off
                                  Power Management:on
                                  Link Quality=70/70  Signal level=-34 dBm  
                                  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                                  Tx excessive retries:0  Invalid misc:52   Missed beacon:0
                        
                        lo        no wireless extensions.
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • I Offline
                            innovation @sdetweil
                            last edited by

                            @sdetweil
                            pi@smart:~/MagicMirror/modules/uploadPics $ ip link show
                            1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
                            link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                            2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
                            link/ether b8:27:eb:9b:20:c3 brd ff:ff:ff:ff:ff:ff
                            3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
                            link/ether b8:27:eb:ce:75:96 brd ff:ff:ff:ff:ff:ff
                            pi@smart:~/MagicMirror/modules/uploadPics $ iwconfig
                            eth0 no wireless extensions.

                            lo no wireless extensions.

                            wlan0 IEEE 802.11 ESSID:“ssk3”
                            Mode:Managed Frequency:2.422 GHz Access Point: CC:32:E5:E9:02:27
                            Bit Rate=24 Mb/s Tx-Power=31 dBm
                            Retry short limit:7 RTS thr:off Fragment thr:off
                            Power Management:on
                            Link Quality=42/70 Signal level=-68 dBm
                            Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
                            Tx excessive retries:10 Invalid misc:0 Missed beacon:0

                            pi@smart:~/MagicMirror/modules/uploadPics $

                            S 1 Reply Last reply Reply Quote 0
                            • 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

                                            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