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.

    MM and UBUNTU. Made for each other.

    Scheduled Pinned Locked Moved General Discussion
    28 Posts 12 Posters 19.8k Views 11 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.
    • kruemelK Offline
      kruemel
      last edited by kruemel

      And what are your solutions for GPIO related stuff like temperatur sensor or PIR-Sensor (infrared or radar).
      Do you always use the laptop screen or how does this look?

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

        @Mykle1 was so right…LOL

        Full time Dad, DJ and entertainer and lover of technology.

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

          Habe you compared the Laptops Power consumption with the raspberries? ;)

          For sure it runs way better, but if you use just normal stuff, it is absolute not necessary imho.

          Most of us use the mirror on the wall, without tons of cables (execpt Power) viewable. With a Laptop you have to be more tricky.

          But nice to know that it runs easily With Ubuntu :D

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

            @kruemel said in MM and UBUNTU. Made for each other.:

            And what are your solutions for GPIO related stuff like temperatur sensor or PIR-Sensor (infrared or radar).
            Do you always use the laptop screen or how does this look?

            I don’t need a GPIO solution for temperature sensors. My thermostat already tells me that information. PIR sensor for motion? Not necessary. A simple usb webcam will do the trick. You can use the laptop display or you can use an external monitor when the laptop board supports that. I haven’t seen one that doesn’t.

            Create a working config
            How to add modules

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

              @barnosch said in MM and UBUNTU. Made for each other.:

              Habe you compared the Laptops Power consumption with the raspberries? ;)
              For sure it runs way better, but if you use just normal stuff, it is absolute not necessary imho.
              Most of us use the mirror on the wall, without tons of cables (execpt Power) viewable. With a Laptop you have to be more tricky.

              You’re not just running a raspberry. You’re also powering a display. I have not compared but I am sure there is a nominal difference. If there is a difference, the performance boost outweighs the cost difference.

              Normal stuff? There are single modules that the Pi struggles with. I don’t accept stuttering transitions, RAM inadequacies, system overload and heat issues just to use a Pi.

              I don’t know how you speak for “most of us”, but ok. Disassemble the laptop. Fits behind mirror as easily as a Pi. Only the power cord showing. How is this different from a Pi mirror? It’s not.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • P Offline
                pepebc
                last edited by

                Raspberry pi is fine to mount a prototype, but with MM and Kalliope shows freezing moments …
                On the laptop: everything is easy and the answer is immediate.
                My next MM with Kalliope (voice) will be in a mini PC. More expensive, yes, but it compensates the normal fluency that these app requires

                1 Reply Last reply Reply Quote 0
                • kruemelK Offline
                  kruemel @Mykle1
                  last edited by

                  @Mykle1 How do you did the wake up with a webcam?
                  Let’s say a notebook has always an integrated webcam on top of the display. How do you wake the screen up like a PIR-Sensor does?

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

                    @kruemel

                    How do you wake the screen up like a PIR-Sensor does?

                    I use voice commands with Hello-Lucy to put my displays to sleep and to wake them up. I use this on my Pi mirror. https://github.com/alexyak/motiondetector

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mdhenriksen
                      last edited by

                      @Mykle1 Using old laptops makes sense to me too. But i do have one question; how do you manage heat and fan noise? I’m concerned that an old laptop gets hotter than a Pi behind a mirror and if its using a HDD and has a fan it must either get noisy or hot (if you disconnect the fan)

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

                        @mdhenriksen

                        I have not found heat to be an issue at all. In fact, by removing the motherboard from the case, the temps are actually lower, even when placed behind a mirror. As long as the construction of the mirror is well ventilated, I don’t think that would ever be an issue.

                        I do not remove the fan. I’ve found that in a normal environment, (people, tv, ambient noises, etc…) the fan noise isn’t even noticeable. Only when the house, or room, is completely silent is the fan audible. For me, this is not an issue when a mobo mirror outperforms any Pi mirror, hands down.

                        Note: There are silent fans these days but I have never used them with a mirror. I’ve never felt the need to but that is certainly an option for anyone.

                        Create a working config
                        How to add modules

                        M 1 Reply Last reply Reply Quote 1
                        • M Offline
                          mdhenriksen @Mykle1
                          last edited by

                          @mykle1 said in MM and UBUNTU. Made for each other.:

                          @mdhenriksen

                          I have not found heat to be an issue at all. In fact, by removing the motherboard from the case, the temps are actually lower, even when placed behind a mirror. As long as the construction of the mirror is well ventilated, I don’t think that would ever be an issue.

                          I do not remove the fan. I’ve found that in a normal environment, (people, tv, ambient noises, etc…) the fan noise isn’t even noticeable. Only when the house, or room, is completely silent is the fan audible. For me, this is not an issue when a mobo mirror outperforms any Pi mirror, hands down.

                          Note: There are silent fans these days but I have never used them with a mirror. I’ve never felt the need to but that is certainly an option for anyone.

                          Nice to know! Got a old laptop I’m gonna try it with then! Using MMM-pages and MMM-voice, so a more powerful CPU would be preferred.

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

                            @mdhenriksen said in MM and UBUNTU. Made for each other.:

                            Using MMM-pages and MMM-voice, so a more powerful CPU would be preferred.

                            That is largely the reason I moved away from the Pi. (I still have my first Pi mirror). I’ve been using MMM-voice and Hello-Lucy for about a year now and I could not be more pleased with the results and the performance.

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 1
                            • bheplerB Offline
                              bhepler Module Developer
                              last edited by

                              I did learn the hard way that a miniPC running an Intel Atom processor and integrated graphics is not suitable for Ubuntu and therefore the MagicMirror. The IGP does not have drivers in Ubuntu 14, 16, nor 18 and uses most of its power to render the desktop.

                              I might put the server version on it and turn it into a gateway or something.

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

                                @bhepler said in MM and UBUNTU. Made for each other.:

                                Intel Atom processor and integrated graphics is not suitable for Ubuntu and therefore the MagicMirror.

                                The only two laptops that I’ve had trouble with are both ThinkPads. I struggled with them and eventually gave up.

                                However, I did have success with a little piece of $h1t with specs similar to what you mentioned.

                                https://www.youtube.com/watch?v=QZ8t3UoKYu0

                                Total cost = $11

                                Specs:

                                ASUS Eee PC
                                Intel Atom CPU N570 @ 1.66GHz x 4
                                2GB of RAM
                                Intel Pineview M Graphics
                                Display 8.5" width by 5.25" height
                                250GB HD
                                Integrated microphone
                                Built-in WiFi
                                VGA port (for external monitor)

                                $11 on craigslist

                                64-bit Ubuntu 14.04 LTS
                                MagicMirror v2.1.3

                                Modules:

                                MMM-Advice
                                AlarmClock
                                calendar
                                clock
                                compliments
                                Cocktails
                                EARTH
                                EasyBack
                                Events
                                FMI (Find My iPhone)
                                ImageSlideshow
                                Lunartic
                                newsfeed
                                NOAA3
                                PC-Stats
                                voice w/ Hello-Lucy
                                WunderGround

                                Create a working config
                                How to add modules

                                bheplerB 1 Reply Last reply Reply Quote 1
                                • bheplerB Offline
                                  bhepler Module Developer @Mykle1
                                  last edited by

                                  @mykle1 - Sigh. I suppose I can try again. Did you have to do any fiddling to get the OS to use a graphics driver?

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

                                    @bhepler said in MM and UBUNTU. Made for each other.:

                                    Sigh. I suppose I can try again. Did you have to do any fiddling to get the OS to use a graphics driver?

                                    No sir. I did a standard install of ubuntu 16.04LTS (I only use this version. I tried 18.xx and had trouble) During the setup of the installation there is a click box for “use third party drivers” or something to that effect. I always click (enable) that option. I don’t know if it’s worth mentioning but I always use a wired internet connection during installation. It’s just faster that way as it updates everything.

                                    Let me know how you make out. :thumbsup:

                                    Create a working config
                                    How to add modules

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

                                      Recommendation Update

                                      Actually, this is more of a recommendation confirmation. While you can use ubuntu 18.xx and MM together, I don’t recommend it. I just did a clean install of ubuntu 18.04. Newest stable node and npm. MM v2.6.0. Yes, it runs MM but I don’t see any benefit to using ubuntu 18.xx over 16.04 LTS. I don’t like the changes to the UI in 18.xx and I really don’t like dealing with all the vulnerabilities.

                                      Ubuntu 16.04 LTS has a more intuitive UI (IMHO) and there are NO vulnreablilities to deal with. NONE!

                                      So, for the time being, I’m staying with Ubuntu 16.04 LTS. It’s trouble free and MM loves it, too.

                                      I did a test install of Ubuntu 18.04 on a machine I found in someone’s trash. That’s when the vulnerabilities reminded me of why I don’t like 18.xx. Look at the specs. One man’s trash is another man’s treasure.

                                      0_1553376079773_GarbagePC.png

                                      Create a working config
                                      How to add modules

                                      justjim1220J 2 Replies Last reply Reply Quote 0
                                      • B Offline
                                        batfastard
                                        last edited by

                                        not gonna lie, i actually have a i5 mini pc laying around and have been fiddling with the pis for weeks now trying to get everything dialed in and your post got me a little pumped to be able to use this pc i got.

                                        i got ubuntu installed no problem…

                                        i know NOTHING about it so i couldnt even get past how to install the wireless adapter lol…

                                        so im scrapping this and going back to install raspbian on the pc and will try it at that point.

                                        1 Reply Last reply Reply Quote 0
                                        • justjim1220J Offline
                                          justjim1220 Module Developer @Mykle1
                                          last edited by

                                          @Mykle1 Nice Find! :)

                                          "Life's Too Short To Dance With Ugly People"
                                          Jim Hallock - 1995

                                          1 Reply Last reply Reply Quote 0
                                          • justjim1220J Offline
                                            justjim1220 Module Developer @Mykle1
                                            last edited by

                                            @Mykle1

                                            I had version 18.xx installed, up and going just fine on my dev machine

                                            I am used to dealing with vulnerabilities, since I mainly work with Windows

                                            But, I just have my mindset to run npm audit fix --force & npm i lodash@4.17.5 -g & npm i acorn@^6.0.0 -g after every install of MM2. only takes a few minutes extra and it fixes all the vulnerabilities. Except for a few that come with some of the modules. With Ubuntu 18.xx, if I remember, I think just the npm audit fix --force was all I needed to do.

                                            "Life's Too Short To Dance With Ugly People"
                                            Jim Hallock - 1995

                                            Mykle1M 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
                                            • 1 / 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