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

    trisfoz

    @trisfoz

    0
    Reputation
    429
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    trisfoz Unfollow Follow

    Latest posts made by trisfoz

    • RE: MMM-Swipe - Hand gestures

      @Melnem
      Hi, thanks for your message. It fixed my problem.
      I do not know if you have managed to run in sudo at startup but I use PM2.
      In the start script :

      cd ~
      nano mm.sh
      

      In mm.sh I put

      cd ~/MagicMirror
      DISPLAY=:0 sudo npm start
      

      and it seems to work fine.

      Thanks again for all your help !

      posted in Troubleshooting
      T
      trisfoz
    • RE: MMM-Swipe - Hand gestures

      Hi eveerbody,

      Got magic mirror to boot up but with a new error with the MMM-Swipe module

      
      Whoops! There was an uncaught exception...
      Error: please call `usonic.init()` first
          at Object.createSensor (/home/pi/MagicMirror/modules/MMM-Swipe/node_modules/mmm-usonic/lib/usonic.js:57:15)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:48:29)
          at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:103:10)
          at emitTwo (events.js:106:13)
          at Socket.emit (events.js:191:7)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:503:12
          at _combinedTickCallback (internal/process/next_tick.js:73:7)
          at process._tickCallback (internal/process/next_tick.js:104:9)
      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
      
      

      Thanks for any help given.

      posted in Troubleshooting
      T
      trisfoz
    • RE: MMM-Swipe - Hand gestures

      Hello everybody,
      After installing the module, when I run it as sudo. I get an error message :

      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Module version mismatch. Expected 48, got 53.
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      Whoops! There was an uncaught exception...
      Error: Module version mismatch. Expected 48, got 53.
          at Error (native)
          at Object.Module._extensions..node (module.js:597:18)
          at Module.load (module.js:487:32)
          at tryModuleLoad (module.js:446:12)
          at Function.Module._load (module.js:438:3)
          at Module.require (module.js:497:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_modules/mmm-usonic/lib/usonic.js:5:14)
          at Module._compile (module.js:570:32)
          at Object.Module._extensions..js (module.js:579:10)
      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
      (node:2253) DeprecationWarning: sys is deprecated. Use util instead.
      

      Does anyone know how I can get this module to work?

      Thank you.

      posted in Troubleshooting
      T
      trisfoz