mirror of
https://github.com/wled/WLED.git
synced 2025-04-19 12:27:17 +00:00
RF433 remote usermod
Usermod for controlling WLED using a generic 433 / 315MHz remote and simple 3-pin receiver See https://github.com/sui77/rc-switch/ for compatibility details
Build
- Create a
platformio_override.ini
file at the root of the wled source directory if not already present - Copy the
433MHz RF remote example for esp32dev
section fromplatformio_override.sample.ini
into it - Duplicate/adjust for other boards
Usage
- Connect receiver to a free pin
- Set pin in Config->Usermods
- Info pane will show the last received button code
- Upload the remote433.json sample file in this folder to the ESP with the file editor at http://[wled-ip]/edit
- Edit as necessary, the key is the button number retrieved from the info pane, and the "cmd" can be either an HTTP API or a JSON API command.