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

    keineAhnung123

    @keineAhnung123

    1
    Reputation
    15
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    keineAhnung123 Unfollow Follow

    Best posts made by keineAhnung123

    • Bathroom MM

      Hello,

      My first experience with Linux and Magic Mirrors.
      Thanks to the forum for all the help and to all developers.

      Hardware:

      • Raspberry Pi 3B+
      • 24" monitor ASUS VA249HE
      • PIR sensor + rotary encoder (to change pages)
      • Mirropane Chrome Spy 4 MM 50x60 cm
      • self made frame

      Modules

      • Celebrations
      • Count Events
      • Covid19 Ampel
      • DVD Warn Weather
      • Navigate (modified version)
      • New PIR
      • On this day
      • Page selector
      • Remote control
      • System stats
      • Weather chart
      • selfmade joke module

      Pictures

      20210225_201457.jpg

      20210225_201524.jpg

      20210225_201535.jpg

      20210225_201546.jpg

      20210225_202026.jpg

      20210225_202058.jpg

      Im really excited but theres is only one thing thats disappointing somehow.
      The Mirropane Chrome Spy is a little bit dark in comparison to a normal mirror so its not recommended for makeup (my girlfriend says).

      posted in Show your Mirror
      K
      keineAhnung123

    Latest posts made by keineAhnung123

    • Module for IR receiver

      Hello,

      Is there a module which allows to use an infrared receiver + remote to for example send predefined notifications?

      posted in Requests
      K
      keineAhnung123
    • Keyboard doesnt work im MM (no CTRL+q)

      Hello,

      Im trying Raspbian Desktop in VirtualBox to do some debugging faster.
      Everything works so far except for the keyboar shortcuts.
      When MM is in fullscreen no CTRL+q / CTRL+m / CTRL+SHIFT+i is working. Only ALT+space does work.
      Tested it with hardware keyboard and VirtualBox’s screen keyboard.

      Is there a setting or is it something with virtualbox?

      posted in Bug Hunt
      K
      keineAhnung123
    • RE: pm2 doesnt work with crontab

      @sdetweil said in pm2 doesnt work with crontab:

      @keineahnung123 looks like u need to reinstall nvm

      nvm or npm?

      posted in Troubleshooting
      K
      keineAhnung123
    • RE: pm2 doesnt work with crontab

      @sdetweil

      45 16   * * *   pi      pm2 stop mm
      

      doesnt work. I have to set the paths.

      I think there went something wrong when i upgraded to buster.
      I had a shellscript with

      cd ~/MagicMirror && npm start
      

      which worked fine and after the upgrade to buster i have to use

      cd ~/MagicMirror && /home/pi/.config/nvm/versions/node/v10.23.0/bin/npm start
      

      otherwise it says “npm: not found”

      Same seems to be with crontab…

      posted in Troubleshooting
      K
      keineAhnung123
    • RE: pm2 doesnt work with crontab

      @sdetweil Thanks.

      With

      sudo nano /etc/crontab
      

      and

      30 16   * * *   pi      /home/pi/.config/nvm/versions/node/v10.23.0/bin/node /home/pi/.config/nvm/versions/node/v10.23.0/bin/pm2 stop mm
      

      it seems to work :)

      posted in Troubleshooting
      K
      keineAhnung123
    • pm2 doesnt work with crontab

      Hello,

      Im trying to restart my MM every day in the night so i want to use a crontab.

      Might be easy:

      sudo crontab -e
      

      and add

      59 23 * * * pm2 restart mm
      

      But that doesnt work.
      The crontab seems to work:

      Feb 27 13:37:01 raspberrypi CRON[3581]: (root) CMD (pm2 restart mm)
      
      

      And i did a pm2 flush before and after the crontab did its job there is nothing in the log:

      pi@raspberrypi:~ $ pm2 logs --lines=100
      [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 100 lines:
      /home/pi/.pm2/logs/mm-error.log last 100 lines:
      /home/pi/.pm2/logs/mm-out.log last 100 lines:
      0|mm       | [27.02.2021 13:38.28.339] [INFO]  Newsfeed-Fetcher: Broadcasting 39 items.
      
      

      so it seems that pm2 didnt do anything.

      Next try after some online research:

      pi@raspberrypi:~ $ which node
      /home/pi/.config/nvm/versions/node/v10.23.0/bin/node
      pi@raspberrypi:~ $ which pm2
      /home/pi/.config/nvm/versions/node/v10.23.0/bin/pm2
      
      

      i changed the crontab to

      1 14 * * * /home/pi/.config/nvm/versions/node/v10.23.0/bin/node /home/pi/.config/nvm/versions/node/v10.23.0/bin/pm2 restart mm
      
      

      (1 14 is for testing)

      It still doesnt work: no output in pm2 log.

      Does anyone have an idea?

      Thanks :)

      posted in Troubleshooting
      K
      keineAhnung123
    • Bathroom MM

      Hello,

      My first experience with Linux and Magic Mirrors.
      Thanks to the forum for all the help and to all developers.

      Hardware:

      • Raspberry Pi 3B+
      • 24" monitor ASUS VA249HE
      • PIR sensor + rotary encoder (to change pages)
      • Mirropane Chrome Spy 4 MM 50x60 cm
      • self made frame

      Modules

      • Celebrations
      • Count Events
      • Covid19 Ampel
      • DVD Warn Weather
      • Navigate (modified version)
      • New PIR
      • On this day
      • Page selector
      • Remote control
      • System stats
      • Weather chart
      • selfmade joke module

      Pictures

      20210225_201457.jpg

      20210225_201524.jpg

      20210225_201535.jpg

      20210225_201546.jpg

      20210225_202026.jpg

      20210225_202058.jpg

      Im really excited but theres is only one thing thats disappointing somehow.
      The Mirropane Chrome Spy is a little bit dark in comparison to a normal mirror so its not recommended for makeup (my girlfriend says).

      posted in Show your Mirror
      K
      keineAhnung123
    • Save energy at night?

      Hi,

      Does it make sense to create a cronjob which

      • stops MM
      • turns off wifi
      • turns off xyz
        from for example 12pm to 6am?

      Will this reduce the power consumption effectively?

      Thx

      posted in General Discussion
      K
      keineAhnung123
    • What are your MM/Pi statistics?

      Hello,

      My MM is hanging in my bathroom since 3 days and im trying to optimize it right now.

      I had CPU problems but found out that MMM-DarkSkyForecast causes them so i disabled it.
      My Modules are updating rarely (API calls > 30 min) and dont have any big animations (only things like newsfeed article fading…) so CPU is no problem anymore.

      My stats are:

      • CPU: 0-5 %
      • Temperature: 40-45 °C (heatsinks installed and no closed case)
      • free RAM: 5-15 %

      with:
      Raspberry Pi 3b+
      MM 2.14.0

      pi@raspberrypi:~/MagicMirror $ npm ls | grep electron
      ├─┬ electron@8.5.3
      │ ├─┬ @electron/get@1.12.2
      │ ├─┬ electron-chromedriver@8.0.0
      │ │ ├─┬ electron-download@4.1.1
      │ │ │ ├── electron-to-chromium@1.3.606
      

      and MMM-NewPIR with ecoMode enabled (hides modules when no activity)

      Unbenannt.png
      Unbenannt2.png

      I read the well known thread electron cpu usage and my question is:

      Are my stats normal? CPU an temperature are fine but the free RAM is a little bit concerning, isnt it? Are the 7 electron processes normal? Which electron version do you use (the electron cpu usage- thread is 3 years old)?

      Thank you :)

      posted in General Discussion
      K
      keineAhnung123
    • Freeze modules to save energy

      Hello,
      It would be cool to freeze modules to stop them from updating etc.
      This would reduce CPU and so on.

      For example a PIR sensor turns off the screen and freezes all modules.
      And if the screen gets reactivated the modules will unfreeze.

      What would you think?

      posted in Feature Requests
      K
      keineAhnung123