It was a matter of time before I take the Mi Home system and integrate it into my NodeRED setup. I'm pleased to say there was no need for hardware hacks this time around, and all you need to do is flip a switch inside the Mi Home app.
Download the NodeRED flow:
Take a look at what is possible with NodeRED and Xiaomi Gateway.
Thank you for your support.