@achileos
That is really cool. I took a quick look at the Koenkk project, and looks like lots of the config stuff is for HomeAssistant. Would you be able to share anything that is specific to OpenHab? I am pretty new with OpenHab; never used anything with mqtt.
In another thread, EU Zigbee dongle, people talked about the Xiaomi sensors dropping off the network after a little while (using the Zigbee binding). Do you have the same problem? It is quite interesting the way Koenkk works; look like they basically fake themselves as the coordinator.