A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Looking for some help with positioning modules

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    BKeyportB
    @bobbylx just a FYI - you’ll need to refer to the modules in the order they’re loaded everywhere if you rearrange, you might be in trouble. ;)
  • This code for MMM Lice is making my magic mirror shut off completely.

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    S
    @Plasmire please use code blocks around config info, I fixed it for you again paste text, select text, hit button </> this module has this problem https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
  • mmm fuel infinite loop

    Solved
    2
    0 Votes
    2 Posts
    368 Views
    S
    @Plasmire sorry, I screwed on on your prior posts… anyhow I did this { module: "MMM-Fuel", position: "top_right", config: { provider:"autoblog", // (and "gasbuddy" zip:"78660", types: ["regular", "mid-grade", "premium","diesel"], } } and got this [image: 1700238918647-screenshot-at-2023-11-17-10-34-17.png] also, ‘not supported’ means these settings will not be used , but some are incorrect, as showDistance default is true, (as shown) and showDistance: false, turns off that column [image: 1700239323721-screenshot-at-2023-11-17-10-40-58.png]
  • Screen Tearing

    Unsolved problem screen installation
    4
    1
    0 Votes
    4 Posts
    888 Views
    S
    @RaphaelOtter install the bitvise or winscp clients on windows and enable ssh on the.pi. then you can edit from your PC and copy files back and forth and execute commands in the ssh window. I never edit on the pi anymore
  • RPI4 Dual Monitor blanking

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    G
    For anyone having this issue: Change the kms driver to the fake one by editing /boot/config.txt change dtoverlay=vc4-kms-v3d to dtoverlay=vc4-fkms-v3d Reboot & display will now switch on/off using vcgencmd display_power 0 vcgencmd display_power 1 I’ve not noticed any problems using the fake driver but I’m not using anything 3D (your results may be different)
  • Bookworm, Pi & VENV

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    ankonaskiff17A
    @sdetweil Dig that. First thought was “exactly what major value does that bring to the table?” So loading Python packages from the PYPI package repository breaks Python. That’s a good one.
  • MM stoped working after update MMM-CalDAV

    Solved
    4
    0 Votes
    4 Posts
    638 Views
    B
    @MMRIZE you gave me the hint. I have deleted the config-part of MMM-CalDAV and made the update again and it works fine. So it seems the config was wrong. Now I have to understand your module and how it works. Will play with env and learn about the play with calendar module. Lets see if I get it :baby:
  • magicmirror [DEBUG] config syntax error

    Solved
    4
    0 Votes
    4 Posts
    608 Views
    S
    @jamesvcc said in magicmirror [DEBUG] config syntax error: What a difference two " makes make yep, computers are SOOOOOO picky!!.. lol glad its working now
  • birthdaylist dont show up

    Solved
    5
    0 Votes
    5 Posts
    678 Views
    S
    @sdetweil i works new Thanks
  • Pi Zero 2 W install issue

    Unsolved
    2
    0 Votes
    2 Posts
    647 Views
    S
    @plattnat reflash the os image, boot , skip updates, and use my install script see https://github.com/sdetweil/MagicMirror_scripts it will upgrade node to the required level.
  • Error trying to run: npm run install-mm

    Solved
    18
    0 Votes
    18 Posts
    8k Views
    L
    @sdetweil I will, thanks again.
  • MMM-MyCalendar stopped working on MagicMirror 2.25

    Solved
    10
    0 Votes
    10 Posts
    807 Views
    S
    @sdetweil It works now For others it doesn’t work too then I copy this code into calendarutils.js cd ~/MagicMirror/modules/MMM-MyCalendar /* MagicMirror² * Node Helper: Calendar - CalendarFetcher * * By Michael Teeuw https://michaelteeuw.nl * MIT Licensed. */ const CalendarUtils = require("./calendarutils"); const Log = require("logger"); const NodeHelper = require("node_helper"); const ical = require("node-ical"); /*const fetch = require("fetch");*/ /*const digest = require("digest-fetch");*/ const https = require("https"); /** * * @param {string} url The url of the calendar to fetch * @param {number} reloadInterval Time in ms the calendar is fetched again * @param {string[]} excludedEvents An array of words / phrases from event titles that will be excluded from being shown. * @param {number} maximumEntries The maximum number of events fetched. * @param {number} maximumNumberOfDays The maximum number of days an event should be in the future. * @param {object} auth The object containing options for authentication against the calendar. * @param {boolean} includePastEvents If true events from the past maximumNumberOfDays will be fetched too * @param {boolean} selfSignedCert If true, the server certificate is not verified against the list of supplied CAs. * @class */ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEntries, maximumNumberOfDays, auth, includePastEvents, selfSignedCert) { let reloadTimer = null; let events = []; let fetchFailedCallback = function () {}; let eventsReceivedCallback = function () {}; /** * Initiates calendar fetch. */ const fetchCalendar = () => { clearTimeout(reloadTimer); reloadTimer = null; const nodeVersion = Number(process.version.match(/^v(\d+\.\d+)/)[1]); /* let fetcher = null;*/ let httpsAgent = null; let headers = { "User-Agent": "Mozilla/5.0 (Node.js " + nodeVersion + ") MagicMirror/" + global.version }; if (selfSignedCert) { httpsAgent = new https.Agent({ rejectUnauthorized: false }); } if (auth) { if (auth.method === "bearer") { headers.Authorization = "Bearer " + auth.pass; /* } else if (auth.method === "digest") { fetcher = new digest(auth.user, auth.pass).fetch(url, { headers: headers, agent: httpsAgent });*/ } else { headers.Authorization = "Basic " + Buffer.from(auth.user + ":" + auth.pass).toString("base64"); } } /* if (fetcher === null) { fetcher = fetch(url, { headers: headers, agent: httpsAgent }); }*/ fetch(url, { headers: headers, agent: httpsAgent }) .then(NodeHelper.checkFetchStatus) .then((response) => response.text()) .then((responseData) => { let data = []; try { data = ical.parseICS(responseData); Log.debug("parsed data=" + JSON.stringify(data)); events = CalendarUtils.filterEvents(data, { excludedEvents, includePastEvents, maximumEntries, maximumNumberOfDays }); } catch (error) { fetchFailedCallback(this, error); scheduleTimer(); return; } this.broadcastEvents(); scheduleTimer(); }) .catch((error) => { fetchFailedCallback(this, error); scheduleTimer(); }); }; /** * Schedule the timer for the next update. */ const scheduleTimer = function () { clearTimeout(reloadTimer); reloadTimer = setTimeout(function () { fetchCalendar(); }, reloadInterval); }; /* public methods */ /** * Initiate fetchCalendar(); */ this.startFetch = function () { fetchCalendar(); }; /** * Broadcast the existing events. */ this.broadcastEvents = function () { Log.info("Calendar-Fetcher: Broadcasting " + events.length + " events."); eventsReceivedCallback(this); }; /** * Sets the on success callback * * @param {Function} callback The on success callback. */ this.onReceive = function (callback) { eventsReceivedCallback = callback; }; /** * Sets the on error callback * * @param {Function} callback The on error callback. */ this.onError = function (callback) { fetchFailedCallback = callback; }; /** * Returns the url of this fetcher. * * @returns {string} The url of this fetcher. */ this.url = function () { return url; }; /** * Returns current available events for this fetcher. * * @returns {object[]} The current available events for this fetcher. */ this.events = function () { return events; }; }; module.exports = CalendarFetcher;
  • Trying to update to version 2.25

    Solved
    13
    0 Votes
    13 Posts
    4k Views
    S
    @vandam3b cool, thanks for the feedback!
  • MMM-Lucy

    Unsolved
    9
    4
    0 Votes
    9 Posts
    1k Views
    S
    @Crimel been years since I tried it.
  • Browser shifts to one side after reboot

    Unsolved
    2
    0 Votes
    2 Posts
    335 Views
    S
    @Socrates what about on the real display, not over vnc…
  • Upgrade errors?

    Solved
    35
    0 Votes
    35 Posts
    13k Views
    J
    @sdetweil - Thanks for the help here and offline. My problem is solved, and for the sake of others following is the resolution. Problem: MagicMirror install script outputs node.js errors on new RaspbianOS install running under VirtualBox. Diagnosis [by sdetweil]: “so, the problem is that the intel raspian is a hybrid, x86_64 kernel with a i386 user runtime. and they stopped making a nodejs for i386 after node 12” Solution: Rebuilt the virtual machine using Ubuntu instead of RaspbianOS. [I’m sure any Debian or other Linux distribution would work just fine…] Thanks again - I can now use this as a dev machine and spare myself the risks associated with fiddling with the production machine!
  • Update to v2.25.0

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    S
    @MZ-BER what do you think of these new messages Checking for modules with removed libraries require for node-fetch in module MMM-NewsAPI not found in package.json bypass installing node-fetch for module MMM-NewsAPI , doing test run updating dependencies for active modules with package.json files processing for module birthdaylist please wait ---------------------------------- skipped processing for birthdaylist, doing test run processing complete for module birthdaylist
  • 2.25 language 'nl' not working

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    htilburgsH
    @sdetweil @karsten13 Message from MMM-OnSpotify. Its now fixed in V3.1.0, both the icon color change (now the helper css classes are loaded on a separated file), and the clock translation error (locale settings were getting overwritten by the module instance of the moment library). Installed the update and problem solved. Thanks for helping!
  • Magic Mirror logo appears at Boot and then the Raspberry desktop

    Solved
    21
    4
    0 Votes
    21 Posts
    8k Views
    S
    @Syosse and your troubles convinced me to look at the pm2 setup problem from the script, and I was able to see the issue and fix it for others… thanks… Sam
  • wlan0 IP address in config file

    Unsolved
    2
    0 Votes
    2 Posts
    331 Views
    S
    @hikano765 a better thing would be to change the address: to address:“0.0.0.0” then it will listen on all the active network adapters . you will also have to fix the ipWhitelist to allow apps from outside systems to connect while you are developing your mm solution it’s easiest to do ipWhitelist:[], to allow apps from any system on your local betwork