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
-
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.
-
Could receiving discovery announcements from both interfaces cause the integration to shut down and reinitialize its WebSocket connection?
-
Has anything changed recently in the integration or
aioshellyregarding IP address updates, device discovery, or connection handling? -
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?
-
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!