Gate opener

Hi,

I want to control my gate with an arduino, first with RF, later add a wifi board so I can control it with my iPhone.

I have working code to control power plugs through 433Mhz (KAKU power plugs)

The existing PCB of my eletric gate has a teach button. But I don't know which "code" I have to send.. Where can I find this or how can I know WHAT to send??

these are my existing remote controls: Roger H80-TX22 remote control, Originele-Handzender.nl