Since the Xiaomi Gateway, at my time of testing, didn’t support all the cube gestures and the Aqara cubes at all; I ditched the Xiaomi Gateway (and hence the binding) and bought a ConBee USB ZigBee dongle from Dresden Elektronik instead. Running their deconz SW on the same machine as OH2.
Interfaced through their REST API and OH2 http binding.
Details here.