Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. cotxwx
    C
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    cotxwx

    @cotxwx

    0
    Reputation
    11
    Posts
    188
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    cotxwx Follow

    Best posts made by cotxwx

    This user hasn't posted anything yet.

    Latest posts made by cotxwx

    • Can someone help me understand "updateInterval"? DarkSky is charging me a lot of money.

      I must have done something really wrong because I’m paying a good bit of coin to DarkSky for API calls. This is for the MMM-NOAA3 module.

      updateInterval: 15 * 60 * 1000, //every 15 minutes or whatever you choose
      

      that’s the original ^ and I updated the 15 to 60.

      I guess I don’t understand what each number represents. Milliseconds, Seconds, Minutes?

      I don’t know how, but I had 25k API calls to DarkSky yesterday. Trying to cut this number down. I’d just like to have it update twice hourly if at all possible (it’s current temps / extended weather forecast).

      posted in Troubleshooting
      C
      cotxwx
    • RE: Refresh modules / MagicMirror without running pm2 restart?

      Well, temporary workaround for anyone having a similar issue…

      Installed xdotool and created a shell script to “press” ctrl+r every hour. Now it’ll just refresh itself at the top of the hour.

      posted in Troubleshooting
      C
      cotxwx
    • RE: Refresh modules / MagicMirror without running pm2 restart?

      @sdetweil Good to know, thank you. I’ll start looking in to my FW logs and see if something stands out. I really appreciate you taking the time to do this.

      posted in Troubleshooting
      C
      cotxwx
    • RE: Refresh modules / MagicMirror without running pm2 restart?

      @sdetweil if you’ve just loaded it, watch out for “updateOnWarning:” in the config.js - If you don’t set it to ‘0’, the entire module disappears if there are no active warnings in your area. I learned that one the hard way. 🙂

      Thanks for the assistance!

      posted in Troubleshooting
      C
      cotxwx
    • RE: Refresh modules / MagicMirror without running pm2 restart?

      @sdetweil If you haven’t had this issue before, that pretty much rules out the module itself, I’d guess. I do have a FW at my egress, with some DNS block lists. It doesn’t seem logical that it would load initially, but fail an hour or two later, but I’ve seen weirder.

      (Unless, of course, you’ve just loaded it. In that case, ignore my last statement).

      posted in Troubleshooting
      C
      cotxwx
    • RE: Refresh modules / MagicMirror without running pm2 restart?

      @sdetweil Screenshot from 2020-04-23 17-05-03.png

      Is there something specific I should be looking for here? It just locked up and this is all I see.

      posted in Troubleshooting
      C
      cotxwx
    • RE: Refresh modules / MagicMirror without running pm2 restart?

      I will grab that next time it locks up. Thanks!

      posted in Troubleshooting
      C
      cotxwx
    • Refresh modules / MagicMirror without running pm2 restart?

      Good Day,

      I’m using MMM-RAIN-RADAR on my MM, and it’s great. Family loves it, and even though support for it has been suspended, we’ll continue to use it. One of the issues I notice with it, though, is that the module stops updating after a couple of hours. The module is still there, but the radar content disappears. I’ve setup a cron to run “pm2 restart mm.sh” every four hours, but that seems to be a bit overkill, and I’ve recently discovered the 4 hours interval isn’t even enough. We still find it stops updating radar content.

      Which brings me to my question. I’ve read there is no way to “reload” individual modules, but is there anything faster / more efficient to update / reload MM without restarting the whole service? Something I could potentially cron to run every hour or so?

      Thank you!

      posted in Troubleshooting
      C
      cotxwx
    • RE: Stuck on creating a new fetcher

      @sdetweil No luck on this side. I may just do a reinstall at this point. Not sure what’s causing the hangup

      posted in Troubleshooting
      C
      cotxwx
    • RE: Stuck on creating a new fetcher

      @ultimatum22 I’m not sure what you mean. Doesn’t 'DISPLAY=:0" mean the attached display? I’ve got the Pi hooked up to a 24" TV display.

      posted in Troubleshooting
      C
      cotxwx