Pull WLED state from device; add Sunrise preset and presets docs

- wled_pull: update full.json, state.json, info.json from device
- Add wled_config/presets/sunrise.json (psave payload for preset 1)
- README: document defining and pushing presets

Made-with: Cursor
This commit is contained in:
2026-03-09 01:03:24 +08:00
parent 4758017483
commit e76e78deec
5 changed files with 70 additions and 23 deletions
+11 -11
View File
@@ -1,9 +1,9 @@
{
"state": {
"on": true,
"bri": 128,
"bri": 255,
"transition": 0,
"ps": -1,
"ps": 1,
"pl": -1,
"ledmap": 0,
"AudioReactive": {
@@ -104,7 +104,7 @@
"liveseg": -1,
"lm": "",
"lip": "",
"ws": 3,
"ws": 4,
"fxcount": 187,
"palcount": 71,
"cpalcount": 0,
@@ -115,15 +115,15 @@
],
"wifi": {
"bssid": "A4:A9:30:F9:4D:96",
"rssi": -42,
"rssi": -41,
"signal": 100,
"channel": 1,
"ap": false
},
"fs": {
"u": 8,
"u": 12,
"t": 983,
"pmt": 1772891797
"pmt": 1772989317
},
"ndc": 0,
"arch": "esp32",
@@ -131,9 +131,9 @@
"clock": 240,
"flash": 4,
"lwip": 0,
"freeheap": 166196,
"uptime": 97381,
"time": "2026-3-8, 16:54:44",
"freeheap": 165576,
"uptime": 97889,
"time": "2026-3-8, 17:03:11",
"u": {
"AudioReactive": [
"<button class=\"btn btn-xs\" onclick=\"requestJson({AudioReactive:{enabled:false}});\"><i class=\"icons on\">&#xe08f;</i></button>"
@@ -143,13 +143,13 @@
],
"Audio Source": [
"I2S digital",
" - quiet"
" - peak 99%"
],
"Sound Processing": [
"running"
],
"AGC Gain": [
12.87,
9.9,
"x"
],
"UDP Sound Sync": [