Read the statement by Michael Teeuw here.
can i build software before hardware and how do i go about that ?
-
@mezcalbomb sure magic mirror installs on Windows You can do everything except talk to GPIO stuff cuz Windows doesn’t have any of that
The documentation shows you what to do to install on Windows
https://docs.magicmirror.builders/getting-started/installation.html#other-operating-systems
only thing not mentioned is that this application needs nodejs v 18 or v 20. Installation of nodejs is not part of the mm project
-
@mezcalbomb If you have a Raspberry Pi, I highly recommend @sdetweil 's installation script. You can set up the pi, install everything and use PuTTY and your browser of choice to do all your testing from your main desktop. Then, when you’ve got it all the way you like it, set up your monitor and frame and all and it will run locally.
I have an RPi downstairs in the hall attached to an old monitor that will (eventually) get put in a frame and mounted in the kitchen. It’s running the MM as I have it set up thus far.
Meanwhile, in my office upstairs, I have another RPi that I am using to test modules – I use PuTTY to run MM and view the console log, WinSCP to transfer files and the same editor I use for work to edit files. Then I just have a browser tab pointed at the RPi’s IP address. (Actually, I have two such tabs, one for the dev machine and one for the one downstairs.)
-
@UncleRoger that sounds interesting. but it would require me to buy 2 Rpi then which would raise the cost significant. but on the other hand if i intend do do multiple in the future it could def be worth it.
-
@mezcalbomb
You can use virtualbox (you may find images/instructions in the internet) to get a running raspberry and additionally install MM2 there…Without looking deeper in it, but https://pimylifeup.com/raspberry-pi-virtualbox/ may work.
-
@mezcalbomb If you have a windows machine I would suggest running Ubuntu on it and install MM in there to test what you want and how you want it all setup etc.
-
@mumblebaj but you can run MM on windows without any extra stuff… just a tiny set of install process changes
-
@sdetweil Wasn’t sure if the Windows install was working properly. Thought I saw in one of your recent posts that it wasn’t working properly. My bad…
-
You can build MM on any device, Windows, MacOS, any Linux Distros,
But you cannot “copy & paste” built MM to another device. (Yup… maybe Dump would be possible in some environments, but not all. Using Docker is another topic.)
Finally, you need to build your own infra of the target device.(OS setup, some configuration, WIFI setup, and so on.) Then, you have to install MM(and its dependencies like nodeJS) manually or with the help of scripts.
After that, you can copy & pastecustom.css
andconfig.js
from your test environment. But maybe 3rd-party modules should be installed again by your hand.Not as difficult as it sounds. Good luck.
-
@mumblebaj and its documented in the MM install section
https://docs.magicmirror.builders/getting-started/installation.html#other-operating-systems -
@mezcalbomb
Not necessarily… you can use the one RPi remotely. Before I got the second RPi, I was doing testing and setup on the main one downstairs. It worked fine. I have a browser tab open pointing to it so I can see what’s going on.You didn’t specify what hardware you wanted to wait on – I assumed you meant you wanted to get the MM set up before you physically built the frame and such for it. If you have an old monitor, you can plug your RPi into it or you should be able to run it without a monitor and just see the MM in the browser on your main computer.
I managed to scrounge up a second RPi which means I can break stuff on it while the first one is still (relatively) functional downstairs, even though I haven’t gotten around to building a frame or mounting it on the wall. But you could still set things up with just one RPi as long as you’re not trying to put it into production before you finalize everything. (Or if you back up your settings frequently. Get Sam’s backup scripts.)