Dog Crate door on RF

How can a key fob provide a different key depending on where it is located?