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