Choose Call Service from the Developer Tools. Choose the service broadlink/learn_command from the list of Available services: and hit CALL SERVICE. Press the button on your remote with in 20 seconds. The packet will be printed as a persistent notification in the States page of the web interface.
sorry, this is a kind of dumb question, but how did you copy + paste the code in the notificiation? I tried chrome and IE and it seems to disable copy + paste.