

The Shelly 1 Mini Gen3 (Manufacturer Part ID: shelly1mg3) is a compact Wi-Fi relay switch designed for seamless integration into smart home systems. Manufactured by Shelly, this device enables remote control of electrical appliances and lighting through a smartphone app or home automation platforms. Its small size and versatile compatibility make it an ideal choice for retrofitting existing electrical installations with smart functionality.








| Parameter | Value |
|---|---|
| Power Supply | 110-240V AC, 50/60Hz or 24-30V DC |
| Maximum Load | 16A (Resistive Load) |
| Wireless Connectivity | Wi-Fi 802.11 b/g/n, 2.4 GHz |
| Operating Temperature | -20°C to +40°C |
| Dimensions | 41mm x 36mm x 17mm |
| Power Consumption | < 1W |
| Supported Protocols | MQTT, HTTP, CoAP |
| App Compatibility | Shelly Cloud App (iOS/Android) |
The Shelly 1 Mini Gen3 has a simple terminal block for wiring. Below is the pin configuration:
| Pin Label | Description |
|---|---|
| L | Line input for AC power (110-240V AC) |
| N | Neutral input for AC power |
| O | Output terminal for the connected load (e.g., light, fan) |
| I | Input terminal for the switch (used for manual control) |
| SW | Switch terminal for connecting a physical wall switch |
| + | Positive terminal for DC power (if using 24-30V DC instead of AC) |
| - | Negative terminal for DC power (if using 24-30V DC instead of AC) |
Power Connection:
Load Connection:
Switch Connection (Optional):
Wi-Fi Setup:
Integration with Home Automation:
The Shelly 1 Mini Gen3 can be controlled via HTTP requests. Below is an example of how to toggle the relay using an Arduino UNO with Wi-Fi capabilities (e.g., ESP8266 module):
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
// Wi-Fi credentials
const char* ssid = "YourWiFiSSID"; // Replace with your Wi-Fi SSID
const char* password = "YourWiFiPassword"; // Replace with your Wi-Fi password
// Shelly 1 Mini Gen3 IP address
const char* shellyIP = "192.168.1.100"; // Replace with the Shelly's IP address
void setup() {
Serial.begin(115200); // Initialize serial communication
WiFi.begin(ssid, password); // Connect to Wi-Fi
// Wait for Wi-Fi connection
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Connected to Wi-Fi");
}
void loop() {
// Create an HTTP client
HTTPClient http;
// URL to toggle the relay
String url = String("http://") + shellyIP + "/relay/0?turn=toggle";
// Send the HTTP GET request
http.begin(url);
int httpCode = http.GET();
// Check the response
if (httpCode > 0) {
Serial.println("Relay toggled successfully");
} else {
Serial.println("Failed to toggle relay");
}
http.end(); // Close the connection
delay(5000); // Wait 5 seconds before toggling again
}
Device Not Connecting to Wi-Fi:
Relay Not Switching:
Device Not Responding to HTTP Requests:
Overheating:
Can I use the Shelly 1 Mini Gen3 with a 3-way switch? Yes, the device supports multi-way switch configurations. Refer to the Shelly Cloud App for wiring diagrams.
Does the Shelly 1 Mini Gen3 support dimming? No, this model is a relay switch and does not support dimming functionality.
Can I control the device without an internet connection? Yes, the Shelly 1 Mini Gen3 can be controlled locally via its IP address using HTTP or MQTT protocols.
Is the device compatible with Apple HomeKit? The Shelly 1 Mini Gen3 is not natively compatible with HomeKit, but it can be integrated using third-party tools like Homebridge.
This concludes the documentation for the Shelly 1 Mini Gen3. For further assistance, refer to the official Shelly support resources.