Start by using a text editor to modify IrpProtocols.ini by adding the following 3 lines:
[protocol]
name=Xiaomi
irp={36k,290,msb}<2,-2|2,-3|2,-4|2,-5>(1000u,-2,D:8,F:8,C:4,2,^30m)+ {C=(D:4:4^D:4^F:4:4^F:4)} [D:0..255,F:0..255]Then open IrScrutinizer and go to the Generate tab. Select Xiaomi protocol, and enter 234 into the D field (except for Power, for which D=60), enter the OBC into the F field, and click the Generate button.
Get the OBCs from this post. For example, Menu is D = 234, OBC = 4.
0000 0073 0000 000C 0024 0015 0015 0034 0015 002A 0015 002A 0015 002A 0015 0015 0015 0015 0015 001F 0015 0015 0015 0015 0015 0015 0015 01E0