WLED/wled00/data
Louis Beaudoin 8c44147a45
Usermod Settings polishing/documentation (#2061)
* Testing new wrapper functions to read Usermod config

* Usermod Settings polishing
- remove getBoolFromJsonKey() (no longer needed), fix getValueFromJsonKey(element, destination, defaultvalue)
- Update Usermod Settings html "number" field to use step="any", and make wider to make maximum values fully visible
  - step="any" allows viewing/submitting full 7/8-digit float values, and the arrow buttons step by 1 now, instead of .00001 (which wasn't good for integers or floats)
  - html wasn't generated/compressed yet

* Update usermod_v2_example.h with more complete example and documentation for Usermod Settings
- readFromConfig() has three options for how to load values from the config JSON, we need to pick one

* Update/rename usermode_rotary_brightness_color, to be used as an example of more robust parsing Usermod Settings values

* Update Usermod example, rename getValueFromJsonKey() to getJsonValue()
- chose single readFromConfig() pattern
- demonstrating 3-argument getJsonValue()
- remove leftover printf in getJsonValue()

Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
2021-07-05 23:14:57 +02:00
..
404.htm Update logo 2021-06-14 01:58:12 +02:00
dmxmap.htm Fix dynamic replacements for other pages 2020-05-17 21:59:00 +03:00
edit.htm Added support for SPIFFS 2019-03-16 02:09:37 +01:00
favicon.ico XML settings done 2016-09-11 23:07:18 +02:00
index.css More compact playlist entries 2021-07-04 00:55:32 +02:00
index.htm Added WebSockets support to UI 2021-07-02 01:46:42 +02:00
index.js More compact playlist entries 2021-07-04 00:55:32 +02:00
iro.js split up index.htm 2020-12-20 20:18:07 +01:00
liveview.htm Fix iOS scrolling 2019-12-11 00:59:15 +01:00
liveviewws.htm Added liveviewws-page for liveview via websockets 2020-12-19 17:26:36 +00:00
msg.htm Fix dynamic replacements for other pages 2020-05-17 21:59:00 +03:00
rangetouch.js split up index.htm 2020-12-20 20:18:07 +01:00
settings_dmx.htm added lang attribute to the html start tag 2020-12-23 21:43:30 +01:00
settings_leds.htm Merge pull request #2011 from blazoncek/multi-button-update 2021-07-01 14:57:12 +02:00
settings_sec.htm Added ability to add multiple busses as compile time defaults using the esp32_multistrip usermod define syntax 2021-04-15 10:55:22 +02:00
settings_sync.htm Added MQTT button option 2021-07-01 20:51:52 +02:00
settings_time.htm Small improvements 2021-05-30 01:31:04 +02:00
settings_ui.htm Add notice if no usermod installed 2021-05-11 23:21:57 +02:00
settings_um.htm Usermod Settings polishing/documentation (#2061) 2021-07-05 23:14:57 +02:00
settings_wifi.htm Shorten input size class names 2021-07-01 00:01:27 +02:00
settings.htm Added changes to set.cpp and wled_server.cpp 2021-05-08 18:04:44 +02:00
style.css Shorten input size class names 2021-07-01 00:01:27 +02:00
update.htm Fixed not turning on after pressing "Off" on IR remote twice (fixes #1950) 2021-05-07 11:32:08 +02:00
usermod.htm Automatic UI codegeneration 2020-05-17 21:14:56 +03:00
welcome.htm readFromConfig() update 2021-06-25 01:26:15 +02:00