|

Shelly Keeps Going Offline? Here’s How to Fix It

If your Shelly relay repeatedly drops from Wi‑Fi or your smart home platform, the fix usually involves stabilizing its power supply, switching to a 2.4 GHz network exclusively, or updating its firmware. Below you’ll find a diagnostic checklist, then targeted fixes for each cause – backed by real behavior you can observe.


Start With a Quick Symptom Check

Before digging into router settings, run through this pass/fail checklist. Each item can rule out a common cause in under a minute.

  • Is the Shelly’s blue LED blinking in a pattern?

Three short blinks every few seconds = no Wi‑Fi connection. Solid on = connected but possibly failing MQTT/CoIoT. Off with no blinking = no power.

  • Does the device respond to the physical switch (if wired) but not to the app?

That points to a network or cloud issue, not a hardware failure.

  • Can you see the Shelly in your router’s DHCP lease list when it’s offline?

If the MAC address isn’t listed, the relay never connected – likely a Wi‑Fi distance or interference problem.

  • Does the problem happen only during certain times (e.g., when the microwave runs)?

That suggests 2.4 GHz band congestion or a nearby noise source.

  • Have you tried power‑cycling the Shelly by flipping its breaker off/on?

If it comes back online for a while and then drops again, the issue is almost certainly power stability or Wi‑Fi signal.

Based on what you see, branch to the right fix:

  • LED off → jump straight to Power Supply Instability below.
  • LED blinks 3 times → start with Wi‑Fi Signal Too Weak.
  • LED solid but app says Offline → skip to Cloud Connection vs. Local Control.
  • Any other pattern → proceed through the causes in order.

Top Reasons Your Shelly Drops Offline

Each cause below has a distinct symptom pattern and a targeted fix. Don’t try random resets – match the symptom to the cause first.

Wi‑Fi Signal Too Weak or Unstable

Shelly relays use a 2.4 GHz Wi‑Fi radio that is less tolerant of weak signals than phones or laptops. A signal strength below –70 dBm (about 2 bars in the Shelly app) often causes intermittent disconnects.

  • Evidence: The blue LED blinks three times repeatedly, and the device is unreachable in the app but reappears if you move the relay closer to the router.
  • Why this happens: Shelly devices have a small antenna; masonry walls, metal junction boxes, or long distances kill the link.

Fix:

1. Open the Shelly’s web interface or app, go to Settings → Wi‑Fi, and note the signal strength in dBm. Anything below –70 is marginal.

2. Move the relay or router so the signal improves. If moving is impossible, add a 2.4 GHz access point within 30 ft of the relay.

3. In the same Wi‑Fi settings, switch the frequency band to 2.4 GHz only – Shelly relays cannot use 5 GHz, and having both bands on the same SSID confuses some older firmware.

Power Supply Instability (The Counter‑Intuitive Culprit)

Most Shelly models are powered from the same line that feeds the load (light, outlet, etc.). In older homes or circuits with loose neutral wires, the voltage can dip below the relay’s minimum operating range (typically 100–240 V AC). When that happens, the Wi‑Fi radio browns out while the load still gets partial power – so the light stays on but the Shelly goes offline.

  • Evidence: The Shelly is in a box with a dimmer or a non‑neutral‑switched circuit. It works for a few minutes after a reset, then silently disappears. The blue LED is off or very dim.
  • A real example: A user in a 1950s house found that his Shelly 1PM dropped offline every time the basement sump pump kicked on. The pump caused a brief voltage sag that was too short to affect the light but long enough to crash the relay’s Wi‑Fi module.

Fix:

1. Turn off the breaker and verify the wire connections at the Shelly: neutral (blue), line (brown/black), and load (blue or red) should be snug.

2. Measure voltage at the Shelly’s input terminals while it’s online and again when the suspected load is active. If you see drops below 100 V AC, the wiring needs attention.

3. If the circuit is shared with a high‑draw appliance, move the Shelly to a dedicated breaker.

4. In the Shelly settings, enable Power Failure Recovery (Settings → Power Supply → Power Failure Recovery) so the relay restarts in its last state after a voltage dip.

Firmware or Platform Incompatibility

