We haven't setup a test to determine the exact range yet. From using it in the office with various devices it preforms similar to how a tv remote would. The next version of the sensor block has IR transmitter in two locations so the coverage should be even better now.
I am not sure about initial release for commands learning and I will need to check in with the dev team for you. We are planning on having a section in the web UI that allows people to setup their own commands or add ones that are not already present.