Motorized Shutters & Blinds
Full control for motorized curtains, blinds, and roller shutters.
Driver typesโ
| Driver | Use case |
|---|---|
| Dual Relay | Simple shutters (two relays) |
| L298N | Stronger motors |
Wiringโ
Dual Relayโ
| Pin | ESP32 |
|---|---|
| Relay UP | GPIO 22 |
| Relay DOWN | GPIO 23 |
L298Nโ
| Pin | ESP32 |
|---|---|
| ENA (speed) | GPIO 19 |
| IN1 | GPIO 20 |
| IN2 | GPIO 21 |
Controlโ
- Open / Close / Stop: direct action buttons
- Position %: set open percentage (0โ100%)
MQTTโ
Control: smarthome/{esp32_name}/shutter/{device_id}/set
{"action":"open"}
{"action":"close"}
{"action":"stop"}
{"action":"position","position":75}
State: smarthome/{esp32_name}/shutter/{device_id}/state
{"action":"open","position":75,"moving":true}
ESP32 configโ
{
"id": 5,
"type": "SHUTTER",
"driver": "DUAL_RELAY",
"gpio_up": 22,
"gpio_down": 23,
"travel_time_ms": 5000
}