Guides
Setup code sticker worn or unreadable? What you can still do
A faded, scratched or half-peeled setup code sticker is often still readable with the right light and a phone camera. Here is how to rescue the code, and what to try when you can't.
3 min read
Setup code stickers live hard lives. They sit on the back of plugs that get pulled in and out, on bulbs that run hot for years, on sensors stuck to damp window frames. The print fades, the laminate scuffs, and the corner peels off exactly where the last two digits were.
A worn sticker is often still readable, though. Try these in order.
Clean it, carefully
Wipe the sticker with a dry microfibre cloth. If there is grease or grime, use a barely damp cloth and dry it straight away. Avoid alcohol and cleaning sprays, which can lift the last of the print off thermal labels.
Light it from the side
Faded print and scratched laminate are easiest to read with light coming in at a low angle, not straight on. Turn the room lights off and hold your phone’s torch, or a second phone, off to one side. Move it around slowly. Print that has gone pale often leaves a slight texture that shows up in a raking light.
Let the camera do the reading
Your iPhone’s camera often sees more than you can.
- Take a close-up photo using the camera’s zoom, or the macro mode on iPhones that have it, rather than getting the phone very close.
- Edit the photo. In Photos, turn up the contrast and the black point, and turn down the exposure. Faded grey digits often turn back into black ones.
- Try Live Text. Touch and hold on the digits in the photo. If iOS can recognise them, you can copy them as text.
Try the QR code, not just the digits
QR codes are built with spare data, so they keep scanning with some damage. A scuffed or partly faded QR can still work when the digits next to it are hard to read, and the reverse is also true. Try both.
When scanning, hold the phone steady about 15 to 20cm away, light the sticker evenly, and avoid glare from glossy laminate by tilting it slightly.
Check for another copy
Many accessories have the code printed in more than one place: on the device, on the box, and on a card or page in the manual. Some have a second, removable sticker in the box meant to be kept. Our guide to finding a lost setup code lists the usual places.
If you can read most of it
HomeKit codes are eight digits, usually printed as three groups (123-45-678). Matter manual codes are eleven digits, often grouped as 1234-567-8901. Knowing the shape tells you how many digits you are missing.
If just one digit is unclear, trying the two or three likely candidates is fine. Common lookalikes when print fades are 3 and 8, 1 and 7, 5 and 6, and 0 and 8. Don’t go further than that. There are too many combinations, and HomeKit accessories stop accepting pairing attempts after a long run of wrong codes, until you restart them.
If the code is gone
- Contact the maker. Some will help if you send the serial number and proof of purchase. Many won’t, but it costs nothing to ask.
- Use the maker’s app, if there is one. Some accessories can be set up in the maker’s app without the HomeKit code, then shared to Apple Home through Matter.
- Accept the loss. A HomeKit-only accessory with no readable code and no other route can’t be added to Apple Home again. It is worth knowing that before you factory reset it.
Once you can read it, save it
The code you just rescued won’t get any easier to read. Save it somewhere other than the sticker straight away, and put a strip of clear tape over the sticker to slow down the wear.
PairVault can read a setup code straight from a photo in your library, so the close-up you just took is enough. It stores the code as printed and rebuilds a clean, scannable QR from it, so you never have to squint at that sticker again. Your first five codes are free.