A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • MMM-Face-Reco-DNN (No module named 'face_recognition')

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    S
    @Zinkeler glad you go it!
  • Auto-restart after quitting

    Unsolved
    6
    0 Votes
    6 Posts
    850 Views
    S
    @cpcode well, a script or pm2 with a script… I’ve never heard of MM restarting if you use npm start and select close or use ctrl-q
  • MMM-GoogleTasks - show Completed until next day starts

    Unsolved
    1
    0 Votes
    1 Posts
    168 Views
    H
    I assume this is possible but I can’t figure out the coding - very new to MM and JS. Any help will be appreciated. I have a task list with mostly recurring tasks but each day 1-3 non-recurring tasks get added to the list. With showCompleted: true, all tasks show throughout the day, then at some point overnight the Completed recurring tasks drop and get replaced by the Incomplete task for the new day. However, all the non-recurring tasks stay so that after a few days there’s along list of Completed tasks. How do I have all Completed show until the end of the day, midnight, whatever, then have the non-recurring drop along with the recurring?
  • Calendar - Past Events are a different color/shade

    Solved
    3
    0 Votes
    3 Posts
    596 Views
    R
    @chrisfr1976 Nailed it! Thank you
  • Adding background image to analog clock.

    Solved
    10
    1 Votes
    10 Posts
    2k Views
    J
    @ChrisLeduex – OK, thanks. I wasn’t sure that the url path went anywhere in particular.
  • new compositor on wayland

    Solved
    18
    3 Votes
    18 Posts
    6k Views
    S
    @lxne you can switch back to x11 using raspi-config
  • Weather symbol missing

    Solved
    9
    0 Votes
    9 Posts
    400 Views
    S
    @dRagon glad you found it!
  • ERROR:network_service_instance_impl.cc(600)

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    S
    @togletree93 I added a new script at the end of the scripts page https://github.com/sdetweil/MagicMirror_scripts this will install my startup script in the package.json and update the installers/mm.sh to indicate which browser to use (and install the browser you pick from a list if not already installed) this will run mm in server only mode and then launch a browser over it like you did manually the look is identical, (alth0 midori browser has gotten troublesome with its parameter handling and MAY need to have its window maximized manually
  • 0 Votes
    1 Posts
    176 Views
    H
    In the code below, events with “Bday” in the title are correctly colored but the “birthday-icon” is not applied. They are all full day events. The intent is that each person has a color and icon applied to their events but events with a specific start time are not transformed. What am I doing wrong? I will appreciate specifics and examples of correct code. I’ve had the Pi running a week and these are my first attempts at coding and I’m struggling with some of it. I tried using eventNames and then using the custom.css to color events but couldn’t get that to work for any events including full day. ``` module: “MMM-CalendarExt3”, position: “bottom_bar”, title: “May Cubed”, config: { mode: “month”, instanceId: “combinedCalendar”, locale: ‘en-US’, maxEventLines: 6, showMore: true, firstDayOfWeek: 0, useMarquee: false, calendarSet: [], //<-- can enter “name of calendar from calendar module” to display only that one. Works in combination with InstanceId eventTransformer: (ev) => { if (ev.title && ev.title.search("Bday") > -1) { ev.color = "#3056FF" //ev.symbol = "birthday-cake" <--is there something to do this in transform? I have them as keyword customEvents under the calendar module } else if (ev.title && ev.title.search("Name1") > -1) { ev.color = "#80ef80", //ev.symbol = "flower-tulip" <--same comment as above
  • MMM-Remote-Control Alternative

    Unsolved
    15
    0 Votes
    15 Posts
    6k Views
    S
    @atwist the googleassistant author has coded it that way don’t know why.
  • Contributing to a GitHub repository - a bit stuck

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    evroomE
    @mumblebaj said in Contributing to a GitHub repository - a bit stuck: Make sure it is set to bash. It is set to zsh. No issue to change it to bash, but is there a reasoning behind it ? Stupidly enough I had this Terminal open the whole time. I just did ‘Commit’ from within VS Code and then did ‘Sync Changes’. Result: % git status On branch evroom Your branch is up to date with 'origin/evroom'. nothing to commit, working tree clean So that works just fine. I also made a change using the Terminal and then did the add and commit from the Terminal. In the Source Control pane you can see what you do on the command line in real time.
  • What's the correct way to remove any margins from a module?

    Solved
    3
    0 Votes
    3 Posts
    610 Views
    R
    Thanks, I ended up doing this in my custom.css #module_4_MMM-CalendarExt3 { margin-left: -40px; margin-right: -40px; } It doesn’t seem like the best approach, but it works.
  • Magic Mirror won’t start

    Unsolved
    4
    0 Votes
    4 Posts
    719 Views
    S
    @diccon yes, a module is missing a required library , you need to run npm install in the module folder for the specific module this is version 2.28, latest is 2.29, we have added code to catch these failures and continue running, where before we crashed.
  • Forecast with default weather module not working with Openweather

    Solved
    6
    0 Votes
    6 Posts
    760 Views
    S
    @OliWer didn’t take it as a rant…
  • newsfeed error sudden error referenceError: fetch is not defined

    Unsolved
    5
    0 Votes
    5 Posts
    762 Views
    S
    @MMaik100 did you get this working?
  • Default weather module stuck loading after latest MM update

    Solved
    35
    0 Votes
    35 Posts
    13k Views
    S
    @Sampleswow said in Default weather module stuck loading after latest MM update: status of 401 (unauthorized) your api key is incorrect the 3.0 apikey requires a credit card, right? see this too https://github.com/MagicMirrorOrg/MagicMirror/issues/3574#issuecomment-2423544713
  • Problem Adding Buttons & required Remote-Control Modules

    Solved
    26
    0 Votes
    26 Posts
    5k Views
    C
    @sdetweil Yeah you’re right, that one might be more difficult. But I do have MMM-ModuleToggleButton working with pinctrl. Here’s the updated node_helper.js file just in case anyone’s interested. node_helper.js const NodeHelper = require('node_helper'); // eslint-disable-line import/no-extraneous-dependencies //const Gpio = require('onoff').Gpio; const { exec } = require("child_process"); module.exports = NodeHelper.create({ start() { this.started = false; }, socketNotificationReceived(notification, payload) { if (notification === 'TOGGLE_BUTTON_CONFIG' && !this.started) { const self = this; this.config = payload; //const button = new Gpio(this.config.buttonGpioPin, 'in', 'both', { persistentWatch: true, debounceTimeout: this.config.debounceTimeoutInMilliseconds }); //button.watch((err, state) => { // if (state === 1) { // self.sendSocketNotification(self.config.notificationName, true); // } //}); //this.started = true; // Set up GPIO as input using pinctrl command const pin = this.config.buttonGpioPin; const debounceTimeout = this.config.debounceTimeoutInMilliseconds; const notificationName = this.config.notificationName; let lastState = null; // Function to read the pin state using pinctrl const checkPinState = () => { exec(`pinctrl get ${pin}`, (err, stdout, stderr) => { if (err) { console.error(`Error reading GPIO state: ${err.message}`); return; } // Parse the pin state from stdout const state = stdout.includes("hi") ? 1 : 0; // Handle state change with debounce if (state !== lastState && state === 1) { this.sendSocketNotification(notificationName, true); } // Update last state lastState = state; }); }; // Set up an interval to check the pin state with debounce setInterval(checkPinState, debounceTimeout || 100); // Defaults to 100ms if debounce is not defined } } });
  • MMM-OpenWeatherForecast

    Solved
    92
    0 Votes
    92 Posts
    62k Views
    htilburgsH
    @sdetweil Thanks, now it looks a bit like OpenWeather again ;-) [image: 1730836102082-031df386-11b1-4d60-aba2-f19d2f9d183a-image.png]
  • SIGINT error

    Solved
    4
    0 Votes
    4 Posts
    573 Views
    S
    @ReD1470 awesome
  • [ERROR] Calendar Error. Could not fetch calendar:

    Solved
    13
    0 Votes
    13 Posts
    3k Views
    S
    @Kazzer awesome