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

    Posts

    Recent Best Controversial
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      I’ve made a completely new Raspian & MM installation. No other modules installed. the default modules disabled in the config.js.

      I Still get no connection. Im running the Home Gatewy V3 in Dev mode. Do I have to change any settings on my router or somewhere else?

      Right now I get different error messages. Maybe it helps. I would love to see this module running!

      mm-out:

      > magicmirror@2.1.3 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.1.3
      Loading config ...
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: MMM-xiaomi
      All module helpers loaded.
      Starting server on port 8080 ... 
      You're using a full whitelist configuration to allow for all IPs
      Server started ...
      Connecting socket for: MMM-xiaomi
      Starting xiaomi helper
      Sockets connected & modules started ...
      Whoops! There was an uncaught exception...
      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
      Launching application.
      

      MagicMirror error log:

      Error: Token could not be auto-discovered
          at Device._tokenResolve (/home/pi/MagicMirror/modules/MMM-xiaomi/node_modules/miio/lib/device.js:141:13)
          at Device._onMessage (/home/pi/MagicMirror/modules/MMM-xiaomi/node_modules/miio/lib/device.js:80:9)
          at emitTwo (events.js:106:13)
          at Socket.emit (events.js:194:7)
          at UDP.onMessage [as onmessage] (dgram.js:545:8)
      

      MagicMirror out:

       magicmirror@2.1.3 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.1.3
      Loading config ...
      Loading module helpers ...
      Initializing new module helper ...
      Module helper loaded: MMM-xiaomi
      All module helpers loaded.
      Starting server on port 8080 ... 
      You're using a full whitelist configuration to allow for all IPs
      Server started ...
      Connecting socket for: MMM-xiaomi
      Starting xiaomi helper
      Sockets connected & modules started ...
      Launching application.
      Triggering Xiaomi Gateway upate
      Triggering Xiaomi Gateway upate
      

      mm error log:

      { Error: listen EADDRINUSE 127.0.0.1:8080
          at Object.exports._errnoException (util.js:1050:11)
          at exports._exceptionWithHostPort (util.js:1073:20)
          at Server.setupListenHandle [as _listen2] (net.js:1263:14)
          at listenInCluster (net.js:1304:12)
          at doListen (net.js:1428:7)
          at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:78:10)
        code: 'EADDRINUSE',
        errno: 'EADDRINUSE',
        syscall: 'listen',
        address: '127.0.0.1',
        port: 8080 }
      
      
      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Thank you for your replay!

      When I do so I get a “Connecting to XIAOMI gatway…”
      Connecting to XIAOMI gatway..

      As far as I understand "ENETUNREACH " means Network unreachable. I can successfully ping the Gatway at 192.168.2.107 via VNC & LX Terminal.
      Do I have to set up something on my Gateway first?
      Any idea what to do?

      This is what my error log says:

      ERROR! Could not find main module js file for RepositoryForRC
      ERROR! Could not find main module js file for async
      { Error: send ENETUNREACH 192.168.2.107:54321
          at Object.exports._errnoException (util.js:1050:11)
          at exports._exceptionWithHostPort (util.js:1073:20)
          at SendWrap.afterSend [as oncomplete] (dgram.js:402:11)
        code: 'ENETUNREACH',
        errno: 'ENETUNREACH',
        syscall: 'send',
        address: '192.168.2.107',
        port: 54321 }
      

      My mm out:

      Starting MagicMirror: v2.1.3
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: MMM-Remote-Control
      Initializing new module helper ...
      Module helper loaded: MMM-xiaomi
      All module helpers loaded.
      Starting server on port 8080 ... 
      Server started ...
      Connecting socket for: MMM-Remote-Control
      Starting node helper for: MMM-Remote-Control
      Connecting socket for: MMM-xiaomi
      Starting xiaomi helper
      Sockets connected & modules started ...
      Launching application.
      Triggering Xiaomi Gateway upate
      
      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      How to figure out the id of the sensor?

      posted in Utilities
      A
      Albert2002
    • RE: MMM-NetWorkScanner

      Same problem here. I would love to use the occupiedCMD and vacantCMD.

      posted in Troubleshooting
      A
      Albert2002
    • 1
    • 2
    • 3
    • 4
    • 5
    • 5 / 5