A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Subcategories

  • 32 Topics
    236 Posts
    M
    Hi MagicMirror team, I wanted to share with the community my MagicMirror project featuring a completely custom-built LEGO frame! Hardware Setup: Display: Vertical monitor Computer: Initially Beelink (mini PC), now migrating to Dell OptiPlex D10U System: Ubuntu (Server → Desktop) PIR sensor for automatic screen on/off control via MQTT Implemented Modules: Clock & Calendar (with Italian custom calendar) Weather (Italian weather with hourly and daily forecasts) Compliments (motivational messages) News Feed (Italian news) Automatic screen control via PIR sensor and Node.js Unique Feature: The LEGO frame is completely customizable and modular. It includes: LEGO minifigures on top Colorful decorations on the sides with bricks from various collections Decorative elements (stars, clouds, stickers) Design that perfectly integrates into the home environment Technical Challenges Solved: MQTT integration for PIR control Italian weather modules configuration Optimization for vertical display Power management and automatic screen shutdown The project became not only functional but also a decorative element appreciated by the whole family. The LEGO frame makes the MagicMirror less “techy” and more accessible, especially for children. [image: 1763043465078-lego-frame.jpeg] ![alt text](image url) Thanks for this amazing open source project! Michele!!
  • Microphone advise for PI2 & voice control

    18
    0 Votes
    18 Posts
    7k Views
    M
    Yeah i know that benchmark (using that speech recognition with my mirror already) :) (newer reapeakers not included there yet they definetly perform a lot better with background music as they use the xvf3000 resulting in them nearly completely removing the background music from any samples) When I saw it it was used in a small robot with speech recognition and it absolutely failed with a distance over around 1 m, but it was on a hackathon so maybe it was just the background noise causing problems. @dvbit it just sends all four channels to the pc aswell? or does it already create just one channel out of the four?
  • Asus Tinker Board

    Moved
    27
    1
    3 Votes
    27 Posts
    22k Views
    Y
    have you guys also experienced problems with OpenGL? I used the standard MagicMirror install script and did not compile it from scratch: everything works just fine, but ht pm2_error.log shows this and I assume performance could be increased by solving that libGL error: MESA-LOADER: failed to retrieve device information libGL error: unable to load driver: rockchip_dri.so libGL error: driver pointer missing libGL error: failed to load driver: rockchip
  • arm64 version with automatic installer

    5
    1 Votes
    5 Posts
    3k Views
    K
    @stacywebb On a Rock64 with Jessie installed and updated the automatic installer halts on the Chromium install. Is there a newer script available or any help? Installing dependencies … npm WARN notice [SECURITY] lodash has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=lodash&version=3.10.1 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info. chromedriver@2.41.0 install /root/MagicMirror/node_modules/chromedriver node install.js Only Linux 64 bits supported. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! chromedriver@2.41.0 install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the chromedriver@2.41.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-08-22T08_52_01_523Z-debug.log Unable to install dependencies! root@rock64:~#
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    525 Views
  • Monitor not waking up from sleep

    8
    0 Votes
    8 Posts
    4k Views
    C
    @ndom91 try the fake KMS if you want to use TV service It’s what I do
  • Picture background

    2
    0 Votes
    2 Posts
    3k Views
    yawnsY
    Hi will. Welcome to this forum. Top right you see a magnifying glass. Click on it to open the search box. Within 10 seconds searching this forum for “background” you find this: https://forum.magicmirror.builders/topic/6744/adding-background-image ;) That should answer your question
  • Removing reflective film/coating?

    3
    0 Votes
    3 Posts
    3k Views
    Mykle1M
    @vassandrei A fresh, clean, flat razor blade held almost horizontal to the glass surface, as if you were removing a registration/inspection sticker from the windshield of your car. Perhaps a solvent that would aid in the softening of the adhesive.
  • Input ideas

    4
    0 Votes
    4 Posts
    1k Views
    M
    @richland007 expecting you have it running the “standard” way (running mm2 on your pi and directly showing it it on it aswell) You can basically choose whatever way is best suited for you.Mouse and touch obviously directly work fine. But I can’t see a reason not to use external buttons or a voice recognition. As @Sean stated they are not directly compatible with MM2 overall, but at least when running it on your device you can always use workarounds. (an example for this is using omxplayer as overlay to show videos since it performs much better then electron due to hardware acceleration support) You could for example use a program/module listening to the voice inputs and reacting by doing mouse/keyboard actions in certain places. Same for external buttons over the GPIO pins … Obviously thats more work than just connection a IR frame or a mouse, but certainly possible when you don’t want to use a mouse and for example can’t add a IR frame anymore (or just don’t want to)
  • Mirror film in United Kingdom

    14
    0 Votes
    14 Posts
    6k Views
    G
    I’m with Noel - forget it. I tried 60% film and although I was impressed with it optically, it was an absolute pain getting it perfect even when sandwiching it. I spent so much time and trouble then was never truly happy with it. When you’ve fiddled for ages you end up cleaning it every two minutes while you’re trying to get it right as it picks up the tinniest of bits. What a palaver. I bought an acrylic one from mirrorworld in the end. 300x600 was about £35y. Really chuffed
  • 0 Votes
    43 Posts
    30k Views
    qu1queQ
    Sure! thank you!
  • Smart Fan HAT?

    1
    2
    0 Votes
    1 Posts
    783 Views
    ?
    Is there anyone who has experienced with “Smart Fan HAT” (or sometimes it seems to be called “Pi Power HAT”) http://www.raspberrypiwiki.com/index.php/Smart_Fan_and_Power_Expansion_Board [image: 1532702016001-2a933cba-7a77-4282-a04b-fb13835eb862.jpg] [image: 1532702143274-41agk1any2l._sy300_ql70_.jpg] I cannot find any manual for assembly about this thing. Is there anyone who can help me?
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    173 Views
  • How do you switch on / off, wake up yours?

    15
    0 Votes
    15 Posts
    19k Views
    foxF
    @shockwave said in How do you switch on / off, wake up yours?: I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me. crontab -e 00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1 0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2 monitor-off.sh #!/bin/bash vcgencmd display_power 0 # export DISPLAY=:0.0 # xset dpms force off monitor-on.sh #!/bin/bash vcgencmd display_power 1 # export DISPLAY=:0 # xset dpms force on # xset s reset Great ! I will give it a try
  • Sensor behind glass, PIR or not.

    3
    0 Votes
    3 Posts
    2k Views
    kruemelK
    Cowboysdude is right, you have to use, for example a RCWL0516 (radar sensor) instead.
  • How can i have 2 microphones working simultaneously on a raspberry pi

    1
    0 Votes
    1 Posts
    687 Views
    richland007R
    I have a question can i use 2 microphones on a raspberry pi ?? Either usb or something like the respeaker where both mics are monitored by different modules one for MM-voice and the other for Alexa Pi … (MM-voice will let you choose a mic ID, where it listens to its wake words) I Just don’t know how to have raspberry pi’s configuration twitched, which i am sure it needs to be, to have 2 mics working??? Denis
  • Which Pi would be cheapest and funtional

    1
    0 Votes
    1 Posts
    923 Views
    4
    I know that this sounds like a dumb question but, what is the cheapest pi that I can use to make this work. What model should I purchase if i want to be able to have full functionality, including the Alexa mod. I am new to Raspberry pi, so please be specific. By full functionality, I mean, that It won’t be incredibly slow as well. Could I get a cheaper pi, missing one or two of the components, and just get a shield (is that what they are called with Pi’s?)?
  • Need Help to Get Started

    2
    0 Votes
    2 Posts
    1k Views
    bheplerB
    @duraturk - You seem to be well on your way. I honestly don’t think the monitor quality matters all that much for a normal Magic Mirror installation. And by “normal” I mean “using the standard white-on-black interface to display text” installation. Compliments, calendar, weather, newsfeed, plus some sort of transit schedule. You might notice a difference in monitor quality if you plan on watching full screen video or high resolution photos of the Earth or some such. But I doubt it. As for the size of the glass vs the size of your monitor, I think you have it right. The barely-bigger-than size will do just fine. Push comes to shove, you can remove the bezel from the monitor to reduce its size a little bit. Additionally, with a close fit you won’t have to worry about suspending or supporting your monitor behind the glass outside of the regular box that is the normal design. The “other components and cables” usually fit behind the monitor in the various gaps left by a flat wall up against a decidedly non-flat monitor case. In my experience, the depth necessary just to accommodate the monitor electronics is more than enough to fit the Pi and the power source. I have shopped with TwoWayMirrors before and they provided excellent service.
  • Mirror and bright conditions

    mirror light
    4
    0 Votes
    4 Posts
    2k Views
    brobergB
    @azrael yes, from a regular glass shop, Ask for manufacturer and product name, that way you can google the specs yourself. (Thats what I did)
  • Newbie Questions

    2
    0 Votes
    2 Posts
    1k Views
    M
    I did not use a USB mic with my raspberry pi yet, but one directly attached to the GPIO pins, but from what I heard a USB mic works but might have a bit more delay. Sound via HDMI worked perfectly fine for me For the Display it’s important to have a good black, so the mirror does not shine a lot in the black parts (especially when the monitor is not covering the whole visible area. A high brightness would be good aswell, since the mirror makes it a lot darker. Port location it would be optimal if they are not facing to the back, because the cables will make it quite thick. I don’t use any nline voice recognitions because of the privacy issue. However I guess both should work with MM2. I guess the most important question there is wether you prefer one of them (or maybe already have hardware like echos at home, since it makes no sence to have multiple different voice systems at home)
  • PIR Sensor - Sleep LCD monitor

    Unsolved monitor lcd pir
    10
    1
    0 Votes
    10 Posts
    11k Views
    qu1queQ
    Finally, I’ve finnished my script, and it works like a charm. I paste it here if someone else need it. #!/usr/bin/python3 # PACKAGES NEEDED TO WORK: sudo apt install python3 python3-rpi.gpio # My screen has an USB port, that turns on when screen is on, and off when screen is off. # So, I made a voltage divider with a few resistors to get 3 volts, to activate pin 6 (BCM) # on the raspberry Pi. In this way, the script can 'know' if Screen is ON or OFF. import RPi.GPIO as GPIO import time import subprocess from subprocess import call GPIO.setmode(GPIO.BCM) GPIO.setup(22, GPIO.IN) # PIR's output GPIO.setup(6, GPIO.IN) # Screen power detector GPIO.setup(25, GPIO.OUT) # Relay Input GPIO.setwarnings(False) while (GPIO.input(6) == 0): # IF SCREEN IS ON if (GPIO.input(22) == 1): # PIR DETECTS MOTION call(('/opt/vc/bin/vcgencmd', ' display_power', '1')) GPIO.output(25, GPIO.HIGH) # RELAY ACTIVATION time.sleep(3) GPIO.output(25, GPIO.LOW) time.sleep(60) # THE TIME WE WANT THE SCREEN TO STAY ON if (GPIO.input(22) == 1): # IF PIR DETECTS A NEW MOVEMENT, time.sleep(60) # ACTIVATES THE MIRROR ANOTHER AMOUNT OF SECONDS else: GPIO.output(25, GPIO.HIGH) # WITH THIS LINE, THE SCREEN POWERS OFF TO SAVE ENERGY time.sleep(3) GPIO.output(25, GPIO.LOW) else: GPIO.output(25, GPIO.LOW) while (GPIO.input(6) == 1): # IF SCREEN IS OFF if (GPIO.input(22) == 1): # PIR DETECTS MOTION call(('/opt/vc/bin/vcgencmd', ' display_power', '1')) GPIO.output(25, GPIO.LOW) # SAME AS ABOVE, BUT THIS TIME DON'T ACTIVATE THE RELAY time.sleep(60) if (GPIO.input(22) == 1): time.sleep(60) else: GPIO.output(25, GPIO.HIGH) # WITH THIS LINE, THE SCREEN POWERS OFF TO SAVE ENERGY, AGAIN time.sleep(3) GPIO.output(25, GPIO.LOW) else: GPIO.output(25, GPIO.LOW) call(('/usr/bin/python3', '/home/pi/SCRIPTS/pir.py'))