This is only indirectly related to Node-RED. But is anyone here using Xiaomi Mijia Smart Home devices? I just bought the Mi Control Hub and cannot set it up to the developer mode necessary to connect it to Node-RED.
All the available Flows don't work anymore:
node-red-contrib-xiaomi-devices
xiaomi sensors to mqtt
node-red-contrib-xiaomi-smart-home etc.
There are guides available on Github and in the OpenHAB documentation. But the App changed - or the newest batch of the Xiaomi Hardware might not have a developer mode anymore.
Already posted this question in the OpenHAB forum - will forward the answer here, if I get a reply there.
If nodes no longer work, you would be advised to open an issue on the nodes github page ( follow the github link from the nodes page on flows.nodered.org) which will notify the node's author
Having checked the github page for node-red-contrib-xiaomi-devices there is no issue opened
Hi, I am more concerned in the enabling of the developer mode
NodeRed is working ok for other stuff.
Its enabling the dev mode on my new Xiaomi Gateway I need help with, the app has changed and the option to enable dev mode is not there anymore
@ukmoose It is not a bug with the node-red-contrib-xiaomi-devices but with the Xiaomi HUB (either the Firmware or the Smartphone App accompanying it). In the newest version, you are no longer able to activate the Dev Mode - which means that the HUB does not show up as local device and cannot be used in Node-RED.
I posted this issue in several places - but did not get an answer yet. I did not raise an Github issue - as I don't know if the code is affected by it. If you already activated the DEV Mode, everything might just continue to work.
@zombiespawn I found a possible solution for this issue - unfortunately, this needs some additional Hardware to work, which I don't have yet. You can replace the Xiaomi Hub with a CC2531 USB sniffer that enables you to communicate directly via Zigbee with your Xiaomi sensors.
Links to the Hardware (and the Firmware that makes it work) can be found here on Github. And there are two (German) guides on how to use it in the FHEM Forum and here as a Youtube Tutorial.
@cflurin what is your App set to? Mainland China? I bought my Xiaomi Hardware in HongKong and have to set the App to HK to be able to connect (otherwise the HUB is not found on my network at all). I suspect that this is the issue. But I couldn't get my hand on a Xiaomi HUB with the Chinese Firmware installed.
My Region is Hong Kong (setting it to China does not work - the Hub does not show up and so I cannot get to the Gateway About page). In this HK Mode the whole About page is missing. I tried other random spots to tap repeatedly but no luck.
I have set the region to Mainland China at the first installation as far as I remember.
But this is the issue, the Dev mode only works in the Region Mainland China.
One option would be to reset the gateway and start again?
Yes, you can decide during your first setup - i already went back to that and choose China. But the app no longer detects the gateway when set to the wrong locale. Seems to be a variable set inside the firmware of the gateway itself.