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

    Posts

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

      Dear @mirko3000 i have follow your instraction and i install the MMM-Xiaomi, i install and the miio to get the access token but the scan of miio is not find the getaway accesstoken

      pi@raspberrypi:~ $ miio discover
       INFO  Discovering devices. Press Ctrl+C to stop.
      
      Device ID: 631XXXXX
      Model info: Unknown
      Address: XXX.XXX.X.XXX
      Token: ???
      Support: Unknown
      
      

      I use the MI application and get the ip and accessToken and the id from temperature sensor.
      The name is lumi.158xxxxxxxxxxx
      this is the code of config

      module: 'MMM-xiaomi',
      		position: 'top_right',
      		header: 'Temperature / Humidity',  // This is optional
      		config: {
      			config: {
      			gatewayIP: 'IP getaway from MI home',
      			gatewayToken: 'accese getaway from MI home',
      			showWindow: true,
      			showVentilation: true,
      			showLights: false,
      			audioNotifications: true,
      			rooms:  [
      				{
      					name: 'Bedroom-Mi Temp',
      					sortOrder: 10,
      					devices : ['lumi.158xxxxxxxxxxx']
      				},
      					]
      					}
      		}
      

      I execute and i have this error in terminal andthe xiaomi modules say connecting to xiaommi getaway.

      { Error: Call to device timed out
          at retry (/home/pi/MagicMirror/modules/MMM-xiaomi/node_modules/miio/lib/devi             ce.js:225:18)
          at _ensureToken.catch.err (/home/pi/MagicMirror/modules/MMM-xiaomi/node_modu             les/miio/lib/device.js:238:8)
          at <anonymous> code: 'timeout' }
      
      

      Sorry if my English is bad

      posted in Utilities
      V
      VagelisAn
    • 1 / 1