weather) as well as pictures from a local NAS, and shopping list items from a local server. A Raspberry Pi 4 runs MagicMirror and has its HDMI output connected to the display, as well as a USB connection that allows it to read touch events.and a network devices status monitor in the top left corner just because…I needed something to fill that part, and it would tell me when one of my (many) raspberry Pis would be down.a touch menu in the bottom right corner to access miscellaneous actions that don’t need to be shown by default.a shopping list, with support for adding items using the touchscreen.clock & weather info, as is very typical on such a display.a large area covering most of the screen to show pictures, to act as a photoframe/slideshow.on the touchscreen display itself, I kept only the features I really wanted:.While doable with a two-way mirror and IR touch frame, it was not what I needed, and who wants fingerprints all over their mirror anyway? Still, MagicMirror turned out to be a wonderfully simple framework to use, and with some tweaks to leverage the touch feature of the display, it got me exactly what I needed. I had no interest in the “mirror” part of it though, and I really, really needed to keep the touch functionality. Thousands of people have made their own, it’s a great project that is very accessible to non-programmers, and looks cool. displays hidden behind two-way mirrors that people install in their hallway or bathroom, to show information through the mirror. Originally, it’s the go-to solution to implement…well magic mirrors, i.e. I considered using Kivy since I like using Python on Raspberry Pi (who doesn’t), but while browsing around I stumbled upon MagicMirror2, and it soon struck me as the ideal solution. find a 100% robust way to put the display to sleep (for power saving) and back on, without any side effects.clean-up the interface to only keep the features I found myself ACTUALLY using everyday.Fortunately, this all-in-one touchscreen has an external micro-HDMI input, so I figured I would buy a Raspberry Pi4, and use that, bypassing the internal CPU. NOT use the sluggish integrated CPU & Android system.reuse the touchscreen display (trusty old ViewSonic VS220) itself: nothing wrong with it, and a 22” touchscreen is not so cheap.The key things I wanted to do this time around were: More on this below.Īlso, I realized that over time I stopped using/caring about half of the features I had programmed in. the proximity-sensor-based wake-up mechanism I had installed turned out not to be 100% efficient, due to the limited robustness of the internal Android system.the integrated CPU had always been a little underpowered, but after a few years of the file system aging, it became slower and slower.the wifi module integrated in the display had a tendency to drop the connection every now and then.Learning Android development and having to navigate through its oddities is not a good memory…Īnyway, flash forward a few years later and I realized that I kept having annoying intermittent issues with it: It was all based on a custom Android application, which was interesting to implement but also a LOT of work at the time. I had been using an all-in-one touchscreen display running Android for a long time as a home hub to display pictures, keep track of thing to do, control music,etc…: Power management / User presence detection.Client-side debug: Serveronly mode & using Chrome developer tools.Next will cover hardware part on making the display mirror. In such case try clearing npm cache and try again npm cache cleanĭo let me know any issues found during installation. npm version mistmatch or error in installing npm. In such case increase the github post buffer as shown below: git config -global http.postBuffer 524288000/1048576000Ģ. Sometime you may face issue in cloning like “The remote end hung up unexpectedly while git cloning”. Issue in cloning the MagicMirror repository.To test the edited config file run the following command as shown in the screenshot below Refer the screenshot below to update the configuration. To configure the Modules update config.js file. Clone the repository and check out the master branch:.Download and install the latest Node.js version:. In this post we will only cover software installation part.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |