Xiaomi Mi Infrared Remote Control

You can obtain the binding through the buildin store, select the “Openhab Xiaomi Mi IO Binding”
With the binding installed, if you are lucky it will discover your device.

Once discovered, you may need to enter the token, or the token is provided during discovery (I can’t tell… depending per device if it is provided automatically)

Please look for how to obtain the token in this topic

Also google may be of assistance here…

Once installed, and if compatible, I expect it to be identified as 'miio:unsupported" as no build in support is available.
Than enable the (advanced) cmd channel

You can than use the cmd channel to execute commands. From what I saw there are 2 commands:
miIO.ir_learn["key" : 1] → to learn codes. replace the number with the id you want to learn
miIO.ir_read["key" : 1 ] → to read the key. dunno what that actually means
miIO.ir_play["freq": 38400, "code": command ] → I guess the commands can be obtained with the read cmd. the frequency is the default one… you probably can have different ones as well.

Anyway… once you have the communication working fine, set the log level to debug and share the output of the binding (see also the vacuum topic). I may be able to add support for it in due time.