In the era of ubiquitous systems home automation Smart device owners often face the need for extensive hardware configuration. Standard scenarios offered by manufacturers don't always cover the needs of advanced users who want to integrate gadgets into a unified ecosystem or set up local management without cloud services. A key step in this process is finding the device's unique identifier on the network, without which further work with MQTT, Home Assistant, or Node-RED protocols is impossible.
Definition IP addresses Understanding your smart plug is the first step to gaining complete control over energy consumption and process automation. Unlike simple light bulbs, plugs often require a stable local connection to respond instantly to commands. There are several proven methods for obtaining this information, each with its own advantages depending on the equipment used and the user's technical expertise.
In this article, we'll cover all available methods in detail, from simple actions via a mobile app to professional network traffic analysis. You'll learn how to find a device's address even in a complex network infrastructure with multiple access points. A static IP assigned to an outlet ensures that your automation scripts will never be interrupted due to an address change after a router reboot.
Searching for a device via the router's web interface
The most reliable and universal way to determine the address is to contact the Internet distribution source directly. Your router Keeps a detailed log of all connected clients and the addresses assigned to them. This method works regardless of the brand of the outlet itself, whether it's the popular Tuya, Sonoff, or lesser-known Chinese OEM models.
To begin, you need to log into your router's control panel. This is usually done by entering the gateway address (often 192.168.0.1 or 192.168.1.1) in the browser's address bar. After logging in, look for a section called "Client List," "DHCP Server," "Wireless Status," or "Attached Devices." Interfaces vary significantly between manufacturers, but the logic remains the same.
In the list of connected devices, you need to find your outlet. It may be displayed under its real name (for example, SmartPlug_001), under the manufacturer's name (for example, Espressif For ESP8266 chips, it may be listed as an unknown device with a MAC address. If you're unsure which device is the outlet, you can temporarily disconnect the outlet's power and refresh the list—the missing entry will indicate the device you're looking for.
- 🔍 Open your browser and enter the router's IP address in the address bar.
- 🔍 Find the "Client List" or "DHCP Lease" section in the admin menu.
- 🔍 Identify the socket by its MAC address (indicated on the sticker) or hostname.
- 🔍 Copy the assigned IP address for further configuration.
⚠️ Note: If you have a lot of devices on your network, searching by MAC address is the only guaranteed way to avoid confusing the outlet with another gadget, as host names may be standard.
Using the manufacturer's mobile applications
Many users ignore the capabilities of official apps, preferring to go straight to the router settings, but this isn't always the best option. Apps like Smart Life, Tuya Smart or eWeLink Technical information is often hidden deep within menus, but it's there. This method is ideal for those who are afraid of making mistakes in their router settings.
In some cases, especially with devices based on Tuya protocolThe IP address may not be directly displayed in the main menu. However, if the outlet supports AP (access point) mode or local management, connection information may be available in the device properties. Clicking the edit icon (usually a pencil) or triple-clicking the device icon sometimes opens a hidden menu with technical information.
It's worth noting that modern versions of apps often hide IP addresses to "simplify" the interface, relying on cloud management. If the app doesn't have a clear "IP Address" or "Device Info" field, this method may be useless, and you'll have to resort to third-party utilities. Nevertheless, it's worth checking first, as it's the quickest way.
An interesting nuance is that some brands, such as Shelly or TP-Link Kasa, allow you to view the IP address directly in the device card. This is due to their architecture, which is designed for local management. For other brands, having this information is the exception rather than the rule.
Scanning the network using a PC and smartphone
When built-in tools fail, specialized scanner programs come to the rescue. They scan the entire address range in your subnet and produce a detailed list of all active devices. This is perhaps the most professional and informative method, allowing you to see not only IP addresses but also open ports.
For Windows computers, the gold standard is the utility Advanced IP ScannerIt's free, requires no installation, and works instantly. Once you run the scan, you'll see a list of all devices. Search by manufacturer, which often includes the chip brand, for example, Espressif, Realtek or Tuya.
For Android smartphone owners, this app is perfect. FingIt will not only show the IP address but also identify the device type (Smart Home Plug, Camera, Phone). On iOS, the functionality of similar apps may be limited due to Apple's security policies, but basic information can be obtained. The main thing is that the phone and the outlet must be on the same Wi-Fi network.
Example command for Linux/Mac (in terminal):
nmap -sn 192.168.1.0/24
When using scanners, pay attention to open ports. Smart plugs often use ports. 80 (web interface), 1883 (MQTT) or specific ports like 6668 for local Tuya control. The presence of these ports confirms that you've found the device you were looking for, and not, say, a smart light bulb.
☑️ Scanner check
MAC address analysis for identification
Sometimes a router's client list displays numerous devices with incomprehensible names. In this situation, the MAC address—the unique physical identifier of a network interface—comes to the rescue. The first three bytes of the MAC address (OUI) identify the chip manufacturer, allowing you to pinpoint who's who on your network.
The sticker on the socket body or in the instructions contains a string of 12 hexadecimal characters (for example, A4:C1:38:...). By comparing the first 6 characters with the OUI database, you can determine what device is behind the IP address. For example, addresses starting with D4:22:CD or 10:5F:49, almost always belong to devices based on Tuya.
| MAC Prefix (OUI) | Chip manufacturer | Probable brand of the device | Device type |
|---|---|---|---|
| 18:FE:34 | Espressif | Sonoff, Shelly, DIY | Smart socket/relay |
| A4:C1:38 | Espressif | Various OEMs | Wi-Fi module |
| D4:22:CD | Tuya | Tuya, Smart Life | Smart socket |
| 24:0A:C4 | Tuya | Teckin, Gosund | Smart socket |
Knowing the chip manufacturer makes it easier to choose a firmware or integration method. For example, devices based on Espressif You can often reflash it Tasmota or ESPHome, which offers enormous opportunities. Devices on chips Beken or Realtek may require other approaches, such as Libretiny.
What to do if the MAC address does not match?
Some manufacturers use random MAC addresses or mask them. In this case, use the time the device was connected to the network as a guide—plug it in and see what new IP address has appeared in the list in the last minute.
Setting up a static IP address
Once you have the current address, it is critical to permanently assign it to the device. Protocol DHCPThe IP address provider can assign a new IP address to a socket at any time, which will break the connection with your automation scripts. To prevent this, use the Static Lease feature or address reservation.
This configuration is performed in the router. You need to find the list of static leases (Static DHCP Leases) in the DHCP server menu. Add a new entry, specifying the MAC address of your outlet and the desired IP address. It is recommended to select an address from a range that is not automatically assigned, such as at the end of the pool (e.g., 192.168.1.200) to avoid conflicts.
After saving the settings, it's a good idea to reboot the outlet (turn the power off and on). It will request a new address, and the router, seeing a familiar MAC address, will assign it a reserved IP address. Now you can be sure that the address 192.168.1.200 will always lead to your outlet, regardless of the time of day and the number of reboots.
- 🛠 Go to your router's DHCP server settings.
- 🛠 Find the "Static Lease", "Address Reservation" or "IP Binding" option
- 🛠 Enter the MAC address of the socket and the desired permanent IP.
- 🛠 Save the settings and reboot your smart device.
⚠️ Important: Make sure the static IP address you select is in the same subnet as your router, but not in the dynamic IP range. Otherwise, an address conflict will occur and both devices may lose network connectivity.
Common problems and their solutions
During setup, users often encounter a situation where a power outlet is visible on the network but doesn't respond to requests. This may be due to router security settings, such as enabled Wi-Fi client isolation (AP Isolation). This feature prevents devices within the network from communicating with each other, blocking local management.
Another common issue is operation in the 5 GHz band. Most budget smart plugs only support the standard. 802.11 b/g/n (2.4 GHz). If your router broadcasts the same network with a common name (Smart Connect) for both bands, the outlet may not connect correctly. We recommend temporarily separating the networks or forcing the device to use the 2.4 GHz band.
It's also worth mentioning potential power supply issues. Some low-cost models may lose Wi-Fi connectivity during power surges or if connected to a load that generates strong interference. In such cases, the IP address may disappear from the client list, and the device will reboot periodically.
Why is the socket not visible after changing the router?
When you change your router, the address range and password change. You'll need to reset the outlet to factory settings (hold the button for 5-10 seconds) and reconfigure it, as it remembers the old network settings.
Is it possible to change the IP address of the socket itself?
This isn't possible with the default firmware. The sockets act as DHCP clients and receive their address from the router. Changing the IP address is only possible by flashing the device to an alternative firmware (such as Tasmota), which allows static IP configuration within the device itself. However, this requires soldering and console skills.
What to do if the IP address constantly changes?
This is normal behavior when using DHCP unless a reservation is configured. You need to log in to the router and assign the address to the outlet's MAC address (Static Lease), as described in the section on setting up a static IP.
How can I find out the IP if the socket is already in the wall and a reset is not possible?
Use a network scan (Fing, Advanced IP Scanner). Turn off the power to the outlet using the wall switch (if available) or unplug another device from the outlet if it's a pass-through outlet, and see which device disappears from the list in the scanner app.
Does internet speed affect IP address search?
No, IP lookups occur within your local network (LAN). The speed of your ISP's external connection is irrelevant. What matters is the quality of the Wi-Fi signal between the router and the outlet.
Is it safe to open ports to access the outlet from the internet?
Opening direct ports (port forwarding) for cheap smart plugs without a password on the device itself is strongly discouraged. Use gateways like Home Assistant with proper HTTPS access or a VPN for remote control.