The API description of the Xiaomi Smarthome Gateway multicast messages
English translation (wip) can be found here
Chinese original can be found here