Hi,
If you are looking for an IR remote module, I wrote one some months ago to control a radio player embedded in the mirror. This module send notifications to other modules (or actions to show, hide or toggle modules).
This module work with lirc (the Linux infrared control) and has been tested on a RPi (4).
The module is available at https://github.com/thierry7100/MMM-Infrared-Remote
Hope this can help you.