Read the statement by Michael Teeuw here.
Getting started with MM - ?
-
Thanks!
Is there a “How to get started” sort of guide somewhere that I should use as a starting point? I see mention specifically of Raspbian, but what other minimum requirements are there? Pi2? Pi3? Pi4? Any recommendations for specific Micro SD cards based on longevity, wear, and price for this effort? Or, should I just go with a DLC type of card if I can find what I need at a reasonable cost?
-
@ember1205 any of the above work, and laptops, desktops, and just about any other single board computers (SBC’s) I run MM on linux, ubuntu, raspian, and macOS, on virtual machines (VMWare player is free for single instance), and VirtualBox, and Windows 10 virtual env.
i usually look at the sd card speed vs price… faster is better. I have had 3 fail over time. (2 in the same week, but bought at different times)
I’ve had trouble flashing OS images onto cards bigger than 32gigsee the show off section for info from other users…
https://forum.magicmirror.builders/category/12/show-your-mirrorI use network connection to access and edit files on the sbc… using bitvise (free tool) that gives both a windows file type interface for edit, and a command shell thru ssh … so I use my windows machine as the work system .
-
I started with a Raspberry Pi Zero Wireless. It was possible to run MagicMirror and the modules on the device , but I found that it was a bit under powered. It was very inexpensive though from Adafruit. I switched to a Raspberry Pi 3 Plus and it works well. Class 10 MicroUSB cards are what you want (manufacturer is less relevant) to run and no less than 16 Gig so that you have room to add more modules as you develop your Magic Mirror.
Another thing is that even though the Micro SD cards can take a few abrupt power offs they will need to be shut down gracefully using either a sudo shutdown -now or using the GUI to perform a shutdown.
People have had thier Micro SD cards fail after too many presses of the power button or removing power from the Raspberry Pi abruptly.
Fingers crossed I have not experienced this to date.
-
Thanks. I have a Pi2 and Pi3, so I can use those. I also have some different cards that I can use for initial testing and such, but I’ll look for something a bit more “durable” in terms of the card itself.
Why would a card fail from a power-off? I could see file corruption, but straight up failure? And, since I don’t actually have adapters with a power button, my choices would only be a cord pull or graceful shutdown. The last time I was testing some functionality for a Pi, I ended up building a simple web system that allowed me to connect from any device and click/tap to initiate a shutdown. I could certainly go that route again if need be.
-
@ember1205 said in Getting started with MM - ?:
Why would a card fail from a power-off?
i don’t know… but I have 2, fairly new, (month) both 32 gig, differnt vendors, that are completely dead now… not accessible.
-
Yup. What @sdetweil posted. They will fail catastrophically at some point if they are abruptly powered off too many times. Do I know why? No.
Dont worry there is a great module MMM-RemoteControl that allows one to access thier MagicMirror and perform a shutdown. This module allows any LAN/Internet connected device -phone, tablet, desktop, laptop to access a webpage that will display many functions that one can perform on the MagicMirror . Like turning a module on or off. Shutting down the mirror gracefully , etc.
-
Thanks - I’ll keep that module in mind and be sure to load it.
I wonder if the card failure is the result of a disk write operation being in effect at the time of power-off and the level of corruption actually ends up causing the card to be converted into a permanent read-only device (with the corruption). I have seen a SSD drive fail like this, although I don’t believe that it had anything to do with powering off.
At any rate - I’m usually good about having things like this plugged into a UPS and shutting them down properly. :)
-
@ember1205 I read somewhere that there is a utility to access the MicroSD card at a low level and potentially resurrect it. I did not dive to deeply into that as I have not had one fail and they are relatively inexpensive to replace.
I had a USB stick that was recognized at a severely diminished capacity than its actual listed capacity so thats what had me put my toe in to see if I could low level format it to the proper capacity.