-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into blending-styles
- Loading branch information
Showing
46 changed files
with
1,155 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "esp32s3_out.ld", | ||
"memory_type": "qio_qspi" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": [ | ||
"-DBOARD_HAS_PSRAM", | ||
"-DARDUINO_LOLIN_S3_MINI", | ||
"-DARDUINO_USB_MODE=1" | ||
], | ||
"f_cpu": "240000000L", | ||
"f_flash": "80000000L", | ||
"flash_mode": "qio", | ||
"hwids": [ | ||
[ | ||
"0x303A", | ||
"0x8167" | ||
] | ||
], | ||
"mcu": "esp32s3", | ||
"variant": "lolin_s3_mini" | ||
}, | ||
"connectivity": [ | ||
"bluetooth", | ||
"wifi" | ||
], | ||
"debug": { | ||
"openocd_target": "esp32s3.cfg" | ||
}, | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "WEMOS LOLIN S3 Mini", | ||
"upload": { | ||
"flash_size": "4MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 4194304, | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"url": "https://www.wemos.cc/en/latest/s3/index.html", | ||
"vendor": "WEMOS" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 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 from `platformio_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](http://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](https://kno.wled.ge/interfaces/http-api/) or a [JSON API](https://kno.wled.ge/interfaces/json-api/) command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"13985576": { | ||
"cmnt": "Toggle Power using HTTP API", | ||
"cmd": "T=2" | ||
}, | ||
"3670817": { | ||
"cmnt": "Force Power ON using HTTP API", | ||
"cmd": "T=1" | ||
}, | ||
"13985572": { | ||
"cmnt": "Set brightness to 200 using JSON API", | ||
"cmd": {"bri":200} | ||
}, | ||
"3670818": { | ||
"cmnt": "Run Preset 1 using JSON API", | ||
"cmd": {"ps":1} | ||
}, | ||
"13985570": { | ||
"cmnt": "Increase brightness by 40 using HTTP API", | ||
"cmd": "A=~40" | ||
}, | ||
"13985569": { | ||
"cmnt": "Decrease brightness by 40 using HTTP API", | ||
"cmd": "A=~-40" | ||
}, | ||
"7608836": { | ||
"cmnt": "Start 1min timer using JSON API", | ||
"cmd": {"nl":{"on":true,"dur":1,"mode":0}} | ||
}, | ||
"7608840": { | ||
"cmnt": "Select random effect on all segments using JSON API", | ||
"cmd": {"seg":{"fx":"r"}} | ||
} | ||
} |
Oops, something went wrong.