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

    Posts

    Recent Best Controversial
    • RE: Modules stop work over time

      I think i resolved the issue… It was related to my use of Pi-hole.
      I was using OpenDNS and according to logs in my router some connections were timed out or was unreachable. I changed it first to Google DNS and later to my ISPs DNS-severs. And, behold, no error in my pm2-logs (at least not at the moment) and the modules are up and running

      So, you were all on to something; @KirAsh4, @McSorley and @kckndrgn!

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      Fresh error log

      { Error: socket hang up
      at TLSSocket.onHangUp (_tls_wrap.js:1087:19)
      at TLSSocket.g (events.js:286:16)
      at emitNone (events.js:91:20)
      at TLSSocket.emit (events.js:185:7)
      at endReadableNT (_stream_readable.js:926:12)
      at _combinedTickCallback (internal/process/next_tick.js:74:11)
      at process._tickDomainCallback (internal/process/next_tick.js:122:9) code: ‘ECONNRESET’ }

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      @KirAsh4 I only have one at home. And one at work… But I will soon lay my hands on some more.

      Well, thanks for your input. I’ll dig deeper…

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      @KirAsh4 I dont think so, I do not reset the pi-hole, i only reset MM.

      If the pi-hole were to blame, I should not be able to reach last.fm or the source where I load images from. And it should not work for at first and then all of a sudden not…

      Maybe something just times out…?

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      @KirAsh4 Well, I suppose that is my next step then…

      I use it to block out ads throughout my network. I set it as a dns in the router. It filters ads quiet nice. From web and in apps.

      The MM install was to make use of my display I bought with some nifty information.

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      @KirAsh4 The only thing i run besides MM is Pi-hole.

      The Scrobbler-plugin has never lived for a longer time. It works for a few songs, maybe an album and when a song ends it just disappears. No error messages or something on the screen. If i pm2 restart mm it again, it works for a few songs again.

      When RandomPhoto stops working, it freezes on an image, like it comes to an end of a stack. (Maybe it does?)

      Clock and news seems to work all the time.

      Could it be that file package.json?

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      @KirAsh4 The only restarts it shows is my manual restarts with pm2 restart mm command. Otherwise it does not crash. The modules just stop answer. And at the same time the news-ticker still works…

      Could it be so that the memory is overflooded somehow?

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      @KirAsh4 But why does it work at first and then not?

      My mm.sh looks like this:

      cd ~/MagicMirror
      DISPLAY=:0 npm start

      Where and how must I make a change?

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      In mm-out.log I find this

      Whoops! There was an uncaught exception…
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      I made a npm debug, if thats what you mean… Heres is some error, but I don’t know how to fix or if it is this making the troubles…

      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/bin/nodejs’, ‘/usr/bin/npm’, ‘start’, ‘dev’ ]
      2 info using npm@3.10.6
      3 info using node@v6.4.0
      4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
      5 verbose stack Error: ENOENT: no such file or directory, open ‘/home/pi/package.json’
      5 verbose stack at Error (native)
      6 verbose cwd /home/pi
      7 error Linux 4.4.19-v7+
      8 error argv “/usr/bin/nodejs” “/usr/bin/npm” “start” “dev”
      9 error node v6.4.0
      10 error npm v3.10.6
      11 error path /home/pi/package.json
      12 error code ENOENT
      13 error errno -2
      14 error syscall open
      15 error enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
      16 error enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
      16 error enoent This is most likely not a problem with npm itself
      16 error enoent and is related to npm not being able to find a file.
      17 verbose exit [ -2, true ]

      posted in Troubleshooting
      L
      lali
    • RE: Modules stop work over time

      Well… nothing else on my network is hiccupy. Just those modules…

      posted in Troubleshooting
      L
      lali
    • Modules stop work over time

      Hi

      My setup works at first but gradually some modules stop working.

      I use newsfeed and clock from the default modules and MMM-Scrobler and MMM-RandomPhoto from third part.

      The scrobbler can work for hours and then stop and then start again. The RandomPhoto seems to work but on the morning it has frozen and does not circle pictures anymore.

      Everything works again if I restart through SSH.

      Everything is updated.

      Any thoughts what could be the solution?

      posted in Troubleshooting
      L
      lali
    • Pi-hole API presenter

      I use Pi-hole on my mirror-pi. And they give a read data API.
      It would be nifty to be able to present the data on the mirror.

      https://github.com/pi-hole/pi-hole#api

      posted in Requests
      L
      lali
    • RE: MMM-Scrobbler - [Last.FM] Music Scrobbler

      @PtrBld
      Ok, heres one spotify:track:74FEe1s1Q4INBx64OqONWZ and here’s another one spotify:track:2rYcjpghBGamfP1c7YyjYn

      Also here’s two screenshots to see the problem.

      Very appreciated!

      1_1465727833440_2016-06-12-123154_800x480_scrot.png 0_1465727833439_2016-06-12-123109_800x480_scrot.png

      posted in Entertainment
      L
      lali
    • RE: MMM-Scrobbler - [Last.FM] Music Scrobbler

      @PtrBld
      I listen to alot of swedish indie music, and the artwork is often missing! Strange huh?

      Well, I’m kinda new to the whole shebang, so I don’t really grasp the concept of pull request. I just thought I could I’d ask here.

      I have been dabbling in the source-code; changed the presentation-html, but I’m not a full-blowned script-junkie so I don’t really know how to check if the variable contains something or not… I believe it’s kinda simple, but I does’nt know how to do. =/
      So i don’t really want to update the whole config file either…

      But, take your time! No hurry!
      I really enjoy your module!

      posted in Entertainment
      L
      lali
    • RE: MMM-Scrobbler - [Last.FM] Music Scrobbler

      Hi, really like it!
      But when album art is missing, it produces a tiny square instead of artwork. I would like to get rid of that, alternatively get a generic no cover-picture.

      Can we make some kind of if-thingy with this.songData.image?

      posted in Entertainment
      L
      lali
    • 1 / 1