Elementic logo

Shelly

Shelly Shelly 1

Imported from Elementic Devices.xlsm on 2026-03-25.

Device information

Controller
ESP8266
Category
Smart devices
Pins
5

Controller details

ESP8266

Espressif · ESP8266 · Xtensa single-core

160 KB RAM · 17 GPIO

Starter Arduino code

Device specific
// Elementic starter sketch
// Device: Shelly Shelly 1
// Device Excel ID: 24
// Controller: ESP8266

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

    Serial.println("Elementic device booting...");
    Serial.println("Device: Shelly Shelly 1");
    Serial.println("Excel ID: 24");
}

void loop()
{
    // 1. Configure your Elementic pins here.
    // 2. Add your connectivity setup.
    // 3. Publish or react to device state changes.

    delay(1000);
}

Pin summary

GPIO Name Flags
0 GPIO0 (User/Serial) Binary in, Digital out, Binary out, Interrupt
1 GPIO1 (User/Serial) Binary in, Digital out, Binary out, Interrupt
3 GPIO3 (User/Serial) Binary in, Digital out, Binary out, Interrupt
4 GPIO4 (Relay 1) Binary out
5 GPIO5 (Switch 1) Binary in, Interrupt