kopia lustrzana https://github.com/Aircoookie/WLED
![]() Not all of them were removed by the reverted commit; re-do the rest of them. |
||
---|---|---|
.. | ||
library.json | ||
readme.md | ||
remote433.json | ||
usermod_v2_RF433.cpp |
readme.md
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.