Read the statement by Michael Teeuw here.
Frameless Bathroom Mirror - Part 2: Hardware and Build
-
Since my Magic Mirror went live, it received 2 major upgrades:
The monitor died and was replaced
Still not sure on how it died. I suspect that the button control caused a short circuit with the metal casing of the monitor control box. Or maybe it was moisture that got into it after all.
Anyway, I replaced it with a much slimmer monitor of the same size. Another advantage was that it had a well sealed external power brick instead of the somewhat sketchily mounted power board of the original monitor.
This is what I got:
https://www.amazon.de/gp/product/B07C4B1ZXC/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Very cheap, very slim, way lighter, way better sealed and brighter than the first monitor I headThe Raspberry is now running from HDD
The raspberry 2 kept crashing. All the time, every other day at least. Checked and changed power supply, no improvement. Re-wrote image on sd-card, no improvement. Updated os and mm, no improvement. I even set up a cron job to reboot once per night. Nothing helped.
So I investigated and read a lot on how an sd card isn’t really suitable to run an os over a long time (at least that is what I made of it). So I decided to run it from a hdd. Was originally planning to go for an sdd, but decided well I don’t want to spend another 50-100 EUR, including an usb adapter. So I digged up a 2.5’’ HDD which I had laying around (to be precise: being uselessly sticked to the back of my tv). Looked up a bunch of tutorials on how to run a raspberry 2 from HDD. (Note: it actually still boots from sd, but hands over control to HDD immediately after startup). It involves:- burning a new raspberry os image on the HDD and on the sd card
- attaching the HDD and starting up the pi
- with sudo blkid getting and writing down the PARTUUID of the rootfs partition of the HDD
- replacing the PARTUUID of the sd card with the one written down in the previous step in both:
- the /boot/cmdline.txt, and also in the /etc/fstab
After that you should expand the size of the filesystem on the HDD, since it has initially only the size of the image you burned on it. Note, this can’t be done with raspi-config, but with fdisk
It looks like (and honestly is) quite some task to get it to run (at least it was for me, a half-experienced Linux user). I found it worth to investigate though, educate myself about Linux, the file system, and other aspects and spend some time with trial and error.
You will find plenty of instructions on the internet, some more useful than others, but you will find your way through it, too.Finally it is running really fine now. I had no crashes since (and it is over a week running now), so I guess it is worth the effort. :-)
Sure, I could have thrown out the Raspberry pi 2 and replaced it with a 4, seeing if that helps, but I really wanted to see if I can make it work with the good old pi2.So I ended up installing the mm from scratch (now on HDD), thereby getting the latest version, fetching the latest versions of the modules I use, redoing the modifications I did to them, re- and re- and rearranging the modules until I finally had it running as I wanted it to.
Here is a pic with the new monitor, the HDD and some cleaning up:
And here is the front, one more time:
Here is a current snapshot from the browser (with the webradio running):
Cheers!
-
hi @Meidlmarkus very nice mirror well done.
quick question, are you having issues with your wifi? is your raspberry pi dropping wifi? I have my smart mirror in the bathroom infront of the tiles and I am thinking it could be the tiles that is causing the wifi drop outs.
-
Toller Spiegel, großer Respekt @meidlmarkus
Eine Frage hätte ich aber - welches Web-Radio Modul verwendest du?
Viele Grüße -
hi @bachoo786
sorry for the late late reply, haven’t been on the forum for quite some time.
Yes, I did have problems with dropping wifi. Not quite sure what it caused, might be the aluminium frame, maybe the mirror coating on the glass, idk. Had to replace the wifi module. Best of luck and cheers
Markus -
Hallo @HansB
danke fürs Lob, sorry für die superspäte Antwort…
Ich verwende das MMM_Webradio Modul. Habe es ein wenig verändert, um die Logos für die Radiostationen anzuzeigen. Aber so wie es ist funktioniert es auch gut (habe ehrlich gesagt schon lange nicht mehr meine Module aktualisiert, weiß daher nicht, wie es aktuell tut)
Viel Erfolg und liebe Grüße