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.

    Minimalist MagicMirror [Fast Boot, ReadOnly, ClientOnly, RPi3B+]

    Scheduled Pinned Locked Moved General Discussion
    16 Posts 3 Posters 5.7k 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.
    • C Offline
      CluelessGenius
      last edited by

      alright so now i have my server running and working on a windows notebook following the guide on this forum.

      i had problems getting mm to run on stretch lite and noticed how the instructions called for full stretch so i switched. now technically its running.
      but the autostart only works when booting to desktop, which costs time.
      pm2-pi.service in general eats too much damn time.
      so back to console and scratch the pm2.
      but i have yet to figure out how to run it from console at all.

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

        @CluelessGenius open a terminal window, ctrl-alt-t

        cd MagicMirror

        Then npm start

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          CluelessGenius @sdetweil
          last edited by

          @sdetweil well thanks but gtk keeps throwing warnings in my face about not being able to access display or something. and at this point i figure i dont need all this crap just a webbrowser opening a page on startup preferably from cli and as fast as possible. some ready-to-use solutions look promising. looking at fullpageos right now. some other kiosk tutorials also promising but most of them arent really paying attention to boot time as they assume a kiosk would just run all day.

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

            @CluelessGenius ok, you probably need to DISPLAY=:0

            Then the npm start

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              CluelessGenius @sdetweil
              last edited by

              @sdetweil didnt work but again i realized i dont actually need all that on the client side. the server runs perfectly on the pc and the client im gonna try using just the most basic webbrowser setup (which seems to be tough to find since no one cares about boot time when using borwser at startup and the other way around also noone cares about networking capability when looking at boot time)

              1 Reply Last reply Reply Quote 0
              • C Offline
                CluelessGenius
                last edited by

                alright its not perfect but it works now and im kinda fed up with the whole topic of webbrowsing at minimal boot time so maybe ill try some things at some point for now im calling it.

                right now i have magic mirror set up on a windows notebook (that i use for server tasks and that runs day n nite anyway) following the tutorial on this forum using git bash.

                works perfectly and i personally find it much easier to handle / make changes and so on.

                on the pi side i have a pi 3 b+ running chilipie-kiosk a ready to use kiosk image availble on github.

                it works easily and user friendly out of the box. however i did whatever i could to tweak the boot time. by deactivating every service i didnt absolutly need. i also tweaked the config.txt to disable boot delay, splashscreen, audio and bluetooth and overclocked the pi as well as the sd card (didnt even know that was a thing :D).

                oh and chilipie-kiosk implements a 15 second delay where it covers the browser windows up to hide chromiums page loading process which first i disabled but then noticed the whole screen would flicker white before the page was shown so i figured out that for my setup 5-6 also do the trick. im really not happy with that but im not going in for another try with some other browser setup.

                i might try to start chromium a bit further up the chain/ earlier.
                also i do still wanna try to make th whole thing read only / move the swapfile to a usb stick or maybe even the whole damn thing but with speed as a focus but more so for long term reliability.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  CluelessGenius
                  last edited by

                  0_1556555407023_20190429_172958.jpg
                  0_1556555542520_20190429_173047.jpg

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

                    nicely done!

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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