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.

    Blocking MagicMirror from the Web.

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 3 Posters 2.9k Views 2 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.
    • T Offline
      Terrence
      last edited by

      Good Day All

      I am trying to make a MagicMirror that can play music as well. That is the big goal here. But I’ve hit a rather silly snag.

      I am running Mopidy for the music and the MagicMirror for the Display, but the two refuse to run at the same time… Guessing it has to do with the Mopidy creating a “server” and the MagicMirror trying to then use the internet.

      A work around that I was hoping to try is get the MagicMirror to boot up get all the upcoming holidays and time then disconnect itself from the internet and let Mopidy create its server… Maybe then once a day I could let the MagicMirror update or something like that.

      So my question is: “How can I get MagicMirror to boot, update and then not use the internet?”

      1 Reply Last reply Reply Quote 0
      • T Offline
        Terrence
        last edited by

        problem Solved, By changing the port of the Mopidy to 8081 and all was well.

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          Damian @Terrence
          last edited by

          @Terrence
          Hello, can you tell me where and how you managed to change the port?
          Thank you

          1 Reply Last reply Reply Quote 0
          • T Offline
            Terrence
            last edited by

            Ofcourse Damian…

            In the config files for both I could just change the port settings.

            MagicMirror:
            sudo nano ~/MagicMirror/config/config.js
            The port is the first Variable in the config section (default: 8080)

            Mopidy:
            sudo nano ~/.config/mopidy/mopidy.conf
            Here I uncommented the [http] section and for the hostname I used the Pi’s IP and port is 8081.

            This solved the problem and I am now able to run my MagicMirror and Mopidy at the same time…

            D 1 Reply Last reply Reply Quote 1
            • B Offline
              barnosch
              last edited by

              sounds interesting. Do you control it with a touchscreen?
              Can you maybe upload a screenshot how it looks like?

              1 Reply Last reply Reply Quote 0
              • T Offline
                Terrence
                last edited by

                No I want to be able to control it from anywhere in the house. So I am using the Mopidy web App to control the music and the display just shows the mirror as per the usual magicmirror…

                Will put up some photos when it actually takes shape.

                1 Reply Last reply Reply Quote 1
                • D Offline
                  Damian @Terrence
                  last edited by

                  @Terrence
                  Thank you for that, do you import from local, or from external ? If local how did you manage to link to source?

                  Thank you

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    Terrence
                    last edited by

                    Hey Sorry for the long wait. I’ve been having a lot of trouble with playing it locally actually…

                    I put all my music on the SD card under the /home/pi/music/ file…
                    So in the /etc/mopidy/mopidy.conf under the [local] function I added the /home/pi/music/ as the dir…
                    Then I did a local scan and it pulled all my music in.

                    D 1 Reply Last reply Reply Quote 1
                    • D Offline
                      Damian @Terrence
                      last edited by

                      @Terrence
                      No problem mate. Thanks for info as thats gives me a head start to work on as I intended pulling in from my main networked PC that has all my media on it, and far too much music for even the biggest of sd cards :-) so will play about with your settings and see if I can maybe link it to my PC?

                      Thanks again.

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