Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
@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-scriptSo, I generated a script
C:\Users\USER\npmstart.sh
withcd .. 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 -
Well done!
-
@Mykle1 Fantastic, thanks!
-
-
@Mykle1 I fully am. :) Now the time has come to develop my first module.
-
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 :/.
-
@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!
-
@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?
-
@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.
-
@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?