DEV Community

Xing
Xing

Posted on

Why Your Wi-Fi Security Camera Keeps Going Offline

Almost always, it is not the camera. In roughly nine cases out of ten the fault sits upstream of the camera itself, and two culprits account for nearly every case: the Wi-Fi link and the power supply. Working through them in that order will usually save you from replacing hardware that was never broken.

Start with the signal number, not the bars

The thing people misjudge most is signal strength. Your phone showing two or three bars at the front door tells you very little, because a Wi-Fi camera needs a sustained connection rather than an intermittent one. The number that actually matters is RSSI.
Anything weaker than about -65 dBm starts producing dropouts, frozen video and "camera offline" messages that recover by themselves a minute later. Below about -70 dBm it is borderline unusable no matter how new your router is. Most camera apps show this figure somewhere in the device settings or on the Wi-Fi page. If yours does not, any Wi-Fi analyser app run at the camera's location will get you close enough.

Check which band it is actually on

The great majority of Wi-Fi cameras are 2.4 GHz only, even now. They will happily associate with a router and then behave badly when anything else is happening on the network. Two specific traps catch people out.
If you originally set the camera up on a phone hotspot, some phones default to 5 GHz, and some cameras will connect, drop, reconnect, forever. And if your router has band steering enabled behind a single merged SSID, the camera can get pushed toward a band it handles poorly. Giving the camera its own dedicated 2.4 GHz SSID on a fixed channel (1, 6 or 11 rather than "auto") fixes a surprising share of mysterious disconnects.

Make sure nothing is isolating your clients

Guest networks do this by design: devices can reach the internet but cannot talk to each other, so your phone cannot reach the camera even though the camera clearly has internet. AP isolation, sometimes called client isolation, does the same thing. On some mesh systems there is a per-device toggle you may have switched on months ago and forgotten about.

The cause nobody suspects: power

A camera draws a burst of current every time the infrared LEDs switch on at dusk, and every time the motor moves on a pan-tilt model. An adapter that has aged, or an extension cable that is long or thin, drops voltage under that burst just enough to reset the camera.
That is why it always seems to fail at the same time of day, which is exactly what people describe when they say "it disconnects every night". The test is cheap: swap in a known-good adapter of the same rating, or plug the camera into a socket near the router for two days. If the disconnects stop, you have your answer.
On battery cameras the same failure looks different. The battery is fine but reports less charge than it holds, because lithium cells sag badly in the cold. A battery camera that drops offline every cold morning and recovers by the afternoon is usually a temperature problem, not a firmware problem.

The rarer causes worth knowing about

A failing SD card can take the firmware down with it, so if the drops coincide with recording sessions, pull the card and run the camera without one for a day. A full card that has stopped overwriting will do the same thing. Overheating is real for cameras sitting in direct summer sun inside a dark plastic housing: if it always fails at 2 p.m. and never at night, that is your clue. Firmware bugs exist and updating is worth doing, but updating before ruling out power and Wi-Fi means you will never know whether the fix actually worked.

One trick that saves a lot of guessing

Run a continuous ping to the camera's IP address from a computer while you watch the app. If the pings keep answering but the video still freezes, you have a streaming or app problem. If the pings time out at exactly the moment the app says offline, you have a network problem. If the pings stop entirely, including replies from the router itself, you have a power problem and the camera has rebooted.

If you are buying rather than fixing

Check whether the model supports 5 GHz at all, and whether it can record to local storage so that a cloud outage does not leave you with nothing. Then check the one specification that actually predicts reliability: whether it has an external antenna, or at least a documented sensitivity figure. A camera you never have to touch again is worth more than one with a slightly better spec sheet.
I work on the manufacturing side, so I have a bias here. I would rather see a spec sheet list Wi-Fi sensitivity and operating temperature range than another row of marketing numbers, because those two specifications decide whether your camera stays online. If you are comparing hardware rather than troubleshooting one, those are the two lines worth asking your supplier about.
Our camera range is here, if it helps: https://xingliaoshop.com/product-category/surveillance-camera/


Xingliao Smart Home builds smart switches, video doorbells and security cameras on Tuya WiFi and Tuya ZigBee, and runs OEM/ODM programmes from Shenzhen. Factory and ODM capability.

Top comments (0)