MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. pattanner92
    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
    • RE: MMM-Trello sometimes fails to refresh. Any ideas?

      @geronimodupree Unfortunately, no. I don’t seem to be getting the issue as much, but since the pandemic has all but halted my job, there haven’t been many changes to my schedules. We have also had a batch of bad weather recently, which resulted in several power failure. Which isn’t hard, since if a squirrel farts on Mars our power goes out. Maybe the constant refreshing has kept the issue at bay.

      Sorry I can’t be much help.

      posted in Troubleshooting
      P
      pattanner92
    • RE: Running MM2 on Pi Zero W

      @sdetweil I understand all that, I was just getting tripped up on making it show things. For some reason it was displaying a black screen on remote devices. It was properly connecting to the Pi as the tab in the browser showed “MagicMirror2”, but no modules loaded. I couldn’t make sense of the logs either.

      I appreciate your script as it got me going. I can indeed move to other changes, and I have plenty to do if I want something to look as nice as the one in my office (photo attached - including my custom Christmas snow)!

      https://imgur.com/rQcRCWH

      posted in Troubleshooting
      P
      pattanner92
    • RE: Running MM2 on Pi Zero W

      @sdetweil I know of and appreciate the work you do, and this did work, however I am someone who likes to know what is going awry when tinkering. So I can apply that knowledge later when something is broken again. Which is why I ask. I am not using the browser on the Pi itself. Is a browser still needed when running server only mode? I figured the Pi just shares the information to whatever device is requesting it to allow it to be analyzed and displayed on the client.

      posted in Troubleshooting
      P
      pattanner92
    • RE: Running MM2 on Pi Zero W

      I will give this a try. Is there anything different your script does than just installing directly from Michael’s site?

      posted in Troubleshooting
      P
      pattanner92
    • Running MM2 on Pi Zero W

      I apologize if this has been answered before, I have done extensive searching and not found how to fix my issue.

      I have a Pi Zero W laying around and figured I would install MagiMirror as a server only so I can use a cheap tablet from Walmart to display it. Rather than build a whole setup. I have a pretty extensive setup in my office with a Pi 3B+, but I also want something at home.

      Here goes it. I have, what I think to be, everything correctly installed. Naturally the MM2 installer fails part way due to Electron not being supported by ARMv6. This isn’t an issue for me, I’m building a server. My issue comes when actually trying to access the mirror remotely. I head to my Pi’s IP address with port 8080. The pages loads, but only to a black screen. I can tell it working to some extent as the cursor auto hides when on a desktop device. Any help would be fantastic.

      Here is what I know.

      I installed node.js an npm manually by pulling directly from the nodejs website. Their versions are v10.21.0 and 6.14.4 respectively.

      I have all my logs and config files, however the forum will not allow me to post them as it is being flagged as spam. I will try posting in the comments the code.

      posted in Troubleshooting not loading pi zero servermode
      P
      pattanner92
    • RE: MMM-Trello sometimes fails to refresh. Any ideas?

      @sdetweil I used to use this all the time. As a matter of fact, I used to open my mirror on my computer’s browser, and open a ssh connection in terminal and do edits and refresh on the computer as it was faster and my screen is the size of a football field.

      Unfortunately (as mentioned in the original post) I work at a University, where we have a large enterprise network with various subnets and gateways. If my iMac and Raspi aren’t on the same subnet there is no way to connect the two. I have tried to change the CIRD format of whitelisted address to allow all sorts of combinations of subnet masking, including allowing everything. We had a power failure a couple days ago, so my Mirror connected to wifi about 36 hours ahead of my computer (I keep my computer disconnected from wifi generally as I have a hard line which allows me to connect to various printers and servers around campus), so they are nowhere near the same subnet. Simply reconnecting my mirror doesn’t help either.

      I talked to the guy who manages the network on my campus and he said that if I don’t have the same subnet, there is no way to interconnect the two. He was actually impressed that I even got the Raspi on the wifi to begin with. Technically speaking our campus also routes through the main campus network, which is 100+ miles away, allowing interconnection across all five campuses across the state.

      posted in Troubleshooting
      P
      pattanner92
    • RE: MMM-Trello sometimes fails to refresh. Any ideas?

      @sdetweil No worries. Thanks for the tip about pm2 logs, I actually knew about this, but completely forgot they existed. Maybe others who have noticed this have ideas as well, and we can come up with an answer together!

      I know just enough about these things to be able to track and fix small issues (that I usually caused), but this is over my head. I just love learning and growing with this stuff! I’ll resort to refreshing for now (I pulled a keyboard/mouse out anyhow to get the logs) and see if I can’t find something.

      posted in Troubleshooting
      P
      pattanner92
    • RE: MMM-Trello sometimes fails to refresh. Any ideas?

      @sdetweil Actually I do use PM2.

      I sifted through all the logs (as there was nothing within the first 15 lines as posted when you request pm2 logs. I have a lot of things scheduled, so it took some crosseyed moments and time to find something.

      I cannot tell what day this started, as it doesn’t appear to be logged to my not-so-advanced eyes, but I am for sure getting some “Response Timeout” and “Gateway Timeout” activity from Trello. As well as some “getaddrinfo” and “connect timeout” errors.

      Give me a moment to log into the forum on the Mirror and I will try to post the actual log here.

      EDIT:

      Here are how the logs actually read. To me, not much info here. Maybe I can be pointed in the correct direction?

      [09:51:18.814] [LOG]    { Error: Response Timeout
          at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
          at process._tickCallback (internal/process/next_tick.js:63:19)
        statusCode: 504,
        responseBody: 'Response Timeout',
        statusMessage: 'Gateway Timeout' }
      [10:01:04.765] [LOG]    { Error: Response Timeout
          at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
          at process._tickCallback (internal/process/next_tick.js:63:19)
        statusCode: 504,
        responseBody: 'Response Timeout',
        statusMessage: 'Gateway Timeout' }
      [10:01:05.762] [LOG]    { Error: Response Timeout
          at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
          at process._tickCallback (internal/process/next_tick.js:63:19)
        statusCode: 504,
        responseBody: 'Response Timeout',
        statusMessage: 'Gateway Timeout' }
      [10:11:04.548] [LOG]    { Error: Response Timeout
          at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
          at process._tickCallback (internal/process/next_tick.js:63:19)
        statusCode: 504,
        responseBody: 'Response Timeout',
        statusMessage: 'Gateway Timeout' }
      [10:21:04.674] [LOG]    { Error: Response Timeout
          at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:185:22)
          at Request.emit (events.js:182:13)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:182:13)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:273:13)
          at IncomingMessage.emit (events.js:187:15)
          at endReadableNT (_stream_readable.js:1090:12)
          at process._tickCallback (internal/process/next_tick.js:63:19)
        statusCode: 504,
        responseBody: 'Response Timeout',
        statusMessage: 'Gateway Timeout' }
      

      And some later stuff. May be from today?

      [01:13:38.555] [LOG]    { Error: getaddrinfo EAI_AGAIN api.trello.com api.trello.com:443
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'api.trello.com',
        host: 'api.trello.com',
        port: 443 }
      [01:13:42.233] [LOG]    { Error: getaddrinfo EAI_AGAIN api.trello.com api.trello.com:443
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)
        errno: 'EAI_AGAIN',
        code: 'EAI_AGAIN',
        syscall: 'getaddrinfo',
        hostname: 'api.trello.com',
        host: 'api.trello.com',
        port: 443 }
      [01:15:35.996] [LOG]    { Error: connect ETIMEDOUT 23.67.88.251:443
          at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
        errno: 'ETIMEDOUT',
        code: 'ETIMEDOUT',
        syscall: 'connect',
        address: '23.67.88.251',
        port: 443 }
      

      Not sure if the logs help anyone else. But to me it just looks as thought it is timing out on the request and there is nothing necessarily wrong. As mentioned before, a refresh seems to fix the issue. I’m just curious about it.

      posted in Troubleshooting
      P
      pattanner92
    • MMM-Trello sometimes fails to refresh. Any ideas?

      I use MMM-Trello to keep my life organized, I work for a theater at a University, so I have many events coming through. And my notes are constantly changing. Sometimes I have noticed that the module will be stuck at the last refresh. Usually I can just refresh the browser with MMM-Remote-Control, but we had a power failure recently and my IP address on the Raspi and my iMac don’t align anymore (there is nothing I can do to work through the subnets, and creating a static address could cause havoc campus wide. I’ve asked our IT about it.) I’m also too lazy to pull out a mouse and keyboard, which is also why there is a MM update waiting to be pulled.

      Anyway, I was wondering if there were some way to see what was happening, or if this just happens sometimes. I have my mirror scheduled to reset every Sunday at 02:00, so it would be fixed then. The module is not frozen, as it still cycles through other cards (I have a couple iterations set up on the mirror), but the data stays stale.

      Here is a photo for reference:
      As you can see, it is still showing stuff under “Event Preparations” (Which I only just now noticed is misspelled). Even though there is nothing on my Trello board.

      Imgur Image

      Imgur Image

      I have had this happen a couple times. There is no rhyme or reason to it either. It’s not too bothersome, but something I am curious about.

      posted in Troubleshooting mmm-trello trello refresh
      P
      pattanner92
    • 1 / 1