Is it possible to connect the Xiaomi Universal Ir Remote without the gateway?

Hey everyone,
like stated above im searching for a solution to get rid of the xiaomi gateway, but it seems that the Xiaomi Universal IR Remote does need the gateway to function.
Does anybody knows a workaround for that or is there a way to flash the device to get direct Wifi access to it?