MMM-Xiaomi error after change to new gateway
Hi everyone, hi @mirko3000
My module was working fine until my old gateway became defective. I bought a Xiaomi Mijia Gateway 3 and set it up. I readed out the Tokan of the new Gateway and also of all the sonsors. This is the only thing that I have changed in the config file.
But now I get this error:
TypeError: Cannot read property 'length' of undefined at Class.getDevices (/Users/MagicMirror/modules/MMM-xiaomi/node_helper.js:70:41) at /Users/MagicMirror/modules/MMM-xiaomi/node_helper.js:45:20
Could this be because of the old MIIO library Github
If so, would it be difficult to switch to this new and current library?
Can someone help me to solve my problem?
Thanks a lot
No one who can help me?