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

Subcategories

  • Any suggestions or wishes for the forum?

    103 Topics
    720 Posts
    S
    @OrangeMirror the current docker setup will only work for multiple instances IF you use the MM_CONFIG_FILE environment variable to run instances off different config files, or the MM_PORT env variable to override the port if using the same config.js all the files will come from the ONE folder tree ~/magicmirror so this means you would have to setup multiple entries in the compose.yaml to launch multiple instances (with the different config parms) You have to change the container name too this is because all the DATA used by the container is external (on docker host filesystem) and not IN the container an example NOT using docker, but same idea here https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples
  • Monitor vertical sync

    1
    0 Votes
    1 Posts
    270 Views
    A
    My setup: Raspberry Pi 3b+, Acer 17" VGA monitor, HDMI->VGA converter from Pi to monitor, PIR sensor (script uses vcgencmd display to turn on/off), monitor is portrait mode (so turned 90 degree). My issue: when the PIR sensor detects motion, the Pi script enables the display. The monitor tries to “auto-config” at that time. Most of the time, all is well but sometimes, the monitor auto-configs such that the magic mirror image shown is shifted up a bit. That is, the monitor seems to sync say 2cm down from the top of the expected image. At the bottom of the monitor, you can see a dim black 2cm bar where the bottom 2cm of the image should be. Hope that’s clear. :) I tried playing with hdmi_* settings in the Pi boot/config.txt file but have had no luck. It’s an old monitor but when used with my windows PC, it worked fine.
  • MMM-CalenderExt2 width

    1
    0 Votes
    1 Posts
    313 Views
    F
    Hello guys, i have a question with reference to the Magic Mirror module MMM-CalenderExt2. Is it possible to change the with of the single days in the view configuration “month”. Thanks. Best regards.
  • My Mirror reboots for no reason

    4
    0 Votes
    4 Posts
    922 Views
    thgmirrorT
    @lhops for a small protocoll add the following lines to crontab (enter crontab -e at the prompt): @reboot echo “---- start ----” >> proto.txt */5 * * * * date >> proto.txt */5 * * * * vcgencmd measure_temp >> proto.txt That moves the date and the temperature to a file called proto.txt every 5 minutes (and an eyecatcher at the start of the raspberry)
  • raspi 64 bit available

    15
    2 Votes
    15 Posts
    6k Views
    rejasR
    @karsten13 thanks for the info. so i guess for the docs page it will be a “do it via the ui” info instead of the good old “edit this file” :-)
  • MagicMirror Voice Control with Siri and Google Assistant

    6
    1 Votes
    6 Posts
    5k Views
    doctorwhenD
    @bugsounet Sorry, i am not sure i understand. Is it your wish that people not mention your modules on this forum? If so, I was unaware and apologize. But, I don’t understand why. It is certainly not part of the MIT license under which your modules are distributed. Still, I suppose out of courtesy one might wish to conform to your request. Anyway, I’m a bit confused and perplexed and sorry if I did something wrong.
  • Electron Security Issues

    18
    2
    0 Votes
    18 Posts
    5k Views
    F
    @karsten13 I would normally agreee, but this is only to satisfy weird demands on SSL, not for any form of security and the mirror is not externally available.
  • Having issues with pm2

    7
    0 Votes
    7 Posts
    1k Views
    delta 1D
    @sdetweil Ok thanks much I’ll try
  • Stack rank modules

    11
    0 Votes
    11 Posts
    7k Views
    karsten13K
    @jalibu see https://github.com/MichMich/MagicMirror/issues/2545
  • new raspi OS version release Jan 28

    5
    0 Votes
    5 Posts
    1k Views
    BKeyportB
    @sdetweil I can’t find it (I’ve reverted to previous anyway), but bullseye actually runs OMX with a couple of library fixes, if I recall right, just takes a symlink or two to match up the shared libraries.
  • Schedule MM restart

    3
    1 Votes
    3 Posts
    525 Views
    Cliff365C
    @sdetweil Thanks! I think I can manage that.
  • MagicMirror an Pets 🤣

    1
    1
    0 Votes
    1 Posts
    318 Views
    KamiSchamiK
    … our cat seems to be waiting for the storm to end. show us your pet photos. Greetings from Germany. [image: 1643468502166-img_20220129_155242-01.jpg]
  • Fork creator rails against MagicMirror²

    Locked
    8
    1 Votes
    8 Posts
    1k Views
    ?
    @kristjanesperanto I’m sorry to contradict you but my project is not a fork, it’s just an adaptation, and what I write in the repository I think does not affect anyone who knows how to think, that is exactly what I wrote in capital letters
  • Typewriter Effect for Compliments?

    5
    1 Votes
    5 Posts
    1k Views
    E
    @kristjanesperanto Thanks, I’ll look into it.
  • MM and Custom Python Script

    7
    0 Votes
    7 Posts
    3k Views
    S
    @extra u can use my code as the base for what u need, but it does 95% splitting lines easy in JavaScript, split() how to handle the different lines… that’s your design and implementation my code assumes one blob of text.
  • No Internet Connection Magic mirror

    10
    0 Votes
    10 Posts
    3k Views
    N
    I had a similar issue whereby my connection kept dropping, my issue was due to poor WiFi connectivity so I created a simple bash script to restart the network connection every so often to bring it back onto the network. Here’s how I did it. #!/bin/bash # The IP for the server you wish to ping (8.8.8.8 is a public Google DNS server) SERVER=192.168.240.254 # Only send two pings, sending output to /dev/null ping -c2 ${SERVER} > /dev/null # If the return code from ping ($?) is not 0 (meaning there was an error) if [ $? != 0 ] then # Restart the wireless interface ifconfig wlan0 down ifconfig wlan0 up This was inside a file within my home area, the IP address on line 4 is of my router (I couldn’t see a need to ping an internet endpoint in my scenario). The last two lines may need amending depending on which network interface your MM is using. Once that file is created insert a crontab (crontab -e) and insert the following to restart the network connection every 30 minutes (adjust to your needs) */30 * * * * root /home/pi/scripts/wifi_rebooter.sh
  • Stuck in termial

    2
    0 Votes
    2 Posts
    374 Views
    S
    @n6ng use sudo raspi-config
  • Automatic Updates

    9
    0 Votes
    9 Posts
    2k Views
    CFennerC
    @bugsounet said in Automatic Updates: @cliff365 I have done a. Module for this ;) Would be nice to have repository specific auto update functionality in the default module.
  • Carousel manuell mit Sensor blättern

    4
    0 Votes
    4 Posts
    820 Views
    wishmaster270W
    @michel-0 Hi, i can provide two possible solutions… Some time ago i wrote a module which listens to serial sockets and sends notifications based on text messages (MMM-Serial-Notifications) received on the console. My gesture sensors are connected to arduino nano boards (with some additional laser distance sensor) which send messages to the pi via usb. The sketches to program the arduino are provided in the example folder. As an alternative i recently connected an APDS-9660 sensor directly to my pi (attention 3,3V) and wrote a small python script (gesture.py) which reads the gestures and sends notifications via the HTTP API of MMM-RemoteControl. The script is not documented at the moment but the configuration is separated to second file. Ich kann zwei Alternativen anbieten. Vor einiger Zeit hab ich ein Modul geschrieben (MMM-Serial-Notifications) , das an seriellen Konsolen lauscht und anhand von empfangenen Textnachrichten Benachrichtigungen an den Spiegel schickt. Meine Gestensensoren hab ich zusammen mit Laser-Distanz-Sensoren an Arduino Nano Boards angeschlossen, die Nachrichten über USB an den Pi schicken. Die Beispiel-Sketches für die Arduino Programmierung sind im “examples” Ordner enthalten. Vor ein paar Tagen hab ich einen APDS-9660 Sensor direkt an den Pi angeschlossen (Achtung 3,3V) und ein kleines Python Skript (gesture.py) geschrieben, dass die Gesten ausliest und über die HTTP-API von MMM-RemoteControl an die Module schickt. Das mehr ein Programmierübung war ist das Skript noch nicht wirklich dokumentiert. Die Konfiguration ist aber in eine separate Datei ausgelagert.
  • Update to 2.18

    6
    0 Votes
    6 Posts
    1k Views
    kusselinK
    @sdetweil look sdetweil "name": "magicmirror", "version": "2.18.0", "description": "The open source modular smart mirror platform.", "main": "js/electron.js", now i have the right actually version and i have reboot my MM and its working fine now pi@raspberrypi:~ $ node -v v16.13.2
  • PC to Pi app

    6
    -1 Votes
    6 Posts
    1k Views
    BKeyportB
    @bigschucks you do realize that putty and termius is SSH clients, right?