A smart camera or router can continue working after the manufacturer stops issuing security updates. To find out whether yours is still supported, look up its exact model and hardware revision, then compare its installed firmware with the manufacturer’s release notes and end-of-support notice. Check the security update period even if the product is under warranty.
Replace an unsupported router first. It handles traffic for the rest of your home. Next, prioritise internet-connected cameras, locks and alarms. If your internet provider supplied the router, ask for a replacement that still receives security updates. Enable automatic updates on devices that support them.
If you need to keep an older device temporarily, put it on a separate guest or IoT network that blocks access to your main devices. Check that the network actually isolates connected devices from your home computers. Remove any port-forwarding rule that exposes the device directly to the internet unless you still need it. Disconnect equipment you no longer use.
ESET’s guidance on unsupported smart devices · UK NCSC smart-device guidance