QR code alarm on Android — so you can't scan it from bed
A QR code alarm only stops when you scan a code with your phone's camera — Beyond Alarm's free barcode mission does exactly this. The trick is where the code lives: a room away, with no other barcode within reach of your bed.
The short version:
- Beyond Alarm scans any QR code or barcode, fully offline — no printing, the toothpaste tube in the bathroom already works.
- The walk to the code is what wakes you, not the scan.
- Put the code in another room, somewhere you'd go anyway in the morning.
- Clear barcodes from your bedside — that's the loophole.
- Use one scan for one room, or two scans in two rooms.
How a QR or barcode alarm works
When the alarm rings, it opens the camera and waits for a code. The moment one is in view, the phone reads it — on the device, no internet needed — and counts a scan. Once you've scanned as many times as you set, the alarm stops.
There are two kinds of app here, and the difference matters:
| Kind | What it accepts | What that means for you |
|---|---|---|
| Any code (Beyond Alarm) | Any QR code or barcode at all | Nothing to print or register — just keep bedside barcodes out of reach |
| Registered code | Only the code you set up in advance | Print it or pick an object, then keep it a room away |
Beyond Alarm's barcode mission is the first kind: it accepts any QR code or barcode. That makes setup instant — the toothpaste tube in the bathroom is already a code. Which product barcodes scan best has its own guide. The one rule is the one below.

The loophole: barcodes by the bed
Look around your bedside table. A water bottle, a box of tissues, a pack of medicine, a book — almost all of them carry a barcode. With an any-code alarm, any of those switches it off from under the duvet.
So before the first night:
- Clear the bedside. Move anything with a barcode out of arm's reach, or turn it barcode-side down.
- Pick the code that stays. The shampoo or toothpaste in the bathroom, the coffee jar in the kitchen — something you'll walk to anyway.
- Keep your phone out of reach too. If the phone is on the bedside table, a code across the room is still a short stretch away. A charger by the door fixes both problems.
If your app registers one specific code, this matters less — but don't keep a photo of that code on another device next to the bed, because a camera reads a code on a screen just as well as on paper.
Where to put the code
| Good place | Why |
|---|---|
| Bathroom mirror or sink | You'd go there first anyway, and the light comes on |
| The kettle or coffee jar | Ties waking up to the first thing you actually do |
| By the front door | Furthest from bed; good for very early starts |
| Inside a cupboard door | You have to open something — one more step awake |
Avoid anywhere you can reach by leaning — a desk by the bed, a windowsill next to it. Ten steps is the minimum that works; a different room is better.

Beyond Alarm
Beyond Alarm does this part for you: the alarm will not switch off until you have actually moved, and the apps you pick stay locked afterwards.



One scan or several?
One scan is enough if the code is a room away; the walk does the work. If you tend to make it to the bathroom and then drift back to bed, set two scans and keep the second code in a different room — the kitchen after the bathroom. Beyond Alarm counts a new code straight away and the same code again after a short pause, so two different places is the best way to set it.
When the scan won't work
A scan that fails at 6am is worse than no mission at all, so test the code you picked in the light you'll have in the morning.
| What happens | Likely cause | Fix |
|---|---|---|
| The camera sees the code but nothing happens | Glare on a shiny label | Tilt the code, or the phone, away from the light |
| Works at night, not first thing | The room is too dark | Pick a code by a light you switch on anyway |
| Only reads it close up, or not at all | Small, creased or curved barcode | Choose a flat, larger code — or print a QR code |
| The camera doesn't open | Camera access was not kept | Allow it "While using the app", not "Only this time" |
That last one is the Android catch: "Only this time" is taken back once the app closes, so the morning alarm opens with no camera.
The apps that do this
| App | Accepts | Notes |
|---|---|---|
| Beyond Alarm | Any QR code or barcode | Free, offline, Android and iPhone; plus Morning Lockout to block apps after the alarm |
| QRAlarm | A code kept in another room, per its listing | Open source; on Google Play and F-Droid |
If scanning isn't for you, a photo alarm works the same way with a picture of a place instead of a code, and a push-up alarm skips the walk and gets your heart rate up instead. Every mission is ranked by how hard it is to fake half-asleep.
Beyond Alarm is the QR alarm we'd install. Its barcode mission scans any code, fully offline, and it's free on Android and iPhone. Add Morning Lockout and the apps you'd scroll in bed stay blocked for a while after you're up.
Try it tonight
Clear the bedside, pick the code in the bathroom, and set an alarm for two minutes from now in Beyond Alarm. Then, before you walk anywhere, try to scan something from the bed. If you can't find a code within reach, you've set it up right.
Common questions
Do I need to print a QR code?
Not necessarily. Any barcode works with apps that accept any code — the one on a shampoo bottle, a cereal box or a toothpaste tube. Printing a QR code is useful if your app asks you to register one specific code.
Can I scan a code from a photo on another phone?
Usually, yes — a camera can't tell a printed code from one on a screen. That is the reason the code should live somewhere you have to walk to, with no copy of it near the bed.
How many scans should I set?
One is enough if the code is a room away; the walk is what wakes you. Two scans in two different rooms is a good routine if you tend to drift back once you're up.
Why won't my alarm scan the code?
Usually glare, darkness or distance. Turn a light on, tilt the code so the light doesn't reflect off it, and hold the phone about a hand's length away. A creased or curved barcode can also be hard to read; pick a flat one.
Does a QR code alarm work on iPhone?
Yes. Scanning is done by the phone's camera either way, and the setup advice here — a code in another room, nothing scannable by the bed — applies the same. Beyond Alarm's barcode mission is on iPhone as well as Android.
Does a QR alarm work without internet?
It should. Scanning a code happens on the phone's camera and needs no connection. Beyond Alarm's barcode mission runs fully offline.
Beyond Alarm
An alarm that keeps ringing until you’ve actually moved — then blocks the apps that pull you back to bed. Free to start, no account.



Keep reading

Best alarm for deep sleepers: what the science says
Why deep sleepers miss alarms: slow-wave sleep, high arousal thresholds and sleep inertia. What an alarm must do about it, and why Beyond Alarm is the pick.

Best alarm for waking up early and staying up (2026)
The best alarm for waking up early: how to move your morning wake-up to 5 or 6am in 15-minute steps, and why Beyond Alarm makes the early hour stick.
