Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Shelly Pro 3: Examples, Pinouts, and Specs

Image of Shelly Pro 3Design with Shelly Pro 3 in Cirkit Designer

Introduction

The Shelly Pro 3 is a versatile smart relay designed for remote control and automation of electrical devices. Manufactured by Shelly, this device features Wi-Fi connectivity and is compatible with a wide range of home automation systems, including MQTT, REST API, and popular platforms like Home Assistant. With three independent relay channels, the Shelly Pro 3 is ideal for controlling lighting, appliances, and other electrical loads in residential, commercial, or industrial environments.

Explore Projects Built with Shelly Pro 3

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-S3 Based Vibration Detection System with TFT Display and Power Backup: A project utilizing Shelly Pro 3 in a practical application
ESP32-S3 Based Vibration Detection System with TFT Display and Power Backup

This circuit features an ESP32-S3 microcontroller connected to various peripherals including an ADXL355 accelerometer, an SW-420 vibration sensor, a buzzer module, and an ILI9341 TFT display. The ESP32-S3 manages sensor inputs and provides output to the display and buzzer. Power management is handled by a 12V to 5V step-down converter, and a UPS ensures uninterrupted power supply, with a rocker switch to control the power flow.

Open Project in Cirkit Designer
Image of Arduino Leonardo-Based Gaming Steering Wheel with Pedals and Gear Shifter: A project utilizing Shelly Pro 3 in a practical application
Arduino Leonardo-Based Gaming Steering Wheel with Pedals and Gear Shifter

This circuit is a gaming steering wheel system with 3 pedals and a gear shifter, interfaced with an Arduino Leonardo. It includes a 600 PPR optical rotary encoder for steering, three potentiometers for pedal input, and multiple push buttons connected via an IO expander for gear shifting and additional controls. The Arduino processes inputs from these components and communicates the data for further processing or display.

Open Project in Cirkit Designer

Common Applications and Use Cases


Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer Shelly
Model Pro 3
Power Supply 110-240V AC, 50/60Hz
Maximum Load per Channel 16A
Total Device Load 48A
Connectivity Wi-Fi 802.11 b/g/n (2.4 GHz)
Control Channels 3 independent relay channels
Operating Temperature -20°C to +40°C
Dimensions 90mm x 52mm x 57mm
Certifications CE, RoHS

Pin Configuration and Descriptions

The Shelly Pro 3 features terminal blocks for wiring connections. Below is the pin configuration:

Pin Label Description
L Live input for the device
N Neutral input for the device
O1 Output for Channel 1
O2 Output for Channel 2
O3 Output for Channel 3
I1 Input for Channel 1 (manual switch control)
I2 Input for Channel 2 (manual switch control)
I3 Input for Channel 3 (manual switch control)

Usage Instructions

How to Use the Shelly Pro 3 in a Circuit

  1. Wiring the Device:

    • Connect the live (L) and neutral (N) wires to the respective input terminals.
    • Connect the output terminals (O1, O2, O3) to the devices you want to control.
    • Optionally, connect manual switches to the input terminals (I1, I2, I3) for local control.
  2. Powering On:

    • Once wired, power on the device by supplying 110-240V AC to the input terminals.
  3. Connecting to Wi-Fi:

    • Download the Shelly app on your smartphone.
    • Follow the app instructions to connect the Shelly Pro 3 to your Wi-Fi network.
  4. Configuring Automation:

    • Use the Shelly app or integrate the device with your preferred home automation platform.
    • Set up schedules, timers, or scenes for automated control.

Important Considerations and Best Practices

Example: Connecting to an Arduino UNO

The Shelly Pro 3 can be controlled via MQTT, which can be integrated with an Arduino UNO using an Ethernet or Wi-Fi shield. Below is an example of Arduino code to send MQTT commands to the Shelly Pro 3:

#include <PubSubClient.h>
#include <WiFi.h>

// Wi-Fi credentials
const char* ssid = "YourWiFiSSID";
const char* password = "YourWiFiPassword";

// MQTT broker details
const char* mqtt_server = "192.168.1.100"; // Replace with your MQTT broker IP
const int mqtt_port = 1883;
const char* mqtt_user = "mqtt_user";       // Replace with your MQTT username
const char* mqtt_password = "mqtt_pass";  // Replace with your MQTT password

WiFiClient espClient;
PubSubClient client(espClient);

void setup() {
  Serial.begin(115200);

  // Connect to Wi-Fi
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("\nWiFi connected");

  // Connect to MQTT broker
  client.setServer(mqtt_server, mqtt_port);
  while (!client.connected()) {
    if (client.connect("ArduinoClient", mqtt_user, mqtt_password)) {
      Serial.println("Connected to MQTT broker");
    } else {
      Serial.print("Failed to connect, rc=");
      Serial.print(client.state());
      delay(2000);
    }
  }
}

void loop() {
  // Example: Turn on Channel 1 of Shelly Pro 3
  if (client.connected()) {
    client.publish("shellypro3/relay/0/command", "on");
    delay(5000); // Wait 5 seconds
    client.publish("shellypro3/relay/0/command", "off");
    delay(5000); // Wait 5 seconds
  }
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Device Not Connecting to Wi-Fi:

    • Ensure the Wi-Fi network is 2.4 GHz (Shelly Pro 3 does not support 5 GHz).
    • Check that the Wi-Fi credentials are entered correctly in the Shelly app.
  2. Relay Channels Not Responding:

    • Verify the wiring connections and ensure the load does not exceed the rated capacity.
    • Check the Shelly app or automation platform for proper configuration.
  3. Device Overheating:

    • Ensure the device is installed in a well-ventilated area.
    • Avoid exceeding the maximum load per channel or total device load.
  4. MQTT Commands Not Working:

    • Verify the MQTT broker IP, port, username, and password.
    • Ensure the Shelly Pro 3 is configured to use MQTT in its settings.

FAQs


This concludes the documentation for the Shelly Pro 3. For further assistance, refer to the official Shelly support resources.