MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. yk
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Y
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 27
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Development Branch -- Screen Going Blank

      @sdetweil keeps happening unfortunately. it might be time to start removing modules to see if that helps.

      Two errors seen:
      out of memory error and also saw a fatal: unable to access ‘https://github.com/MichMich/MagicMirror.git/’: gnutls_handshake() failed: Error in the push function.

      I’m only using:
      MMM-MyWastePickup (only uses local file)
      MMM-Unsplash (hits Unsplash twice an hour)
      MMM-DarkSkyForecast
      MMM-Tools
      Calendar does an iCloud refresh using vdirsyncer (every 30 minutes)

      Calendar-Fetcher looks to be doing a broadcasting of events every 10 to 12 minutes. Not sure what this is.

      mem total=925 / used=272
      swap total=1023 / used=116

      I wonder if the iCloud hit happens at the same time as the Unsplash hit causing an issue.

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- Screen Going Blank

      @sdetweil that’s a good point. It happened again - I gather that’s probably a best option.

      Keep me honest, is the below the best approach?

      For others searching in the future:

      1. sudo dphys-swapfile swapoff
      2. sudo nano /etc/dphys-swapfile
      3. update CONF_SWAPSIZE to something like 1024
      4. save file (ctrl + x)
      5. sudo dphys-swapfile setup
      6. sudo dphys-swapfile swapon
      7. sudo reboot

      You’re probably right, need to increase. Mine is set to 100 at the moment.

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- Screen Going Blank

      @sdetweil thanks!

      Confirmed on the correct version

      “version”: “2.15.0-develop”

      Interesting item in the logs:

      [975:0310/092506.157270:FATAL:memory.cc(22)] Out of memory. size=174170112

      Only change would be the previous item you and I discussed around MMM-Unsplash. I’m curious if using the “raw” version of the image continues to chew up memory. Something to keep an eye on for sure. I’m using one of the tools modules to keep an eye on CPU and memory - I don’t see it growing throughout the day though. Perhaps it’s a “perfect storm of refreshes” that happens.

      Next time I see the screen go blank I’m going to check logs immediately.

      posted in Bug Hunt
      Y
      yk
    • Development Branch -- Screen Going Blank

      No changes to installation. Pi pointed to development branch. Recently screen going blank. A restart using pm2 fixes it. Going to start going through logs but it’s an odd one. Happy to do any other debugging the group feels would help (“can you check a,b,c”).

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- MMM-Unsplash

      @sdetweil Fixed. It’s a change in the Unsplash API. obj.urls.custom is no longer an option returned in JSON. I changed “custom” to “raw” and it’s good.

      Lovely.

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- MMM-Unsplash

      @sdetweil hehe. Agreed. And now I have a decision to make. Hack it to work or rewrite. 😉

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- MMM-Unsplash

      @sdetweil saw that. Love the fact that it worked just a few days ago. I have a funny feeling it’s between Unsplash API and new work in MM. I’m reading the API docs now. It’s a simple setup so hopefully a tweak shouldn’t be too tough.

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- MMM-Unsplash

      Got it. Tweaked config.js to browse to ip:8080. I think you guys are right, there are going to be many modules broken. ;)

      posted in Bug Hunt
      Y
      yk
    • RE: Development Branch -- MMM-Unsplash

      I’m going through normal debug type approaches to see what’s up. Seems Unsplash hasn’t been updated in ages. Can someone remind me how to inspect the rendered mm page remotely? I’m thinking I’ll just browse to the ip, and slowly go through each div via inspect. I’ve done it before but don’t remember how I did it. Painful but easily doable. This could just be a “something changed and it’s a style issue”.

      posted in Bug Hunt
      Y
      yk
    • Development Branch -- MMM-Unsplash

      I normally sit pointed towards the dev branch only because I’ve gotten used to helping out with calendar issues where I can. I noticed two days ago that a specific module (MMM-Unsplash) has stopped working. What’s the best way to check what’s changed to help troubleshoot the issue? If nothing has changed on my end (still same pi) then thinking it’s the dev branch change and perhaps may impact others?

      posted in Bug Hunt
      Y
      yk
    • 1
    • 2
    • 3
    • 2 / 3