You can capture the code out of earshot of your garage. Then it would work to open the garage 1 time assuming the garage remote is not used first. Here is a real basic explanation.
The garage has a list of codes that it will accept. They are all pseudo random. The remote and the garage both know a secret seed that is used to create the codes. They share that seed when they were first paired. Even if you got the secret shared seed you would not know the pseudo random process of generating keys from the seed. The keys they generate from the seed are in order. If key 1 is used it can never be used again.
- 51265268541852
- 85482158487828
- 69478526259829
- 65484856285888
… and so on.
Key one is invalid now because you used it. Let’s say that you are at work and you pressed your remote. Maybe you even copied it with the Flipper.
- 51265268541852 (Already used)
- 85482158487828 (The garage never heard this code but the remote will never repeat it.)
- 69478526259829
- 65484856285888
At this point codes 2,3, and 4 are valid but the remote thinks code two has been used. It will never play that key again. If you had recorded key 2 you could replay key 2 with your Flipper and the garage would open. If instead you tried to save key 2 and used your remote when you got home the remote would play key 3. The garage knows it hasn’t heard key 2 but because it heard key 3 it will blacklist key 2 and key 3 because it knows key 2 should have came first. Now only key 4 is valid. The process continues like this practically to infinity because the keys are much bigger. You could probably sit in front of your garage forever pressing the button and no key would ever repeat.
- 51265268541852 (Already used)
- 85482158487828 (Saved to your Flipper but no longer valid)
- 69478526259829 (Remote played key 3 because it had already played key 2. Garage invalidates key 2 and 3 upon hearing key 3)
- 65484856285888
Hopefully this gives you an idea of what rolling codes are. It’s a bit more complicated but I tried to keep it basic without losing the concept.