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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • 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
                • Mykle1M 離線
                  Mykle1 Project Sponsor Module Developer @djsunrise19
                  最後由 編輯

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

                  because ubuntu doesn’t recognize the realtek chips

                  I did not know that. Are you choosing "install 3rd party drivers during installation? This is what I do know. I’ve installed ubuntu 16.04 on a 32 bit MacBook (2006), a Compaq Presario CQ57 laptop, a Dell 1505 laptop, an HP Pavilion a6130n desktop and an HPE i7 Quad core desktop. All are problem free. All are running MMM-voice and Hello-Lucy. All drivers were installed automatically with ubuntu. All microphones work, all sound out works, all bluetooth works. I didn’t do anything special. I just installed and it works.

                  I’ll ask my friend who is running an mini itx board if he has any insight on this. He is running ubuntu and Hello-Lucy without a hitch.

                  Create a working config
                  How to add modules

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

                    @Mykle1 A good point. I didn’t choose that 3rd party option. Perhaps there are some better graphic drivers, too. I think I’ll create a windows backup and give ubuntu a 3rd chance :-D. Using ubuntu mate shouldn’t be a problem? I like that interface a little bit more. If it doesn’t work again, I’ll make the windows recovery and try to tweak that.

                    Another option for voice would be an alexa skill an module. So I can use alexa for the input trigger.

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

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

                      I think I’ll create a windows backup and give ubuntu a 3rd chance :-D. Using ubuntu mate shouldn’t be a problem? I like that interface a little bit more

                      Personally, I wouldn’t care which version name or number, as long as it’s stable and MM resides there happily.

                      Another option for voice would be an alexa skill an module. So I can use alexa for the input trigger.

                      Cool. Keep me posted.

                      Create a working config
                      How to add modules

                      D 1 條回覆 最後回覆 回覆 引用 0
                      • lavolp3L 離線
                        lavolp3 Module Developer
                        最後由 編輯

                        Thanks Mykle1 for this great tutorial. You are the man!
                        Working great on Win 10 Pro 64 bit

                        How to troubleshoot modules
                        MMM-soccer v2, MMM-AVStock

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

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

                          Working great on Win 10 Pro 64 bit

                          That’s good news! Enjoy your mirror. :-)

                          Create a working config
                          How to add modules

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

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

                            walkthrough

                            I’m a Windows 10 user & your MagicMirror Walkthrough was wonderful. Worked perfectly the first run. I have been on youtube for a month or so watching other with work with MM. I would like to expand on whats was given but this is a great start.

                            Thanks for sharing your walkthrough. Incredibly easy to follow!

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

                              @lancerkid38

                              You’re quite welcome, my friend. :-)

                              Create a working config
                              How to add modules

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

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

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

                                I think I’ll create a windows backup and give ubuntu a 3rd chance :-D. Using ubuntu mate shouldn’t be a problem? I like that interface a little bit more

                                Personally, I wouldn’t care which version name or number, as long as it’s stable and MM resides there happily.

                                Another option for voice would be an alexa skill an module. So I can use alexa for the input trigger.

                                Cool. Keep me posted.

                                Made it with ubuntu. I didn’t use the java-scripted marquee fx anymore, changed it to CSS3 transitions :) - no problems there. Also the 3rd party option works very well. Now, my realtek soundcard detects my microphone. So I don’t have to use my USB mic (latency is horrible - 4-5seconds!! - with my 3,5mm pawl mic ~0,3seconds). I’m using MMM-voice with your Lucy (slightly modified) ;).

                                So thank you very much Mykle1! Any recommendations for a small 3,5mm pawl mic? Actually, I tested it with a headset mic. But it doesn’t recognize me so good, if I’m 0,5m away.

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

                                  Excellent. I suspected the drivers were the problem. :-)

                                  Yes, the whole latency thing was a bother to me. The difference in response time using a USB microphone is horrible, as you found out.

                                  I purchased this microphone when I was first working on Lucy because it was inexpensive. It works really well in a quiet environment, with a 99% success rate within 50 inches. I haven’t tested it at long distance.

                                  https://www.amazon.com/gp/product/B07673TQCB/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1

                                  Create a working config
                                  How to add modules

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

                                    Thanks for the walkthrough @Mykle1 I did most of the stuff myself but stumbled at the last step - running MM. There is no sh in Windows and I was thinking I need to install Cygwin or something similar. Then stumbled on this post.

                                    On a different note - could you suggest pointer on how to get started writing modules? Ideally, where does one begin in trying to understand the technologies that goes into MM?

                                    justjim1220J 1 條回覆 最後回覆 回覆 引用 0
                                    • justjim1220J 離線
                                      justjim1220 Module Developer @hrishim
                                      最後由 justjim1220 編輯

                                      @hrishim

                                      This is a good place to start. I still had problems, but the forums are very helpful. Good Luck!!

                                      https://github.com/MichMich/MagicMirror/blob/master/modules/README.md

                                      And you should have run-start.sh in the main MagicMirror folder… If not, probably need to First, unhide file extensions, if it’s still not there, the reinstall MM from new.

                                      0_1527463687801_Screenshot (986).png

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • A 離線
                                        arciemaps
                                        最後由 編輯

                                        Hello. Thanks for this guide. I cant seem to run this. I am a complete newbie :).
                                        I installed NodeJS and Git for Windows. I follows instructions and repeatedly (about 20x times). I also deleted the npm cache and npm under the AppData as well as other dependencies under “my username” folder. I even tried using a different computer and reformat a new computer and I get the same error every single time.

                                        I am using Windows 7, latest patch (whatever that might be as of Juine 24, 2018). For some reason, it looks like it is looking for the a certain file and looking for it in the wrong directory. You may refer to attached screenshot.

                                        Sorry if this is too noobie question, any assistance will be appreciated 0_1529891854051_starterror.png

                                        justjim1220J 1 條回覆 最後回覆 回覆 引用 0
                                        • justjim1220J 離線
                                          justjim1220 Module Developer @arciemaps
                                          最後由 編輯

                                          @arciemaps new version of MagicMirror just came out a few days ago.

                                          I would scrap everthing and start over with the instructions for the walkthrough.

                                          Only changes I would make is to be sure to get the latest version of everything, ie: nodejs, git for windows, and the MagicMirror.

                                          I think when I started to do this, I had a few problems at first, but once I got it to work, then it got a lot easier…

                                          Are you using Win & 32-bit or 64-bit???

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

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • I 離線
                                            ionut322
                                            最後由 編輯

                                            Hello guys, newbie here … I did everything by the book on my laptop and it runs fine (I want to build a mirror and Im currently testing the software) but it says hello and nothing more … except the greetings … how do I take pictures ?! … :(

                                            ? justjim1220J 2 條回覆 最後回覆 回覆 引用 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
                                            • 3
                                            • 4
                                            • 5
                                            • 16
                                            • 17
                                            • 2 / 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