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

    cldparisi

    @cldparisi

    4
    Reputation
    17
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    cldparisi Unfollow Follow

    Best posts made by cldparisi

    • Log.log doesn't work in Module

      Hi all,

      Log.log is the module side (client) and console.log in the NodeJs side (server).

      But in log file there are only Log,log message from default Module (calendar, newsfeed…), for example there aren.t message from MMM-CECControl, MMM-MotionControl, MMM-AlexaControl.

      in documentation ( https://docs.magicmirror.builders/development/logger.html ):
      3a7b375a-f32f-49bc-aa73-3131c04b77a7-image.png

      in MMM-CECControl.js (for example) there is Log.log(…) but in its node_helper.js ther isn’t the require, I add: const Log = require(“…/…/js/logger.js”);
      but it doesn’t change, there aren’t errors butLog doesn’t work

      What am I doing wrong?

      Thanks

      posted in Troubleshooting
      C
      cldparisi
    • Raspberry 3 + Ikea Billy

      Re: Raspberry 3 + Ikea Billy

      IMG_2237.jpg

      IMG_2274.jpg

      IMG_2292.jpg

      IMG_2293.jpg

      posted in Show your Mirror
      C
      cldparisi
    • RE: Log.log doesn't work in Module

      @sdetweil ok, ok…logger.js is only a wrapper to use console “like Log” with a same syntax.

      How I can view a client Log?
      is there a script or a module that write a file?

      posted in Troubleshooting
      C
      cldparisi
    • RE: Schedule restart MagicMirror

      @sdetweil said in Schedule restart MagicMirror:

      @cldparisi u have to schedule as the user not root

      Yesss!!

      Now I had edit crontab like pi instead root and It works!

      Thanks

      posted in Troubleshooting
      C
      cldparisi

    Latest posts made by cldparisi

    • Magic Mirror and NodeJS

      I have MagicMirror installed on a Raspberry Pi 3, a few days ago I needed to install mqtt because I need it for an integration that I want to implement on one of the modules.

      When I tried to install it it gave some errors, from what we understood it was due to a version of NodeJS that was too old, at that point I installed a more recent version and set it as nodejs by default, Magic Mirror started but if I put a referring to mqtt it gave me an error at the end of everything I found myself having 4 versions of nodejs installed on the Raspberry installed via nvm:
      14.21.3
      16.20.2
      20.10.0
      21.4.0

      But the problem still remained, doing various searches on the internet I read that often even if one version is set by default to be used by the various nodejs applications then another one is used and to be sure to verify by putting a log inside the application :
      console.log(process.version);

      The result was surprising: v12.13.0

      Which is not among the versions installed via nvm, evidently 2/3 years ago when I created the MagicMirror I had installed nodejs in another way, honestly I don’t remember how I did it and what but the fact is that I can’t find the version it uses on the Raspberry by launching nvm ls.

      At this point I’m wondering how I could set MagicMirror so that it uses one of the other 4 versions installed with nvm or alternatively how I can update the “ghost” version that I can’t find

      Thank you

      posted in Troubleshooting
      C
      cldparisi
    • RE: Schedule restart MagicMirror

      @sdetweil said in Schedule restart MagicMirror:

      @cldparisi u have to schedule as the user not root

      Yesss!!

      Now I had edit crontab like pi instead root and It works!

      Thanks

      posted in Troubleshooting
      C
      cldparisi
    • Schedule restart MagicMirror

      “pm2 restart MagicMirror” in prompt works correctly but I can’t schedule it.

      In crontab I write:
      0 4 * * * pm2 restart MagicMirror

      but it doesn’t work

      In system log there are:

      magicmirror CRON[13707]: (root) CMD (pm2 restart MagicMirror)
      magicmirror CRON[17838]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
      

      How can I schedule restart?

      Thanks

      posted in Troubleshooting
      C
      cldparisi
    • RE: Log.log doesn't work in Module

      @sdetweil ok, ok…logger.js is only a wrapper to use console “like Log” with a same syntax.

      How I can view a client Log?
      is there a script or a module that write a file?

      posted in Troubleshooting
      C
      cldparisi
    • Log.log doesn't work in Module

      Hi all,

      Log.log is the module side (client) and console.log in the NodeJs side (server).

      But in log file there are only Log,log message from default Module (calendar, newsfeed…), for example there aren.t message from MMM-CECControl, MMM-MotionControl, MMM-AlexaControl.

      in documentation ( https://docs.magicmirror.builders/development/logger.html ):
      3a7b375a-f32f-49bc-aa73-3131c04b77a7-image.png

      in MMM-CECControl.js (for example) there is Log.log(…) but in its node_helper.js ther isn’t the require, I add: const Log = require(“…/…/js/logger.js”);
      but it doesn’t change, there aren’t errors butLog doesn’t work

      What am I doing wrong?

      Thanks

      posted in Troubleshooting
      C
      cldparisi
    • Raspberry 3 + Ikea Billy

      Re: Raspberry 3 + Ikea Billy

      IMG_2237.jpg

      IMG_2274.jpg

      IMG_2292.jpg

      IMG_2293.jpg

      posted in Show your Mirror
      C
      cldparisi
    • Raspberry 3 + Ikea Billy

      IMG_2228.jpg

      IMG_2229.jpg

      IMG_2231.jpg

      IMG_2235.jpg

      posted in Show your Mirror
      C
      cldparisi
    • RE: Face Recognition and Profile

      @sdetweil said in Face Recognition and Profile:

      @cldparisi the face reco modules do switching for people, so u don’t need profile switcher too

      I installed and configured MMM-Face-Reco-DNN and it works well.
      Thanks for your suggest.

      Now I’m trying MMM-MotionControl, it should work together MMM-Face-Reco-DNN …in this moment it not works very well but I don’t stop trying

      posted in General Discussion
      C
      cldparisi
    • RE: Face Recognition and Profile

      @sdetweil Oh it’s better! Thanks
      I try to use it.

      posted in General Discussion
      C
      cldparisi
    • Face Recognition and Profile

      I’d like to install a facial recognition module and then view different modules for different profile.
      I found a different possibilities:

      • MMM-ProfileSwitcher + MMM-Face-Reco-DNN (last update 1 year ago)

      • MMM-ProfileSwitcher + MMM-Facial-Recognition (last update 5 years ago)

      • MMM-ProfileSwitcher + MMM-Faces (last update 4 months ago)

      I use Raspberry Pi 3 B+

      Which one do you suggest me?
      are there other ones?

      Thanks

      posted in General Discussion
      C
      cldparisi