First, you need to discover your RM3 Mini. (we are assuming that you did connect it to your WiFi)
python2 ./discover.py
python2 ./learn.py code_name 0
Where 0 is index of discovered id. (take a look at config.json)
Codes are saved to commands.json.
python2 ./send.py code_name 0
Where 0 is index of discovered id. (take a look at config.json)