MagicMirror Forum
    • 最新
    • 標籤
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • 註冊
    • 登入
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

    已排程 已置頂 已鎖定 已移動 Troubleshooting
    324 貼文 55 Posters 783.4k 瀏覽 59 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Mykle1M 離線
      Mykle1 Project Sponsor Module Developer @Damian
      最後由 編輯

      @Damian said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7:

      Yeah, your guide did indeed work, I just overlooked the obvious that I’m back on a PC, with a fresh win7 install, and need to allocate what opens what first. I was just way too excited to see MM through a PC, my brain was far too much on the end game :-(

      Been there. Done that. No worries.

      Thanks again for your help.

      You’re welcome, mate. Cheers!

      Edit:
      Notepad++
      Brilliant, just brilliant. :-)

      There are other text editors for coding (my son uses Atom) but I have taken a liking to Notepad++. I think it’s safe to say that you’ll enjoy it too.

      Enjoy your PC/mirror.

      Create a working config
      How to add modules

      1 條回覆 最後回覆 回覆 引用 1
      • L 離線
        luizcarlosnery
        最後由 編輯

        Hello mykle1,
        I followed your guide in: https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners, however my problem is not installing modules, I can install almost all, but some do not work … like, voice-control and play-music for ex …
        Remembering that I’m following your guide complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10
        My MagicMirror is in Windows 7 64Bits.

        Thank you so much.

        Mykle1M 1 條回覆 最後回覆 回覆 引用 0
        • Mykle1M 離線
          Mykle1 Project Sponsor Module Developer @luizcarlosnery
          最後由 Mykle1 編輯

          @luizcarlosnery said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

          some do not work … like, voice-control and play-music for ex …

          So, based on your comments I can assume that your MM software is up and running. Some modules are a bit more complicated than others to get working. Perhaps voice-control and play-music are 2 such modules. I don’t use them so I am unable to help you with them. Pay particular attention to the README files that come with them.
          You can post another topic in TROUBLESHOOTING and ask for help there. Hopefully, someone with experience with those modules can help you.

          Create a working config
          How to add modules

          1 條回覆 最後回覆 回覆 引用 0
          • B 離線
            barnosch
            最後由 編輯

            great tutorial. Will give it a try later on.
            I made the complicated way around it and created a VirtualMaschine with Debian, with a standalone MM installation.

            This natively running thing is way better. Thanks

            Mykle1M 1 條回覆 最後回覆 回覆 引用 1
            • Mykle1M 離線
              Mykle1 Project Sponsor Module Developer @barnosch
              最後由 編輯

              @barnosch said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

              great tutorial. Will give it a try later on.
              I made the complicated way around it and created a VirtualMaschine with Debian, with a standalone MM installation.
              This natively running thing is way better. Thanks

              You’re welcome.

              Yes, MM runs beautifully on a PC running windows. Alternately, if you prefer Linux, you can install uBuntu on a PC. That also runs beautifully.

              Create a working config
              How to add modules

              1 條回覆 最後回覆 回覆 引用 0
              • B 離線
                barnosch
                最後由 編輯

                Runs perfect on a Win 10 x64.
                One thing for me is, i don’t like the fullscreen, because i want to test some stuff before i bring it to the real MM.
                Try instead of
                “npm start” a
                “node serveronly”
                This launches the MM not in full screen. You can point now to your browser and type
                localhost:8080
                This will show your MM installation in your favourit browser.
                In my case, the better option :)

                1 條回覆 最後回覆 回覆 引用 1
                • WominatorW 離線
                  Wominator
                  最後由 Wominator 編輯

                  Hi Mykle1!
                  Great job! I installed it on an older Lenovo Miix 8 tablet as my “kitchen mirror” and it works smooth.
                  Have you or anyone else tried to make a “start.bat” or something like that to auto start it with windows or by a shortcut on the desktop?
                  That would be a great improvement.
                  Thanks in advance and regards
                  womi

                  If you want to make it idiot proof, someone will build a better idiot.

                  Mykle1M 1 條回覆 最後回覆 回覆 引用 0
                  • Mykle1M 離線
                    Mykle1 Project Sponsor Module Developer @Wominator
                    最後由 編輯

                    @Wominator said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

                    That would be a great improvement.

                    Well, I never did, but you can try this. I can’t test at the moment, but it should work. Save this as a .bat file and put it on your desktop.

                    :: This should work if this bat file is on the desktop
                    :: Also, CMD window needs ability to run bash commands (done during install of GIT)
                    
                    :: Start CMD window
                    start cmd.exe /k
                    
                    :: cd back one directory
                    cd ..
                    
                    :: cd to MM directory
                    cd MagicMirror
                    
                    :: start MM
                    npm start
                    

                    Create a working config
                    How to add modules

                    WominatorW 1 條回覆 最後回覆 回覆 引用 0
                    • WominatorW 離線
                      Wominator @Mykle1
                      最後由 yawns 編輯

                      @Mykle1
                      Hi!
                      Thanks for the quick reply!
                      It didn’t work out that way. I found a documentation on:
                      https://stackoverflow.com/questions/21564275/windows-shortcut-to-run-git-bash-script

                      So, I generated a script C:\Users\USER\npmstart.sh with

                      cd ..
                      cd ~/MagicMirror
                      npm start
                      

                      Afterwards I generated a shortcut on the desktop with following path:
                      "C:\Program Files\Git\bin\sh.exe" -l -i "C:\Users\USER\npmstart.sh"

                      And it works. It starts the Bash and runs MagicMirror and leaves the Bash open in the background, so I can get back to it by pressing the Windows-Button. (remember, I run the MagicMirror on a tablet without keyboard and mouse)
                      In the Bash, I can stop MagicMirror with the onscreen keyboard by pressing Ctrl+C.

                      Regards
                      womi

                      If you want to make it idiot proof, someone will build a better idiot.

                      Mykle1M 1 條回覆 最後回覆 回覆 引用 2
                      • Mykle1M 離線
                        Mykle1 Project Sponsor Module Developer @Wominator
                        最後由 編輯

                        @Wominator

                        Well done!

                        Create a working config
                        How to add modules

                        1 條回覆 最後回覆 回覆 引用 0
                        • H 離線
                          Henrik @Mykle1
                          最後由 編輯

                          @Mykle1 Fantastic, thanks!

                          Mykle1M 1 條回覆 最後回覆 回覆 引用 0
                          • Mykle1M 離線
                            Mykle1 Project Sponsor Module Developer @Henrik
                            最後由 編輯

                            @Henrik

                            You’re welcome, mate! Enjoy your mirror. :-)

                            Peace!

                            Create a working config
                            How to add modules

                            H 1 條回覆 最後回覆 回覆 引用 0
                            • H 離線
                              Henrik @Mykle1
                              最後由 編輯

                              @Mykle1 I fully am. :) Now the time has come to develop my first module.

                              1 條回覆 最後回覆 回覆 引用 0
                              • D 離線
                                djsunrise19
                                最後由 編輯

                                I switched from raspberry to a mini-itx windows10 system, too. With my raspy system I had way too much performance issues. Thanks for your walkthrough, it works really well. But, modules like MMM-voice or Hello Lucy won’t work, am I right? That would be too bad :/.

                                H 1 條回覆 最後回覆 回覆 引用 0
                                • H 離線
                                  Henrik @djsunrise19
                                  最後由 編輯

                                  @djsunrise19 Maybe a bit late, but are you sure the performance issues were not caused by the incompatible Electron version? That seems to have been fixed in the latest MM (by downgrading Electron).

                                  Anyway, MMM-voice should work, but it’ll probably be a lot of hassle to get it going!

                                  D 1 條回覆 最後回覆 回覆 引用 0
                                  • D 離線
                                    djsunrise19 @Henrik
                                    最後由 編輯

                                    @Henrik No, I tried a lot of electron versions, a lot of raspberries, ATB, odroids. I created that electron topic :-D. I like it smooth, none of them was. All in all I have to say, that electron seems to be the problem. The renderer / the performance is too bad. Within chrome only, the website runs super smooth. With electron its a huge difference. Even under windows (8GB RAM, G4600 CPU), electron doesn’t perform like chrome does. But it’s okay, and expensive, :-D. MagicMirror V1 was a website only. Way better than V2 with the electron framework (only the performance aspect).

                                    Perhaps @Mykle1 has an idea for MMM-voice under windows?

                                    Mykle1M 1 條回覆 最後回覆 回覆 引用 0
                                    • Mykle1M 離線
                                      Mykle1 Project Sponsor Module Developer @djsunrise19
                                      最後由 編輯

                                      @djsunrise19 said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

                                      Perhaps @Mykle1 has an idea for MMM-voice under windows?

                                      The problem with MMM-voice under windows is dependencies. The installer script will not work under Windows, only Raspbian or linux. So, unless you can install the dependencies independent of the installer, you’re out of luck. I don’t even know if the dependencies are available for Windows. I never really tried to find out. Let me know if you do.

                                      Now that you are running on a mini-itx board, you do have some options. You could make it a dual boot machine, which is fairly simple. One side Windows, one side ubuntu. Then you can run MMM-voice with Hello-Lucy like a champion.

                                      Create a working config
                                      How to add modules

                                      D 1 條回覆 最後回覆 回覆 引用 0
                                      • D 離線
                                        djsunrise19 @Mykle1
                                        最後由 djsunrise19 編輯

                                        @Mykle1 Thank you! First I installed ubuntu (and ubuntu mate) on that system. But there were some graphic-issues (f.e. marquee-fx in display-rotate mode looks very awful) and my microphone doesn’t work. I checked 4 or 5 of them. I thought, MMM-voice works with windows as well.

                                        After that I decided to go with windows. It works pretty well. More performant than ubuntu. There is only one problem: Each 10min (or something like that) there are very much git processes within the electron process (cpu usage is 70% for a few seconds, windows antivirus checks something too; MM2 lags a little bit). Don’t know why. Do you have the same with your windows environment?

                                        Mykle1M 1 條回覆 最後回覆 回覆 引用 0
                                        • Mykle1M 離線
                                          Mykle1 Project Sponsor Module Developer @djsunrise19
                                          最後由 Mykle1 編輯

                                          @djsunrise19

                                          I am no longer running MM on Windows. It doesn’t make sense to me. I’ve become a huge fan of ubuntu. I would recommend finding the version that works best for you. It takes a little time but it’s worth it. For me, ubuntu 16.04 is rock solid and works on every machine I’ve installed it on. I had some trouble with earlier and later versions.

                                          IMHO, for MM, ubuntu is the way to go. You might have some trouble initially but once you find the right combination you’ll be happy with it. And hey, I think you can rotate the screen from inside ubuntu preferences. I have 2 microphones. One usb and one 3.5mm jack version. Both work with no issue under ubuntu. Even the laptops I use with ubuntu have no issue with the integrated microphones.

                                          Create a working config
                                          How to add modules

                                          D 1 條回覆 最後回覆 回覆 引用 1
                                          • D 離線
                                            djsunrise19 @Mykle1
                                            最後由 編輯

                                            @Mykle1 I tested two Mainboards, because ubuntu doesn’t recognize the realtek chips. Also I rotated the screen within the ubuntu options. But, thanks for your input. Who knows, if I’ll switch again ;).

                                            Mykle1M 1 條回覆 最後回覆 回覆 引用 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 💗

                                            註冊 登入
                                            • 1
                                            • 2
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 15 / 17
                                            • 第一個貼文
                                              最後的貼文
                                            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