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

    Posts

    Recent Best Controversial
    • RE: Strange issue

      @richland007
      Since you managed to setup MM to the point that it is running, but crashing, I take it you know a little bit of Linux.
      Otherwise it will be more like a Linux workshop.

      Do you know how to use nano and/or vi to edit files?
      Know what for example cat, tail and head does?
      Just some Linux basics.

      I do not want to sound like a smartarse and knowitall, am a hobbyist just like you.
      Just to know the level of describing that is needed.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: Strange issue

      Hi,

      Investigating crashes and freezes, etc, can be very difficult.
      When everything is running fine and you collect data, you will see that everything is more or less okay.
      When it crashed or is frozen, you are too late.

      Since a few weeks I had the problem that my MM was frozen and I could not enter any commands or a command took painstakingly long to return output.
      A command like top was out of the question for example.
      Using a script running as a cron job, I was able to identify a memory issue with electron.js.
      I then decide to use a usb stick on which I created a swap device.
      Since then my MM is not freezing anymore.
      And I am able to see electron.js using up my memory and sometimes I see spikes in CPU usage.

      Mind you, that crashing is something different then freezing, but the tools to use are more or less the same, provided the MM application or a MM module is not the culprit.

      My script to check memory usage, very basic and simple:

      pi@MagicPi:~ $ cat top.sh
      #!/bin/sh
      
      date >> /home/pi/top.txt
      top -b -o +%MEM | head -n 22 >> /home/pi/top.txt
      echo "=============================================" >> /home/pi/top.txt
      

      The cron job:

      00,05,10,15,20,25,30,35,40,45,50,55 * * * * /home/pi/top.sh >/dev/null 2>&1
      

      %CPU will sort on CPU usage.

      Concerning swap space, top will show the usage, but this gives a quick view:

      $ free -h
      

      Swap details via:

      $ swapon -s
      

      There are many more commands and settings to look at, but one has to start somewhere :-)

      Good luck.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: TV Tuner

      @Cr4z33, no, sorry, didn’t pursue this as I do not need such a function myself.

      posted in Requests
      evroomE
      evroom
    • RE: Change font size for MMM-HTMLBox module

      Some times Google is your friend:

      custom.css

      .MMM-HTMLBox {
      font-size: 18px;
      line-height: 22px;
      }
      
      posted in Custom CSS
      evroomE
      evroom
    • Change font size for MMM-HTMLBox module

      Module: MMM-HTMLBox
      I want to use this simple but useful module, but how can I change font size for this module ?

      I tried the custom.css

      .MMM-HTMLBox {
      font-size: 12px;
      }
      

      That does work, but now the spacing is rather large.
      The module itself does not have a css file.

      Someone who can guide me a bit ?

      posted in Custom CSS
      evroomE
      evroom
    • RE: MagicMirror crashed due to "gnutls_handshake() failed: Error in the push function"

      Btw, a simple restart of MagicMirror solved the issue and my MM is working again.
      Web search tells me that:

      gnutls_handshake(): This function performs the handshake of the TLS/SSL protocol, and initializes the TLS session parameters.

      Looks to be related with git, as all calls were done to github.com.

      posted in Troubleshooting
      evroomE
      evroom
    • MagicMirror crashed due to "gnutls_handshake() failed: Error in the push function"

      Hi,

      This morning my MM showed a black screen and the pm2 log says following:

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir | fatal: unable to access 'https://github.com/fewieden/MMM-soccer.git/': gnutls_handshake() failed: Error in the push function.
      0|MagicMir |
      0|MagicMir | fatal: unable to access 'https://github.com/raywo/MMM-PublicTransportHafas.git/': gnutls_handshake() failed: Error in the push function.
      0|MagicMir |
      0|MagicMir | fatal: unable to access 'https://github.com/shbatm/MMM-RTSPStream.git/': gnutls_handshake() failed: Error in the push function.
      0|MagicMir |
      0|MagicMir | fatal: unable to access 'https://github.com/fmandal/MMM-YrThen/': gnutls_handshake() failed: Error in the push function.
      0|MagicMir |
      0|MagicMir | fatal: unable to access 'https://github.com/MichMich/MagicMirror.git/': gnutls_handshake() failed: Error in the push function.
      0|MagicMir |
      

      I did a search in the forum, but I could not find any other occurrences.
      Will search the web now to see if I can find something more on this topic.
      In the meantime any clue as to what happened is welcome.

      posted in Troubleshooting
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      I can stream full HD at 50 fps:

      Video codec omx-h264 width 1920 height 1080 profile 100 fps 50.000000

      A bit odd.

      posted in Utilities
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      RAI 3 HD probably is not free-to-air, so I cannot check it.

      But to be honest, it seems NOT to work for me too.
      Only SD, no HD.
      I had it working on v2.4.1 (made notes about it to not to forget) and did not use it after that.

      You can test it directly, without having to change the MM config all the time:

      $ omxplayer --win "0 0 800 480" --live "http://192.168.1.6:8001/1:0:1:D4B:8800:13E:EEEE0000:0:0:0:"
      
      $ omxplayer --win "0 0 800 480" --live "http://192.168.1.6:8001/1:0:1:2191:5:13E:EEEE0000:0:0:0:"
      

      omxplayer will show the stream details:

      Video codec omx-mpeg2 width 720 height 576 profile 4 fps 25.000000
      Video codec omx-h264 width 1920 height 1080 profile 100 fps 50.000000
      

      On my Pi it seems to run, but nothing appears on the screen.
      :-(

      posted in Utilities
      evroomE
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      Hi,

      Can you check this ?

      $ vcgencmd codec_enabled MPG2
      

      It should say “MPG2=enabled”.

      License can be bought for a few euro’s:

      http://www.raspberrypi.com/mpeg-2-license-key/

      posted in Utilities
      evroomE
      evroom
    • 1
    • 2
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 43 / 48