At last Im able to work all three my remotes, the b21 small, the b25 premium, and the Nokia 8000, to work with both Android tv, and in the CoreELEC. In atv works in paired bluetooth mode as normal. On the Coreelec, works in IR mode.
No more pairing issues.
But you will need Flirc usb ir receiver.
In the flirc I choosed the Kodi, learned/teached the homatics remote buttons(all have ir functions) , than all working perfect.