Shelly devices are sensitive to mismatched firmware versions – especially when using CoIoT or Matter controllers. A known issue with older firmware (pre‑2023) caused relays to drop from Home Assistant’s ZHA or Zigbee2MQTT even though Wi‑Fi stayed up.

  • Evidence: The Shelly shows as connected in the Shelly Cloud app but is “Unavailable” in your smart home platform. Or it appears in Discovery but doesn’t respond to commands.
  • How to confirm: Log into the Shelly’s web interface via its IP address and check the current firmware version under Settings → Device Info.

Fix:

1. Update to the latest firmware using the Shelly Cloud app or by uploading the `.zip` file directly in the web interface.

2. If you’re on Home Assistant, set the MQTT keep‑alive interval to 60 seconds and increase the CoIoT reporting frequency to 10 seconds (Shelly Settings → Internet & Security → Advanced – CoIoT settings).

3. If using Matter, ensure your controller (e.g., Apple TV 4K, third‑gen or later) has the latest tvOS / firmware – early Matter controllers often dropped Shelly Matter devices on tiny network changes.

4. For Home Assistant users, add a ping sensor in `configuration.yaml`:

CODEBLOCK_0

This lets you see if the relay is simply unreachable on the network versus really offline.

Cloud Connection vs. Local Control

Shelly relays default to cloud mode, which means they phone home to Allterco’s servers for app control. If your internet goes down for a second, the cloud connection breaks and the relay appears offline in the app – even though it’s still on your local Wi‑Fi.

  • Evidence: The blue LED is solid on, the relay responds to physical switch presses, but the Shelly app says “Offline.” Opening the local web interface (type the relay’s IP into a browser) works perfectly.

Fix:

1. In the Shelly app, go to Settings → Internet & Security → Cloud and disable the cloud connection. Your relay will still work locally via Wi‑Fi.

2. If you use Home Assistant or other local automation, switch to MQTT or CoIoT mode (Settings → CoIoT → Enable and set the server to your Home Assistant hub’s IP).

3. This also prevents false offline alerts caused by brief internet hiccups.


When the Fix Isn’t Working – Advanced Troubleshooting

If you’ve tried all the above and the Shelly still drops:

  • Check for channel congestion – Use a Wi‑Fi analyzer app (like Wi‑Fi Analyzer on Android or NetSpot on macOS). If you see 10+ networks on the same channel as yours, change your router’s 2.4 GHz channel to 1, 6, or 11 (whichever is least used).
  • Test with a different power source – Temporarily wire the Shelly to a lab power supply at 110 V AC to rule out wiring issues in the wall.
  • Inspect the relay’s internal logs – Access the Shelly’s web interface at its IP address, go to Settings → Logs. A steady stream of “Wi‑Fi disconnect reason: 6” or “Auth failure” points to a router‑side problem (DHCP lease timeout, WPA2‑PSK mismatch). Change the router’s DHCP lease time to at least 1 day.
  • Consider a firmware downgrade – In rare cases, a “stable” firmware release introduced a Wi‑Fi timer bug. Search the Allterco forums for your model and known offline issues; if confirmed, revert to the previous version via the web interface.

Stop / Escalate Threshold

If after all advanced troubleshooting the relay still drops offline within 24 hours, it’s likely a hardware defect. Stop DIY attempts and contact Allterco support for warranty replacement. For models purchased more than 2 years ago, consider replacing the unit – the cost of a new Shelly 1PM ($20–$30) is often less than the time spent chasing intermittent faults. A reliable sign of hardware failure: the relay works fine for a full day after a factory reset (hold the button for 10 seconds) but starts dropping again within 12 hours even with perfect Wi‑Fi and stable power.


Success Check – Confirm the Fix

After applying any fix, power‑cycle the Shelly once by flipping its breaker off and on. Then monitor the blue LED for 2 minutes:

  • It should go from flashing to solid within 30 seconds.
  • Open the local web interface by typing its IP address into a browser – the status page should load within 3 seconds.
  • Send a toggle command from the app – the relay should respond within 2 seconds, and the LED should briefly flash to confirm the command.

A properly working Shelly should hold its Wi‑Fi connection and remain reachable indefinitely, even after router reboots or brief power interruptions. If the problem returns, re‑run the checklist from the top – the root cause often reveals itself only when the right symptom pattern is matched.

Explore This Topic

Related guides in this cluster:

Similar Posts