Shelly Tips – Static IP Addresses

Setting a static IP address significantly reduces the amount of time it takes for Shelly devices to connect to Wi-Fi and report. Below are steps to take while setting up Shelly products to ensure the best networking performance.  Whether extending battery life or simplifying setup for scripting, Shelly products work better and are more easily managed with a static IP address assigned.

Key Settings

Static IP Address – Without a static IP address, Shelly devices must connect to Wi-Fi, request an IP address, complete the IP assignment internally, and finally report. With a static IP address, it simply connects to Wi-Fi and reports. For battery-powered devices, this can improve battery performance. For powered devices, it still enables lower latency. To set a static IP address on a Shelly device,

  1. Open the Shelly Smart Control app.

  2. Tap the device.

  3. Tap the Networks icon.

  4. Tap Wi-Fi1.

  5. Tap the Set static IP address checkbox.

  6. Enter the IP address and tap Save.

image-20240419-124258.png

 

NOTE: Ensure that the assigned address is not already in use. If the IP address is in use, the device will be unreachable.

 

DHCP Range – It is recommended to set an IP address outside the DHCP range provided by the router. This eliminates the possibility of a device squatting on the IP address if the Shelly device goes offline.

Reservation –In the router’s settings, define a DHCP reservation for Shelly that matches the static IP address. This ensures that no other device connected to the router can get the IP address.

 Other Networking Tips

  •  Shelly products require a 2.4 GHz Wi-Fi connection.

  • If issues arise while discovering Shelly products during setup and both the 5 GHz and 2.4 GHz networks have the same name, try temporarily turning off 5 GHz until setup is complete.

  • While a dedicated network is typically recommended for IoT devices, it isn’t necessary for Shelly devices. The products have low broadband demands and can be disconnected from the optional Shelly Cloud service.

  • Shelly devices check time using Google NTP. However, another NTP server can be provided.

  • Shelly devices check for firmware updates at the address api.shelly.cloud. If that connection is blocked, the devices still function as expected, without an option or OTA firmware update.