Read the statement by Michael Teeuw here.
Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
-
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 -
@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
-
@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?