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

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

    Unsolved
    7
    1
    0 Votes
    7 Posts
    1k 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
  • MMM-CalenarExt3 : eventTransformer not working on evets with specific start time

    Solved
    1
    0 Votes
    1 Posts
    147 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
    4k 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
    892 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
    442 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
    619 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
    1
    0 Votes
    6 Posts
    628 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
    612 Views
    S
    @MMaik100 did you get this working?
  • Default weather module stuck loading after latest MM update

    Solved
    35
    0 Votes
    35 Posts
    11k 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
    4k 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
    50k 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
    459 Views
    S
    @ReD1470 awesome
  • [ERROR] Calendar Error. Could not fetch calendar:

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    S
    @Kazzer awesome
  • Yahoo RSS feed appears to have been discontinued.

    Unsolved
    2
    0 Votes
    2 Posts
    559 Views
    W
    CBS news feed is working for me https://www.cbsnews.com/latest/rss/main
  • Problem with generating Google Assistant token

    Unsolved
    1
    0 Votes
    1 Posts
    183 Views
    K
    Hi, I installed and configured the MMM-GoogleAssistant from @bugsounet and entered the Name of the OAuth client (MMM-GoogleAssistant) and Authorized redirect URIs as https://googleassistant.bugsounet.fr and now I have a problem at the end when I generate the token. After npm run token I got the following error message from the google page You cannot log in because this app has sent an invalid request. Try again later or contact the developer. More information about this error If you are the developer of this app, you can find more information in the error details. Error 400: redirect_uri_mismatch When I checked my authorized domains in “OAuth consent screen” I have added the domain “bugsounet.fr”. But obviously something I made wrong. It would be nice, if someone could help me. Thank you in advance. Klinge
  • ADD GOOGLE ASSISSTANT

    Unsolved
    1
    0 Votes
    1 Posts
    118 Views
    T
    HI everyones. i can’t register device on google console for google assisstant. please help me
  • Newsfeed stopped getting Yahoo news

    Unsolved
    1
    0 Votes
    1 Posts
    326 Views
    W
    Update: I believe the problem is with Yahoo, not my Magic Mirror. Raspberry Pi Zero 2W, Buster, MM V2.24 Yahoo news feed stopped working a day or two ago. I’ve rebooted but no improvement. Other news feeds are still working. Error Message in PM2 logs: [ERROR] Newsfeed Error. Could not fetch newsfeed: https://www.yahoo.com/news/rss Error: Not Found on Accelerator Here is the link from the config file. https://www.yahoo.com/news/rss That link works in a browser on my PC
  • MM won't launch at startup, but will launch manually

    Solved
    13
    0 Votes
    13 Posts
    3k Views
    S
    @majsoft cool. don’t know if we have that on other systems sometimes if you do sudo npm remove pm2 -g then reboot and run the fixuppm2 script in my scripts list
  • hourly forecast openweathermap doesn't show data, MagicMirror v2.28

    Solved
    10
    1
    0 Votes
    10 Posts
    1k Views
    S
    @sdetweil said in hourly forecast openweathermap doesn't show data: @stephanvdplas are you on MagicMirror version 2.29? if not, then add apiVersion:"3.0", Thank you! This did the trick! I am on 2.28 (and updating is not possible at the moment), but this extra line makes it work again!