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

    Posts

    Recent Best Controversial
    • UI/Data Caching

      I noticed some interesting behavior with while developing my MMM-Surf module. I observed this behavior after I added a “last updated” timestamp at the bottom of the UI. If the MagicMirror software is loaded from different clients (e.g. RPI with screen + web client), each will have a different last updated timestamp. So let’s say I load the RPI+Screen client + 3 web clients, each a minute apart. That will produce 4 unique API requests upon load and then 4 unique API requests when the update window is triggered on each client.

      Is anyone aware of a way to cache data that is rendered to the UI and hold it for, say, the same timeframe as the update window? This could help reduce hitting API sources and keep things synched across the clients.

      Thanks in advance!

      posted in Troubleshooting
      P
      Privacywonk
    • Issues with forum display

      Tried on Chrome and Firefox…anyone else having weird display issues? See picture:

      0_1523722258142_weirdness.PNG

      posted in Forum
      P
      Privacywonk
    • RE: MagicMirror keeps crashing

      Same here for the screen issues. I hate even offering this solution but…add a restart of the app to cron for every morning at 2am seems to mitigate the crashing issue. It’s not a fix, it’s a bandaid.

      Using pm2 the crontab entry would look like:

      0 2 * * * pm2 restart mm >/dev/null 2>&1
      
      posted in Troubleshooting
      P
      Privacywonk
    • RE: Additional sports modules

      @joela85 Just found this as well - https://www.sixnationsrugby.com/en/matchcentre/downloadable_fixture_list.php

      It includes a link to a calendar file with the games that could be integrated into the Calendar module. Won’t give results but gets you halfway there :)

      posted in Requests
      P
      Privacywonk
    • RE: Additional sports modules

      https://www.scorespro.com/livescore-xml/ - looks like the best bet for following Six Nations coverage via API.

      If I have time prior to the tourny starting, I may try to put something together but please don’t wait on me if you want to start developing.

      posted in Requests
      P
      Privacywonk
    • RE: MMM-Surf

      Updated original post with new screenshot & code updates.

      posted in Sport
      P
      Privacywonk
    • RE: Question to Log.info in js file

      Log.Info will print to the Browser Console.

      In Firefox or Chrome hit: Ctrl+Shift+I and then click the “console button”

      posted in Development
      P
      Privacywonk
    • RE: MMM-Surf

      Thank you! MMM-Wunderground was the layout inspiration as well as example code base so credit to RedNax67.

      posted in Sport
      P
      Privacywonk
    • MMM-Surf

      Description

      MMM-Surf module displays weather, tides, water temp, and Magicseaweed forecast data for your favorite surf spot. It is currently North America centric, pulling tide and water temperature from the National Oceanic and Atmospheric Administration (NOAA).

      Screenshot

      Bild Text

      20178-01-07:

      • Added color coded icons to swell height, periodicity, swell/wind direction that are based on configurable settings based on spot characteristics
      • Added “gear” guide (wetsuit mm based on water temp)
      • Fixed 12 hour view to cross date boundary
      • Developed algo to find “best” daily forecast time and display that in daily forecast row

      2017-12-09:

      • Updated layout
      • Cleaned up code
      • Added logic to match Spot Characteristics (e.g. best swell / wind). If a match, the swell/wind icons pop green
      • Added swell/wind direction text next to arrow to make it easier to understand

      Download

      [card:Privacywonk/MMM-Surf]


      Version history

      • v1.0.0 - first tagged release 2018-01-07
      posted in Sport
      P
      Privacywonk
    • 1 / 1