Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Shelly Smart Home Automation: Setup Guide

· 6 min read · Home Automation

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, Shelly smart home automation lets you control lights, appliances, and other devices through Wi-Fi using relays that fit behind existing switches or outlets. You set it up by installing a Shelly relay, connecting it to your home Wi-Fi, adding it to the Shelly app, and then optionally linking it to Alexa, Google Home, or Home Assistant. This guide walks you through the whole process, from choosing the right device to troubleshooting common issues.

What You'll Need

  • A Shelly relay (e.g., Shelly Plus 1, Shelly Plus 2PM, Shelly 1 Mini) – choose based on the load and whether you need dry contacts or a dimmer.
  • A smartphone or tablet with the Shelly Smart Control app (iOS or Android).
  • A 2.4 GHz Wi-Fi network (Shelly devices do not support 5 GHz).
  • Basic electrical tools: screwdriver, wire strippers, and a voltage tester.
  • Access to your home's electrical panel (to turn off power).
  • Optional: a neutral wire (some Shelly models require it; others like the Shelly 1L can work without).

Step-by-Step

  1. Choose the right Shelly model. For a simple on/off switch, get a Shelly Plus 1 or Shelly 1 Mini. For two independent switches, get a Shelly Plus 2PM. For dimming, get a Shelly Dimmer 2. Check the load rating (e.g., up to 10A for most) against your device.
  2. Turn off the power. Go to your circuit breaker and switch off the circuit that feeds the switch or outlet you'll be working on. Use a voltage tester to confirm the power is off before touching any wires.
  3. Remove the existing switch plate. Unscrew the plate and pull the switch out gently to expose the wires. Take a photo of the wiring for reference.
  4. Identify the wires. You'll typically see a live wire (usually black or brown), a neutral wire (white or gray, if present), and a load wire (going to the light/fan). If there's no neutral, you'll need a model like the Shelly 1L that works without it, or you may need an electrician to add a neutral.
  5. Connect the Shelly relay. Follow the wiring diagram that came with your Shelly. Generally, you connect the live wire to the L terminal, the neutral to the N terminal, the load wire to the O (output) terminal, and the existing switch wires to the SW (switch) terminals. Use wire nuts or terminal blocks to secure connections.
  6. Mount the relay. Carefully tuck the relay into the wall box, ensuring no wires are pinched. Screw the relay in place if it has mounting holes, or just let it sit loosely if space is tight.
  7. Restore power and test. Turn the circuit breaker back on. The Shelly relay should power up and create a Wi-Fi access point (e.g., "ShellyPlus1-XXXX"). Use your phone to connect to that network.
  8. Configure the relay in the Shelly app. Open the Shelly Smart Control app, tap "Add Device," and follow the prompts to connect the relay to your home Wi-Fi. The app will guide you through entering your Wi-Fi credentials and naming the device.
  9. Add the device to your smart home ecosystem. In the Shelly app, go to the device settings and look for integrations (Alexa, Google Home, or Home Assistant). Follow the in-app instructions to link your account or enable the cloud API.
  10. Test the automation. Use the app to toggle the relay on and off. Then try voice control or a routine in your preferred assistant. If using Home Assistant, add the Shelly integration via the Home Assistant Companion app or the web interface.

Common Mistakes

  • Forgetting to turn off the power – always verify with a voltage tester before touching wires.
  • Connecting the relay without a neutral wire when the model requires one. Check the specs: Shelly Plus 1 requires a neutral; Shelly 1L does not.
  • Overloading the relay – connecting a device that draws more current than the relay's rating (e.g., a 2000W heater on a 10A relay) can damage it.
  • Using the wrong Wi-Fi band – Shelly devices only work on 2.4 GHz. If your router broadcasts both bands with the same SSID, you may need to temporarily disable 5 GHz or use a separate SSID.
  • Not updating the firmware – outdated firmware can cause connectivity issues. Check for updates in the app after setup.

Tips

  • Label your wires with tape before disconnecting to make reassembly easier.
  • If you're not comfortable working with mains wiring, hire a licensed electrician to do the installation. The relay is inexpensive; the safety is priceless.
  • Use the Shelly app's scheduling feature to set timers for lights or appliances – no hub needed.
  • For outdoor or high-moisture areas, choose a Shelly with an IP-rated enclosure (e.g., Shelly Plus 1PM with a waterproof box).
  • Enable "button type" in the device settings if you're using a momentary switch (like a doorbell) instead of a toggle.

Troubleshooting

If the relay doesn't work as expected, try these in order:

  1. Check the power. Ensure the circuit breaker is on and the relay's LED is lit. If not, check the wiring connections.
  2. Restart the relay. Turn off the breaker, wait 10 seconds, and turn it back on.
  3. Check Wi-Fi signal. The relay may be too far from your router. Move the router closer or add a Wi-Fi extender.
  4. Update firmware. In the Shelly app, go to device settings and check for firmware updates.
  5. Re-add the device. In the app, remove the device and add it again from scratch.
  6. Factory reset. If nothing works, press and hold the reset button on the relay for 10 seconds until the LED blinks, then set it up as new. This will erase all settings.

Frequently Asked Questions

Do I need a hub for Shelly devices?

No, Shelly devices connect directly to your Wi-Fi router. You can control them via the app, or integrate them with Alexa, Google Home, or Home Assistant without a dedicated hub.

Can I use Shelly with a 3-way switch setup?

Yes, but you'll need a model like the Shelly Plus 2PM that supports two inputs. You'll wire both switches to the relay's SW1 and SW2 terminals. The app allows you to configure them as a 3-way.

What if I don't have a neutral wire?

Choose a Shelly model that works without a neutral, such as the Shelly 1L or Shelly Dimmer 2. These use a bypass circuit, but may require a minimum load (e.g., a 5W LED) to function correctly.

Can I control Shelly devices when the internet is down?

Yes, if you're on the same local network, you can control them via the app's local mode. However, voice control via Alexa or Google Home will not work without internet.

Is it safe to install a Shelly relay myself?

If you have basic electrical knowledge and follow safety precautions, it can be safe. However, if you're unsure, hire a licensed electrician. Always turn off the power and test with a voltage tester.

Can Shelly control a ceiling fan?

Yes, but you need a relay rated for the fan's motor load. Shelly Plus 1PM can handle up to 10A, which is usually enough. For fans with lights, you may need a 2-channel relay to control both separately.