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.

    General Mucking Around with MM

    Scheduled Pinned Locked Moved Show your Mirror
    13 Posts 4 Posters 5.4k 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 Offline
      sdetweil @ruff.hi
      last edited by sdetweil

      @ruff-hi yeh, you can add specific addresses if u want to allow only some, or exclude… all kinds of filtering

      first u gotta GET on you network, THEN find some ip address THEN find some port…
      THEN u gotta find a hack way INSIDE that box… seems like a lotta work for not much typical value…
      I don’t have any passwords used on my MM…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer
        last edited by

        What I did was to simlink my config.js and custom.css files so I could have them in one directory, and used samba so I could share that directory to windows for editing.

        The "E" in "Javascript" stands for "Easy"

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

          @BKeyport another cool idea!
          I got 7 machines running all the time

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          BKeyportB 1 Reply Last reply Reply Quote 0
          • BKeyportB Offline
            BKeyport Module Developer @sdetweil
            last edited by

            @sdetweil bonus, with a bit of trickery, I’ve got that directory backing up as needed to GitHub under a private git. 😃

            The "E" in "Javascript" stands for "Easy"

            1 Reply Last reply Reply Quote 1
            • R Offline
              retroflex Project Sponsor Module Developer
              last edited by

              For example if you use this for SSH:
              https://mobaxterm.mobatek.net/

              …you can edit config files etc. on another machine and when you save it asks if you want to upload back to rpi.

              1 Reply Last reply Reply Quote 0
              • R Offline
                ruff.hi
                last edited by

                Thx all - lots of interesting suggestions to play around with.

                I detached the 7" screen from the RPI and now mm won’t start.

                0|mm       | (electron:30477): Gtk-WARNING **: 06:02:18.928: cannot open display: :0
                0|mm       | npm ERR! code ELIFECYCLE
                0|mm       | npm ERR! errno 1
                0|mm       | npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                0|mm       | npm ERR! Exit status 1
                0|mm       | npm ERR!
                0|mm       | npm ERR! Failed at the magicmirror@2.13.0 start script.
                0|mm       | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                0|mm       |
                0|mm       | npm ERR! A complete log of this run can be found in:
                0|mm       | npm ERR!     /home/pi/.npm/_logs/2020-10-24T10_02_18_961Z-debug.log
                

                Is this something about having to start the magicmirror in server mode?

                1 Reply Last reply Reply Quote 0
                • R Offline
                  ruff.hi
                  last edited by ruff.hi

                  google to the rescue … must remember to google the actual error message and not what you think the problem is.

                  I googled “rpi magic mirror cannot open display” and it displayed some posts about this very issue … one of them contained this suggestion …

                  Ok, there might be a problem with your electron installation.
                  Can you go into your MagicMirror folder and type “node serveronly”?
                  
                  Then, go back to your browser window and type in “localhost:8080”
                  

                  Jump over to the mm folder, mistype ‘note serveronly’ and then ‘node serveronly’ … and my mm is back :)

                  how to I make node serveronly permanent? Embed it in the mm.sh start script?

                  Edit: answer: that worked on reboot.

                  mm.sh now contains …

                  cd ./MagicMirror
                  DISPLAY=:0 npm start
                  node serveronly
                  
                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    ruff.hi
                    last edited by

                    I’ve installed samba file sharing on my pi and managed to connect via my win10 machine … so now I can do away with the complicated method I was using to update sh files.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @ruff.hi
                      last edited by

                      @ruff-hi if you turn on SSH on your pi, and then use WinScp or bitvise ssh clients, they give you a terminal window AND a filemanager view over the pi files… so you just click to edit, and both support drag/drop in both directions

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        ruff.hi
                        last edited by

                        I have been playing with the AfterShip module and really liking this. The mm on my desktop screen reminds me of rainmeter … passive information display.

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