A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Not updating at midnight...

    Solved
    24
    0 Votes
    24 Posts
    3k Views
    S
    @BKeyport said in Not updating at midnight...: start: function () { function scheduleMidnightUpdate() { const now = new Date(); const nextMidnight = new Date(now); // Set the time to midnight nextMidnight.setHours(24, 0, 0, 0); // Calculate the time remaining until the next midnight const timeUntilMidnight = nextMidnight - now; // Schedule the updateDom method to be called at midnight setTimeout(() => { this.updateDom(); // Reschedule the update for the next midnight scheduleMidnightUpdate.call(this); }, timeUntilMidnight); } }, I would do it like this , much more straight forward function scheduleMidnightUpdate() { const now = new Date(); const nextMidnight = new Date(now); // Set the time to midnight nextMidnight.setHours(24, 0, 0, 0); // Calculate the time remaining until the next midnight const timeUntilMidnight = nextMidnight - now; // Schedule the updateDom method to be called at midnight setTimeout(() => { // trigger first update on next midnight change this.updateDom(); // start Recurring midnight change setInterval(()=>{ this.updateDom() }, 24*60*60*1000 ) // 24 hours * 60 minutes * 60 seconds * 1000 milliseconds (1 day elapsed in ms) setInterval delay }, timeUntilMidnight); // setTimeout delay } }, then the system triggers every midnight… not your code
  • MMM-transitfeed https error

    Unsolved
    2
    0 Votes
    2 Posts
    156 Views
    S
    @DIY_556 said in MMM-transitfeed https error: "realtimeUrls: [“https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-l”], well you have a misplaced " in front of realtimeUrls which with the one in front of https makes the start and end of a string and then https is an unknown JS token
  • MMM-GoogleSheets Not loading

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    R
    @mlm198 This error is usually caused by not deploying the google apps script correctly. I have updated the README with pictures to hopefully make the deployment easier. Feel free to add an issue to the repo if you are still having problems.
  • MMM-GoogleSheets not working

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    R
    @sdetweil In case anyone finds this post in the future. This problem is usually one of two causes: The google apps script was not deployed correctly and the request runs into a permission error page There is an error in the request due to bad script URL or other parameter I have updated the module to fail gracefully in these cases and hopefully provide a better error message. If you are still having problems feel free to add an issue to the repo. (https://github.com/ryan-d-williams/MMM-GoogleSheets/issues).
  • MagicMirror's Electron not starting up on a fresh Raspberry Pi 4B install

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    S
    @adamambarus yes, have to use the right info
  • default calendar - exclude items

    Unsolved
    3
    0 Votes
    3 Posts
    348 Views
    S
    @zdenek did this work?
  • MMM-DateCounter

    Solved
    6
    1
    0 Votes
    6 Posts
    445 Views
    plainbrokeP
    @sdetweil Again, Thank you for the help.
  • MMM-OpenWeatherMapForecast 3.0 API calls and freeze issue

    Solved
    21
    1
    0 Votes
    21 Posts
    3k Views
    S
    @jfields very helpful, thanks
  • Calendar absolute and time format not changing

    4
    1
    1 Votes
    4 Posts
    745 Views
    S
    @jackieandgil13 also, there are two different format strings… one for events with time dateFormat one for full day events, (without time) fullDayEventDateFormat the ones you showed look like full day events
  • js als Tabelle darstellen

    Moved
    2
    0 Votes
    2 Posts
    169 Views
    C
    In the following script I would like to output id:, icon: and suffix: as a table.
  • MagicMirror compliments for specific days at specific times

    Unsolved
    4
    0 Votes
    4 Posts
    741 Views
    S
    @Horyzon my update to compliments to support cron type entries was accepted and will be published in the next release (Oct 1) you can try it today by using the the develop branch of the MagicMirror repo see the troubleshooting section topic on how to get the develop branch https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code my MMM-Config module has support for this approach today you can use this page to generate the cron expression https://crontab-generator.org/ use some dummy command to complete their config operation, and only take the first 5 space separated fields of the result… minute hour day month day_of_week
  • MMM-ModuleToggleButton suddenly broken?

    Solved
    15
    0 Votes
    15 Posts
    2k Views
    S
    @philie in general for MM there is NEVER a need for sudo… it will cause problems and LATER you will need to user sudo AGAIN… the SYSTEM commands may need to use sudo… apt update, upgrade, editing files in the /etc folder because THOSE are owned by the system and should NOT be editable by a user (they are protected on purpose) the fact that the postinstall script failed is probably because you did sudo before and now the npm files are owned by root instead of user… (see line 1 above)
  • deleting and re cloning doesn't fix my module

    Unsolved
    2
    0 Votes
    2 Posts
    158 Views
    mumblebajM
    @danfagerburg What errors do you see? Are there errors in the pm2 logs or on the console? Also, check the Dev Window for any errors.
  • Problem with MMM-PhoneDetect

    Unsolved
    6
    0 Votes
    6 Posts
    592 Views
    S
    @plainbroke maybe, add hiddenOnStartup:true, after module: [image: 1720479260407-1000026643.jpg]
  • MMM-Fritz-Box-Callmonitor: Notification formatting

    Unsolved
    31
    0 Votes
    31 Posts
    21k Views
    S
    @rabbit83ka I also see this for background https://arshovon.com/blog/python-background/
  • Apple calendar & server only mode

    Solved
    7
    0 Votes
    7 Posts
    888 Views
    D
    @sdetweil Thanks for the explanation and the help!
  • MMM-Pir bugsounet doesn't switch the screen off!

    Unsolved
    2
    2 Votes
    2 Posts
    329 Views
    bugsounetB
    @Sceetch Hi, just see mode feature in ReadMe File [image: 1720153145977-b90d7c2a-4e53-4073-9f09-70ca9650e8ee-image.png] it depends on the OS used and Raspberry pi version
  • MMM-OpenWeatherMapForecast stopped loading

    Solved
    8
    0 Votes
    8 Posts
    974 Views
    S
    @james1787 fantastic! 2fer… fixes and like more
  • MyScoreboard won't show scores

    Solved
    3
    0 Votes
    3 Posts
    520 Views
    L
    @sdetweil Thank you!
  • MMM-MercedesMe

    Unsolved
    3
    0 Votes
    3 Posts
    275 Views
    B
    @sdetweil said in MMM-MercedesMe: Developer.MercedesMe. Follow below steps: hi Sam, it is the Developer.MercedesMe. Follow below steps: bit that is the problem. when i go into the site won’t let you create the api