I have an RM4C Mini which I integrate with openHAB via the same broadlink-mqtt as mentioned by the OP:
Perhaps this helps, as it’s a post-RM4 tutorial…