Shelly Pro devices intermittently unavailable

Hi everyone,

I’m looking for some help diagnosing a recurring issue with the official Shelly integration. After investigating the device logs and enabling debug logging in Home Assistant, I believe I’ve identified a possible issue with how the integration handles Shelly Pro devices that have both Ethernet and Wi-Fi enabled.

I’m hoping someone familiar with the integration or aioshelly can help confirm whether this is expected behavior, a configuration issue, or potentially a recent regression.

The problem

For approximately the past two weeks, at least this is when I noticed it first, several of my Shelly Pro devices have been intermittently becoming unavailable in Home Assistant, sometimes multiple times within a few minutes.

The devices recover automatically, but the temporary unavailable states are causing problems with my automations, particularly those monitoring shutter positions.

I’ve had these Shelly devices for almost two years, with both Ethernet and Wi-Fi enabled throughout that time, and I don’t recall experiencing this behavior previously.

My Wi-Fi-only Shelly devices (e.g. Shelly 1PM) don’t show the same unavailable states, and this is what got me in the path of the Pro devices’ WiFi/Ethernet behavior.

What I’ve discovered

After enabling debug logging on one of the Shelly Pro 2 Cover devices I captured three unavailable events:

  • 13:02:27

  • 13:16:31

  • 13:30:35

Each time, the Shelly logs show Home Assistant establishing a new aios WebSocket session at exactly the time the device becomes unavailable.

For example, at 13:30:35:

13:30:35 Script.List [7@aios-4610750762528]
via WS_in from [HA IP]:33976 via en0

13:30:35 Shelly.GetDeviceInfo [1@aios-4610939111648]
via WS_in from [HA IP]:46136 via en0

13:30:35 Shelly.GetConfig [2@aios-4610939111648]
via WS_in from [HA IP]:46136 via en0

13:30:35 Shelly.GetStatus [3@aios-4610939111648]
via WS_in from [HA IP]:46136 via en0

The same pattern occurs during the other incidents.

Meanwhile, the device continues receiving RPC pings from my browser, and its periodic energy status updates continue normally. I haven’t found evidence of a device reboot or complete Ethernet disconnection.

Looking through the Home Assistant Shelly integration debug logs, I noticed that the integration sometimes shuts down an existing WebSocket connection and initializes a new connection using a different IP address associated with the same physical Shelly device.

For example:

13:16:31.283 send(X.X.X.15:80): Script.List
13:16:31.334 host X.X.X.15:80: RPC device shutdown
13:16:31.334 Websocket client connection from X.X.X.15:80 closed
13:16:31.340 host X.X.X.14:80: RPC device create (WebSocket)
13:16:31.340 Trying to connect to device at X.X.X.14

I found similar IP changes for all other affected devices

My setup

  • Home Assistant: * Home Assistant OS, Core 2026.10.2, Supervisor 2026.10.3

  • Network: UniFi Dream Machine SE

  • Shelly devices: 2x Shelly Pro 2 Cover, 1x Pro 2PM, 2x Pro 4PM devices

  • Shelly firmware: 2.1.0 (build dated 2026-10-14)

Questions

  1. Anyone knows if this this an expected behavior? As I said I only noticed this the past couple of weeks but I can’t rule out that it was always the behavior and I just never noticed.

  2. Could receiving discovery announcements from both interfaces cause the integration to shut down and reinitialize its WebSocket connection?

  3. Has anything changed recently in the integration or aioshelly regarding IP address updates, device discovery, or connection handling?

  4. Is there a supported way to force the integration to use the Ethernet IP address and ignore the Wi-Fi address without disabling Wi-Fi on the Shelly itself?

  5. Would this be worth opening as a GitHub issue, and are there any additional debug logs that would help identify the exact cause?

Appreciate all the help!

I don’t use Shelly devices myself, but is there any reason you don’t want to disable wifi on the devices you have connected with ethernet? Since the device gets two IP addresses (one for ethernet, one for wifi) I would assume your problem would go away if you disable wifi on those devices.

If there’s need for physical access to disable it (again, I don’t use these devices) and that is a hassle you could just blacklist the MAC-addresses from your wifi.

Your diagnosis looks plausible and well supported. The issue resembles an existing Shelly Pro report. Dual Ethernet and Wi-Fi may trigger IP switching. HA then closes one WebSocket connection. It reconnects using the device’s other IP.
This causes brief unavailable states. The Shelly itself appears to remain operational. Your Wi-Fi-only devices provide useful comparison evidence.

No issue that I can see, I keep both enabled to have redundancy but I’m ok with disabling wifi. I was mainly curious to know if this has always been an issue and I just never noticed or was triggered by some recent changes in HA/the Shelly Integration.

I would strongly recommend disabling the WiFi if you have wired Ethernet. Generally speaking, wired Ethernet is always going to be more reliable than wireless. In addition, the less wireless devices you have where you can move those devices to wired frees up your wireless airspace.

OK, then I would try disabling wifi. 99% sure that would fix the issue.

This problem is related to the Shelly firmware 2.x. The device introduces itself once with the eth IP, once with a WiFi IP (or a null value).

You can disable a WiFi and open a ticket in the Shelly support.

Hi @Bieniu, thanks for the confirmation! I’ll open a ticket as you suggested, thanks for the support.