MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    MMM-Gestures

    Troubleshooting
    2
    3
    1997
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Aly last edited by

      Hey @thobach,

      I have problems with your gestures module for the APDS-9960 Sensor.

      Here is the log data:

      /home/pi/.pm2/logs/gestures-error-1.log last 10 lines:
      1|gestures |     at TCP.onread (net.js:568:26)
      1|gestures | DEPRECATION: Please use `require('serialport')` instead of `require('serialport').SerialPort`
      1|gestures | events.js:160
      1|gestures |       throw er; // Unhandled 'error' event
      1|gestures |       ^
      1|gestures | 
      1|gestures | Error: read ECONNRESET
      1|gestures |     at exports._errnoException (util.js:1018:11)
      1|gestures |     at TCP.onread (net.js:568:26)
      1|gestures | DEPRECATION: Please use `require('serialport')` instead of `require('serialport').SerialPort`
      
      /home/pi/.pm2/logs/gestures-out-1.log last 10 lines:
      1|gestures | Connection closed
      1|gestures | Sat Jun 03 2017 13:02:17 GMT+0200 (CEST): exec error: Error: Command failed: ls /dev/ttyACM*
      1|gestures | ls: Zugriff auf /dev/ttyACM* nicht möglich: Datei oder Verzeichnis nicht gefunden
      1|gestures | 
      1|gestures | New connection from client established
      1|gestures | Received MMM-Gestures client registered to WebSocket server
      1|gestures | Connection closed
      1|gestures | Sat Jun 03 2017 13:56:40 GMT+0200 (CEST): exec error: Error: Command failed: ls /dev/ttyACM*
      1|gestures | ls: Zugriff auf /dev/ttyACM* nicht möglich: Datei oder Verzeichnis nicht gefunden
      1|gestures | 
      
      

      I get gestures via serial monitor in Arduino IDE - so the sensor is correctly connected. I think there is a problem with the connection over USB -gestures.js hasn’t a connection with the arduino. (ttyACM)

      I hope you can help me 🙂

      Thanks in advance!

      Aly

      1 Reply Last reply Reply Quote 0
      • T
        Tobi91 last edited by

        Hi,

        I receive similar error messages and can´t find the problem. Have you figured out what your problem was? If so could you please let me know.
        Thanks in advance.
        Tobias

        0_1499022626927_Error_Message.jpeg

        A 1 Reply Last reply Reply Quote 0
        • A
          Aly @Tobi91 last edited by

          @Tobi91

          Hey Tobi,

          no I am sry …

          Aly

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy