Raspberry pi 4 smart mirror12/18/2023 ![]() ![]() I did face some challenges, especially when it comes to voice recognition and optimizing performance on the Raspberry Pi. I've also added a voice assistant using Snowboy and Wit.ai for hands-free interaction. ![]() I'm incorporating various modules into my smart mirror, such as weather updates, calendar events, and news headlines. Configuring modules and customizing the layout has been a fun learning experience. I've set up a Raspberry Pi OS and installed MagicMirror², a popular open-source smart mirror platform. I've been working on the software side of the project. The assembly was straightforward, and I've managed to mount the LCD panel behind the mirror successfully. I've selected a two-way mirror, a Raspberry Pi 4, a high-resolution LCD panel, and a motion sensor for this project. It's been an exciting journey so far, and I've made significant progress since my last update. ![]() My mirror weighs 10 kg.I wanted to share an update on my ongoing project to build a Raspberry Pi-powered smart mirror. That should produce less light on the black area, consume less power and should be lighter and thinner. ![]() My experience now is to better use a real led monitor instead of a lcd monitor. To turn the screen by 90° i added the following lines into /boot/config.txt. Therefore modify the file /etc/kbd/config and changes this lines:Īnd add this additional lines to the file s s -dpms Next i remove the default blank screen on 6 min of inactivity described on this page. Mirror="file:///home/pi/SmartMirror/smart_mirror.html" Therefore add following lines on ~/.bashrc: Now the raspberry pi should show the midori browser on startup and also hide the mouse cursor on inactivity by unclutter. Git clone edit the file ~/SmartMirror/smart_config.js to set the openweatherapi key and the remote-control-system security token: To configure the raspberry pi you have to clone the github repo: This smart home solution defines several controllable units, for example media-server or wireless socket in a configuration-xml and makes all available via a restful web api. Music and switch information comes from my smart home server based on this githup repo. Time comes from the system time of the computer. This is a very minimalistic dashboard that just shows the time, weather, music and switches. The source code is hosted in a gitpub repo. For a raspberry pi i recommend to use midori. The software of the smart mirror is completely based on html, javascript and css. But as i already mentioned, reason to build the mirror was the unused monitor, raspi and led-strip so i invested 116€ ~ 122$ to give them a new task. This sums up to 259€ ~ 272$ assuming you have all the small stuff like tools, wooden glue, screws etc. Wooden slats (already cutted into right length) – 15€ ~ 15.7$.There is a list that contains the main costs of the project. Led-strip with controller, see this project RC-controlled-LED-strip.If you want a background light by a led strip, you need also the following Wire or cord for mounting as well as screw anchors.Wood glue and wooden plug to glue the picture frame and the wooden border together.Black duct tape to avoid direct glass to metal contact.Angle bracket to hold the monitor in the frame.Wooden slats to extend the picture frame so it can contain the monitor.One-way mirror (got one from in germany), but you can also use acrylic see-through mirror.Picture frame (got one from in germany).Raspberry Pi WIFI dongle (except for Raspberry Pi 3, this one has included WIFI).To create the smart mirror you need the following stuff ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |