This commit is contained in:
huggy-d1 2020-12-04 10:31:33 -05:00
parent 3fe4a05a66
commit e873a349c2
1 changed files with 9 additions and 0 deletions

View File

@ -73,6 +73,15 @@ I'm looking into ways to mitigate this situation as soon as possible! Meanwhile,
Don't worry, they (as well as your settings) will be automatically imported to the new system!
And if you ever need to downgrade to v0.10 for some reason, they will still be there (although any changes made in v0.11 won't be applied)
#### Obtaining preset list
Obtaining the preset list is possible with the /presets.json file
Seeing the name of the current preset with the API only is not possible, you can only obtain its ID. Then you'd need some code to match it with the entries from presets.json (this is also what the UI does). See section "Backing up/restoring presets".
#### Saving named presets
Save a named preset with {"psave":<preset number here>;"n":"Preset name","ib":true,"sb":true}
#### Backing up/restoring presets
To backup all presets, go to `[WLED-IP]/edit` (OTA lock must be off), right click the `presets.json` file and download!