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 for a Novice....

    Scheduled Pinned Locked Moved Troubleshooting
    22 Posts 3 Posters 7.2k Views 3 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.
    • J Offline
      j.ason @sdetweil
      last edited by

      @sdetweil Thanks for replying so quickly too :clapping_hands:

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @j.ason
        last edited by

        @j-ason the forum posting pics is broken (still)… so u have to post them somewhere else

        black screen usually means some config or setup problem…

        open the developers window (ctrl-shift-i on the keyboard), and select the console tab,. and scroll up to see any errors (usually red text)

        u did not edit any module file, right, only the config.js…

        does the module have a package.json file, and if so, did u run npm install in the module folder?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          j.ason @sdetweil
          last edited by

          @sdetweil Can I send you the screenshot? (email , WhatsApp ?)

          As I said I am way out of my depth tbh - only started this the other day and hoping it will make sense as I go along :crossed_fingers_light_skin_tone:

          All I have done is load Raspberry Jessie version, MM2 install with default calendar, time, weather - edit… Have managed to work around getting my Google calendar to work and change location to UK for calendar and weather settings…

          S Mykle1M 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @j.ason
            last edited by

            @j-ason sure, send to same userid as here, at gmail.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @j.ason
              last edited by

              @j-ason

              Looking at the documentation, I see the config sample entry does not have a comma after the last bracket. The config entry should look like this:

              {
              	module: "MMM-Bose-Soundtouch",
              	position: "top_right",   // see mirror setting for options
              	config: {          
              		updateInterval: 5, // every 5 seconds
              		apiBase: '192.168.xxx.xxx',
              	}
              },
              

              Notice the comma after the last curly bracket?

              Of course, @sdetweil has probably brought that to your attention already. :-)

              Create a working config
              How to add modules

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

                @Mykle1 the comma only matters IF this is the not the last module config entry…

                but blackscreen shouldn’t be because of this, you’d get a “create a config file” error

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                Mykle1M 1 Reply Last reply Reply Quote 1
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @sdetweil
                  last edited by

                  @sdetweil

                  True, but it IS the most common mistake for beginners, or I am much mistaken. :-)

                  Create a working config
                  How to add modules

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.ason @Mykle1
                    last edited by

                    @Mykle1 - thanks for replying :-)

                    I do have a comma on my file like what you attached within this chat

                    J

                    Mykle1M S 2 Replies Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @j.ason
                      last edited by

                      @j-ason

                      Very well. Then I suggest you follow the suggestions that @sdetweil has posted above. I’m sure he will get you sorted, if he hasn’t already.

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @j.ason
                        last edited by sdetweil

                        @j-ason ok. good…

                        then u still have a black screen when starting MM…right>

                        so, let start from the terminal window

                        pm2 stop 0
                        cd ~/MagicMirror
                        npm start
                        

                        wait for it to come up…
                        if working from PI screen do
                        alt-spacebar, n to minimize the MM screen

                        no errors reported?

                        then to get the MM screen displayed again
                        on MM do
                        alt (hold down)
                        press tab key
                        a list of windows will appear
                        tab to the MagicMirror screen view,
                        release alt key

                        open developers window
                        press ctrl-shift-i
                        select the tab labeled console
                        enter ‘bose’ (no quotes) in the filter field
                        are there any errors (usually red text), may have to scroll up

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          j.ason
                          last edited by

                          Hi Sam,

                          I do have the MM working and no black screen :-)

                          I have weather, clock and calendar working and it boots up fine too…

                          Just wanted to figure out about this Bose module - partly because I have a Bose setup in my house and secondly the more of this I read and try to understand the more I hopefully will :crossed_fingers_light_skin_tone:

                          S 2 Replies Last reply Reply Quote 0
                          • S Offline
                            sdetweil @j.ason
                            last edited by

                            @j-ason ok, developers window may still help

                            use developers window instructions above

                            are there any errors (usually red text), may have to scroll up

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              j.ason @sdetweil
                              last edited by

                              @sdetweil

                              BTW I have sent you an email with the screenshot

                              J

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @j.ason
                                last edited by sdetweil

                                @j-ason ok, got screenshot, but doesn’t show any error… so, see instructions above

                                in your original post you said

                                I have entered the above lines into my config.js yet when I reboot my Pi I get nothing - not even the header?

                                that is what we call black screen “I get nothing”

                                u don’t have to reboot each time, just use

                                pm2 restart 0
                                

                                if using pm2 to start at boot

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  j.ason @sdetweil
                                  last edited by

                                  @sdetweil Apologies,

                                  What I meant was I get nothing in relation to the Bose Module - no header no text and no music showing etc…

                                  Having gone into Developers window I see no red errors relating to Bose. I did filter and let only warnings and errors show too.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @j.ason
                                    last edited by

                                    @j-ason but u see messages related to bose module, in developers window, correct?

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    J 2 Replies Last reply Reply Quote 0
                                    • J Offline
                                      j.ason @sdetweil
                                      last edited by

                                      @sdetweil I do see Bose listed and no errors - screenshot sent to you to show you…

                                      S 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        j.ason @sdetweil
                                        last edited by

                                        @sdetweil :clapping_hands_light_skin_tone: :clapping_hands_light_skin_tone: :clapping_hands_light_skin_tone:

                                        No sure what happened however I removed the code and then re entered it back into the config file and it works :-)

                                        Thanks again for your time helping me - much appreciated indeed

                                        Have a great day
                                        #StaySafe
                                        #StayHome
                                        #StayPositive

                                        Regards J

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @j.ason
                                          last edited by

                                          @j-ason well, there WAS an error… email sent back

                                          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
                                          • 2 / 2
                                          • 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