• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

default calendar fetching issues

Scheduled Pinned Locked Moved Solved Troubleshooting
21 Posts 3 Posters 2.5k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    nowayto @sdetweil
    last edited by Mar 22, 2025, 7:33 AM

    @sdetweil
    Yes I agree, the memory is very limiting.
    Although mine is a Pi3 model A, but the memory is 512mb like the pi02w.
    When I started the project I had something different in my mind and now I’m pushing it to the limit.

    But as I said I checked everytime the CPU temperature, memory and generally resources usage from “htop” command.

    This morning MM started with calendar error, I did a “pm2 restart mm” and goes OK.

    Now I put “sleep 120” inside mm.sh as first line
    I restarted it now

    Memory BEFORE restart was this
    total used free shared buff/cache available
    Mem: 427 156 90 70 179 147
    Swap: 1023 231 792

    Not so good but not so bad, same time.

    I’ll check if this delay could help.
    Is there a way to put a little delay between the loading of every module ? Maybe 5/10 seconds, I though it could be very helpful on a limited machine like mine :)

    S 1 Reply Last reply Mar 22, 2025, 1:31 PM Reply Quote 0
    • S Offline
      sdetweil @nowayto
      last edited by Mar 22, 2025, 1:31 PM

      @nowayto there is no way to delay loading

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • E Offline
        emlowe Module Developer
        last edited by Mar 24, 2025, 10:05 PM

        I had considerable problems with running on a model A - but I found dietPI (https://dietpi.com/) to be a solid distro that works well even when using the default electron GUI front-end. (Previously OOM’d consistently)

        Note, also I frequently have trouble with the calendar events appears as there seems to be some problem in the websocket communication layer (this bug: https://github.com/MagicMirrorOrg/MagicMirror/issues/3380)

        I basically use MMM-RemoteControl to force a refresh in a daily cron job (curl http://localhost:8080/api/refresh) and this works. Why? No One knows

        N 1 Reply Last reply Mar 29, 2025, 12:46 PM Reply Quote 0
        • N Offline
          nowayto @emlowe
          last edited by Mar 29, 2025, 12:46 PM

          @emlowe I have a similar problem, I solved modifing mm.sh with

          sleep 30
          DISPLAY=:0 npm start
          sleep 60
          pm2 restart mm

          “pm2 restart mm” does a refresh like you do with RemoteControl

          S 1 Reply Last reply Mar 29, 2025, 1:12 PM Reply Quote 0
          • S Offline
            sdetweil @nowayto
            last edited by Mar 29, 2025, 1:12 PM

            @nowayto if pm2 is being used, its JOB is to keep the app running

            so the pm2 restart seems odd as if the app was ended , ctrl-q
            pm2 would do restart already

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on May 19, 2025, 3:07 PM
            • 1
            • 2
            • 3
            • 3 / 3
            3 / 3
            • First post
              21/21
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy