Xiaomi mi home kit api

Im very new to Xiaomi devices. I bought and connected some Xiaomi Mi home kit devices , hub and window sensors. Now, how can i create http requests to communicate with these devices , if this possible and is there any detailed tutorial about that ?!Thanks


There is a Xiaomi Mi IO binding and a Xiaomi Mi Smart Home binding and I think both of those require a Xiaomi hub. There are also some Xiaomi devices that work with the Zigbee binding.