{/* include: docs getting-started/troubleshooting cameras/troubleshooting-cameras */}

## Camera offline after a router restart?

Its IP address probably changed: routers hand out addresses with DHCP, and a restart or power cut can give a camera a new one. The camera's MAC address (its hardware ID) stays the same.

- **Vigiora re-finds it by MAC automatically** (server 1.6.1 and later) for cameras on the server's own network: within a few minutes the camera's addresses are updated and you get a notification such as "Camera 'Entrance' moved from 192.168.1.37 to 192.168.1.38 — updated automatically". Check that **Follow cameras when their address changes** is on under **System → Cameras**.
- **In the app (UI):** open the camera, click **Edit**, and read **Hardware ID (MAC)** on the **General** tab. If it hasn't moved by itself, change the address in **RTSP URL** to the new one.
- **With the API or an AI agent (server 1.6.7 and later):** ask your agent "find the camera with MAC 08:cc:81:4a:1f:02 and fix its address". It looks the MAC up (`GET /api/v1/network/lookup?mac=`), shows a dry run of `POST /api/v1/cameras/{camera_id}/actions/relocate`, and moves the camera once you agree. This needs a key or sign-in with `network:read` and `cameras:write` (admin or operator), and a self-hosted server with host networking.
- To stop it happening again, reserve the camera's address on the router (DHCP reservation). See https://vigiora.com/docs/cameras/fixed-ips-and-rediscovery.md.
