ESP32-based Multi-Channel 433MHz Shutter Bridge with MQTT
A Tasmota-based solution for integrating “dumb” multi-channel RF shutters / blinds into Home Assistant via direct hardware manipulation. This approach bypasses RF sniffing/emulation issues by interfacing an ESP32 directly with a spare remote’s PCB.
核心 Logic & HA Integration
- MQTT Cover Support: Operates as a standard MQTT Cover entity.
- State Synchronization: Uses GPIO 18 to power-cycle the remote on boot, forcing it to its default “Channel 01” state. This ensures the Tasmota channel counter and hardware are always aligned.
- Deep Sleep Management: Automatically handles remotes that enter standby after 10s by injecting a 200ms “wake-up” pulse (STOP command) before sending the intended movement command.
- Direct Drive Hardware: Utilizes ESP32 Open Drain GPIOs to simulate button presses (UP, DOWN, STOP, CH+, CH-) and GPIO 18 as a high-side switch for the 3.3V rail.
Home Assistant Integration Example
Once the Berry script is running on Tasmota, the blinds can be added to HA using a Template Cover or via MQTT discovery:
- Commands:
UP,DOWN,STOP - Targeting: Send a payload to a specific topic to move to any of the 15+ channels.
- Feedback: State is maintained internally within the Tasmota/Berry logic and broadcasted back to HA.
Technical details, wiring diagrams, and the shutter.be script are available on GitHub:
[LINK TO GITHUB REPO]
